Skip to content

Commit

Permalink
Am for v2.2 (#664)
Browse files Browse the repository at this point in the history
* update AM to handle new v2.2 API

* update verions

* update versions
  • Loading branch information
esterlus authored Oct 22, 2024
1 parent 0c3b33a commit e58f34d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions apps/availability-monitor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rpch/availability-monitor",
"version": "1.1.13",
"version": "1.2.0",
"license": "LGPL-3.0",
"private": true,
"scripts": {
Expand All @@ -15,7 +15,7 @@
"start": "node build/index.js"
},
"dependencies": {
"@rpch/sdk": "4.0.0",
"@rpch/sdk": "4.1.0",
"pg": "^8.11.3"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion apps/discovery-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start": "node build/index.js"
},
"dependencies": {
"@rpch/sdk": "4.0.0",
"@rpch/sdk": "4.1.0",
"compression": "^1.7.4",
"cors": "^2.8.5",
"express": "^4.18.2",
Expand Down
2 changes: 1 addition & 1 deletion apps/rpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
"start": "node build/index.js"
},
"dependencies": {
"@rpch/sdk": "4.0.0"
"@rpch/sdk": "4.1.0"
}
}
2 changes: 1 addition & 1 deletion examples/ethers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"lint:ci": "eslint --max-warnings 0 src/"
},
"dependencies": {
"@rpch/sdk": "4.0.0",
"@rpch/sdk": "4.1.0",
"dotenv": "^16.3.1",
"ethers": "^6.8.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@rpch/sdk",
"version": "4.0.0",
"version": "4.1.0",
"license": "LGPL-3.0",
"main": "./build/index.js",
"types": "./build/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/src/node-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export function sendMessage(
};
const payload: Record<string, any> = {
body: message,
peerId: recipient,
destination: recipient,
tag,
};
if (conn.hops === 0) {
Expand Down

0 comments on commit e58f34d

Please sign in to comment.