diff --git a/packages/snap/package.json b/packages/snap/package.json index 57ce3f35..55da8e8a 100644 --- a/packages/snap/package.json +++ b/packages/snap/package.json @@ -91,7 +91,7 @@ "metamask-testing-tools": "^1.1.6", "mocha": "^10.2.0", "playwright-test": "^12.3.0", - "rollup": "^3.29.0", + "rollup": "^3.29.1", "sinon": "^15.2.0", "sinon-chai": "^3.7.0", "typescript": "5.2.2" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8b779007..903bfa75 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,4 +1,4 @@ -lockfileVersion: '6.0' +lockfileVersion: '6.1' settings: autoInstallPeers: true @@ -73,13 +73,13 @@ importers: version: 10.17.1 react-hook-form: specifier: ^7.46.1 - version: 7.46.1(react@18.2.0) + version: 7.46.1(react@17.0.0) viem: specifier: ^1.10.4 version: 1.10.4(typescript@5.2.2)(zod@3.22.2) wagmi: specifier: ^1.4.1 - version: 1.4.1(react@18.2.0)(typescript@5.2.2)(viem@1.10.4) + version: 1.4.1(react@17.0.0)(typescript@5.2.2)(viem@1.10.4) water.css: specifier: ^2.1.1 version: 2.1.1 @@ -237,16 +237,16 @@ importers: version: 1.37.1 '@rollup/plugin-commonjs': specifier: ^25.0.4 - version: 25.0.4(rollup@3.29.0) + version: 25.0.4(rollup@3.29.1) '@rollup/plugin-node-resolve': specifier: ^15.2.1 - version: 15.2.1(rollup@3.29.0) + version: 15.2.1(rollup@3.29.1) '@rollup/plugin-sucrase': specifier: ^5.0.1 - version: 5.0.1(rollup@3.29.0) + version: 5.0.1(rollup@3.29.1) '@rollup/plugin-terser': specifier: ^0.4.3 - version: 0.4.3(rollup@3.29.0) + version: 0.4.3(rollup@3.29.1) '@types/chai': specifier: ^4.3.6 version: 4.3.6 @@ -287,8 +287,8 @@ importers: specifier: ^12.3.0 version: 12.3.0 rollup: - specifier: ^3.29.0 - version: 3.29.0 + specifier: ^3.29.1 + version: 3.29.1 sinon: specifier: ^15.2.0 version: 15.2.0 @@ -2775,7 +2775,7 @@ packages: - supports-color dev: true - /@rollup/plugin-commonjs@25.0.4(rollup@3.29.0): + /@rollup/plugin-commonjs@25.0.4(rollup@3.29.1): resolution: {integrity: sha512-L92Vz9WUZXDnlQQl3EwbypJR4+DM2EbsO+/KOcEkP4Mc6Ct453EeDB2uH9lgRwj4w5yflgNpq9pHOiY8aoUXBQ==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2784,16 +2784,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.3(rollup@3.29.0) + '@rollup/pluginutils': 5.0.3(rollup@3.29.1) commondir: 1.0.1 estree-walker: 2.0.2 glob: 8.1.0 is-reference: 1.2.1 magic-string: 0.27.0 - rollup: 3.29.0 + rollup: 3.29.1 dev: true - /@rollup/plugin-node-resolve@15.2.1(rollup@3.29.0): + /@rollup/plugin-node-resolve@15.2.1(rollup@3.29.1): resolution: {integrity: sha512-nsbUg588+GDSu8/NS8T4UAshO6xeaOfINNuXeVHcKV02LJtoRaM1SiOacClw4kws1SFiNhdLGxlbMY9ga/zs/w==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2802,16 +2802,16 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.4(rollup@3.29.0) + '@rollup/pluginutils': 5.0.4(rollup@3.29.1) '@types/resolve': 1.20.2 deepmerge: 4.3.1 is-builtin-module: 3.2.1 is-module: 1.0.0 resolve: 1.22.4 - rollup: 3.29.0 + rollup: 3.29.1 dev: true - /@rollup/plugin-sucrase@5.0.1(rollup@3.29.0): + /@rollup/plugin-sucrase@5.0.1(rollup@3.29.1): resolution: {integrity: sha512-3mYe28rR/sUTkV8v10yPCP55TQ/oJkvcxKZBj6NGx9ZfCn9BdBtBL1v1S0TQrcOV4WD3FTHJaI7TbbukALx9wA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2820,12 +2820,12 @@ packages: rollup: optional: true dependencies: - '@rollup/pluginutils': 5.0.2(rollup@3.29.0) - rollup: 3.29.0 + '@rollup/pluginutils': 5.0.2(rollup@3.29.1) + rollup: 3.29.1 sucrase: 3.32.0 dev: true - /@rollup/plugin-terser@0.4.3(rollup@3.29.0): + /@rollup/plugin-terser@0.4.3(rollup@3.29.1): resolution: {integrity: sha512-EF0oejTMtkyhrkwCdg0HJ0IpkcaVg1MMSf2olHb2Jp+1mnLM04OhjpJWGma4HobiDTF0WCyViWuvadyE9ch2XA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2834,7 +2834,7 @@ packages: rollup: optional: true dependencies: - rollup: 3.29.0 + rollup: 3.29.1 serialize-javascript: 6.0.1 smob: 1.4.0 terser: 5.19.0 @@ -2848,7 +2848,7 @@ packages: picomatch: 2.3.1 dev: true - /@rollup/pluginutils@5.0.2(rollup@3.29.0): + /@rollup/pluginutils@5.0.2(rollup@3.29.1): resolution: {integrity: sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2860,10 +2860,10 @@ packages: '@types/estree': 1.0.1 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.29.0 + rollup: 3.29.1 dev: true - /@rollup/pluginutils@5.0.3(rollup@3.29.0): + /@rollup/pluginutils@5.0.3(rollup@3.29.1): resolution: {integrity: sha512-hfllNN4a80rwNQ9QCxhxuHCGHMAvabXqxNdaChUSSadMre7t4iEUI6fFAhBOn/eIYTgYVhBv7vCLsAJ4u3lf3g==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2875,10 +2875,10 @@ packages: '@types/estree': 1.0.1 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.29.0 + rollup: 3.29.1 dev: true - /@rollup/pluginutils@5.0.4(rollup@3.29.0): + /@rollup/pluginutils@5.0.4(rollup@3.29.1): resolution: {integrity: sha512-0KJnIoRI8A+a1dqOYLxH8vBf8bphDmty5QvIm2hqm7oFCFYKCAZWWd2hXgMibaPsNDhI0AtpYfQZJG47pt/k4g==} engines: {node: '>=14.0.0'} peerDependencies: @@ -2890,7 +2890,7 @@ packages: '@types/estree': 1.0.1 estree-walker: 2.0.2 picomatch: 2.3.1 - rollup: 3.29.0 + rollup: 3.29.1 dev: true /@safe-global/safe-apps-provider@0.17.1(typescript@5.2.2): @@ -3171,10 +3171,10 @@ packages: '@tanstack/react-query': ^4.33.0 dependencies: '@tanstack/query-persist-client-core': 4.33.0 - '@tanstack/react-query': 4.33.0(react@18.2.0) + '@tanstack/react-query': 4.33.0(react@17.0.0) dev: false - /@tanstack/react-query@4.33.0(react@18.2.0): + /@tanstack/react-query@4.33.0(react@17.0.0): resolution: {integrity: sha512-97nGbmDK0/m0B86BdiXzx3EW9RcDYKpnyL2+WwyuLHEgpfThYAnXFaMMmnTDuAO4bQJXEhflumIEUfKmP7ESGA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 @@ -3187,8 +3187,8 @@ packages: optional: true dependencies: '@tanstack/query-core': 4.33.0 - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) + react: 17.0.0 + use-sync-external-store: 1.2.0(react@17.0.0) dev: false /@testing-library/react-hooks@8.0.1(@types/react@17.0.0)(react-dom@17.0.0)(react@17.0.0): @@ -3584,7 +3584,7 @@ packages: resolution: {integrity: sha512-7OjdcV8vQ74eiz1TZLzZP4JwqM5fA94K6yntPS5Z25r9HDuGNzaGdgvwKYq6S+MxwF0TFRwe50fIR/MYnakdkQ==} dev: true - /@wagmi/connectors@3.1.1(react@18.2.0)(typescript@5.2.2)(viem@1.10.4): + /@wagmi/connectors@3.1.1(react@17.0.0)(typescript@5.2.2)(viem@1.10.4): resolution: {integrity: sha512-ewOV40AlrXcX018qckU0V9OCsDgHhs+KZjQJZhlplqRtc2ijjS62B5kcypXkcTtfU5qXUBA9KEwPsSTxGdT4ag==} peerDependencies: typescript: '>=5.0.4' @@ -3599,7 +3599,7 @@ packages: '@safe-global/safe-apps-sdk': 8.1.0(typescript@5.2.2) '@walletconnect/ethereum-provider': 2.10.0(@walletconnect/modal@2.6.1) '@walletconnect/legacy-provider': 2.0.0 - '@walletconnect/modal': 2.6.1(react@18.2.0) + '@walletconnect/modal': 2.6.1(react@17.0.0) '@walletconnect/utils': 2.10.0 abitype: 0.8.7(typescript@5.2.2) eventemitter3: 4.0.7 @@ -3616,7 +3616,7 @@ packages: - zod dev: false - /@wagmi/core@1.4.1(react@18.2.0)(typescript@5.2.2)(viem@1.10.4): + /@wagmi/core@1.4.1(react@17.0.0)(typescript@5.2.2)(viem@1.10.4): resolution: {integrity: sha512-b6LDFL0vZSCNcIHjnJzv++hakavTTt1/2WEQg2S5eEnaHTp7UoQlwfCyjKeiBhRih4yF34N06ea8cyEVjyjXrw==} peerDependencies: typescript: '>=5.0.4' @@ -3625,12 +3625,12 @@ packages: typescript: optional: true dependencies: - '@wagmi/connectors': 3.1.1(react@18.2.0)(typescript@5.2.2)(viem@1.10.4) + '@wagmi/connectors': 3.1.1(react@17.0.0)(typescript@5.2.2)(viem@1.10.4) abitype: 0.8.7(typescript@5.2.2) eventemitter3: 4.0.7 typescript: 5.2.2 viem: 1.10.4(typescript@5.2.2)(zod@3.22.2) - zustand: 4.4.1(react@18.2.0) + zustand: 4.4.1(react@17.0.0) transitivePeerDependencies: - '@react-native-async-storage/async-storage' - '@types/react' @@ -3707,7 +3707,7 @@ packages: '@walletconnect/jsonrpc-provider': 1.0.13 '@walletconnect/jsonrpc-types': 1.0.3 '@walletconnect/jsonrpc-utils': 1.0.8 - '@walletconnect/modal': 2.6.1(react@18.2.0) + '@walletconnect/modal': 2.6.1(react@17.0.0) '@walletconnect/sign-client': 2.10.0 '@walletconnect/types': 2.10.0 '@walletconnect/universal-provider': 2.10.0 @@ -3862,18 +3862,18 @@ packages: tslib: 1.14.1 dev: false - /@walletconnect/modal-core@2.6.1(react@18.2.0): + /@walletconnect/modal-core@2.6.1(react@17.0.0): resolution: {integrity: sha512-f2hYlJ5pwzGvjyaZ6BoGR5uiMgXzWXt6w6ktt1N8lmY6PiYp8whZgqx2hTxVWwVlsGnaIfh6UHp1hGnANx0eTQ==} dependencies: - valtio: 1.11.0(react@18.2.0) + valtio: 1.11.0(react@17.0.0) transitivePeerDependencies: - react dev: false - /@walletconnect/modal-ui@2.6.1(react@18.2.0): + /@walletconnect/modal-ui@2.6.1(react@17.0.0): resolution: {integrity: sha512-RFUOwDAMijSK8B7W3+KoLKaa1l+KEUG0LCrtHqaB0H0cLnhEGdLR+kdTdygw+W8+yYZbkM5tXBm7MlFbcuyitA==} dependencies: - '@walletconnect/modal-core': 2.6.1(react@18.2.0) + '@walletconnect/modal-core': 2.6.1(react@17.0.0) lit: 2.7.6 motion: 10.16.2 qrcode: 1.5.3 @@ -3881,11 +3881,11 @@ packages: - react dev: false - /@walletconnect/modal@2.6.1(react@18.2.0): + /@walletconnect/modal@2.6.1(react@17.0.0): resolution: {integrity: sha512-G84tSzdPKAFk1zimgV7JzIUFT5olZUVtI3GcOk77OeLYjlMfnDT23RVRHm5EyCrjkptnvpD0wQScXePOFd2Xcw==} dependencies: - '@walletconnect/modal-core': 2.6.1(react@18.2.0) - '@walletconnect/modal-ui': 2.6.1(react@18.2.0) + '@walletconnect/modal-core': 2.6.1(react@17.0.0) + '@walletconnect/modal-ui': 2.6.1(react@17.0.0) transitivePeerDependencies: - react dev: false @@ -7814,7 +7814,6 @@ packages: /object-assign@4.1.1: resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} engines: {node: '>=0.10.0'} - dev: true /object-inspect@1.12.3: resolution: {integrity: sha512-geUvdk7c+eizMNUDkRpW1wJwgfOiOeHbxBR/hLXK1aT6zmVSO0jsQcs7fj6MGw89jC/cjGfLcNOrtMYtGqm81g==} @@ -8439,13 +8438,13 @@ packages: react: 17.0.0 dev: true - /react-hook-form@7.46.1(react@18.2.0): + /react-hook-form@7.46.1(react@17.0.0): resolution: {integrity: sha512-0GfI31LRTBd5tqbXMGXT1Rdsv3rnvy0FjEk8Gn9/4tp6+s77T7DPZuGEpBRXOauL+NhyGT5iaXzdIM2R6F/E+w==} engines: {node: '>=12.22.0'} peerDependencies: react: ^16.8.0 || ^17 || ^18 dependencies: - react: 18.2.0 + react: 17.0.0 dev: false /react-is@16.13.1: @@ -8458,14 +8457,6 @@ packages: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - dev: true - - /react@18.2.0: - resolution: {integrity: sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - dev: false /read-only-stream@2.0.0: resolution: {integrity: sha512-3ALe0bjBVZtkdWKIcThYpQCLbBMd/+Tbh2CDSrAIDO3UsZ4Xs+tnyjv2MjCOMMgBG+AsUOeuP1cgtY1INISc8w==} @@ -8715,16 +8706,8 @@ packages: dependencies: bn.js: 5.2.1 - /rollup@3.28.0: - resolution: {integrity: sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==} - engines: {node: '>=14.18.0', npm: '>=8.0.0'} - hasBin: true - optionalDependencies: - fsevents: 2.3.3 - dev: true - - /rollup@3.29.0: - resolution: {integrity: sha512-nszM8DINnx1vSS+TpbWKMkxem0CDWk3cSit/WWCBVs9/JZ1I/XLwOsiUglYuYReaeWWSsW9kge5zE5NZtf/a4w==} + /rollup@3.29.1: + resolution: {integrity: sha512-c+ebvQz0VIH4KhhCpDsI+Bik0eT8ZFEVZEYw0cGMVqIP8zc+gnwl7iXCamTw7vzv2MeuZFZfdx5JJIq+ehzDlg==} engines: {node: '>=14.18.0', npm: '>=8.0.0'} hasBin: true optionalDependencies: @@ -9672,12 +9655,12 @@ packages: qs: 6.11.2 dev: true - /use-sync-external-store@1.2.0(react@18.2.0): + /use-sync-external-store@1.2.0(react@17.0.0): resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: react: ^16.8.0 || ^17.0.0 || ^18.0.0 dependencies: - react: 18.2.0 + react: 17.0.0 dev: false /utf-8-validate@5.0.10: @@ -9733,7 +9716,7 @@ packages: dependencies: builtins: 5.0.1 - /valtio@1.11.0(react@18.2.0): + /valtio@1.11.0(react@17.0.0): resolution: {integrity: sha512-65Yd0yU5qs86b5lN1eu/nzcTgQ9/6YnD6iO+DDaDbQLn1Zv2w12Gwk43WkPlUBxk5wL/6cD5YMFf7kj6HZ1Kpg==} engines: {node: '>=12.20.0'} peerDependencies: @@ -9743,8 +9726,8 @@ packages: optional: true dependencies: proxy-compare: 2.5.1 - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) + react: 17.0.0 + use-sync-external-store: 1.2.0(react@17.0.0) dev: false /viem@1.10.4(typescript@5.2.2)(zod@3.22.2): @@ -9802,7 +9785,7 @@ packages: '@types/node': 20.5.9 esbuild: 0.18.20 postcss: 8.4.28 - rollup: 3.28.0 + rollup: 3.29.1 optionalDependencies: fsevents: 2.3.3 dev: true @@ -9819,7 +9802,7 @@ packages: resolution: {integrity: sha512-AFbieoL7a5LMqcnOF04ji+rpXadgOXnZsxQr//r83kLPr7biP7am3g9zbaZIaBGwBRWeSvoMD4mgPdX3e4NWBg==} dev: true - /wagmi@1.4.1(react@18.2.0)(typescript@5.2.2)(viem@1.10.4): + /wagmi@1.4.1(react@17.0.0)(typescript@5.2.2)(viem@1.10.4): resolution: {integrity: sha512-v3xd+uYZfLCAs1I4fLU7U9hg/gCw+Ud005J7kNR0mi20BcFAEU1EDN1LxHxpjUV0qKhOzSlMlrLjJyBCmSYhFA==} peerDependencies: react: '>=17.0.0' @@ -9830,13 +9813,13 @@ packages: optional: true dependencies: '@tanstack/query-sync-storage-persister': 4.33.0 - '@tanstack/react-query': 4.33.0(react@18.2.0) + '@tanstack/react-query': 4.33.0(react@17.0.0) '@tanstack/react-query-persist-client': 4.33.0(@tanstack/react-query@4.33.0) - '@wagmi/core': 1.4.1(react@18.2.0)(typescript@5.2.2)(viem@1.10.4) + '@wagmi/core': 1.4.1(react@17.0.0)(typescript@5.2.2)(viem@1.10.4) abitype: 0.8.7(typescript@5.2.2) - react: 18.2.0 + react: 17.0.0 typescript: 5.2.2 - use-sync-external-store: 1.2.0(react@18.2.0) + use-sync-external-store: 1.2.0(react@17.0.0) viem: 1.10.4(typescript@5.2.2)(zod@3.22.2) transitivePeerDependencies: - '@react-native-async-storage/async-storage' @@ -10149,7 +10132,7 @@ packages: resolution: {integrity: sha512-wvWkphh5WQsJbVk1tbx1l1Ly4yg+XecD+Mq280uBGt9wa5BKSWf4Mhp6GmrkPixhMxmabYY7RbzlwVP32pbGCg==} dev: false - /zustand@4.4.1(react@18.2.0): + /zustand@4.4.1(react@17.0.0): resolution: {integrity: sha512-QCPfstAS4EBiTQzlaGP1gmorkh/UL1Leaj2tdj+zZCZ/9bm0WS7sI2wnfD5lpOszFqWJ1DcPnGoY8RDL61uokw==} engines: {node: '>=12.7.0'} peerDependencies: @@ -10164,6 +10147,6 @@ packages: react: optional: true dependencies: - react: 18.2.0 - use-sync-external-store: 1.2.0(react@18.2.0) + react: 17.0.0 + use-sync-external-store: 1.2.0(react@17.0.0) dev: false