diff --git a/apps/availability-monitor/package.json b/apps/availability-monitor/package.json index 0fa85fdd..7c3f0d28 100644 --- a/apps/availability-monitor/package.json +++ b/apps/availability-monitor/package.json @@ -1,6 +1,6 @@ { "name": "@rpch/availability-monitor", - "version": "1.1.13", + "version": "1.2.0", "license": "LGPL-3.0", "private": true, "scripts": { @@ -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": { diff --git a/apps/discovery-platform/package.json b/apps/discovery-platform/package.json index 0cf05d62..6ed059cf 100644 --- a/apps/discovery-platform/package.json +++ b/apps/discovery-platform/package.json @@ -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", diff --git a/apps/rpc-server/package.json b/apps/rpc-server/package.json index 7d6efc6f..d7f52a4e 100644 --- a/apps/rpc-server/package.json +++ b/apps/rpc-server/package.json @@ -14,6 +14,6 @@ "start": "node build/index.js" }, "dependencies": { - "@rpch/sdk": "4.0.0" + "@rpch/sdk": "4.1.0" } } diff --git a/examples/ethers/package.json b/examples/ethers/package.json index a57d98c2..4dd92700 100644 --- a/examples/ethers/package.json +++ b/examples/ethers/package.json @@ -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" }, diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 0714553b..c62bdcf5 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -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", diff --git a/packages/sdk/src/node-api.ts b/packages/sdk/src/node-api.ts index 8ee33203..3c960114 100644 --- a/packages/sdk/src/node-api.ts +++ b/packages/sdk/src/node-api.ts @@ -88,7 +88,7 @@ export function sendMessage( }; const payload: Record = { body: message, - peerId: recipient, + destination: recipient, tag, }; if (conn.hops === 0) {