diff --git a/packages/bot-kit-pro/package.json b/packages/bot-kit-pro/package.json index bbff26b..4ee4ab3 100644 --- a/packages/bot-kit-pro/package.json +++ b/packages/bot-kit-pro/package.json @@ -15,7 +15,7 @@ "dependencies": { "@xmtp/grpc-api-client": "workspace:*", "@xmtp/proto": "^3.61.1", - "@xmtp/xmtp-js": "^11.3.12", + "@xmtp/xmtp-js": "^12.1.0", "drizzle-orm": "^0.30.1", "ethers": "^6.8.0", "long": "^5.2.3", diff --git a/packages/bot-starter/package.json b/packages/bot-starter/package.json index 03ad042..61c406f 100644 --- a/packages/bot-starter/package.json +++ b/packages/bot-starter/package.json @@ -42,7 +42,7 @@ "typescript": "^5.4.5" }, "dependencies": { - "@xmtp/xmtp-js": "^11.3.12", + "@xmtp/xmtp-js": "^12.1.0", "dotenv": "^16.4.5" } } diff --git a/packages/broadcast/package.json b/packages/broadcast/package.json index 39376b2..a43d32f 100644 --- a/packages/broadcast/package.json +++ b/packages/broadcast/package.json @@ -38,7 +38,7 @@ "packageManager": "yarn@4.0.0", "devDependencies": { "@rollup/plugin-typescript": "^11.1.6", - "@xmtp/xmtp-js": "^11.6.3", + "@xmtp/xmtp-js": "^12.1.0", "ethers": "^6.10.0", "rollup": "^4.13.0", "rollup-plugin-dts": "^6.1.1", diff --git a/packages/cli-starter/package.json b/packages/cli-starter/package.json index 987f1f4..bef8ce2 100644 --- a/packages/cli-starter/package.json +++ b/packages/cli-starter/package.json @@ -43,7 +43,7 @@ "typescript": "^5.4.5" }, "dependencies": { - "@xmtp/xmtp-js": "^11.3.12", + "@xmtp/xmtp-js": "^12.1.0", "ethers": "^5.7.2", "ink": "^3.2.0", "react": "^18.3.1", diff --git a/packages/frames-validator/package.json b/packages/frames-validator/package.json index f7a0e89..8fb565a 100644 --- a/packages/frames-validator/package.json +++ b/packages/frames-validator/package.json @@ -46,7 +46,7 @@ "@open-frames/types": "^0.0.7", "@rollup/plugin-typescript": "^11.1.6", "@xmtp/frames-client": "^0.4.3", - "@xmtp/xmtp-js": "^11.3.12", + "@xmtp/xmtp-js": "^12.1.0", "ethers": "^6.10.0", "rollup": "^4.13.0", "rollup-plugin-dts": "^6.1.1", diff --git a/packages/grpc-api-client/package.json b/packages/grpc-api-client/package.json index a6b9eac..db2f357 100644 --- a/packages/grpc-api-client/package.json +++ b/packages/grpc-api-client/package.json @@ -20,7 +20,7 @@ "@protobuf-ts/runtime": "^2.9.1", "@protobuf-ts/runtime-rpc": "^2.9.1", "@xmtp/proto": "^3.61.1", - "@xmtp/xmtp-js": "^11.3.12", + "@xmtp/xmtp-js": "^12.1.0", "pino": "^8.18.0" }, "scripts": { diff --git a/packages/redis-persistence/package.json b/packages/redis-persistence/package.json index 5cf7b16..7a8e434 100644 --- a/packages/redis-persistence/package.json +++ b/packages/redis-persistence/package.json @@ -43,7 +43,7 @@ }, "packageManager": "yarn@4.0.0", "devDependencies": { - "@xmtp/xmtp-js": "11.3.12", + "@xmtp/xmtp-js": "12.1.0", "vitest": "^1.0.1" } } diff --git a/yarn.lock b/yarn.lock index 35a6b53..ee22416 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1987,7 +1987,7 @@ __metadata: languageName: node linkType: hard -"@noble/secp256k1@npm:1.7.1, @noble/secp256k1@npm:^1.5.2": +"@noble/secp256k1@npm:1.7.1": version: 1.7.1 resolution: "@noble/secp256k1@npm:1.7.1" checksum: 214d4756c20ed20809d948d0cc161e95664198cb127266faf747fd7deffe5444901f05fe9f833787738f2c6e60b09e544c2f737f42f73b3699e3999ba15b1b63 @@ -3082,7 +3082,7 @@ __metadata: dependencies: "@xmtp/grpc-api-client": "workspace:*" "@xmtp/proto": "npm:^3.61.1" - "@xmtp/xmtp-js": "npm:^11.3.12" + "@xmtp/xmtp-js": "npm:^12.1.0" drizzle-kit: "npm:^0.20.17" drizzle-orm: "npm:^0.30.1" ethers: "npm:^6.8.0" @@ -3100,7 +3100,7 @@ __metadata: dependencies: "@types/jest": "npm:^29.5.0" "@types/node": "npm:^20.12.7" - "@xmtp/xmtp-js": "npm:^11.3.12" + "@xmtp/xmtp-js": "npm:^12.1.0" dotenv: "npm:^16.4.5" jest: "npm:^29.5.0" prettier: "npm:^3.2.5" @@ -3144,7 +3144,7 @@ __metadata: resolution: "@xmtp/broadcast-sdk@workspace:packages/broadcast" dependencies: "@rollup/plugin-typescript": "npm:^11.1.6" - "@xmtp/xmtp-js": "npm:^11.6.3" + "@xmtp/xmtp-js": "npm:^12.1.0" ethers: "npm:^6.10.0" rollup: "npm:^4.13.0" rollup-plugin-dts: "npm:^6.1.1" @@ -3160,7 +3160,7 @@ __metadata: "@types/node": "npm:^20.12.7" "@types/react": "npm:^18.3.2" "@types/yargs": "npm:^17.0.13" - "@xmtp/xmtp-js": "npm:^11.3.12" + "@xmtp/xmtp-js": "npm:^12.1.0" eslint: "npm:^8.57.0" eslint-config-prettier: "npm:^9.1.0" eslint-config-standard: "npm:^17.0.0" @@ -3192,6 +3192,24 @@ __metadata: languageName: node linkType: hard +"@xmtp/content-type-primitives@npm:^1.0.1": + version: 1.0.1 + resolution: "@xmtp/content-type-primitives@npm:1.0.1" + dependencies: + "@xmtp/proto": "npm:^3.61.1" + checksum: 656826cda74328e3079c7f5937eeb694260bd68a66090303fdf6abf4c54c8bbf924064eb6895b9e66addee1269779dfe1c3f0e836fcd8857f784c5645c7b7bf5 + languageName: node + linkType: hard + +"@xmtp/content-type-text@npm:^1.0.0": + version: 1.0.0 + resolution: "@xmtp/content-type-text@npm:1.0.0" + dependencies: + "@xmtp/content-type-primitives": "npm:^1.0.1" + checksum: b195060ad5686a6ace2772d5208d535d1f5062820629764aec52cedf3f2630885b5913aea6d2f0186a49139845c20d2ded783c6bf998884f09374c07b183141f + languageName: node + linkType: hard + "@xmtp/frames-client@npm:^0.4.3": version: 0.4.3 resolution: "@xmtp/frames-client@npm:0.4.3" @@ -3216,7 +3234,7 @@ __metadata: "@rollup/plugin-typescript": "npm:^11.1.6" "@xmtp/frames-client": "npm:^0.4.3" "@xmtp/proto": "npm:3.61.1" - "@xmtp/xmtp-js": "npm:^11.3.12" + "@xmtp/xmtp-js": "npm:^12.1.0" ethers: "npm:^6.10.0" rollup: "npm:^4.13.0" rollup-plugin-dts: "npm:^6.1.1" @@ -3243,7 +3261,7 @@ __metadata: "@protobuf-ts/runtime": "npm:^2.9.1" "@protobuf-ts/runtime-rpc": "npm:^2.9.1" "@xmtp/proto": "npm:^3.61.1" - "@xmtp/xmtp-js": "npm:^11.3.12" + "@xmtp/xmtp-js": "npm:^12.1.0" pino: "npm:^8.18.0" vitest: "npm:^1.0.1" languageName: unknown @@ -3261,18 +3279,6 @@ __metadata: languageName: node linkType: hard -"@xmtp/proto@npm:3.54.0": - version: 3.54.0 - resolution: "@xmtp/proto@npm:3.54.0" - dependencies: - long: "npm:^5.2.0" - protobufjs: "npm:^7.0.0" - rxjs: "npm:^7.8.0" - undici: "npm:^5.8.1" - checksum: 536b846b234bdf49978716b232b6a25985a55bb0c10c825b090354cb43f0b071ee506e5a9765c69deb0e6a4b9aa4cd61abe2c9d2df563cfd6ec121197b591844 - languageName: node - linkType: hard - "@xmtp/proto@npm:3.56.0": version: 3.56.0 resolution: "@xmtp/proto@npm:3.56.0" @@ -3297,15 +3303,15 @@ __metadata: languageName: node linkType: hard -"@xmtp/proto@npm:^3.34.0": - version: 3.34.0 - resolution: "@xmtp/proto@npm:3.34.0" +"@xmtp/proto@npm:^3.62.1": + version: 3.62.1 + resolution: "@xmtp/proto@npm:3.62.1" dependencies: long: "npm:^5.2.0" protobufjs: "npm:^7.0.0" rxjs: "npm:^7.8.0" undici: "npm:^5.8.1" - checksum: 9aeda8805f6dd73394722dc5b30ca512c01c7b5bc3553bd3528474b3c8ff212958f4c86fd6f1227aba73f1a816a644941c0d1c8f4ca74d3a65c6d5c7c1581c7a + checksum: 7d6633f5ffb60725a6f3f128191944caf203fb3110a6076cdec31bc3cc6e5dca1b03170c6fa38b877125475ed3050031b93a47587c5e6bee6ebd91de53f8f0f2 languageName: node linkType: hard @@ -3314,18 +3320,11 @@ __metadata: resolution: "@xmtp/redis-persistence@workspace:packages/redis-persistence" dependencies: "@redis/client": "npm:^1.5.14" - "@xmtp/xmtp-js": "npm:11.3.12" + "@xmtp/xmtp-js": "npm:12.1.0" vitest: "npm:^1.0.1" languageName: unknown linkType: soft -"@xmtp/user-preferences-bindings-wasm@npm:^0.3.5": - version: 0.3.5 - resolution: "@xmtp/user-preferences-bindings-wasm@npm:0.3.5" - checksum: a5a88e81d15c36f4ceb3c837652c09a6ec210f98b3ec6c9cdd9ab58a675540cf34073e9075813538432126178bb906ae4af8d88f15f9a124f508dd332696e843 - languageName: node - linkType: hard - "@xmtp/user-preferences-bindings-wasm@npm:^0.3.6": version: 0.3.6 resolution: "@xmtp/user-preferences-bindings-wasm@npm:0.3.6" @@ -3333,35 +3332,21 @@ __metadata: languageName: node linkType: hard -"@xmtp/xmtp-js@npm:11.3.12, @xmtp/xmtp-js@npm:^11.3.12": - version: 11.3.12 - resolution: "@xmtp/xmtp-js@npm:11.3.12" - dependencies: - "@noble/secp256k1": "npm:^1.5.2" - "@xmtp/proto": "npm:^3.34.0" - "@xmtp/user-preferences-bindings-wasm": "npm:^0.3.5" - async-mutex: "npm:^0.4.0" - elliptic: "npm:^6.5.4" - ethers: "npm:^5.5.3" - js-sha3: "npm:^0.9.3" - long: "npm:^5.2.0" - checksum: 279cb84fe64c68bd18aa9f8a8322e1f089879aa44b6dc809d339ff4d6071f57f10fd25f915192fd3d4d3ec654c5ae94ee2fdfded3eeed2a5c325455b13d2fe01 - languageName: node - linkType: hard - -"@xmtp/xmtp-js@npm:^11.6.3": - version: 11.6.3 - resolution: "@xmtp/xmtp-js@npm:11.6.3" +"@xmtp/xmtp-js@npm:12.1.0, @xmtp/xmtp-js@npm:^12.1.0": + version: 12.1.0 + resolution: "@xmtp/xmtp-js@npm:12.1.0" dependencies: "@noble/secp256k1": "npm:1.7.1" "@xmtp/consent-proof-signature": "npm:^0.1.3" - "@xmtp/proto": "npm:3.54.0" + "@xmtp/content-type-primitives": "npm:^1.0.1" + "@xmtp/content-type-text": "npm:^1.0.0" + "@xmtp/proto": "npm:^3.62.1" "@xmtp/user-preferences-bindings-wasm": "npm:^0.3.6" async-mutex: "npm:^0.5.0" - elliptic: "npm:^6.5.4" + elliptic: "npm:^6.5.5" long: "npm:^5.2.3" viem: "npm:2.7.15" - checksum: 0e211e532dca04a54f52b9b698e7903b65babc2625d5a6c6e1e83be065d148bb40cba27b9fbd7ad420fcca5266d45433fbfbc554ef79e9892a14327f9b4e9f37 + checksum: 4368b9e7f9fb6a6b4dd63110e655ef41d9c5aabf8666c0a9f0d166e31d1f3cde1af9bd6c981d620c81b8a0466ac612195007bbb9342142da39ee1b4ff75e1adb languageName: node linkType: hard @@ -3695,15 +3680,6 @@ __metadata: languageName: node linkType: hard -"async-mutex@npm:^0.4.0": - version: 0.4.0 - resolution: "async-mutex@npm:0.4.0" - dependencies: - tslib: "npm:^2.4.0" - checksum: 4a55065aae8c7283e45e2a8ac38ba9812f030696640d650c4ec62cfd67e5d61bd698e67b758a81fcb845e2d5ea1d857106f9235cc4282ad40cd1944b26fde1b2 - languageName: node - linkType: hard - "async-mutex@npm:^0.5.0": version: 0.5.0 resolution: "async-mutex@npm:0.5.0" @@ -4803,7 +4779,7 @@ __metadata: languageName: node linkType: hard -"elliptic@npm:6.5.4, elliptic@npm:^6.5.4": +"elliptic@npm:6.5.4": version: 6.5.4 resolution: "elliptic@npm:6.5.4" dependencies: @@ -4818,6 +4794,21 @@ __metadata: languageName: node linkType: hard +"elliptic@npm:^6.5.5": + version: 6.5.6 + resolution: "elliptic@npm:6.5.6" + dependencies: + bn.js: "npm:^4.11.9" + brorand: "npm:^1.1.0" + hash.js: "npm:^1.0.0" + hmac-drbg: "npm:^1.0.1" + inherits: "npm:^2.0.4" + minimalistic-assert: "npm:^1.0.1" + minimalistic-crypto-utils: "npm:^1.0.1" + checksum: 09377ec924fdb37775d63e5d7e5ebb2845842e6f08880b68265b1108863e968970c4a4e1c43df622078c8262417deec9a04aeb9d34e8d09a9693e19b5454e1df + languageName: node + linkType: hard + "emittery@npm:^0.13.1": version: 0.13.1 resolution: "emittery@npm:0.13.1" @@ -5589,7 +5580,7 @@ __metadata: languageName: node linkType: hard -"ethers@npm:^5.5.3, ethers@npm:^5.7.2": +"ethers@npm:^5.7.2": version: 5.7.2 resolution: "ethers@npm:5.7.2" dependencies: @@ -7443,13 +7434,6 @@ __metadata: languageName: node linkType: hard -"js-sha3@npm:^0.9.3": - version: 0.9.3 - resolution: "js-sha3@npm:0.9.3" - checksum: 8daacb93b18609a0dc081f2f6199b80a96df36f9975b4b9c7476ae92822e07100b9e1969fc76f4b58e703cd6175f0de7656a99cbb2335cfb554c66f988fbead5 - languageName: node - linkType: hard - "js-tokens@npm:^3.0.0 || ^4.0.0, js-tokens@npm:^4.0.0": version: 4.0.0 resolution: "js-tokens@npm:4.0.0"