From 62b8fbdef28ecae182805d524e91dbfae7ffb1b5 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 12:46:31 -0500 Subject: [PATCH 01/12] Upgrade developer dependencies --- package.json | 2 +- packages/js-sdk/package.json | 20 +- packages/mls-client/package.json | 16 +- yarn.lock | 923 ++++++++++++++----------------- 4 files changed, 447 insertions(+), 514 deletions(-) diff --git a/package.json b/package.json index 9a22f532c..0932ea32f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "@changesets/cli": "^2.27.7" }, "devDependencies": { - "prettier": "^3.3.2", + "prettier": "^3.3.3", "prettier-plugin-packagejson": "^2.5.0", "turbo": "^2.0.6" }, diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 93eae9768..477d3e190 100644 --- a/packages/js-sdk/package.json +++ b/packages/js-sdk/package.json @@ -109,7 +109,7 @@ "viem": "2.7.15" }, "devDependencies": { - "@ianvs/prettier-plugin-sort-imports": "^4.3.0", + "@ianvs/prettier-plugin-sort-imports": "^4.3.1", "@metamask/providers": "^14.0.2", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-terser": "^0.4.4", @@ -118,10 +118,10 @@ "@types/bl": "^5.1.0", "@types/callback-to-async-iterator": "^1.1.7", "@types/elliptic": "^6.4.18", - "@types/node": "^20.14.9", - "@typescript-eslint/eslint-plugin": "^7.15.0", - "@typescript-eslint/parser": "^7.15.0", - "@vitest/coverage-v8": "^1.6.0", + "@types/node": "^20.14.10", + "@typescript-eslint/eslint-plugin": "^7.16.1", + "@typescript-eslint/parser": "^7.16.1", + "@vitest/coverage-v8": "^2.0.3", "@xmtp/rollup-plugin-resolve-extensions": "1.0.1", "benny": "^3.7.1", "dd-trace": "5.5.0", @@ -129,24 +129,24 @@ "eslint-config-prettier": "^9.1.0", "eslint-config-standard": "^17.1.0", "eslint-plugin-import": "^2.29.1", - "eslint-plugin-jsdoc": "^48.5.0", + "eslint-plugin-jsdoc": "^48.7.0", "eslint-plugin-n": "^17.9.0", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-promise": "^6.4.0", "ethers": "^5.7.2", "happy-dom": "^14.12.3", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "prettier-plugin-packagejson": "^2.5.0", - "rollup": "^4.18.0", + "rollup": "^4.18.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-tsconfig-paths": "^1.5.2", - "typedoc": "^0.26.3", + "typedoc": "^0.26.4", "typescript": "^5.5.3", "vite": "5.3.3", "vite-tsconfig-paths": "^4.3.2", - "vitest": "^1.6.0" + "vitest": "^2.0.3" }, "packageManager": "yarn@4.3.1", "engines": { diff --git a/packages/mls-client/package.json b/packages/mls-client/package.json index 5cea77ef3..5b085ed93 100644 --- a/packages/mls-client/package.json +++ b/packages/mls-client/package.json @@ -58,13 +58,13 @@ "@xmtp/proto": "^3.61.1" }, "devDependencies": { - "@ianvs/prettier-plugin-sort-imports": "^4.3.0", + "@ianvs/prettier-plugin-sort-imports": "^4.3.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-typescript": "^11.1.6", - "@types/node": "^20.14.9", - "@typescript-eslint/eslint-plugin": "^7.15.0", - "@typescript-eslint/parser": "^7.15.0", - "@vitest/coverage-v8": "^1.6.0", + "@types/node": "^20.14.10", + "@typescript-eslint/eslint-plugin": "^7.16.1", + "@typescript-eslint/parser": "^7.16.1", + "@vitest/coverage-v8": "^2.0.3", "@xmtp/xmtp-js": "workspace:^", "eslint": "^8.57.0", "eslint-config-prettier": "^9.1.0", @@ -75,9 +75,9 @@ "eslint-plugin-prettier": "^5.1.3", "eslint-plugin-promise": "^6.4.0", "fast-glob": "^3.3.2", - "prettier": "^3.3.2", + "prettier": "^3.3.3", "prettier-plugin-packagejson": "^2.5.0", - "rollup": "^4.18.0", + "rollup": "^4.18.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-tsconfig-paths": "^1.5.2", @@ -85,7 +85,7 @@ "viem": "^2.13.6", "vite": "5.3.3", "vite-tsconfig-paths": "^4.3.2", - "vitest": "^1.6.0" + "vitest": "^2.0.3" }, "packageManager": "yarn@4.3.1", "engines": { diff --git a/yarn.lock b/yarn.lock index e63d20539..2120d2906 100644 --- a/yarn.lock +++ b/yarn.lock @@ -19,7 +19,7 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.2.0": +"@ampproject/remapping@npm:^2.2.0, @ampproject/remapping@npm:^2.3.0": version: 2.3.0 resolution: "@ampproject/remapping@npm:2.3.0" dependencies: @@ -29,16 +29,6 @@ __metadata: languageName: node linkType: hard -"@ampproject/remapping@npm:^2.2.1": - version: 2.2.1 - resolution: "@ampproject/remapping@npm:2.2.1" - dependencies: - "@jridgewell/gen-mapping": "npm:^0.3.0" - "@jridgewell/trace-mapping": "npm:^0.3.9" - checksum: 10/e15fecbf3b54c988c8b4fdea8ef514ab482537e8a080b2978cc4b47ccca7140577ca7b65ad3322dcce65bc73ee6e5b90cbfe0bbd8c766dad04d5c62ec9634c42 - languageName: node - linkType: hard - "@arrows/array@npm:^1.4.1": version: 1.4.1 resolution: "@arrows/array@npm:1.4.1" @@ -288,21 +278,21 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.23.6": - version: 7.23.9 - resolution: "@babel/parser@npm:7.23.9" +"@babel/parser@npm:^7.24.0": + version: 7.24.0 + resolution: "@babel/parser@npm:7.24.0" bin: parser: ./bin/babel-parser.js - checksum: 10/727a7a807100f6a26df859e2f009c4ddbd0d3363287b45daa50bd082ccd0d431d0c4d0e610a91f806e04a1918726cd0f5a0592c9b902a815337feed12e1cafd9 + checksum: 10/3e5ebb903a6f71629a9d0226743e37fe3d961e79911d2698b243637f66c4df7e3e0a42c07838bc0e7cc9fcd585d9be8f4134a145b9459ee4a459420fb0d1360b languageName: node linkType: hard -"@babel/parser@npm:^7.24.0": - version: 7.24.0 - resolution: "@babel/parser@npm:7.24.0" +"@babel/parser@npm:^7.24.4": + version: 7.24.8 + resolution: "@babel/parser@npm:7.24.8" bin: parser: ./bin/babel-parser.js - checksum: 10/3e5ebb903a6f71629a9d0226743e37fe3d961e79911d2698b243637f66c4df7e3e0a42c07838bc0e7cc9fcd585d9be8f4134a145b9459ee4a459420fb0d1360b + checksum: 10/e44b8327da46e8659bc9fb77f66e2dc4364dd66495fb17d046b96a77bf604f0446f1e9a89cf2f011d78fc3f5cdfbae2e9e0714708e1c985988335683b2e781ef languageName: node linkType: hard @@ -692,17 +682,14 @@ __metadata: languageName: node linkType: hard -"@es-joy/jsdoccomment@npm:~0.43.1": - version: 0.43.1 - resolution: "@es-joy/jsdoccomment@npm:0.43.1" +"@es-joy/jsdoccomment@npm:~0.46.0": + version: 0.46.0 + resolution: "@es-joy/jsdoccomment@npm:0.46.0" dependencies: - "@types/eslint": "npm:^8.56.5" - "@types/estree": "npm:^1.0.5" - "@typescript-eslint/types": "npm:^7.2.0" comment-parser: "npm:1.4.1" - esquery: "npm:^1.5.0" + esquery: "npm:^1.6.0" jsdoc-type-pratt-parser: "npm:~4.0.0" - checksum: 10/c7b30648f3959a6779df9f1939467916f46d40a87b4067a3e53f0492019d5f644cc5e2bb7ded5202a43a01b0627d7b751e9f1f1b10625f5a99a988894e55d2ac + checksum: 10/1853865bebd502763dfd85ff247195806a40cff860278c5c20767f0b330c4fd51e71458ed4dac53891dcf5e3bb2fac13b5538eeb38938cf4549cf17984b0cc2e languageName: node linkType: hard @@ -1553,9 +1540,9 @@ __metadata: languageName: node linkType: hard -"@ianvs/prettier-plugin-sort-imports@npm:^4.3.0": - version: 4.3.0 - resolution: "@ianvs/prettier-plugin-sort-imports@npm:4.3.0" +"@ianvs/prettier-plugin-sort-imports@npm:^4.3.1": + version: 4.3.1 + resolution: "@ianvs/prettier-plugin-sort-imports@npm:4.3.1" dependencies: "@babel/core": "npm:^7.24.0" "@babel/generator": "npm:^7.23.6" @@ -1569,7 +1556,7 @@ __metadata: peerDependenciesMeta: "@vue/compiler-sfc": optional: true - checksum: 10/a5e378e0e4d16cdfe2a0a9fb621eebc785d6aeec9f4c4babcc42d0191ffbb23814c5e7ca6cdbe4b63b4a36b0c456ae50270e28498392a04ae66f2c8a74a79487 + checksum: 10/9bdc0c1d138e8b31ae03f4b160f23ba7d1d8b2e6456c49f5911b42e22c0fb4a336da2fd25747bab5a84fe210a702167600c48ca4fb3b297b70d02f2721980867 languageName: node linkType: hard @@ -1594,15 +1581,6 @@ __metadata: languageName: node linkType: hard -"@jest/schemas@npm:^29.6.3": - version: 29.6.3 - resolution: "@jest/schemas@npm:29.6.3" - dependencies: - "@sinclair/typebox": "npm:^0.27.8" - checksum: 10/910040425f0fc93cd13e68c750b7885590b8839066dfa0cd78e7def07bbb708ad869381f725945d66f2284de5663bbecf63e8fdd856e2ae6e261ba30b1687e93 - languageName: node - linkType: hard - "@jridgewell/gen-mapping@npm:^0.3.0": version: 0.3.3 resolution: "@jridgewell/gen-mapping@npm:0.3.3" @@ -2139,9 +2117,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.18.0" +"@rollup/rollup-android-arm-eabi@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.18.1" conditions: os=android & cpu=arm languageName: node linkType: hard @@ -2160,9 +2138,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-android-arm64@npm:4.18.0" +"@rollup/rollup-android-arm64@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-android-arm64@npm:4.18.1" conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -2181,9 +2159,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.18.0" +"@rollup/rollup-darwin-arm64@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-darwin-arm64@npm:4.18.1" conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -2202,9 +2180,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.18.0" +"@rollup/rollup-darwin-x64@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-darwin-x64@npm:4.18.1" conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -2223,9 +2201,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.18.0" +"@rollup/rollup-linux-arm-gnueabihf@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.18.1" conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard @@ -2237,9 +2215,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.18.0" +"@rollup/rollup-linux-arm-musleabihf@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.18.1" conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard @@ -2258,9 +2236,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.18.0" +"@rollup/rollup-linux-arm64-gnu@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.18.1" conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -2279,9 +2257,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.18.0" +"@rollup/rollup-linux-arm64-musl@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.18.1" conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -2293,9 +2271,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.0" +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.18.1" conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard @@ -2314,9 +2292,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.18.0" +"@rollup/rollup-linux-riscv64-gnu@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.18.1" conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard @@ -2328,9 +2306,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.18.0" +"@rollup/rollup-linux-s390x-gnu@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.18.1" conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard @@ -2349,9 +2327,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.18.0" +"@rollup/rollup-linux-x64-gnu@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.18.1" conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -2370,9 +2348,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.18.0" +"@rollup/rollup-linux-x64-musl@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.18.1" conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -2391,9 +2369,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.18.0" +"@rollup/rollup-win32-arm64-msvc@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.18.1" conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -2412,9 +2390,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.18.0" +"@rollup/rollup-win32-ia32-msvc@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.18.1" conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -2433,9 +2411,9 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.18.0": - version: 4.18.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.18.0" +"@rollup/rollup-win32-x64-msvc@npm:4.18.1": + version: 4.18.1 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.18.1" conditions: os=win32 & cpu=x64 languageName: node linkType: hard @@ -2533,13 +2511,6 @@ __metadata: languageName: node linkType: hard -"@sinclair/typebox@npm:^0.27.8": - version: 0.27.8 - resolution: "@sinclair/typebox@npm:0.27.8" - checksum: 10/297f95ff77c82c54de8c9907f186076e715ff2621c5222ba50b8d40a170661c0c5242c763cba2a4791f0f91cb1d8ffa53ea1d7294570cf8cd4694c0e383e484d - languageName: node - linkType: hard - "@tootallnate/once@npm:2": version: 2.0.0 resolution: "@tootallnate/once@npm:2.0.0" @@ -2614,30 +2585,13 @@ __metadata: languageName: node linkType: hard -"@types/eslint@npm:^8.56.5": - version: 8.56.10 - resolution: "@types/eslint@npm:8.56.10" - dependencies: - "@types/estree": "npm:*" - "@types/json-schema": "npm:*" - checksum: 10/0cdd914b944ebba51c35827d3ef95bc3e16eb82b4c2741f6437fa57cdb00a4407c77f89c220afe9e4c9566982ec8a0fb9b97c956ac3bd4623a3b6af32eed8424 - languageName: node - linkType: hard - -"@types/estree@npm:*, @types/estree@npm:1.0.5, @types/estree@npm:^1.0.0, @types/estree@npm:^1.0.5": +"@types/estree@npm:1.0.5, @types/estree@npm:^1.0.0": version: 1.0.5 resolution: "@types/estree@npm:1.0.5" checksum: 10/7de6d928dd4010b0e20c6919e1a6c27b61f8d4567befa89252055fad503d587ecb9a1e3eab1b1901f923964d7019796db810b7fd6430acb26c32866d126fd408 languageName: node linkType: hard -"@types/json-schema@npm:*": - version: 7.0.15 - resolution: "@types/json-schema@npm:7.0.15" - checksum: 10/1a3c3e06236e4c4aab89499c428d585527ce50c24fe8259e8b3926d3df4cfbbbcf306cfc73ddfb66cbafc973116efd15967020b0f738f63e09e64c7d260519e7 - languageName: node - linkType: hard - "@types/json5@npm:^0.0.29": version: 0.0.29 resolution: "@types/json5@npm:0.0.29" @@ -2668,12 +2622,12 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:^20.14.9": - version: 20.14.9 - resolution: "@types/node@npm:20.14.9" +"@types/node@npm:^20.14.10": + version: 20.14.10 + resolution: "@types/node@npm:20.14.10" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/f313b06c79be92f5d3541159ef813b9fc606941f951ecf826e940658c6d4952755ca2f06277b746326cef0697ed79a04676ecde053d32e1121b3352c8168d2e9 + checksum: 10/672892cf94d0d95cf052f11271990686a0fd204cd1e5fe7a4ef240e5315e06711765dc47b9ec98627d3adac18b8c92bb7e2d8db21d18faa20bc3e3203a143e79 languageName: node linkType: hard @@ -2694,15 +2648,15 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/eslint-plugin@npm:^7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/eslint-plugin@npm:7.15.0" +"@typescript-eslint/eslint-plugin@npm:^7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/eslint-plugin@npm:7.16.1" dependencies: "@eslint-community/regexpp": "npm:^4.10.0" - "@typescript-eslint/scope-manager": "npm:7.15.0" - "@typescript-eslint/type-utils": "npm:7.15.0" - "@typescript-eslint/utils": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" + "@typescript-eslint/scope-manager": "npm:7.16.1" + "@typescript-eslint/type-utils": "npm:7.16.1" + "@typescript-eslint/utils": "npm:7.16.1" + "@typescript-eslint/visitor-keys": "npm:7.16.1" graphemer: "npm:^1.4.0" ignore: "npm:^5.3.1" natural-compare: "npm:^1.4.0" @@ -2713,44 +2667,44 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/e6b21687ab9e9dc38eb1b1d90a3ac483f3f5e5e9c49aa8a434a24de016822d65c82b926cda2ae79bac2225bd9495fb04f7aa6afcaad2b09f6129fd8014fbcedd + checksum: 10/fddbfe461f85d10ee3967b89efa3c704806074af6806833f982915b21754567a98c5a486627174cc6b0ac4cb5f1282865d64ae251a5cbf6dbbbe191d0268520a languageName: node linkType: hard -"@typescript-eslint/parser@npm:^7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/parser@npm:7.15.0" +"@typescript-eslint/parser@npm:^7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/parser@npm:7.16.1" dependencies: - "@typescript-eslint/scope-manager": "npm:7.15.0" - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/typescript-estree": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" + "@typescript-eslint/scope-manager": "npm:7.16.1" + "@typescript-eslint/types": "npm:7.16.1" + "@typescript-eslint/typescript-estree": "npm:7.16.1" + "@typescript-eslint/visitor-keys": "npm:7.16.1" debug: "npm:^4.3.4" peerDependencies: eslint: ^8.56.0 peerDependenciesMeta: typescript: optional: true - checksum: 10/0b5e7a14fa5d0680efb17e750a095729a7fb7c785d7a0fea2f9e6cbfef9e65caab2b751654b348b9ab813d222c1c3f8189ebf48561b81224d1821cee5c99d658 + checksum: 10/7af36bacc2c38e9fb367edf886a04fde292ff28b49adfc3f4fc0dd456364c5e18444346112ae52557f2f32fe2e5abd144b87b4db89b6960b4957d69a9d390f91 languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/scope-manager@npm:7.15.0" +"@typescript-eslint/scope-manager@npm:7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/scope-manager@npm:7.16.1" dependencies: - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" - checksum: 10/45bfdbae2d080691a34f5b37679b4a4067981baa3b82922268abdd21f6917a8dd1c4ccb12133f6c9cce81cfd640040913b223e8125235b92f42fdb57db358a3e + "@typescript-eslint/types": "npm:7.16.1" + "@typescript-eslint/visitor-keys": "npm:7.16.1" + checksum: 10/57ce02c2624e49988b01666b3e13d1adb44ab78f2dafc47a56800d57bff624779b348928a905393fa5f2cce94a5844173ab81f32b81f0bb2897f10bbaf9cab6a languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/type-utils@npm:7.15.0" +"@typescript-eslint/type-utils@npm:7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/type-utils@npm:7.16.1" dependencies: - "@typescript-eslint/typescript-estree": "npm:7.15.0" - "@typescript-eslint/utils": "npm:7.15.0" + "@typescript-eslint/typescript-estree": "npm:7.16.1" + "@typescript-eslint/utils": "npm:7.16.1" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.3.0" peerDependencies: @@ -2758,23 +2712,23 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/64fa589b413567df3689a19ef88f3dbaed66d965e39cc548a58626eb5bd8fc4e2338496eb632f3472de9ae9800cb14d0e48ef3508efe80bdb91af8f3f1e56ad7 + checksum: 10/38a72a3de8a2c3455d19e6d43e67ac6e1dc23e93b2d84571282b0323fadadcab33df1a89787c76fc99e45514e41a08bc9f5cb51287a7da48f56c64b512a3269b languageName: node linkType: hard -"@typescript-eslint/types@npm:7.15.0, @typescript-eslint/types@npm:^7.2.0": - version: 7.15.0 - resolution: "@typescript-eslint/types@npm:7.15.0" - checksum: 10/b36c98344469f4bc54a5199733ea4f6d4d0f2da1070605e60d4031e2da2946b84b91a90108516c8e6e83a21030ba4e935053a0906041c920156de40683297d0b +"@typescript-eslint/types@npm:7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/types@npm:7.16.1" + checksum: 10/cfb48821ffb5a5307e67ce05b9ec2f4775c560dc53011e313d4fa75d033e0130ce0d364ac92ad3634d325c16a889ddc3201e8a742217c73be8d34385da85620b languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/typescript-estree@npm:7.15.0" +"@typescript-eslint/typescript-estree@npm:7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/typescript-estree@npm:7.16.1" dependencies: - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/visitor-keys": "npm:7.15.0" + "@typescript-eslint/types": "npm:7.16.1" + "@typescript-eslint/visitor-keys": "npm:7.16.1" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -2784,31 +2738,31 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: 10/c5fb15108fbbc1bc976e827218ff7bfbc78930c5906292325ee42ba03514623e7b861497b3e3087f71ede9a757b16441286b4d234450450b0dd70ff753782736 + checksum: 10/7f88176f2d25779ec2d40df4c6bd0a26aa41494ee0302d4895b4d0cb4e284385c1e218ac2ad67ed90b5e1bf82b78b8aa4b903b5906fbf7101b08c409ce778e9c languageName: node linkType: hard -"@typescript-eslint/utils@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/utils@npm:7.15.0" +"@typescript-eslint/utils@npm:7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/utils@npm:7.16.1" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" - "@typescript-eslint/scope-manager": "npm:7.15.0" - "@typescript-eslint/types": "npm:7.15.0" - "@typescript-eslint/typescript-estree": "npm:7.15.0" + "@typescript-eslint/scope-manager": "npm:7.16.1" + "@typescript-eslint/types": "npm:7.16.1" + "@typescript-eslint/typescript-estree": "npm:7.16.1" peerDependencies: eslint: ^8.56.0 - checksum: 10/f6de1849dee610a8110638be98ab2ec09e7cdf2f756b538b0544df2dfad86a8e66d5326a765302fe31553e8d9d3170938c0d5d38bd9c7d36e3ee0beb1bdc8172 + checksum: 10/b3c279d706ff1b3a0002c8e0f0fcf559b63f4296e218199a25863054bda5b28d5a7ab6ad4ad1d0b7fa2c6cd9f2d0dcd7f784c3f75026fae7b58846695481ec45 languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:7.15.0": - version: 7.15.0 - resolution: "@typescript-eslint/visitor-keys@npm:7.15.0" +"@typescript-eslint/visitor-keys@npm:7.16.1": + version: 7.16.1 + resolution: "@typescript-eslint/visitor-keys@npm:7.16.1" dependencies: - "@typescript-eslint/types": "npm:7.15.0" + "@typescript-eslint/types": "npm:7.16.1" eslint-visitor-keys: "npm:^3.4.3" - checksum: 10/0e17d7f5de767da7f98170c2efc905cdb0ceeaf04a667e12ca1a92eae64479a07f4f8e2a9b5023b055b01250916c3bcac86908cd06552610baff734fafae4464 + checksum: 10/f5088d72b6ca48f4e525b7b5d6c6c9254d0d039d2959fd91200691218e8ac8f3e56287ec8bc411a79609e9d85ed5fc6c4f7d2edd80fadf734aeb6f6bfc833322 languageName: node linkType: hard @@ -2819,80 +2773,89 @@ __metadata: languageName: node linkType: hard -"@vitest/coverage-v8@npm:^1.6.0": - version: 1.6.0 - resolution: "@vitest/coverage-v8@npm:1.6.0" +"@vitest/coverage-v8@npm:^2.0.3": + version: 2.0.3 + resolution: "@vitest/coverage-v8@npm:2.0.3" dependencies: - "@ampproject/remapping": "npm:^2.2.1" + "@ampproject/remapping": "npm:^2.3.0" "@bcoe/v8-coverage": "npm:^0.2.3" - debug: "npm:^4.3.4" + debug: "npm:^4.3.5" istanbul-lib-coverage: "npm:^3.2.2" istanbul-lib-report: "npm:^3.0.1" - istanbul-lib-source-maps: "npm:^5.0.4" - istanbul-reports: "npm:^3.1.6" - magic-string: "npm:^0.30.5" - magicast: "npm:^0.3.3" - picocolors: "npm:^1.0.0" - std-env: "npm:^3.5.0" - strip-literal: "npm:^2.0.0" - test-exclude: "npm:^6.0.0" + istanbul-lib-source-maps: "npm:^5.0.6" + istanbul-reports: "npm:^3.1.7" + magic-string: "npm:^0.30.10" + magicast: "npm:^0.3.4" + std-env: "npm:^3.7.0" + strip-literal: "npm:^2.1.0" + test-exclude: "npm:^7.0.1" + tinyrainbow: "npm:^1.2.0" peerDependencies: - vitest: 1.6.0 - checksum: 10/705d5f40c7795c9aa5123cca937760f060209241911dae63bd6db2f03b59f3ca41661b6a691bb781509312228cf91b4669a4daf7170a7ba7d5b6f5161a999443 + vitest: 2.0.3 + checksum: 10/776b10e2ed5e9e3cb1a74676ddc31033164a3d465b84dec95f817c67b69efc1e6297c64d1d29412b3966557ab5c32aa4bc04ba8506ca13369dd31edacb11107e languageName: node linkType: hard -"@vitest/expect@npm:1.6.0": - version: 1.6.0 - resolution: "@vitest/expect@npm:1.6.0" +"@vitest/expect@npm:2.0.3": + version: 2.0.3 + resolution: "@vitest/expect@npm:2.0.3" dependencies: - "@vitest/spy": "npm:1.6.0" - "@vitest/utils": "npm:1.6.0" - chai: "npm:^4.3.10" - checksum: 10/e82304a12e22b98c1ccea81e8f33c838561deb878588eac463164cc4f8fc0c401ace3a9e6758d9e3a6bcc01313e845e8478aaefb7548eaded04b8de12c1928f6 + "@vitest/spy": "npm:2.0.3" + "@vitest/utils": "npm:2.0.3" + chai: "npm:^5.1.1" + tinyrainbow: "npm:^1.2.0" + checksum: 10/f47d126c4c2f685c7525cf826f21b826fc9fa8c9a9fc9b42ff4d6c71ac843094b9ae033b29dd88b2f5558815e040451f1e037ce61e8de907db13b1a02f51bc8a languageName: node linkType: hard -"@vitest/runner@npm:1.6.0": - version: 1.6.0 - resolution: "@vitest/runner@npm:1.6.0" +"@vitest/pretty-format@npm:2.0.3, @vitest/pretty-format@npm:^2.0.3": + version: 2.0.3 + resolution: "@vitest/pretty-format@npm:2.0.3" dependencies: - "@vitest/utils": "npm:1.6.0" - p-limit: "npm:^5.0.0" - pathe: "npm:^1.1.1" - checksum: 10/d83a608be36dace77f91a9d15ab7753f9c5923281188a8d9cb5ccec770df9cc9ba80e5e1e3465328c7605977be0f0708610855abf5f4af037a4ede5f51a83e47 + tinyrainbow: "npm:^1.2.0" + checksum: 10/5a4289ecaacec356212afd44c1fa25accf2fbda4640021b304154671c675dc58d203c9422eea9e08eac2426755b33e02597f56fdb515320566672d5f241e1266 languageName: node linkType: hard -"@vitest/snapshot@npm:1.6.0": - version: 1.6.0 - resolution: "@vitest/snapshot@npm:1.6.0" +"@vitest/runner@npm:2.0.3": + version: 2.0.3 + resolution: "@vitest/runner@npm:2.0.3" dependencies: - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - pretty-format: "npm:^29.7.0" - checksum: 10/0bfc26a48b45814604ff0f7276d73a047b79f3618e0b620ff54ea2de548e9603a9770963ba6ebb19f7ea1ed51001cbca58d74aa0271651d4f8e88c6233885eba + "@vitest/utils": "npm:2.0.3" + pathe: "npm:^1.1.2" + checksum: 10/a1f41f0d1edbfd9dbff2616d0eb40964eb1764ef61fdc0013e014aa3343968645d9c83e091d69192450887914c90f9a8dc9db52da3b56ea6bf1ce4b240b3cbd3 languageName: node linkType: hard -"@vitest/spy@npm:1.6.0": - version: 1.6.0 - resolution: "@vitest/spy@npm:1.6.0" +"@vitest/snapshot@npm:2.0.3": + version: 2.0.3 + resolution: "@vitest/snapshot@npm:2.0.3" dependencies: - tinyspy: "npm:^2.2.0" - checksum: 10/1c9698272a58aa47708bb8a1672d655fcec3285b02067cc3f70bfe76f4eda7a756eb379f8c945ccbe61677f5189aeb5ba93c2737a9d7db2de8c4e7bbdffcd372 + "@vitest/pretty-format": "npm:2.0.3" + magic-string: "npm:^0.30.10" + pathe: "npm:^1.1.2" + checksum: 10/d1529b93f853731bb352feb6b00921711407f0fbf829b0b359027f779f5f23c36abba4a7187c41a13376f45b769fe581cb6f60c22b2bdee6ce92a80c0fa49564 languageName: node linkType: hard -"@vitest/utils@npm:1.6.0": - version: 1.6.0 - resolution: "@vitest/utils@npm:1.6.0" +"@vitest/spy@npm:2.0.3": + version: 2.0.3 + resolution: "@vitest/spy@npm:2.0.3" + dependencies: + tinyspy: "npm:^3.0.0" + checksum: 10/cab153e2e071528c5652057a48fd4c5c72af6bcea460b8e036bd83ec734e85d190b8cbac75faafacf0c76c500641cf03c22ea806794951d3b291c5113cf82a28 + languageName: node + linkType: hard + +"@vitest/utils@npm:2.0.3": + version: 2.0.3 + resolution: "@vitest/utils@npm:2.0.3" dependencies: - diff-sequences: "npm:^29.6.3" + "@vitest/pretty-format": "npm:2.0.3" estree-walker: "npm:^3.0.3" - loupe: "npm:^2.3.7" - pretty-format: "npm:^29.7.0" - checksum: 10/5c5d7295ac13fcea1da039232bcc7c3fc6f070070fe12ba2ad152456af6e216e48a3ae169016cfcd5055706a00dc567b8f62e4a9b1914f069f52b8f0a3c25e60 + loupe: "npm:^3.1.1" + tinyrainbow: "npm:^1.2.0" + checksum: 10/e7785b4fd0ff51dff7e7a918b9653f1c2d36dda0d01e0c3222bc1ee7b519034fcd7485b33e52c566b124def2afb449db6a8e53416a615a233058bfa95a1def52 languageName: node linkType: hard @@ -2935,13 +2898,13 @@ __metadata: version: 0.0.0-use.local resolution: "@xmtp/mls-client@workspace:packages/mls-client" dependencies: - "@ianvs/prettier-plugin-sort-imports": "npm:^4.3.0" + "@ianvs/prettier-plugin-sort-imports": "npm:^4.3.1" "@rollup/plugin-json": "npm:^6.1.0" "@rollup/plugin-typescript": "npm:^11.1.6" - "@types/node": "npm:^20.14.9" - "@typescript-eslint/eslint-plugin": "npm:^7.15.0" - "@typescript-eslint/parser": "npm:^7.15.0" - "@vitest/coverage-v8": "npm:^1.6.0" + "@types/node": "npm:^20.14.10" + "@typescript-eslint/eslint-plugin": "npm:^7.16.1" + "@typescript-eslint/parser": "npm:^7.16.1" + "@vitest/coverage-v8": "npm:^2.0.3" "@xmtp/content-type-primitives": "npm:^1.0.1" "@xmtp/content-type-text": "npm:^1.0.0" "@xmtp/mls-client-bindings-node": "npm:^0.0.8" @@ -2956,9 +2919,9 @@ __metadata: eslint-plugin-prettier: "npm:^5.1.3" eslint-plugin-promise: "npm:^6.4.0" fast-glob: "npm:^3.3.2" - prettier: "npm:^3.3.2" + prettier: "npm:^3.3.3" prettier-plugin-packagejson: "npm:^2.5.0" - rollup: "npm:^4.18.0" + rollup: "npm:^4.18.1" rollup-plugin-dts: "npm:^6.1.1" rollup-plugin-filesize: "npm:^10.0.0" rollup-plugin-tsconfig-paths: "npm:^1.5.2" @@ -2966,7 +2929,7 @@ __metadata: viem: "npm:^2.13.6" vite: "npm:5.3.3" vite-tsconfig-paths: "npm:^4.3.2" - vitest: "npm:^1.6.0" + vitest: "npm:^2.0.3" languageName: unknown linkType: soft @@ -3030,7 +2993,7 @@ __metadata: version: 0.0.0-use.local resolution: "@xmtp/xmtp-js@workspace:packages/js-sdk" dependencies: - "@ianvs/prettier-plugin-sort-imports": "npm:^4.3.0" + "@ianvs/prettier-plugin-sort-imports": "npm:^4.3.1" "@metamask/providers": "npm:^14.0.2" "@noble/secp256k1": "npm:1.7.1" "@rollup/plugin-json": "npm:^6.1.0" @@ -3040,10 +3003,10 @@ __metadata: "@types/bl": "npm:^5.1.0" "@types/callback-to-async-iterator": "npm:^1.1.7" "@types/elliptic": "npm:^6.4.18" - "@types/node": "npm:^20.14.9" - "@typescript-eslint/eslint-plugin": "npm:^7.15.0" - "@typescript-eslint/parser": "npm:^7.15.0" - "@vitest/coverage-v8": "npm:^1.6.0" + "@types/node": "npm:^20.14.10" + "@typescript-eslint/eslint-plugin": "npm:^7.16.1" + "@typescript-eslint/parser": "npm:^7.16.1" + "@vitest/coverage-v8": "npm:^2.0.3" "@xmtp/consent-proof-signature": "npm:^0.1.3" "@xmtp/content-type-primitives": "npm:^1.0.1" "@xmtp/content-type-text": "npm:^1.0.0" @@ -3058,7 +3021,7 @@ __metadata: eslint-config-prettier: "npm:^9.1.0" eslint-config-standard: "npm:^17.1.0" eslint-plugin-import: "npm:^2.29.1" - eslint-plugin-jsdoc: "npm:^48.5.0" + eslint-plugin-jsdoc: "npm:^48.7.0" eslint-plugin-n: "npm:^17.9.0" eslint-plugin-node: "npm:^11.1.0" eslint-plugin-prettier: "npm:^5.1.3" @@ -3066,18 +3029,18 @@ __metadata: ethers: "npm:^5.7.2" happy-dom: "npm:^14.12.3" long: "npm:^5.2.3" - prettier: "npm:^3.3.2" + prettier: "npm:^3.3.3" prettier-plugin-packagejson: "npm:^2.5.0" - rollup: "npm:^4.18.0" + rollup: "npm:^4.18.1" rollup-plugin-dts: "npm:^6.1.1" rollup-plugin-filesize: "npm:^10.0.0" rollup-plugin-tsconfig-paths: "npm:^1.5.2" - typedoc: "npm:^0.26.3" + typedoc: "npm:^0.26.4" typescript: "npm:^5.5.3" viem: "npm:2.7.15" vite: "npm:5.3.3" vite-tsconfig-paths: "npm:^4.3.2" - vitest: "npm:^1.6.0" + vitest: "npm:^2.0.3" languageName: unknown linkType: soft @@ -3137,14 +3100,7 @@ __metadata: languageName: node linkType: hard -"acorn-walk@npm:^8.3.2": - version: 8.3.2 - resolution: "acorn-walk@npm:8.3.2" - checksum: 10/57dbe2fd8cf744f562431775741c5c087196cd7a65ce4ccb3f3981cdfad25cd24ad2bad404997b88464ac01e789a0a61e5e355b2a84876f13deef39fb39686ca - languageName: node - linkType: hard - -"acorn@npm:^8.11.3, acorn@npm:^8.8.2, acorn@npm:^8.9.0": +"acorn@npm:^8.8.2, acorn@npm:^8.9.0": version: 8.11.3 resolution: "acorn@npm:8.11.3" bin: @@ -3266,13 +3222,6 @@ __metadata: languageName: node linkType: hard -"ansi-styles@npm:^5.0.0": - version: 5.2.0 - resolution: "ansi-styles@npm:5.2.0" - checksum: 10/d7f4e97ce0623aea6bc0d90dcd28881ee04cba06c570b97fd3391bd7a268eedfd9d5e2dd4fdcbdd82b8105df5faf6f24aaedc08eaf3da898e702db5948f63469 - languageName: node - linkType: hard - "ansi-styles@npm:^6.1.0": version: 6.2.1 resolution: "ansi-styles@npm:6.2.1" @@ -3416,10 +3365,10 @@ __metadata: languageName: node linkType: hard -"assertion-error@npm:^1.1.0": - version: 1.1.0 - resolution: "assertion-error@npm:1.1.0" - checksum: 10/fd9429d3a3d4fd61782eb3962ae76b6d08aa7383123fca0596020013b3ebd6647891a85b05ce821c47d1471ed1271f00b0545cf6a4326cf2fc91efcc3b0fbecf +"assertion-error@npm:^2.0.1": + version: 2.0.1 + resolution: "assertion-error@npm:2.0.1" + checksum: 10/a0789dd882211b87116e81e2648ccb7f60340b34f19877dd020b39ebb4714e475eb943e14ba3e22201c221ef6645b7bfe10297e76b6ac95b48a9898c1211ce66 languageName: node linkType: hard @@ -3738,18 +3687,16 @@ __metadata: languageName: node linkType: hard -"chai@npm:^4.3.10": - version: 4.4.1 - resolution: "chai@npm:4.4.1" +"chai@npm:^5.1.1": + version: 5.1.1 + resolution: "chai@npm:5.1.1" dependencies: - assertion-error: "npm:^1.1.0" - check-error: "npm:^1.0.3" - deep-eql: "npm:^4.1.3" - get-func-name: "npm:^2.0.2" - loupe: "npm:^2.3.6" - pathval: "npm:^1.1.1" - type-detect: "npm:^4.0.8" - checksum: 10/c6d7aba913a67529c68dbec3673f94eb9c586c5474cc5142bd0b587c9c9ec9e5fbaa937e038ecaa6475aea31433752d5fabdd033b9248bde6ae53befcde774ae + assertion-error: "npm:^2.0.1" + check-error: "npm:^2.1.1" + deep-eql: "npm:^5.0.1" + loupe: "npm:^3.1.0" + pathval: "npm:^2.0.0" + checksum: 10/ee67279a5613bd36dc1dc13660042429ae2f1dc5a9030a6abcf381345866dfb5bce7bc10b9d74c8de86b6f656489f654bbbef3f3361e06925591e6a00c72afff languageName: node linkType: hard @@ -3781,12 +3728,10 @@ __metadata: languageName: node linkType: hard -"check-error@npm:^1.0.3": - version: 1.0.3 - resolution: "check-error@npm:1.0.3" - dependencies: - get-func-name: "npm:^2.0.2" - checksum: 10/e2131025cf059b21080f4813e55b3c480419256914601750b0fee3bd9b2b8315b531e551ef12560419b8b6d92a3636511322752b1ce905703239e7cc451b6399 +"check-error@npm:^2.1.1": + version: 2.1.1 + resolution: "check-error@npm:2.1.1" + checksum: 10/d785ed17b1d4a4796b6e75c765a9a290098cf52ff9728ce0756e8ffd4293d2e419dd30c67200aee34202463b474306913f2fcfaf1890641026d9fc6966fea27a languageName: node linkType: hard @@ -4037,12 +3982,22 @@ __metadata: languageName: node linkType: hard -"deep-eql@npm:^4.1.3": - version: 4.1.3 - resolution: "deep-eql@npm:4.1.3" +"debug@npm:^4.3.5": + version: 4.3.5 + resolution: "debug@npm:4.3.5" dependencies: - type-detect: "npm:^4.0.0" - checksum: 10/12ce93ae63de187e77b076d3d51bfc28b11f98910a22c18714cce112791195e86a94f97788180994614b14562a86c9763f67c69f785e4586f806b5df39bf9301 + ms: "npm:2.1.2" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10/cb6eab424c410e07813ca1392888589972ce9a32b8829c6508f5e1f25f3c3e70a76731610ae55b4bbe58d1a2fffa1424b30e97fa8d394e49cd2656a9643aedd2 + languageName: node + linkType: hard + +"deep-eql@npm:^5.0.1": + version: 5.0.2 + resolution: "deep-eql@npm:5.0.2" + checksum: 10/a529b81e2ef8821621d20a36959a0328873a3e49d393ad11f8efe8559f31239494c2eb889b80342808674c475802ba95b9d6c4c27641b9a029405104c1b59fcf languageName: node linkType: hard @@ -4124,13 +4079,6 @@ __metadata: languageName: node linkType: hard -"diff-sequences@npm:^29.6.3": - version: 29.6.3 - resolution: "diff-sequences@npm:29.6.3" - checksum: 10/179daf9d2f9af5c57ad66d97cb902a538bcf8ed64963fa7aa0c329b3de3665ce2eb6ffdc2f69f29d445fa4af2517e5e55e5b6e00c00a9ae4f43645f97f7078cb - languageName: node - linkType: hard - "dir-glob@npm:^3.0.1": version: 3.0.1 resolution: "dir-glob@npm:3.0.1" @@ -4663,23 +4611,23 @@ __metadata: languageName: node linkType: hard -"eslint-plugin-jsdoc@npm:^48.5.0": - version: 48.5.0 - resolution: "eslint-plugin-jsdoc@npm:48.5.0" +"eslint-plugin-jsdoc@npm:^48.7.0": + version: 48.7.0 + resolution: "eslint-plugin-jsdoc@npm:48.7.0" dependencies: - "@es-joy/jsdoccomment": "npm:~0.43.1" + "@es-joy/jsdoccomment": "npm:~0.46.0" are-docs-informative: "npm:^0.0.2" comment-parser: "npm:1.4.1" - debug: "npm:^4.3.4" + debug: "npm:^4.3.5" escape-string-regexp: "npm:^4.0.0" - esquery: "npm:^1.5.0" - parse-imports: "npm:^2.1.0" + esquery: "npm:^1.6.0" + parse-imports: "npm:^2.1.1" semver: "npm:^7.6.2" spdx-expression-parse: "npm:^4.0.0" synckit: "npm:^0.9.0" peerDependencies: eslint: ^7.0.0 || ^8.0.0 || ^9.0.0 - checksum: 10/f06e2bbd5034d869e5aea57929b9883115bb4f17e0dbe62183124b5f284e787afa00002d91b85016ccf3c68dd4ca86dbc1d39da4cb04a25172cef1395919e1a2 + checksum: 10/7289c37e45429cf3661bd553bb6cdcb4a9877b8a1fc0e6f369fa049cf6690953333dcbc972f48f03991df53734afeb77c6025804392184df19e214fb4425c4dc languageName: node linkType: hard @@ -4848,7 +4796,7 @@ __metadata: languageName: node linkType: hard -"esquery@npm:^1.4.2, esquery@npm:^1.5.0": +"esquery@npm:^1.4.2": version: 1.5.0 resolution: "esquery@npm:1.5.0" dependencies: @@ -4857,6 +4805,15 @@ __metadata: languageName: node linkType: hard +"esquery@npm:^1.6.0": + version: 1.6.0 + resolution: "esquery@npm:1.6.0" + dependencies: + estraverse: "npm:^5.1.0" + checksum: 10/c587fb8ec9ed83f2b1bc97cf2f6854cc30bf784a79d62ba08c6e358bf22280d69aee12827521cf38e69ae9761d23fb7fde593ce315610f85655c139d99b05e5a + languageName: node + linkType: hard + "esrecurse@npm:^4.3.0": version: 4.3.0 resolution: "esrecurse@npm:4.3.0" @@ -5305,7 +5262,7 @@ __metadata: languageName: node linkType: hard -"get-func-name@npm:^2.0.1, get-func-name@npm:^2.0.2": +"get-func-name@npm:^2.0.1": version: 2.0.2 resolution: "get-func-name@npm:2.0.2" checksum: 10/3f62f4c23647de9d46e6f76d2b3eafe58933a9b3830c60669e4180d6c601ce1b4aa310ba8366143f55e52b139f992087a9f0647274e8745621fa2af7e0acf13b @@ -5399,6 +5356,22 @@ __metadata: languageName: node linkType: hard +"glob@npm:^10.4.1": + version: 10.4.5 + resolution: "glob@npm:10.4.5" + dependencies: + foreground-child: "npm:^3.1.0" + jackspeak: "npm:^3.1.2" + minimatch: "npm:^9.0.4" + minipass: "npm:^7.1.2" + package-json-from-dist: "npm:^1.0.0" + path-scurry: "npm:^1.11.1" + bin: + glob: dist/esm/bin.mjs + checksum: 10/698dfe11828b7efd0514cd11e573eaed26b2dff611f0400907281ce3eab0c1e56143ef9b35adc7c77ecc71fba74717b510c7c223d34ca8a98ec81777b293d4ac + languageName: node + linkType: hard + "glob@npm:^7.1.3, glob@npm:^7.1.4": version: 7.2.3 resolution: "glob@npm:7.2.3" @@ -6125,18 +6098,18 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-source-maps@npm:^5.0.4": - version: 5.0.4 - resolution: "istanbul-lib-source-maps@npm:5.0.4" +"istanbul-lib-source-maps@npm:^5.0.6": + version: 5.0.6 + resolution: "istanbul-lib-source-maps@npm:5.0.6" dependencies: "@jridgewell/trace-mapping": "npm:^0.3.23" debug: "npm:^4.1.1" istanbul-lib-coverage: "npm:^3.0.0" - checksum: 10/e6f9fedab9c047d0ca1e58bf1697c3d7478e77271e5cd55b01e425dcdfc99534f54c6dfb981d5746e9a69b2697009f907d4c4f02f4000d66f22164a7610e6aa2 + checksum: 10/569dd0a392ee3464b1fe1accbaef5cc26de3479eacb5b91d8c67ebb7b425d39fd02247d85649c3a0e9c29b600809fa60b5af5a281a75a89c01f385b1e24823a2 languageName: node linkType: hard -"istanbul-reports@npm:^3.1.6": +"istanbul-reports@npm:^3.1.7": version: 3.1.7 resolution: "istanbul-reports@npm:3.1.7" dependencies: @@ -6159,6 +6132,19 @@ __metadata: languageName: node linkType: hard +"jackspeak@npm:^3.1.2": + version: 3.4.3 + resolution: "jackspeak@npm:3.4.3" + dependencies: + "@isaacs/cliui": "npm:^8.0.2" + "@pkgjs/parseargs": "npm:^0.11.0" + dependenciesMeta: + "@pkgjs/parseargs": + optional: true + checksum: 10/96f8786eaab98e4bf5b2a5d6d9588ea46c4d06bbc4f2eb861fdd7b6b182b16f71d8a70e79820f335d52653b16d4843b29dd9cdcf38ae80406756db9199497cf3 + languageName: node + linkType: hard + "jest-docblock@npm:^29.7.0": version: 29.7.0 resolution: "jest-docblock@npm:29.7.0" @@ -6182,10 +6168,10 @@ __metadata: languageName: node linkType: hard -"js-tokens@npm:^8.0.2": - version: 8.0.3 - resolution: "js-tokens@npm:8.0.3" - checksum: 10/af5ed8ddbc446a868c026599214f4a482ab52461edb82e547949255f98910a14bd81ddab88a8d570d74bd7dc96c6d4df7f963794ec5aaf13c53918cc46b9caa6 +"js-tokens@npm:^9.0.0": + version: 9.0.0 + resolution: "js-tokens@npm:9.0.0" + checksum: 10/65e7a55a1a18d61f1cf94bfd7704da870b74337fa08d4c58118e69a8b10225b5ad887ff3ae595d720301b0924811a9b0594c679621a85ecbac6e3aac8533c53b languageName: node linkType: hard @@ -6308,13 +6294,6 @@ __metadata: languageName: node linkType: hard -"jsonc-parser@npm:^3.2.0": - version: 3.2.1 - resolution: "jsonc-parser@npm:3.2.1" - checksum: 10/fe2df6f39e21653781d52cae20c5b9e0ab62461918d97f9430b216cea9b6500efc1d8b42c6584cc0a7548b4c996055e9cdc39f09b9782fa6957af2f45306c530 - languageName: node - linkType: hard - "jsonfile@npm:^4.0.0": version: 4.0.0 resolution: "jsonfile@npm:4.0.0" @@ -6408,16 +6387,6 @@ __metadata: languageName: node linkType: hard -"local-pkg@npm:^0.5.0": - version: 0.5.0 - resolution: "local-pkg@npm:0.5.0" - dependencies: - mlly: "npm:^1.4.2" - pkg-types: "npm:^1.0.3" - checksum: 10/20f4caba50dc6fb00ffcc1a78bc94b5acb33995e0aadf4d4edcdeab257e891aa08f50afddf02f3240b2c3d02432bc2078f2a916a280ed716b64753a3d250db70 - languageName: node - linkType: hard - "locate-path@npm:^5.0.0": version: 5.0.0 resolution: "locate-path@npm:5.0.0" @@ -6499,12 +6468,12 @@ __metadata: languageName: node linkType: hard -"loupe@npm:^2.3.6, loupe@npm:^2.3.7": - version: 2.3.7 - resolution: "loupe@npm:2.3.7" +"loupe@npm:^3.1.0, loupe@npm:^3.1.1": + version: 3.1.1 + resolution: "loupe@npm:3.1.1" dependencies: get-func-name: "npm:^2.0.1" - checksum: 10/635c8f0914c2ce7ecfe4e239fbaf0ce1d2c00e4246fafcc4ed000bfdb1b8f89d05db1a220054175cca631ebf3894872a26fffba0124477fcb562f78762848fb1 + checksum: 10/56d71d64c5af109aaf2b5343668ea5952eed468ed2ff837373810e417bf8331f14491c6e4d38e08ff84a29cb18906e06e58ba660c53bd00f2989e1873fa2f54c languageName: node linkType: hard @@ -6515,6 +6484,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^10.2.0": + version: 10.4.3 + resolution: "lru-cache@npm:10.4.3" + checksum: 10/e6e90267360476720fa8e83cc168aa2bf0311f3f2eea20a6ba78b90a885ae72071d9db132f40fda4129c803e7dcec3a6b6a6fbb44ca90b081630b810b5d6a41a + languageName: node + linkType: hard + "lru-cache@npm:^4.0.1": version: 4.1.5 resolution: "lru-cache@npm:4.1.5" @@ -6566,23 +6542,14 @@ __metadata: languageName: node linkType: hard -"magic-string@npm:^0.30.5": - version: 0.30.7 - resolution: "magic-string@npm:0.30.7" +"magicast@npm:^0.3.4": + version: 0.3.4 + resolution: "magicast@npm:0.3.4" dependencies: - "@jridgewell/sourcemap-codec": "npm:^1.4.15" - checksum: 10/883eaaf6792a3263e44f4bcdcd35ace272268e4b98ed5a770ad711947958d2f9fc683e474945e306e2bdc152b7e44d369ee312690d87025b9879fc63fbe1409c - languageName: node - linkType: hard - -"magicast@npm:^0.3.3": - version: 0.3.3 - resolution: "magicast@npm:0.3.3" - dependencies: - "@babel/parser": "npm:^7.23.6" - "@babel/types": "npm:^7.23.6" - source-map-js: "npm:^1.0.2" - checksum: 10/04af6f60d80a3a51344a864c6479af428e672c249b3f9211d78eee6ac8649257daad610ba4a68d4151e38d393b48b0f4a8f3db178422674fb5d418bc8c939055 + "@babel/parser": "npm:^7.24.4" + "@babel/types": "npm:^7.24.0" + source-map-js: "npm:^1.2.0" + checksum: 10/704f86639b01c8e063155408cb181d89d4444db3a4a473fb501107f30f19d9c39a159dd315ef9e54a22291c090170044efd9b49a9b3ab8d6deb948a9c99d90b3 languageName: node linkType: hard @@ -6910,6 +6877,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^7.1.2": + version: 7.1.2 + resolution: "minipass@npm:7.1.2" + checksum: 10/c25f0ee8196d8e6036661104bacd743785b2599a21de5c516b32b3fa2b83113ac89a2358465bc04956baab37ffb956ae43be679b2262bf7be15fce467ccd7950 + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -6929,18 +6903,6 @@ __metadata: languageName: node linkType: hard -"mlly@npm:^1.2.0, mlly@npm:^1.4.2": - version: 1.6.0 - resolution: "mlly@npm:1.6.0" - dependencies: - acorn: "npm:^8.11.3" - pathe: "npm:^1.1.2" - pkg-types: "npm:^1.0.3" - ufo: "npm:^1.3.2" - checksum: 10/49549b115cb18b5cdc8a0974016d4097f8be272ad7b7a78ab2962f4fdd307bfab85f89e6a797fb905a85bb0adebd1bcc72e7ba557d0117b95bb5837929aee385 - languageName: node - linkType: hard - "module-details-from-path@npm:^1.0.3": version: 1.0.3 resolution: "module-details-from-path@npm:1.0.3" @@ -7379,15 +7341,6 @@ __metadata: languageName: node linkType: hard -"p-limit@npm:^5.0.0": - version: 5.0.0 - resolution: "p-limit@npm:5.0.0" - dependencies: - yocto-queue: "npm:^1.0.0" - checksum: 10/87bf5837dee6942f0dbeff318436179931d9a97848d1b07dbd86140a477a5d2e6b90d9701b210b4e21fe7beaea2979dfde366e4f576fa644a59bd4d6a6371da7 - languageName: node - linkType: hard - "p-locate@npm:^4.1.0": version: 4.1.0 resolution: "p-locate@npm:4.1.0" @@ -7438,6 +7391,13 @@ __metadata: languageName: node linkType: hard +"package-json-from-dist@npm:^1.0.0": + version: 1.0.0 + resolution: "package-json-from-dist@npm:1.0.0" + checksum: 10/ac706ec856a5a03f5261e4e48fa974f24feb044d51f84f8332e2af0af04fbdbdd5bbbfb9cbbe354190409bc8307c83a9e38c6672c3c8855f709afb0006a009ea + languageName: node + linkType: hard + "pacote@npm:^15.1.1": version: 15.2.0 resolution: "pacote@npm:15.2.0" @@ -7475,13 +7435,13 @@ __metadata: languageName: node linkType: hard -"parse-imports@npm:^2.1.0": - version: 2.1.0 - resolution: "parse-imports@npm:2.1.0" +"parse-imports@npm:^2.1.1": + version: 2.1.1 + resolution: "parse-imports@npm:2.1.1" dependencies: es-module-lexer: "npm:^1.5.3" slashes: "npm:^3.0.12" - checksum: 10/2b4210c6af5309cc8e4f5d7f8eb8c628b2df690e456d4a686d3b618d7ca165e6b13ac9f64dfabc714e0d3bcefff70a0e771cdadc7fd6873e62d70c13d246e7d1 + checksum: 10/466cba090fe8b77aa2edc2a7ebcde699a296f34db5384d89f2c78daa5e7a87979adbad8a478634a85f5546ec8b759b597cf1057d825b471db70ce5c1b0c8bbec languageName: node linkType: hard @@ -7537,6 +7497,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.11.1": + version: 1.11.1 + resolution: "path-scurry@npm:1.11.1" + dependencies: + lru-cache: "npm:^10.2.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: 10/5e8845c159261adda6f09814d7725683257fcc85a18f329880ab4d7cc1d12830967eae5d5894e453f341710d5484b8fdbbd4d75181b4d6e1eb2f4dc7aeadc434 + languageName: node + linkType: hard + "path-to-regexp@npm:^0.1.2": version: 0.1.7 resolution: "path-to-regexp@npm:0.1.7" @@ -7551,17 +7521,17 @@ __metadata: languageName: node linkType: hard -"pathe@npm:^1.1.0, pathe@npm:^1.1.1, pathe@npm:^1.1.2": +"pathe@npm:^1.1.2": version: 1.1.2 resolution: "pathe@npm:1.1.2" checksum: 10/f201d796351bf7433d147b92c20eb154a4e0ea83512017bf4ec4e492a5d6e738fb45798be4259a61aa81270179fce11026f6ff0d3fa04173041de044defe9d80 languageName: node linkType: hard -"pathval@npm:^1.1.1": - version: 1.1.1 - resolution: "pathval@npm:1.1.1" - checksum: 10/b50a4751068aa3a5428f5a0b480deecedc6f537666a3630a0c2ae2d5e7c0f4bf0ee77b48404441ec1220bef0c91625e6030b3d3cf5a32ab0d9764018d1d9dbb6 +"pathval@npm:^2.0.0": + version: 2.0.0 + resolution: "pathval@npm:2.0.0" + checksum: 10/b91575bf9cdf01757afd7b5e521eb8a0b874a49bc972d08e0047cfea0cd3c019f5614521d4bc83d2855e3fcc331db6817dfd533dd8f3d90b16bc76fad2450fc1 languageName: node linkType: hard @@ -7602,17 +7572,6 @@ __metadata: languageName: node linkType: hard -"pkg-types@npm:^1.0.3": - version: 1.0.3 - resolution: "pkg-types@npm:1.0.3" - dependencies: - jsonc-parser: "npm:^3.2.0" - mlly: "npm:^1.2.0" - pathe: "npm:^1.1.0" - checksum: 10/e17e1819ce579c9ea390e4c41a9ed9701d8cff14b463f9577cc4f94688da8917c66dabc40feacd47a21eb3de9b532756a78becd882b76add97053af307c1240a - languageName: node - linkType: hard - "platform@npm:^1.3.3": version: 1.3.6 resolution: "platform@npm:1.3.6" @@ -7715,23 +7674,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^3.3.2": - version: 3.3.2 - resolution: "prettier@npm:3.3.2" +"prettier@npm:^3.3.3": + version: 3.3.3 + resolution: "prettier@npm:3.3.3" bin: prettier: bin/prettier.cjs - checksum: 10/83214e154afa5aa9b664c2506640212323eb1376b13379b2413dc351b7de0687629dca3f00ff2ec895ebd7e3a2adb7d7e231b6c77606e2358137f2150807405b - languageName: node - linkType: hard - -"pretty-format@npm:^29.7.0": - version: 29.7.0 - resolution: "pretty-format@npm:29.7.0" - dependencies: - "@jest/schemas": "npm:^29.6.3" - ansi-styles: "npm:^5.0.0" - react-is: "npm:^18.0.0" - checksum: 10/dea96bc83c83cd91b2bfc55757b6b2747edcaac45b568e46de29deee80742f17bc76fe8898135a70d904f4928eafd8bb693cd1da4896e8bdd3c5e82cadf1d2bb + checksum: 10/5beac1f30b5b40162532b8e2f7c3a4eb650910a2695e9c8512a62ffdc09dae93190c29db9107fa7f26d1b6c71aad3628ecb9b5de1ecb0911191099be109434d7 languageName: node linkType: hard @@ -7823,13 +7771,6 @@ __metadata: languageName: node linkType: hard -"react-is@npm:^18.0.0": - version: 18.2.0 - resolution: "react-is@npm:18.2.0" - checksum: 10/200cd65bf2e0be7ba6055f647091b725a45dd2a6abef03bf2380ce701fd5edccee40b49b9d15edab7ac08a762bf83cb4081e31ec2673a5bfb549a36ba21570df - languageName: node - linkType: hard - "read-package-json-fast@npm:^3.0.0": version: 3.0.2 resolution: "read-package-json-fast@npm:3.0.2" @@ -8109,26 +8050,26 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.18.0": - version: 4.18.0 - resolution: "rollup@npm:4.18.0" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.18.0" - "@rollup/rollup-android-arm64": "npm:4.18.0" - "@rollup/rollup-darwin-arm64": "npm:4.18.0" - "@rollup/rollup-darwin-x64": "npm:4.18.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.18.0" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.18.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.18.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.18.0" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.18.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.18.0" - "@rollup/rollup-linux-s390x-gnu": "npm:4.18.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.18.0" - "@rollup/rollup-linux-x64-musl": "npm:4.18.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.18.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.18.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.18.0" +"rollup@npm:^4.18.1": + version: 4.18.1 + resolution: "rollup@npm:4.18.1" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.18.1" + "@rollup/rollup-android-arm64": "npm:4.18.1" + "@rollup/rollup-darwin-arm64": "npm:4.18.1" + "@rollup/rollup-darwin-x64": "npm:4.18.1" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.18.1" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.18.1" + "@rollup/rollup-linux-arm64-gnu": "npm:4.18.1" + "@rollup/rollup-linux-arm64-musl": "npm:4.18.1" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.18.1" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.18.1" + "@rollup/rollup-linux-s390x-gnu": "npm:4.18.1" + "@rollup/rollup-linux-x64-gnu": "npm:4.18.1" + "@rollup/rollup-linux-x64-musl": "npm:4.18.1" + "@rollup/rollup-win32-arm64-msvc": "npm:4.18.1" + "@rollup/rollup-win32-ia32-msvc": "npm:4.18.1" + "@rollup/rollup-win32-x64-msvc": "npm:4.18.1" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -8168,7 +8109,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10/2320fe653cfd5e3d72ecab2f1d52d47e7b624a6ab02919f53c1ad1c5efa3b66e277c3ecfef03bb97651e79cef04bfefd34ad1f6e648f496572bf76c834f19599 + checksum: 10/7a5f110d216e8599dc3cb11cf570316d989abae00785d99c2bcb6027287fe60d2eaed70e457d88a036622e7fc67e8db6e730d3c784aa90a258bd4c020676ad44 languageName: node linkType: hard @@ -8696,7 +8637,7 @@ __metadata: languageName: node linkType: hard -"std-env@npm:^3.5.0": +"std-env@npm:^3.7.0": version: 3.7.0 resolution: "std-env@npm:3.7.0" checksum: 10/6ee0cca1add3fd84656b0002cfbc5bfa20340389d9ba4720569840f1caa34bce74322aef4c93f046391583e50649d0cf81a5f8fe1d411e50b659571690a45f12 @@ -8806,12 +8747,12 @@ __metadata: languageName: node linkType: hard -"strip-literal@npm:^2.0.0": - version: 2.0.0 - resolution: "strip-literal@npm:2.0.0" +"strip-literal@npm:^2.1.0": + version: 2.1.0 + resolution: "strip-literal@npm:2.1.0" dependencies: - js-tokens: "npm:^8.0.2" - checksum: 10/efb3197175a7e403d0eaaaf5382b9574be77f8fa006b57b669856a38b58ca9caf76cbc75d9f69d56324dad0b8babe1d4ea7ad1eb12106228830bcdd5d4bf12b5 + js-tokens: "npm:^9.0.0" + checksum: 10/21c813aa1e669944e7e2318c8c927939fb90b0c52f53f57282bfc3dd6e19d53f70004f1f1693e33e5e790ad5ef102b0fce2b243808229d1ce07ae71f326c0e82 languageName: node linkType: hard @@ -8909,14 +8850,14 @@ __metadata: languageName: node linkType: hard -"test-exclude@npm:^6.0.0": - version: 6.0.0 - resolution: "test-exclude@npm:6.0.0" +"test-exclude@npm:^7.0.1": + version: 7.0.1 + resolution: "test-exclude@npm:7.0.1" dependencies: "@istanbuljs/schema": "npm:^0.1.2" - glob: "npm:^7.1.4" - minimatch: "npm:^3.0.4" - checksum: 10/8fccb2cb6c8fcb6bb4115394feb833f8b6cf4b9503ec2485c2c90febf435cac62abe882a0c5c51a37b9bbe70640cdd05acf5f45e486ac4583389f4b0855f69e5 + glob: "npm:^10.4.1" + minimatch: "npm:^9.0.4" + checksum: 10/e6f6f4e1df2e7810e082e8d7dfc53be51a931e6e87925f5e1c2ef92cc1165246ba3bf2dae6b5d86251c16925683dba906bd41e40169ebc77120a2d1b5a0dbbe0 languageName: node linkType: hard @@ -8927,24 +8868,31 @@ __metadata: languageName: node linkType: hard -"tinybench@npm:^2.5.1": - version: 2.6.0 - resolution: "tinybench@npm:2.6.0" - checksum: 10/6d35f0540bbf6208e8f47fa88cad733bc4b35b3bea75ec995004a9a44f70b8947eff3d271a3b4a4f7e787a82211df0dec9370fa566ccf50441067c559382b3ed +"tinybench@npm:^2.8.0": + version: 2.8.0 + resolution: "tinybench@npm:2.8.0" + checksum: 10/9731d070bedee6d44f3bb565862c284776e6adfd70d81a051a5c79b77479408509b448ad8d467d538d18bc0ae857b3ead8168d7e98d7f1355f8a0b01aa2f163b + languageName: node + linkType: hard + +"tinypool@npm:^1.0.0": + version: 1.0.0 + resolution: "tinypool@npm:1.0.0" + checksum: 10/4041a9ae62200626dceedbf4e58589d067a203eadcb88588d5681369b9a3c68987de14ce220b32a7e4ebfabaaf51ab9fa69408a7758827b7873f8204cdc79aa1 languageName: node linkType: hard -"tinypool@npm:^0.8.3": - version: 0.8.4 - resolution: "tinypool@npm:0.8.4" - checksum: 10/7365944c2532f240111443e7012be31a634faf1a02db08a91db3aa07361c26a374d0be00a0f2ea052c4bee39c107ba67f1f814c108d9d51dfc725c559c1a9c03 +"tinyrainbow@npm:^1.2.0": + version: 1.2.0 + resolution: "tinyrainbow@npm:1.2.0" + checksum: 10/2924444db6804355e5ba2b6e586c7f77329d93abdd7257a069a0f4530dff9f16de484e80479094e3f39273462541b003a65ee3a6afc2d12555aa745132deba5d languageName: node linkType: hard -"tinyspy@npm:^2.2.0": - version: 2.2.1 - resolution: "tinyspy@npm:2.2.1" - checksum: 10/170d6232e87f9044f537b50b406a38fbfd6f79a261cd12b92879947bd340939a833a678632ce4f5c4a6feab4477e9c21cd43faac3b90b68b77dd0536c4149736 +"tinyspy@npm:^3.0.0": + version: 3.0.0 + resolution: "tinyspy@npm:3.0.0" + checksum: 10/b5b686acff2b88de60ff8ecf89a2042320406aaeee2fba1828a7ea8a925fad3ed9f5e4d7a068154a9134473c472aa03da8ca92ee994bc57a741c5ede5fa7de4d languageName: node linkType: hard @@ -9113,13 +9061,6 @@ __metadata: languageName: node linkType: hard -"type-detect@npm:^4.0.0, type-detect@npm:^4.0.8": - version: 4.0.8 - resolution: "type-detect@npm:4.0.8" - checksum: 10/5179e3b8ebc51fce1b13efb75fdea4595484433f9683bbc2dca6d99789dba4e602ab7922d2656f2ce8383987467f7770131d4a7f06a26287db0615d2f4c4ce7d - languageName: node - linkType: hard - "type-fest@npm:^0.20.2": version: 0.20.2 resolution: "type-fest@npm:0.20.2" @@ -9186,9 +9127,9 @@ __metadata: languageName: node linkType: hard -"typedoc@npm:^0.26.3": - version: 0.26.3 - resolution: "typedoc@npm:0.26.3" +"typedoc@npm:^0.26.4": + version: 0.26.4 + resolution: "typedoc@npm:0.26.4" dependencies: lunr: "npm:^2.3.9" markdown-it: "npm:^14.1.0" @@ -9199,7 +9140,7 @@ __metadata: typescript: 4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x || 5.4.x || 5.5.x bin: typedoc: bin/typedoc - checksum: 10/55473079de55140d29299b449c0c8de6da1c6c76553bae17c11d1be9e4521612c5f0d9d5a6ee4e18ba7103f79de9ff98223fa0fb2d0e09b2bd535e54efe3d08d + checksum: 10/c25cce210c0ac0ac5328c11cc036344a6495bb49ed2191e580d1287edca2269ffe5e69dca5a75198174830e2d3c3bb560d70a6d22a24c0df293a069dd7d26318 languageName: node linkType: hard @@ -9259,13 +9200,6 @@ __metadata: languageName: node linkType: hard -"ufo@npm:^1.3.2": - version: 1.4.0 - resolution: "ufo@npm:1.4.0" - checksum: 10/b7aea8503878dc5ad797d8fc6fe39fec64d9cc7e89fb147ef86ec676e37bb462d99d67c6aad20b15f7d3e6d275d66666b29214422e268f1d98f6eaf707a207a6 - languageName: node - linkType: hard - "unbox-primitive@npm:^1.0.2": version: 1.0.2 resolution: "unbox-primitive@npm:1.0.2" @@ -9442,18 +9376,18 @@ __metadata: languageName: node linkType: hard -"vite-node@npm:1.6.0": - version: 1.6.0 - resolution: "vite-node@npm:1.6.0" +"vite-node@npm:2.0.3": + version: 2.0.3 + resolution: "vite-node@npm:2.0.3" dependencies: cac: "npm:^6.7.14" - debug: "npm:^4.3.4" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" + debug: "npm:^4.3.5" + pathe: "npm:^1.1.2" + tinyrainbow: "npm:^1.2.0" vite: "npm:^5.0.0" bin: vite-node: vite-node.mjs - checksum: 10/40230598c3c285cf65f407ac50b1c7753ab2dfa960de76ec1a95a0ce0ff963919d065c29ba538d9fb2fba3e0703a051d49d1ad6486001ba2f90616cc706ddc3d + checksum: 10/987c018c58ddcd084a51467eadb8dd75b55d31d39de1dec92dfd49f9ef115004f9a1c7f543f5f6709911e3080605bd50ada81cabb407030ec21b7baf6dd30476 languageName: node linkType: hard @@ -9553,35 +9487,34 @@ __metadata: languageName: node linkType: hard -"vitest@npm:^1.6.0": - version: 1.6.0 - resolution: "vitest@npm:1.6.0" - dependencies: - "@vitest/expect": "npm:1.6.0" - "@vitest/runner": "npm:1.6.0" - "@vitest/snapshot": "npm:1.6.0" - "@vitest/spy": "npm:1.6.0" - "@vitest/utils": "npm:1.6.0" - acorn-walk: "npm:^8.3.2" - chai: "npm:^4.3.10" - debug: "npm:^4.3.4" +"vitest@npm:^2.0.3": + version: 2.0.3 + resolution: "vitest@npm:2.0.3" + dependencies: + "@ampproject/remapping": "npm:^2.3.0" + "@vitest/expect": "npm:2.0.3" + "@vitest/pretty-format": "npm:^2.0.3" + "@vitest/runner": "npm:2.0.3" + "@vitest/snapshot": "npm:2.0.3" + "@vitest/spy": "npm:2.0.3" + "@vitest/utils": "npm:2.0.3" + chai: "npm:^5.1.1" + debug: "npm:^4.3.5" execa: "npm:^8.0.1" - local-pkg: "npm:^0.5.0" - magic-string: "npm:^0.30.5" - pathe: "npm:^1.1.1" - picocolors: "npm:^1.0.0" - std-env: "npm:^3.5.0" - strip-literal: "npm:^2.0.0" - tinybench: "npm:^2.5.1" - tinypool: "npm:^0.8.3" + magic-string: "npm:^0.30.10" + pathe: "npm:^1.1.2" + std-env: "npm:^3.7.0" + tinybench: "npm:^2.8.0" + tinypool: "npm:^1.0.0" + tinyrainbow: "npm:^1.2.0" vite: "npm:^5.0.0" - vite-node: "npm:1.6.0" + vite-node: "npm:2.0.3" why-is-node-running: "npm:^2.2.2" peerDependencies: "@edge-runtime/vm": "*" "@types/node": ^18.0.0 || >=20.0.0 - "@vitest/browser": 1.6.0 - "@vitest/ui": 1.6.0 + "@vitest/browser": 2.0.3 + "@vitest/ui": 2.0.3 happy-dom: "*" jsdom: "*" peerDependenciesMeta: @@ -9599,7 +9532,7 @@ __metadata: optional: true bin: vitest: vitest.mjs - checksum: 10/ad921a723ac9438636d37111f0b2ea5afd0ba4a7813fb75382b9f75574e10d533cf950573ebb9332a595ce197cb83593737a6b55a3b6e6eb00bddbcd0920a03e + checksum: 10/ef46775bad4c900c9db3187621ee092c203bcf50b8ac8321eed3105c8256d6781652e5f7968027062f306c0426b8f1d446cebd5d61b787c0af34499e40cf7746 languageName: node linkType: hard @@ -9810,7 +9743,7 @@ __metadata: dependencies: "@changesets/changelog-git": "npm:^0.2.0" "@changesets/cli": "npm:^2.27.7" - prettier: "npm:^3.3.2" + prettier: "npm:^3.3.3" prettier-plugin-packagejson: "npm:^2.5.0" turbo: "npm:^2.0.6" languageName: unknown From fbff56bc7f62b2d418849a9e1b3a9634ca0ac971 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 12:50:41 -0500 Subject: [PATCH 02/12] Upgrade @xmtp/proto --- packages/js-sdk/package.json | 2 +- packages/js-sdk/src/Contacts.ts | 2 ++ packages/mls-client/package.json | 2 +- yarn.lock | 28 ++++++++++++++-------------- 4 files changed, 18 insertions(+), 16 deletions(-) diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 477d3e190..8942b76c5 100644 --- a/packages/js-sdk/package.json +++ b/packages/js-sdk/package.json @@ -101,7 +101,7 @@ "@xmtp/consent-proof-signature": "^0.1.3", "@xmtp/content-type-primitives": "^1.0.1", "@xmtp/content-type-text": "^1.0.0", - "@xmtp/proto": "3.54.0", + "@xmtp/proto": "^3.62.1", "@xmtp/user-preferences-bindings-wasm": "^0.3.6", "async-mutex": "^0.5.0", "elliptic": "^6.5.4", diff --git a/packages/js-sdk/src/Contacts.ts b/packages/js-sdk/src/Contacts.ts index 4dcf391d3..0d8cf9c22 100644 --- a/packages/js-sdk/src/Contacts.ts +++ b/packages/js-sdk/src/Contacts.ts @@ -198,6 +198,8 @@ export class ConsentList { : undefined, allowGroup: undefined, denyGroup: undefined, + allowInboxId: undefined, + denyInboxId: undefined, } return result.concat( privatePreferences.PrivatePreferencesAction.encode(action).finish() diff --git a/packages/mls-client/package.json b/packages/mls-client/package.json index 5b085ed93..a42b3e053 100644 --- a/packages/mls-client/package.json +++ b/packages/mls-client/package.json @@ -55,7 +55,7 @@ "@xmtp/content-type-primitives": "^1.0.1", "@xmtp/content-type-text": "^1.0.0", "@xmtp/mls-client-bindings-node": "^0.0.8", - "@xmtp/proto": "^3.61.1" + "@xmtp/proto": "^3.62.1" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "^4.3.1", diff --git a/yarn.lock b/yarn.lock index 2120d2906..67c0c1768 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2908,7 +2908,7 @@ __metadata: "@xmtp/content-type-primitives": "npm:^1.0.1" "@xmtp/content-type-text": "npm:^1.0.0" "@xmtp/mls-client-bindings-node": "npm:^0.0.8" - "@xmtp/proto": "npm:^3.61.1" + "@xmtp/proto": "npm:^3.62.1" "@xmtp/xmtp-js": "workspace:^" eslint: "npm:^8.57.0" eslint-config-prettier: "npm:^9.1.0" @@ -2933,18 +2933,6 @@ __metadata: languageName: unknown linkType: soft -"@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: 10/536b846b234bdf49978716b232b6a25985a55bb0c10c825b090354cb43f0b071ee506e5a9765c69deb0e6a4b9aa4cd61abe2c9d2df563cfd6ec121197b591844 - languageName: node - linkType: hard - "@xmtp/proto@npm:3.56.0": version: 3.56.0 resolution: "@xmtp/proto@npm:3.56.0" @@ -2969,6 +2957,18 @@ __metadata: languageName: node linkType: hard +"@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: 10/7d6633f5ffb60725a6f3f128191944caf203fb3110a6076cdec31bc3cc6e5dca1b03170c6fa38b877125475ed3050031b93a47587c5e6bee6ebd91de53f8f0f2 + languageName: node + linkType: hard + "@xmtp/rollup-plugin-resolve-extensions@npm:1.0.1": version: 1.0.1 resolution: "@xmtp/rollup-plugin-resolve-extensions@npm:1.0.1" @@ -3010,7 +3010,7 @@ __metadata: "@xmtp/consent-proof-signature": "npm:^0.1.3" "@xmtp/content-type-primitives": "npm:^1.0.1" "@xmtp/content-type-text": "npm:^1.0.0" - "@xmtp/proto": "npm:3.54.0" + "@xmtp/proto": "npm:^3.62.1" "@xmtp/rollup-plugin-resolve-extensions": "npm:1.0.1" "@xmtp/user-preferences-bindings-wasm": "npm:^0.3.6" async-mutex: "npm:^0.5.0" From 2f2fbf7f7bf4c218f54e3bc430bc4784e50832c1 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 12:53:01 -0500 Subject: [PATCH 03/12] Upgrade @metamask/providers --- packages/js-sdk/package.json | 2 +- yarn.lock | 130 +++++++++++++++++++---------------- 2 files changed, 72 insertions(+), 60 deletions(-) diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 8942b76c5..1073e315c 100644 --- a/packages/js-sdk/package.json +++ b/packages/js-sdk/package.json @@ -110,7 +110,7 @@ }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "^4.3.1", - "@metamask/providers": "^14.0.2", + "@metamask/providers": "^17.1.1", "@rollup/plugin-json": "^6.1.0", "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^11.1.6", diff --git a/yarn.lock b/yarn.lock index 67c0c1768..f13c05d24 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1687,14 +1687,26 @@ __metadata: languageName: node linkType: hard -"@metamask/json-rpc-engine@npm:^7.1.1": - version: 7.3.2 - resolution: "@metamask/json-rpc-engine@npm:7.3.2" +"@metamask/json-rpc-engine@npm:^9.0.1": + version: 9.0.1 + resolution: "@metamask/json-rpc-engine@npm:9.0.1" dependencies: - "@metamask/rpc-errors": "npm:^6.1.0" + "@metamask/rpc-errors": "npm:^6.3.1" "@metamask/safe-event-emitter": "npm:^3.0.0" - "@metamask/utils": "npm:^8.3.0" - checksum: 10/d90e5fdf88461aa90af41ba0304729200afa8226ab8b73db348704a1f545e416c49281a1dfd58591dde769e1ab263080b26d5a0ab1be8362398639dc2d6354de + "@metamask/utils": "npm:^9.0.0" + checksum: 10/edf8f7d22abba482f4a8e4774a72400b55be7ddb35270a0d33569827372b4ea0392fb0ef0584cbc0c9ca6b3c9964e9a18832b7975ed8d44fb2321636014f5352 + languageName: node + linkType: hard + +"@metamask/json-rpc-middleware-stream@npm:^8.0.1": + version: 8.0.1 + resolution: "@metamask/json-rpc-middleware-stream@npm:8.0.1" + dependencies: + "@metamask/json-rpc-engine": "npm:^9.0.1" + "@metamask/safe-event-emitter": "npm:^3.0.0" + "@metamask/utils": "npm:^9.0.0" + readable-stream: "npm:^3.6.2" + checksum: 10/6313ae584efaa25503e281d6435e243c73243a3b040e3a867e9ca8ad5371d897fe10bcca180df7be77d0a9dba13cd1ee890fc09e2fd83004881537e850fd9ddd languageName: node linkType: hard @@ -1708,33 +1720,34 @@ __metadata: languageName: node linkType: hard -"@metamask/providers@npm:^14.0.2": - version: 14.0.2 - resolution: "@metamask/providers@npm:14.0.2" +"@metamask/providers@npm:^17.1.1": + version: 17.1.1 + resolution: "@metamask/providers@npm:17.1.1" dependencies: - "@metamask/json-rpc-engine": "npm:^7.1.1" + "@metamask/json-rpc-engine": "npm:^9.0.1" + "@metamask/json-rpc-middleware-stream": "npm:^8.0.1" "@metamask/object-multiplex": "npm:^2.0.0" - "@metamask/rpc-errors": "npm:^6.0.0" - "@metamask/safe-event-emitter": "npm:^3.0.0" - "@metamask/utils": "npm:^8.1.0" + "@metamask/rpc-errors": "npm:^6.3.1" + "@metamask/safe-event-emitter": "npm:^3.1.1" + "@metamask/utils": "npm:^9.0.0" detect-browser: "npm:^5.2.0" - extension-port-stream: "npm:^3.0.0" + extension-port-stream: "npm:^4.1.0" fast-deep-equal: "npm:^3.1.3" is-stream: "npm:^2.0.0" - json-rpc-middleware-stream: "npm:^5.0.1" readable-stream: "npm:^3.6.2" - webextension-polyfill: "npm:^0.10.0" - checksum: 10/e5ad5d4261f7629df0fd2a7a60e5fbd5a0d39b54ab5b5917ddfc16f741e122625769d65d323c5a97d7dbe95be987e3d5cf1c2ca4fc28ed9f68dc369c9e3209f1 + peerDependencies: + webextension-polyfill: ^0.10.0 || ^0.11.0 || ^0.12.0 + checksum: 10/9aed27c02ce97838705b3dacc4f2d8a821586e5aef2e98315f98e5be1a457ac5d48602fd7d5bdc4ac608e18cca13c723b685c3d03820b952f036647eac0121ce languageName: node linkType: hard -"@metamask/rpc-errors@npm:^6.0.0, @metamask/rpc-errors@npm:^6.1.0": - version: 6.2.1 - resolution: "@metamask/rpc-errors@npm:6.2.1" +"@metamask/rpc-errors@npm:^6.3.1": + version: 6.3.1 + resolution: "@metamask/rpc-errors@npm:6.3.1" dependencies: - "@metamask/utils": "npm:^8.3.0" + "@metamask/utils": "npm:^9.0.0" fast-safe-stringify: "npm:^2.0.6" - checksum: 10/789f0a2090339c1aa43d45ee496f4f115e141bc55b98e4ce27498497568f9e85fb5527ecf1f113b156d88fc4f1e63a572ced74bdc1ba16826bf648391b223f7b + checksum: 10/f968fb490b13b632c2ad4770a144d67cecdff8d539cb8b489c732b08dab7a62fae65d7a2908ce8c5b77260317aa618948a52463f093fa8d9f84aee1c5f6f5daf languageName: node linkType: hard @@ -1745,19 +1758,34 @@ __metadata: languageName: node linkType: hard -"@metamask/utils@npm:^8.1.0, @metamask/utils@npm:^8.3.0": - version: 8.3.0 - resolution: "@metamask/utils@npm:8.3.0" +"@metamask/safe-event-emitter@npm:^3.1.1": + version: 3.1.1 + resolution: "@metamask/safe-event-emitter@npm:3.1.1" + checksum: 10/e24db4d7c20764bfc5b025065f92518c805f0ffb1da4820078b8cff7dcae964c0f354cf053fcb7ac659de015d5ffdf21aae5e8d44e191ee8faa9066855f22653 + languageName: node + linkType: hard + +"@metamask/superstruct@npm:^3.1.0": + version: 3.1.0 + resolution: "@metamask/superstruct@npm:3.1.0" + checksum: 10/5066fe228d5f11da387606d7f9545de2b473ab5a9e0f1bb8aea2f52d3e2c9d25e427151acde61f4a2de80a07a9871fe9505ad06abca6a61b7c3b54ed5c403b01 + languageName: node + linkType: hard + +"@metamask/utils@npm:^9.0.0": + version: 9.1.0 + resolution: "@metamask/utils@npm:9.1.0" dependencies: "@ethereumjs/tx": "npm:^4.2.0" + "@metamask/superstruct": "npm:^3.1.0" "@noble/hashes": "npm:^1.3.1" "@scure/base": "npm:^1.1.3" "@types/debug": "npm:^4.1.7" debug: "npm:^4.3.4" pony-cause: "npm:^2.1.10" semver: "npm:^7.5.4" - superstruct: "npm:^1.0.3" - checksum: 10/728a4f6b3ab14223a487e8974a21b1917e470ff2c131afc0b8a6a6823839d6cf7454243ddb0ff695ceebede62feaf628f4d32b4b529bb5c044c6c95576a142ef + uuid: "npm:^9.0.1" + checksum: 10/7335e151a51be92e86868dc48b3ee78c376d4edd5d758d334176027247637ab22839d8f663bd02542c0a19b05ecec456bedab5f36436689cf3d953ca36d91781 languageName: node linkType: hard @@ -2994,7 +3022,7 @@ __metadata: resolution: "@xmtp/xmtp-js@workspace:packages/js-sdk" dependencies: "@ianvs/prettier-plugin-sort-imports": "npm:^4.3.1" - "@metamask/providers": "npm:^14.0.2" + "@metamask/providers": "npm:^17.1.1" "@noble/secp256k1": "npm:1.7.1" "@rollup/plugin-json": "npm:^6.1.0" "@rollup/plugin-terser": "npm:^0.4.4" @@ -4955,13 +4983,14 @@ __metadata: languageName: node linkType: hard -"extension-port-stream@npm:^3.0.0": - version: 3.0.0 - resolution: "extension-port-stream@npm:3.0.0" +"extension-port-stream@npm:^4.1.0": + version: 4.2.0 + resolution: "extension-port-stream@npm:4.2.0" dependencies: readable-stream: "npm:^3.6.2 || ^4.4.2" - webextension-polyfill: "npm:>=0.10.0 <1.0" - checksum: 10/4f51d2258a96154c2d916a8a5425636a2b0817763e9277f7dc378d08b6f050c90d185dbde4313d27cf66ad99d4b3116479f9f699c40358c64cccfa524d2b55bf + peerDependencies: + webextension-polyfill: ^0.10.0 || ^0.11.0 || ^0.12.0 + checksum: 10/85559c82e3f3aa21462e234b30b7d53872708893664cd03f2f848af556cf0730cf2243b089efc9d40bbe9a4f73bd8fd19684db5a985329b0c4402b4f2fe26358 languageName: node linkType: hard @@ -6235,18 +6264,6 @@ __metadata: languageName: node linkType: hard -"json-rpc-middleware-stream@npm:^5.0.1": - version: 5.0.1 - resolution: "json-rpc-middleware-stream@npm:5.0.1" - dependencies: - "@metamask/json-rpc-engine": "npm:^7.1.1" - "@metamask/safe-event-emitter": "npm:^3.0.0" - "@metamask/utils": "npm:^8.1.0" - readable-stream: "npm:^3.6.2" - checksum: 10/b5e9b2ae21cc93586f1f4d8c6543634406575bf9cb6e909a4b5d47359b44519f37192a0262279291e5cde0876a67928d26d7e420d9e2aaf7992083e2c1f97a37 - languageName: node - linkType: hard - "json-schema-traverse@npm:^0.4.1": version: 0.4.1 resolution: "json-schema-traverse@npm:0.4.1" @@ -8756,13 +8773,6 @@ __metadata: languageName: node linkType: hard -"superstruct@npm:^1.0.3": - version: 1.0.3 - resolution: "superstruct@npm:1.0.3" - checksum: 10/632b6171ac136b6750e62a55f806cc949b3dbf2b4a7dc70cc85f54adcdf19d21eab9711f04e8a643b7dd622bbd8658366ead924f467adaccb2c8005c133b7976 - languageName: node - linkType: hard - "supports-color@npm:^5.3.0": version: 5.5.0 resolution: "supports-color@npm:5.5.0" @@ -9315,6 +9325,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:^9.0.1": + version: 9.0.1 + resolution: "uuid@npm:9.0.1" + bin: + uuid: dist/bin/uuid + checksum: 10/9d0b6adb72b736e36f2b1b53da0d559125ba3e39d913b6072f6f033e0c87835b414f0836b45bcfaf2bdf698f92297fea1c3cc19b0b258bc182c9c43cc0fab9f2 + languageName: node + linkType: hard + "validate-npm-package-license@npm:^3.0.4": version: 3.0.4 resolution: "validate-npm-package-license@npm:3.0.4" @@ -9536,13 +9555,6 @@ __metadata: languageName: node linkType: hard -"webextension-polyfill@npm:>=0.10.0 <1.0, webextension-polyfill@npm:^0.10.0": - version: 0.10.0 - resolution: "webextension-polyfill@npm:0.10.0" - checksum: 10/51ff30ebed4b1aa802b7f0347f05021b2fe492078bb1a597223d43995fcee96e2da8f914a2f6e36f988c1877ed5ab36ca7077f2f3ab828955151a59e4c01bf7e - languageName: node - linkType: hard - "webidl-conversions@npm:^7.0.0": version: 7.0.0 resolution: "webidl-conversions@npm:7.0.0" From 758ba100af50e9be6b31a801d80c75c771c010ce Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 12:54:07 -0500 Subject: [PATCH 04/12] Upgrade elliptic --- packages/js-sdk/package.json | 2 +- yarn.lock | 19 +++++++++++++++++-- 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 1073e315c..5602dc3c6 100644 --- a/packages/js-sdk/package.json +++ b/packages/js-sdk/package.json @@ -104,7 +104,7 @@ "@xmtp/proto": "^3.62.1", "@xmtp/user-preferences-bindings-wasm": "^0.3.6", "async-mutex": "^0.5.0", - "elliptic": "^6.5.4", + "elliptic": "^6.5.5", "long": "^5.2.3", "viem": "2.7.15" }, diff --git a/yarn.lock b/yarn.lock index f13c05d24..8e4aa5c97 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3044,7 +3044,7 @@ __metadata: async-mutex: "npm:^0.5.0" benny: "npm:^3.7.1" dd-trace: "npm:5.5.0" - elliptic: "npm:^6.5.4" + elliptic: "npm:^6.5.5" eslint: "npm:^8.57.0" eslint-config-prettier: "npm:^9.1.0" eslint-config-standard: "npm:^17.1.0" @@ -4162,7 +4162,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: @@ -4177,6 +4177,21 @@ __metadata: languageName: node linkType: hard +"elliptic@npm:^6.5.5": + version: 6.5.5 + resolution: "elliptic@npm:6.5.5" + 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: 10/5444b4f18e0c0fdfa14de26f69f7dbc44c78a211e91825823d698dcc91071ef1a3954d87730f364183fc83b0a86d8affed864e347da2e549bdcead3b46de126f + languageName: node + linkType: hard + "emoji-regex@npm:^8.0.0": version: 8.0.0 resolution: "emoji-regex@npm:8.0.0" From 4c0340b9c479ba2eb81f12a8d2c4ab41300b56e9 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 12:59:47 -0500 Subject: [PATCH 05/12] Create fresh-poems-provide.md --- .changeset/fresh-poems-provide.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/fresh-poems-provide.md diff --git a/.changeset/fresh-poems-provide.md b/.changeset/fresh-poems-provide.md new file mode 100644 index 000000000..e3db3d8f5 --- /dev/null +++ b/.changeset/fresh-poems-provide.md @@ -0,0 +1,6 @@ +--- +"@xmtp/xmtp-js": patch +"@xmtp/mls-client": patch +--- + +Upgrade dependencies From deb658285f90e7cf3f28f7059b15f772615551b6 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 13:09:21 -0500 Subject: [PATCH 06/12] Fix noop workflow --- .changeset/README.md | 8 -------- .github/workflows/noop.yml | 2 +- 2 files changed, 1 insertion(+), 9 deletions(-) delete mode 100644 .changeset/README.md diff --git a/.changeset/README.md b/.changeset/README.md deleted file mode 100644 index e5b6d8d6a..000000000 --- a/.changeset/README.md +++ /dev/null @@ -1,8 +0,0 @@ -# Changesets - -Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works -with multi-package repos, or single-package repos to help you version and publish your code. You can -find the full documentation for it [in our repository](https://github.com/changesets/changesets) - -We have a quick list of common questions to get you started engaging with this project in -[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) diff --git a/.github/workflows/noop.yml b/.github/workflows/noop.yml index b58468e78..4121c520c 100644 --- a/.github/workflows/noop.yml +++ b/.github/workflows/noop.yml @@ -7,7 +7,7 @@ on: pull_request: paths: - - '.changeset/**' + - '.changeset/config.json' - '.github/**' - '!.github/workflows/js-sdk.yml' - '!.github/workflows/mls-client.yml' From 471a9c62864b348daa86008f00bdce77ab9aebf8 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 15 Jul 2024 13:12:10 -0500 Subject: [PATCH 07/12] Update .prettierignore --- .prettierignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.prettierignore b/.prettierignore index b8b4c4a78..f60275744 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,2 +1,3 @@ CODEOWNERS .yarn +.changeset/**/*.md From b78f0579e70551a35157f6b7959a8d64e8b94089 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 16 Jul 2024 11:55:07 -0500 Subject: [PATCH 08/12] Upgrade more dev deps --- package.json | 2 +- packages/js-sdk/package.json | 4 +-- packages/mls-client/package.json | 4 +-- yarn.lock | 46 +++++++++++++++++++------------- 4 files changed, 33 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 0932ea32f..d4bdd9dbd 100644 --- a/package.json +++ b/package.json @@ -23,7 +23,7 @@ }, "devDependencies": { "prettier": "^3.3.3", - "prettier-plugin-packagejson": "^2.5.0", + "prettier-plugin-packagejson": "^2.5.1", "turbo": "^2.0.6" }, "packageManager": "yarn@4.3.1", diff --git a/packages/js-sdk/package.json b/packages/js-sdk/package.json index 5602dc3c6..0dbf884b6 100644 --- a/packages/js-sdk/package.json +++ b/packages/js-sdk/package.json @@ -137,14 +137,14 @@ "ethers": "^5.7.2", "happy-dom": "^14.12.3", "prettier": "^3.3.3", - "prettier-plugin-packagejson": "^2.5.0", + "prettier-plugin-packagejson": "^2.5.1", "rollup": "^4.18.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-tsconfig-paths": "^1.5.2", "typedoc": "^0.26.4", "typescript": "^5.5.3", - "vite": "5.3.3", + "vite": "5.3.4", "vite-tsconfig-paths": "^4.3.2", "vitest": "^2.0.3" }, diff --git a/packages/mls-client/package.json b/packages/mls-client/package.json index a42b3e053..ffff07c33 100644 --- a/packages/mls-client/package.json +++ b/packages/mls-client/package.json @@ -76,14 +76,14 @@ "eslint-plugin-promise": "^6.4.0", "fast-glob": "^3.3.2", "prettier": "^3.3.3", - "prettier-plugin-packagejson": "^2.5.0", + "prettier-plugin-packagejson": "^2.5.1", "rollup": "^4.18.1", "rollup-plugin-dts": "^6.1.1", "rollup-plugin-filesize": "^10.0.0", "rollup-plugin-tsconfig-paths": "^1.5.2", "typescript": "^5.5.3", "viem": "^2.13.6", - "vite": "5.3.3", + "vite": "5.3.4", "vite-tsconfig-paths": "^4.3.2", "vitest": "^2.0.3" }, diff --git a/yarn.lock b/yarn.lock index 8e4aa5c97..5835092b3 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2948,14 +2948,14 @@ __metadata: eslint-plugin-promise: "npm:^6.4.0" fast-glob: "npm:^3.3.2" prettier: "npm:^3.3.3" - prettier-plugin-packagejson: "npm:^2.5.0" + prettier-plugin-packagejson: "npm:^2.5.1" rollup: "npm:^4.18.1" rollup-plugin-dts: "npm:^6.1.1" rollup-plugin-filesize: "npm:^10.0.0" rollup-plugin-tsconfig-paths: "npm:^1.5.2" typescript: "npm:^5.5.3" viem: "npm:^2.13.6" - vite: "npm:5.3.3" + vite: "npm:5.3.4" vite-tsconfig-paths: "npm:^4.3.2" vitest: "npm:^2.0.3" languageName: unknown @@ -3058,7 +3058,7 @@ __metadata: happy-dom: "npm:^14.12.3" long: "npm:^5.2.3" prettier: "npm:^3.3.3" - prettier-plugin-packagejson: "npm:^2.5.0" + prettier-plugin-packagejson: "npm:^2.5.1" rollup: "npm:^4.18.1" rollup-plugin-dts: "npm:^6.1.1" rollup-plugin-filesize: "npm:^10.0.0" @@ -3066,7 +3066,7 @@ __metadata: typedoc: "npm:^0.26.4" typescript: "npm:^5.5.3" viem: "npm:2.7.15" - vite: "npm:5.3.3" + vite: "npm:5.3.4" vite-tsconfig-paths: "npm:^4.3.2" vitest: "npm:^2.0.3" languageName: unknown @@ -7682,18 +7682,18 @@ __metadata: languageName: node linkType: hard -"prettier-plugin-packagejson@npm:^2.5.0": - version: 2.5.0 - resolution: "prettier-plugin-packagejson@npm:2.5.0" +"prettier-plugin-packagejson@npm:^2.5.1": + version: 2.5.1 + resolution: "prettier-plugin-packagejson@npm:2.5.1" dependencies: sort-package-json: "npm:2.10.0" - synckit: "npm:0.9.0" + synckit: "npm:0.9.1" peerDependencies: prettier: ">= 1.16.0" peerDependenciesMeta: prettier: optional: true - checksum: 10/0b05b02e96173abc1220d11a5ae6fbdefd45823ad86e5aba70bd52377f555db82fbe41c67bdfb186fa3f4c2ef5d12d4803b7215cb301533829a8389b411bb99a + checksum: 10/ddf202a1b758ff419611cd4fffd13f61956592dde60075ea233d33827a25611bee22f5c698921afecad6bca701c441af8404a8e8edbd41432509270ba2c37558 languageName: node linkType: hard @@ -8813,13 +8813,13 @@ __metadata: languageName: node linkType: hard -"synckit@npm:0.9.0, synckit@npm:^0.9.0": - version: 0.9.0 - resolution: "synckit@npm:0.9.0" +"synckit@npm:0.9.1": + version: 0.9.1 + resolution: "synckit@npm:0.9.1" dependencies: "@pkgr/core": "npm:^0.1.0" tslib: "npm:^2.6.2" - checksum: 10/e93f3f5ee43fa71d3bb2a345049642d9034f34fa9528706b5ef26e825335ca5446143c56c2b041810afe26aa6e343583ff08525f5530618a4707375270f87be1 + checksum: 10/bff3903976baf8b699b5483228116d70223781a93b17c70e685c277ee960cdfd1a09cb5a741e6a9ec35e2428f14f4664baec41ccc99a598f267608b2a54f529b languageName: node linkType: hard @@ -8833,6 +8833,16 @@ __metadata: languageName: node linkType: hard +"synckit@npm:^0.9.0": + version: 0.9.0 + resolution: "synckit@npm:0.9.0" + dependencies: + "@pkgr/core": "npm:^0.1.0" + tslib: "npm:^2.6.2" + checksum: 10/e93f3f5ee43fa71d3bb2a345049642d9034f34fa9528706b5ef26e825335ca5446143c56c2b041810afe26aa6e343583ff08525f5530618a4707375270f87be1 + languageName: node + linkType: hard + "tapable@npm:^2.2.0": version: 2.2.1 resolution: "tapable@npm:2.2.1" @@ -9441,9 +9451,9 @@ __metadata: languageName: node linkType: hard -"vite@npm:5.3.3": - version: 5.3.3 - resolution: "vite@npm:5.3.3" +"vite@npm:5.3.4": + version: 5.3.4 + resolution: "vite@npm:5.3.4" dependencies: esbuild: "npm:^0.21.3" fsevents: "npm:~2.3.3" @@ -9477,7 +9487,7 @@ __metadata: optional: true bin: vite: bin/vite.js - checksum: 10/e7a094cefedad9e204b715588502118e07d1b9c00c617f55b810169181907f55144f0a82f650995d6a74f12e3695fca65afc348b475b91a81dcbd0274d30a088 + checksum: 10/9eadb261be1f5f6335a67cb44a8803febd8b190202909385fd2ae7849991095ee13c5af914da53da48a421ee0901a8fedbb7519dc7d1b8ade3ea6e42bd9b2b39 languageName: node linkType: hard @@ -9771,7 +9781,7 @@ __metadata: "@changesets/changelog-git": "npm:^0.2.0" "@changesets/cli": "npm:^2.27.7" prettier: "npm:^3.3.3" - prettier-plugin-packagejson: "npm:^2.5.0" + prettier-plugin-packagejson: "npm:^2.5.1" turbo: "npm:^2.0.6" languageName: unknown linkType: soft From 80684eddccef10f6c7923b9b4ec30f9a8b2dad9d Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 16 Jul 2024 12:08:21 -0500 Subject: [PATCH 09/12] Upgrade MLS bindings --- packages/mls-client/package.json | 2 +- yarn.lock | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/mls-client/package.json b/packages/mls-client/package.json index ffff07c33..5469cea5c 100644 --- a/packages/mls-client/package.json +++ b/packages/mls-client/package.json @@ -54,7 +54,7 @@ "dependencies": { "@xmtp/content-type-primitives": "^1.0.1", "@xmtp/content-type-text": "^1.0.0", - "@xmtp/mls-client-bindings-node": "^0.0.8", + "@xmtp/mls-client-bindings-node": "^0.0.9", "@xmtp/proto": "^3.62.1" }, "devDependencies": { diff --git a/yarn.lock b/yarn.lock index 5835092b3..4258d9199 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2915,10 +2915,10 @@ __metadata: languageName: node linkType: hard -"@xmtp/mls-client-bindings-node@npm:^0.0.8": - version: 0.0.8 - resolution: "@xmtp/mls-client-bindings-node@npm:0.0.8" - checksum: 10/58bbe484844e08ae1bd9d22388fb9081662ef96debd29fcb375c88de66d27da1dc94da465add6c54ab926f8b100b0c6e717f6b500706705c7b08ea1021e70e34 +"@xmtp/mls-client-bindings-node@npm:^0.0.9": + version: 0.0.9 + resolution: "@xmtp/mls-client-bindings-node@npm:0.0.9" + checksum: 10/ca13010b542be6671c48115e38e8888bc725007bdfddd1fd3d7ee300ef0318e64cdca48cbe32f9240b2c8f5a9904f943b360af09abd7ce5cdeda3a3b62c6e7d2 languageName: node linkType: hard @@ -2935,7 +2935,7 @@ __metadata: "@vitest/coverage-v8": "npm:^2.0.3" "@xmtp/content-type-primitives": "npm:^1.0.1" "@xmtp/content-type-text": "npm:^1.0.0" - "@xmtp/mls-client-bindings-node": "npm:^0.0.8" + "@xmtp/mls-client-bindings-node": "npm:^0.0.9" "@xmtp/proto": "npm:^3.62.1" "@xmtp/xmtp-js": "workspace:^" eslint: "npm:^8.57.0" From d353382b7fae747be20e4a83199f6d40c9312e49 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 16 Jul 2024 12:22:23 -0500 Subject: [PATCH 10/12] Add new conversation features --- packages/mls-client/src/Conversation.ts | 28 +++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/mls-client/src/Conversation.ts b/packages/mls-client/src/Conversation.ts index ddba4bd6f..494b28ad3 100644 --- a/packages/mls-client/src/Conversation.ts +++ b/packages/mls-client/src/Conversation.ts @@ -46,6 +46,14 @@ export class Conversation { return this.#group.updateGroupDescription(description) } + get pinnedFrameUrl() { + return this.#group.groupPinnedFrameUrl() + } + + async updatePinnedFrameUrl(pinnedFrameUrl: string) { + return this.#group.updateGroupPinnedFrameUrl(pinnedFrameUrl) + } + get isActive() { return this.#group.isActive() } @@ -85,6 +93,7 @@ export class Conversation { get permissions() { return { policyType: this.#group.groupPermissions().policyType(), + policySet: this.#group.groupPermissions().policySet(), } } @@ -146,6 +155,25 @@ export class Conversation { return this.#group.removeSuperAdmin(inboxId) } + async publishMessages() { + return this.#group.publishMessages() + } + + sendOptimistic(content: any, contentType?: ContentTypeId) { + if (typeof content !== 'string' && !contentType) { + throw new Error( + 'Content type is required when sending content other than text' + ) + } + + const encodedContent = + typeof content === 'string' + ? this.#client.encodeContent(content, contentType ?? ContentTypeText) + : this.#client.encodeContent(content, contentType!) + + return this.#group.sendOptimistic(encodedContent) + } + async send(content: any, contentType?: ContentTypeId) { if (typeof content !== 'string' && !contentType) { throw new Error( From 27736d5842d045bfdd0968479583e355b4ee0a3d Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 16 Jul 2024 12:32:31 -0500 Subject: [PATCH 11/12] Add tests --- packages/mls-client/test/Conversation.test.ts | 81 +++++++++++++++++++ .../mls-client/test/Conversations.test.ts | 41 +++++++++- 2 files changed, 118 insertions(+), 4 deletions(-) diff --git a/packages/mls-client/test/Conversation.test.ts b/packages/mls-client/test/Conversation.test.ts index 9939dab2d..b00f5dece 100644 --- a/packages/mls-client/test/Conversation.test.ts +++ b/packages/mls-client/test/Conversation.test.ts @@ -85,6 +85,32 @@ describe('Conversation', () => { expect(conversation2.messages().length).toBe(1) }) + it('should update conversation pinned frame URL', async () => { + const user1 = createUser() + const user2 = createUser() + const client1 = await createRegisteredClient(user1) + const client2 = await createRegisteredClient(user2) + const conversation = await client1.conversations.newConversation([ + user2.account.address, + ]) + const pinnedFrameUrl = 'https://foo/bar' + await conversation.updatePinnedFrameUrl(pinnedFrameUrl) + expect(conversation.pinnedFrameUrl).toBe(pinnedFrameUrl) + const messages = conversation.messages() + expect(messages.length).toBe(2) + + await client2.conversations.sync() + const conversations = await client2.conversations.list() + expect(conversations.length).toBe(1) + + const conversation2 = conversations[0] + expect(conversation2).toBeDefined() + await conversation2.sync() + expect(conversation2.id).toBe(conversation.id) + expect(conversation2.pinnedFrameUrl).toBe(pinnedFrameUrl) + expect(conversation2.messages().length).toBe(1) + }) + it('should add and remove members', async () => { const user1 = createUser() const user2 = createUser() @@ -199,6 +225,61 @@ describe('Conversation', () => { ).resolves.not.toThrow() }) + it('should optimistically send and list messages', async () => { + const user1 = createUser() + const user2 = createUser() + const client1 = await createRegisteredClient(user1) + const client2 = await createRegisteredClient(user2) + const conversation = await client1.conversations.newConversation([ + user2.account.address, + ]) + + const text = 'gm' + conversation.sendOptimistic(text) + + const messages = conversation.messages() + expect(messages.length).toBe(2) + expect(messages[1].content).toBe(text) + + await client2.conversations.sync() + const conversations = await client2.conversations.list() + expect(conversations.length).toBe(1) + + const conversation2 = conversations[0] + expect(conversation2).toBeDefined() + + await conversation2.sync() + expect(conversation2.id).toBe(conversation.id) + + const messages2 = conversation2.messages() + expect(messages2.length).toBe(0) + + await conversation.publishMessages() + await conversation2.sync() + + const messages4 = conversation2.messages() + expect(messages4.length).toBe(1) + expect(messages4[0].content).toBe(text) + }) + + it('should require content type when optimistically sending non-string content', async () => { + const user1 = createUser() + const user2 = createUser() + const client1 = await createRegisteredClient(user1, { + codecs: [new TestCodec()], + }) + await createRegisteredClient(user2) + const conversation = await client1.conversations.newConversation([ + user2.account.address, + ]) + + expect(() => conversation.sendOptimistic(1)).toThrow() + expect(() => conversation.sendOptimistic({ foo: 'bar' })).toThrow() + expect(() => + conversation.sendOptimistic({ foo: 'bar' }, ContentTypeTest) + ).not.toThrow() + }) + it('should throw when sending content without a codec', async () => { const user1 = createUser() const user2 = createUser() diff --git a/packages/mls-client/test/Conversations.test.ts b/packages/mls-client/test/Conversations.test.ts index 97230741d..40d5d4ca4 100644 --- a/packages/mls-client/test/Conversations.test.ts +++ b/packages/mls-client/test/Conversations.test.ts @@ -1,4 +1,4 @@ -import { GroupPermissions } from '@xmtp/mls-client-bindings-node' +import { NapiGroupPermissionsOptions } from '@xmtp/mls-client-bindings-node' import { describe, expect, it } from 'vitest' import { createRegisteredClient, createUser } from '@test/helpers' @@ -28,8 +28,18 @@ describe('Conversations', () => { expect(conversation.isActive).toBe(true) expect(conversation.name).toBe('') expect(conversation.permissions.policyType).toBe( - GroupPermissions.EveryoneIsAdmin + NapiGroupPermissionsOptions.AllMembers ) + expect(conversation.permissions.policySet).toEqual({ + addMemberPolicy: 0, + removeMemberPolicy: 2, + addAdminPolicy: 3, + removeAdminPolicy: 3, + updateGroupNamePolicy: 0, + updateGroupDescriptionPolicy: 0, + updateGroupImageUrlSquarePolicy: 0, + updateGroupPinnedFrameUrlPolicy: 0, + }) expect(conversation.addedByInboxId).toBe(client1.inboxId) expect(conversation.messages().length).toBe(1) expect(conversation.members.length).toBe(2) @@ -128,16 +138,27 @@ describe('Conversations', () => { const groupWithPermissions = await client1.conversations.newConversation( [user4.account.address], { - permissions: GroupPermissions.GroupCreatorIsAdmin, + permissions: NapiGroupPermissionsOptions.AdminOnly, } ) expect(groupWithPermissions).toBeDefined() expect(groupWithPermissions.name).toBe('') expect(groupWithPermissions.imageUrl).toBe('') expect(groupWithPermissions.permissions.policyType).toBe( - GroupPermissions.GroupCreatorIsAdmin + NapiGroupPermissionsOptions.AdminOnly ) + expect(groupWithPermissions.permissions.policySet).toEqual({ + addMemberPolicy: 2, + removeMemberPolicy: 2, + addAdminPolicy: 3, + removeAdminPolicy: 3, + updateGroupNamePolicy: 2, + updateGroupDescriptionPolicy: 2, + updateGroupImageUrlSquarePolicy: 2, + updateGroupPinnedFrameUrlPolicy: 2, + }) + const groupWithDescription = await client1.conversations.newConversation( [user2.account.address], { @@ -148,6 +169,18 @@ describe('Conversations', () => { expect(groupWithDescription.name).toBe('') expect(groupWithDescription.imageUrl).toBe('') expect(groupWithDescription.description).toBe('foo') + + const groupWithPinnedFrameUrl = await client1.conversations.newConversation( + [user2.account.address], + { + groupPinnedFrameUrl: 'https://foo/bar', + } + ) + expect(groupWithPinnedFrameUrl).toBeDefined() + expect(groupWithPinnedFrameUrl.name).toBe('') + expect(groupWithPinnedFrameUrl.imageUrl).toBe('') + expect(groupWithPinnedFrameUrl.description).toBe('') + expect(groupWithPinnedFrameUrl.pinnedFrameUrl).toBe('https://foo/bar') }) it('should stream new conversations', async () => { From 5909fe7d7a0b0725381d47c77a429bba354decb9 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Tue, 16 Jul 2024 12:35:37 -0500 Subject: [PATCH 12/12] Export all MLS bindings types --- packages/mls-client/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/mls-client/src/index.ts b/packages/mls-client/src/index.ts index 438a6edbc..23b490609 100644 --- a/packages/mls-client/src/index.ts +++ b/packages/mls-client/src/index.ts @@ -14,4 +14,4 @@ export { GroupUpdatedCodec, } from './codecs/GroupUpdatedCodec' export type { StreamCallback } from './AsyncStream' -export { GroupPermissions } from '@xmtp/mls-client-bindings-node' +export type * from '@xmtp/mls-client-bindings-node'