Skip to content

Commit dd1a33a

Browse files
authored
Upgrade bindings, fix Node SDK build (#862)
* Upgrade rollup * Update Node SDK rollup config * Upgrade bindings * Create rude-papayas-design.md
1 parent ef1d1e7 commit dd1a33a

File tree

17 files changed

+129
-122
lines changed

17 files changed

+129
-122
lines changed

.changeset/rude-papayas-design.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@xmtp/browser-sdk": patch
3+
"@xmtp/node-sdk": patch
4+
---
5+
6+
Upgrade bindings, fix Node SDK build

content-types/content-type-group-updated/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ethers": "^6.11.1",
7676
"happy-dom": "^16.6.0",
7777
"rimraf": "^6.0.1",
78-
"rollup": "^4.30.1",
78+
"rollup": "^4.34.9",
7979
"rollup-plugin-dts": "^6.1.1",
8080
"rollup-plugin-filesize": "^10.0.0",
8181
"typescript": "^5.7.3",

content-types/content-type-primitives/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"@types/node": "^22.10.6",
7373
"happy-dom": "^16.6.0",
7474
"rimraf": "^6.0.1",
75-
"rollup": "^4.30.1",
75+
"rollup": "^4.34.9",
7676
"rollup-plugin-dts": "^6.1.1",
7777
"rollup-plugin-filesize": "^10.0.0",
7878
"typescript": "^5.7.3",

content-types/content-type-reaction/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ethers": "^6.11.1",
7676
"happy-dom": "^16.6.0",
7777
"rimraf": "^6.0.1",
78-
"rollup": "^4.30.1",
78+
"rollup": "^4.34.9",
7979
"rollup-plugin-dts": "^6.1.1",
8080
"rollup-plugin-filesize": "^10.0.0",
8181
"typescript": "^5.7.3",

content-types/content-type-read-receipt/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ethers": "^6.11.1",
7676
"happy-dom": "^16.6.0",
7777
"rimraf": "^6.0.1",
78-
"rollup": "^4.30.1",
78+
"rollup": "^4.34.9",
7979
"rollup-plugin-dts": "^6.1.1",
8080
"rollup-plugin-filesize": "^10.0.0",
8181
"typescript": "^5.7.3",

content-types/content-type-remote-attachment/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"ethers": "^6.11.1",
7979
"happy-dom": "^16.6.0",
8080
"rimraf": "^6.0.1",
81-
"rollup": "^4.30.1",
81+
"rollup": "^4.34.9",
8282
"rollup-plugin-dts": "^6.1.1",
8383
"rollup-plugin-filesize": "^10.0.0",
8484
"typescript": "^5.7.3",

content-types/content-type-reply/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"ethers": "^6.11.1",
7878
"happy-dom": "^16.6.0",
7979
"rimraf": "^6.0.1",
80-
"rollup": "^4.30.1",
80+
"rollup": "^4.34.9",
8181
"rollup-plugin-dts": "^6.1.1",
8282
"rollup-plugin-filesize": "^10.0.0",
8383
"typescript": "^5.7.3",

content-types/content-type-text/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ethers": "^6.11.1",
7676
"happy-dom": "^16.6.0",
7777
"rimraf": "^6.0.1",
78-
"rollup": "^4.30.1",
78+
"rollup": "^4.34.9",
7979
"rollup-plugin-dts": "^6.1.1",
8080
"rollup-plugin-filesize": "^10.0.0",
8181
"typescript": "^5.7.3",

content-types/content-type-transaction-reference/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"ethers": "^6.11.1",
7676
"happy-dom": "^16.6.0",
7777
"rimraf": "^6.0.1",
78-
"rollup": "^4.30.1",
78+
"rollup": "^4.34.9",
7979
"rollup-plugin-dts": "^6.1.1",
8080
"rollup-plugin-filesize": "^10.0.0",
8181
"typescript": "^5.7.3",

packages/consent-proof-signature/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@rollup/plugin-terser": "^0.4.4",
7070
"@rollup/plugin-typescript": "^12.1.2",
7171
"ethers": "^6.13.1",
72-
"rollup": "^4.30.1",
72+
"rollup": "^4.34.9",
7373
"rollup-plugin-dts": "^6.1.1",
7474
"rollup-plugin-filesize": "^10.0.0",
7575
"tsconfig": "workspace:*",

packages/frames-client/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"@xmtp/xmtp-js": "^12.0.0",
7676
"ethers": "^6.13.1",
7777
"fast-glob": "^3.3.3",
78-
"rollup": "^4.30.1",
78+
"rollup": "^4.34.9",
7979
"rollup-plugin-dts": "^6.1.1",
8080
"rollup-plugin-filesize": "^10.0.0",
8181
"rollup-plugin-tsconfig-paths": "^1.5.2",

packages/frames-validator/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"@xmtp/xmtp-js": "^12.1.0",
5252
"ethers": "^6.10.0",
5353
"fast-glob": "^3.3.3",
54-
"rollup": "^4.30.1",
54+
"rollup": "^4.34.9",
5555
"rollup-plugin-dts": "^6.1.1",
5656
"typescript": "^5.7.3",
5757
"vitest": "^2.1.3"

sdks/browser-sdk/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
"@xmtp/content-type-primitives": "^2.0.0",
6565
"@xmtp/content-type-text": "^2.0.0",
6666
"@xmtp/proto": "^3.72.3",
67-
"@xmtp/wasm-bindings": "^0.0.19",
67+
"@xmtp/wasm-bindings": "^0.0.21",
6868
"uuid": "^11.0.3"
6969
},
7070
"devDependencies": {
@@ -77,7 +77,7 @@
7777
"@vitest/coverage-v8": "^2.0.3",
7878
"@web/rollup-plugin-copy": "^0.5.1",
7979
"playwright": "^1.49.1",
80-
"rollup": "^4.30.1",
80+
"rollup": "^4.34.9",
8181
"rollup-plugin-dts": "^6.1.1",
8282
"rollup-plugin-filesize": "^10.0.0",
8383
"rollup-plugin-tsconfig-paths": "^1.5.2",

sdks/js-sdk/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@
119119
"ethers": "^5.7.2",
120120
"happy-dom": "^16.6.0",
121121
"rimraf": "^6.0.1",
122-
"rollup": "^4.30.1",
122+
"rollup": "^4.34.9",
123123
"rollup-plugin-dts": "^6.1.1",
124124
"rollup-plugin-filesize": "^10.0.0",
125125
"rollup-plugin-tsconfig-paths": "^1.5.2",

sdks/node-sdk/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"@xmtp/content-type-group-updated": "^2.0.0",
5454
"@xmtp/content-type-primitives": "^2.0.0",
5555
"@xmtp/content-type-text": "^2.0.0",
56-
"@xmtp/node-bindings": "^0.0.39",
56+
"@xmtp/node-bindings": "^0.0.41",
5757
"@xmtp/proto": "^3.72.3"
5858
},
5959
"devDependencies": {
@@ -64,7 +64,7 @@
6464
"@xmtp/xmtp-js": "workspace:^",
6565
"fast-glob": "^3.3.3",
6666
"rimraf": "^6.0.1",
67-
"rollup": "^4.30.1",
67+
"rollup": "^4.34.9",
6868
"rollup-plugin-dts": "^6.1.1",
6969
"rollup-plugin-filesize": "^10.0.0",
7070
"rollup-plugin-tsconfig-paths": "^1.5.2",

sdks/node-sdk/rollup.config.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const external = [
1212
"@xmtp/content-type-primitives",
1313
"@xmtp/content-type-text",
1414
"@xmtp/node-bindings",
15+
"@xmtp/node-bindings/version.json",
1516
"@xmtp/proto",
16-
"@xmtp/xmtp-js",
1717
];
1818

1919
const plugins = [
@@ -37,6 +37,7 @@ export default defineConfig([
3737
file: "dist/index.js",
3838
format: "es",
3939
sourcemap: true,
40+
importAttributesKey: "with",
4041
},
4142
plugins,
4243
external,

0 commit comments

Comments
 (0)