diff --git a/.changeset/olive-hats-repeat.md b/.changeset/olive-hats-repeat.md new file mode 100644 index 0000000000..ca8c8413d5 --- /dev/null +++ b/.changeset/olive-hats-repeat.md @@ -0,0 +1,24 @@ +--- +"@latticexyz/block-logs-stream": patch +"@latticexyz/cli": patch +"@latticexyz/common": patch +"@latticexyz/config": patch +"@latticexyz/dev-tools": patch +"@latticexyz/faucet": patch +"@latticexyz/protocol-parser": patch +"@latticexyz/query": patch +"@latticexyz/schema-type": patch +"@latticexyz/store-indexer": patch +"@latticexyz/store-sync": patch +"@latticexyz/store": patch +"@latticexyz/world": patch +"create-mud": patch +--- + +Bumped viem to `2.19.8` and abitype to `1.0.5`. + +MUD projects using viem or abitype should do the same to ensure no type errors due to mismatched versions: + +``` +pnpm recursive up viem@2.19.8 abitype@1.0.5 +``` diff --git a/e2e/packages/client-vanilla/package.json b/e2e/packages/client-vanilla/package.json index 46d9f8caf9..c41ea37efd 100644 --- a/e2e/packages/client-vanilla/package.json +++ b/e2e/packages/client-vanilla/package.json @@ -27,7 +27,7 @@ "react": "^18.2.0", "rxjs": "7.5.5", "threads": "^1.7.0", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "rimraf": "^3.0.2", diff --git a/e2e/packages/sync-test/package.json b/e2e/packages/sync-test/package.json index 21a4c1db7c..7272b4472a 100644 --- a/e2e/packages/sync-test/package.json +++ b/e2e/packages/sync-test/package.json @@ -23,7 +23,7 @@ "@latticexyz/world": "link:../../../packages/world", "@latticexyz/world-modules": "link:../../../packages/world-modules", "@viem/anvil": "^0.0.6", - "abitype": "1.0.0", + "abitype": "1.0.5", "chalk": "^5.2.0", "dotenv": "^16.0.3", "drizzle-orm": "^0.28.5", @@ -31,7 +31,7 @@ "happy-dom": "^12.10.3", "postgres": "3.3.5", "typescript": "5.4.2", - "viem": "2.9.20", + "viem": "2.19.8", "vite": "^4.2.1", "vitest": "0.34.6", "zod": "3.23.8" diff --git a/e2e/packages/test-data/package.json b/e2e/packages/test-data/package.json index bf0d6d3bb9..6dbd0b1b48 100644 --- a/e2e/packages/test-data/package.json +++ b/e2e/packages/test-data/package.json @@ -18,6 +18,6 @@ "execa": "^7.1.1", "tsx": "^3.12.6", "typescript": "5.4.2", - "viem": "2.9.20" + "viem": "2.19.8" } } diff --git a/e2e/pnpm-lock.yaml b/e2e/pnpm-lock.yaml index c1de440a8e..0d31db8a93 100644 --- a/e2e/pnpm-lock.yaml +++ b/e2e/pnpm-lock.yaml @@ -66,8 +66,8 @@ importers: specifier: ^1.7.0 version: 1.7.0 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 2.19.8 + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: rimraf: specifier: ^3.0.2 @@ -163,8 +163,8 @@ importers: specifier: ^0.0.6 version: 0.0.6 abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 1.0.5 + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) chalk: specifier: ^5.2.0 version: 5.2.0 @@ -187,8 +187,8 @@ importers: specifier: 5.4.2 version: 5.4.2 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 2.19.8 + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) vite: specifier: ^4.2.1 version: 4.3.5(@types/node@20.1.3) @@ -226,8 +226,8 @@ importers: specifier: 5.4.2 version: 5.4.2 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 2.19.8 + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) packages: @@ -528,11 +528,11 @@ packages: '@jridgewell/sourcemap-codec@1.4.15': resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} - '@noble/curves@1.2.0': - resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + '@noble/curves@1.4.0': + resolution: {integrity: sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg==} - '@noble/hashes@1.3.2': - resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + '@noble/hashes@1.4.0': + resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} '@playwright/test@1.35.1': @@ -570,14 +570,14 @@ packages: '@protobufjs/utf8@1.1.0': resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} - '@scure/base@1.1.3': - resolution: {integrity: sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==} + '@scure/base@1.1.7': + resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} - '@scure/bip32@1.3.2': - resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} + '@scure/bip32@1.4.0': + resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip39@1.2.1': - resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} + '@scure/bip39@1.3.0': + resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} '@sinclair/typebox@0.27.8': resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} @@ -612,8 +612,8 @@ packages: '@vitest/utils@0.34.6': resolution: {integrity: sha512-IG5aDD8S6zlvloDsnzHw0Ut5xczlF+kv2BOTo+iXfPr54Yhi5qbVOgGB1hZaVq4iJ4C/MZ2J0y15IlsV/ZcI0A==} - abitype@1.0.0: - resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} + abitype@1.0.5: + resolution: {integrity: sha512-YzDhti7cjlfaBhHutMaboYB21Ha3rXR9QTkNJFzYC4kC8YclaiwPBBBJY8ejFdu2wnJeZCVZSMlQJ7fi8S6hsw==} peerDependencies: typescript: '>=5.0.4' zod: ^3 >=3.22.0 @@ -913,8 +913,8 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - isows@1.0.3: - resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} + isows@1.0.4: + resolution: {integrity: sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ==} peerDependencies: ws: '*' @@ -1180,8 +1180,8 @@ packages: ufo@1.3.2: resolution: {integrity: sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA==} - viem@2.9.20: - resolution: {integrity: sha512-PHb1MrBHMrSZ8Ayuk3Y/6wUTcMbzlACQaM6AJBSv9kRKX3xYSZ/kehi+gvS0swQJeAlTQ4eZM7jsHQJNAOarmg==} + viem@2.19.8: + resolution: {integrity: sha512-2SkT6kHgp1MZnPl+fJ8kT2Eozv2tOuri30DI5dSnOecJpvachZY5PdgCdvXw7AUZCwNUkLX9ZEpKqyhqjQoUPg==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -1249,6 +1249,9 @@ packages: webdriverio: optional: true + webauthn-p256@0.0.5: + resolution: {integrity: sha512-drMGNWKdaixZNobeORVIqq7k5DsRC9FnG201K2QjeOoQLmtSDaSsVZdkg6n5jUALJKcAG++zBPJXmv6hy0nWFg==} + webidl-conversions@7.0.0: resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} engines: {node: '>=12'} @@ -1290,6 +1293,18 @@ packages: utf-8-validate: optional: true + ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + y18n@5.0.8: resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} engines: {node: '>=10'} @@ -1484,11 +1499,11 @@ snapshots: '@jridgewell/sourcemap-codec@1.4.15': {} - '@noble/curves@1.2.0': + '@noble/curves@1.4.0': dependencies: - '@noble/hashes': 1.3.2 + '@noble/hashes': 1.4.0 - '@noble/hashes@1.3.2': {} + '@noble/hashes@1.4.0': {} '@playwright/test@1.35.1': dependencies: @@ -1520,18 +1535,18 @@ snapshots: '@protobufjs/utf8@1.1.0': {} - '@scure/base@1.1.3': {} + '@scure/base@1.1.7': {} - '@scure/bip32@1.3.2': + '@scure/bip32@1.4.0': dependencies: - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.3 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.7 - '@scure/bip39@1.2.1': + '@scure/bip39@1.3.0': dependencies: - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.3 + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.7 '@sinclair/typebox@0.27.8': {} @@ -1584,7 +1599,7 @@ snapshots: loupe: 2.3.6 pretty-format: 29.7.0 - abitype@1.0.0(typescript@5.4.2)(zod@3.23.8): + abitype@1.0.5(typescript@5.4.2)(zod@3.23.8): optionalDependencies: typescript: 5.4.2 zod: 3.23.8 @@ -1827,9 +1842,9 @@ snapshots: isexe@2.0.0: {} - isows@1.0.3(ws@8.13.0): + isows@1.0.4(ws@8.17.1): dependencies: - ws: 8.13.0 + ws: 8.17.1 js-base64@3.7.5: {} @@ -2084,16 +2099,17 @@ snapshots: ufo@1.3.2: {} - viem@2.9.20(typescript@5.4.2)(zod@3.23.8): + viem@2.19.8(typescript@5.4.2)(zod@3.23.8): dependencies: '@adraffy/ens-normalize': 1.10.0 - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/bip32': 1.3.2 - '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.4.2)(zod@3.23.8) - isows: 1.0.3(ws@8.13.0) - ws: 8.13.0 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/bip32': 1.4.0 + '@scure/bip39': 1.3.0 + abitype: 1.0.5(typescript@5.4.2)(zod@3.23.8) + isows: 1.0.4(ws@8.17.1) + webauthn-p256: 0.0.5 + ws: 8.17.1 optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: @@ -2163,6 +2179,11 @@ snapshots: - supports-color - terser + webauthn-p256@0.0.5: + dependencies: + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + webidl-conversions@7.0.0: {} whatwg-encoding@2.0.0: @@ -2190,6 +2211,8 @@ snapshots: ws@8.13.0: {} + ws@8.17.1: {} + y18n@5.0.8: {} yargs-parser@21.1.1: {} diff --git a/examples/minimal/packages/client-phaser/package.json b/examples/minimal/packages/client-phaser/package.json index 4dca84cfce..29c8b38519 100644 --- a/examples/minimal/packages/client-phaser/package.json +++ b/examples/minimal/packages/client-phaser/package.json @@ -35,7 +35,7 @@ "styled-components": "^5.3.10", "threads": "^1.7.0", "use-resize-observer": "^9.1.0", - "viem": "2.9.20", + "viem": "2.19.8", "vite": "^4.2.1", "zustand": "^4.3.8" }, diff --git a/examples/minimal/packages/client-react/package.json b/examples/minimal/packages/client-react/package.json index 5c7dd231ce..395742d1cb 100644 --- a/examples/minimal/packages/client-react/package.json +++ b/examples/minimal/packages/client-react/package.json @@ -30,7 +30,7 @@ "react-dom": "^18.2.0", "rxjs": "7.5.5", "threads": "^1.7.0", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "@types/react": "18.2.22", diff --git a/examples/minimal/packages/client-vanilla/package.json b/examples/minimal/packages/client-vanilla/package.json index 74d4d7680c..da50a6b074 100644 --- a/examples/minimal/packages/client-vanilla/package.json +++ b/examples/minimal/packages/client-vanilla/package.json @@ -27,7 +27,7 @@ "react": "^18.2.0", "rxjs": "7.5.5", "threads": "^1.7.0", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "vite": "^4.2.1", diff --git a/examples/minimal/pnpm-lock.yaml b/examples/minimal/pnpm-lock.yaml index 43dd692303..e2afd965cd 100644 --- a/examples/minimal/pnpm-lock.yaml +++ b/examples/minimal/pnpm-lock.yaml @@ -105,8 +105,8 @@ importers: specifier: ^9.1.0 version: 9.1.0(react-dom@18.2.0(react@18.2.0))(react@18.2.0) viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2) + specifier: 2.19.8 + version: 2.19.8(typescript@5.4.2) vite: specifier: ^4.2.1 version: 4.2.1(@types/node@18.15.11) @@ -205,8 +205,8 @@ importers: specifier: ^1.7.0 version: 1.7.0 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2) + specifier: 2.19.8 + version: 2.19.8(typescript@5.4.2) devDependencies: '@types/react': specifier: 18.2.22 @@ -284,8 +284,8 @@ importers: specifier: ^1.7.0 version: 1.7.0 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2) + specifier: 2.19.8 + version: 2.19.8(typescript@5.4.2) devDependencies: vite: specifier: ^4.2.1 @@ -699,11 +699,11 @@ packages: '@latticexyz/utils@2.0.0-next.17': resolution: {integrity: sha512-cxHLSwyYFCR4Dv6yBb3VKM+smsSSjOwYg8Wm/h3yskA5iRMyZiFAKfEbS50gjDiO3RMJaJ9Y7ggLsilr8/r+bw==} - '@noble/curves@1.2.0': - resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + '@noble/curves@1.4.0': + resolution: {integrity: sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg==} - '@noble/hashes@1.3.2': - resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + '@noble/hashes@1.4.0': + resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} '@nodelib/fs.scandir@2.1.5': @@ -748,14 +748,14 @@ packages: '@protobufjs/utf8@1.1.0': resolution: {integrity: sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==} - '@scure/base@1.1.3': - resolution: {integrity: sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q==} + '@scure/base@1.1.7': + resolution: {integrity: sha512-PPNYBslrLNNUQ/Yad37MHYsNQtK67EhWb6WtSvNLLPo7SdVZgkUjD6Dg+5On7zNwmskf8OX7I7Nx5oN+MIWE0g==} - '@scure/bip32@1.3.2': - resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} + '@scure/bip32@1.4.0': + resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip39@1.2.1': - resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} + '@scure/bip39@1.3.0': + resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} '@solidity-parser/parser@0.16.0': resolution: {integrity: sha512-ESipEcHyRHg4Np4SqBCfcXwyxxna1DgFVz69bgpLV8vzl/NP1DtcKsJ4dJZXWQhY/Z4J2LeKBiOkOVZn9ct33Q==} @@ -884,8 +884,8 @@ packages: peerDependencies: vite: ^4.1.0-beta.0 - abitype@1.0.0: - resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} + abitype@1.0.5: + resolution: {integrity: sha512-YzDhti7cjlfaBhHutMaboYB21Ha3rXR9QTkNJFzYC4kC8YclaiwPBBBJY8ejFdu2wnJeZCVZSMlQJ7fi8S6hsw==} peerDependencies: typescript: '>=5.0.4' zod: ^3 >=3.22.0 @@ -1464,8 +1464,8 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - isows@1.0.3: - resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} + isows@1.0.4: + resolution: {integrity: sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ==} peerDependencies: ws: '*' @@ -1988,8 +1988,8 @@ packages: v8-compile-cache-lib@3.0.1: resolution: {integrity: sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==} - viem@2.9.20: - resolution: {integrity: sha512-PHb1MrBHMrSZ8Ayuk3Y/6wUTcMbzlACQaM6AJBSv9kRKX3xYSZ/kehi+gvS0swQJeAlTQ4eZM7jsHQJNAOarmg==} + viem@2.19.8: + resolution: {integrity: sha512-2SkT6kHgp1MZnPl+fJ8kT2Eozv2tOuri30DI5dSnOecJpvachZY5PdgCdvXw7AUZCwNUkLX9ZEpKqyhqjQoUPg==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -2026,6 +2026,9 @@ packages: engines: {node: '>=10'} hasBin: true + webauthn-p256@0.0.5: + resolution: {integrity: sha512-drMGNWKdaixZNobeORVIqq7k5DsRC9FnG201K2QjeOoQLmtSDaSsVZdkg6n5jUALJKcAG++zBPJXmv6hy0nWFg==} + which-boxed-primitive@1.0.2: resolution: {integrity: sha512-bwZdv0AKLpplFY2KZRX6TvyuN7ojjr7lwkg6ml0roIy9YeuSr7JS372qlNW18UQYzgYK9ziGcerWqZOmEn9VNg==} @@ -2045,8 +2048,8 @@ packages: wrappy@1.0.2: resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} - ws@8.13.0: - resolution: {integrity: sha512-x9vcZYTrFPC7aSIbj7sRCYo7L/Xb8Iy+pW0ng0wt2vCJv7M9HOMy0UoN3rr+IFC7hb7vXoqS+P9ktyLLLhO+LA==} + ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} engines: {node: '>=10.0.0'} peerDependencies: bufferutil: ^4.0.1 @@ -2426,11 +2429,11 @@ snapshots: proxy-deep: 3.1.1 rxjs: 7.5.5 - '@noble/curves@1.2.0': + '@noble/curves@1.4.0': dependencies: - '@noble/hashes': 1.3.2 + '@noble/hashes': 1.4.0 - '@noble/hashes@1.3.2': {} + '@noble/hashes@1.4.0': {} '@nodelib/fs.scandir@2.1.5': dependencies: @@ -2467,18 +2470,18 @@ snapshots: '@protobufjs/utf8@1.1.0': {} - '@scure/base@1.1.3': {} + '@scure/base@1.1.7': {} - '@scure/bip32@1.3.2': + '@scure/bip32@1.4.0': dependencies: - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.3 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.7 - '@scure/bip39@1.2.1': + '@scure/bip39@1.3.0': dependencies: - '@noble/hashes': 1.3.2 - '@scure/base': 1.1.3 + '@noble/hashes': 1.4.0 + '@scure/base': 1.1.7 '@solidity-parser/parser@0.16.0': dependencies: @@ -2636,7 +2639,7 @@ snapshots: transitivePeerDependencies: - supports-color - abitype@1.0.0(typescript@5.4.2): + abitype@1.0.5(typescript@5.4.2): optionalDependencies: typescript: 5.4.2 @@ -3304,9 +3307,9 @@ snapshots: isexe@2.0.0: {} - isows@1.0.3(ws@8.13.0): + isows@1.0.4(ws@8.17.1): dependencies: - ws: 8.13.0 + ws: 8.17.1 js-base64@3.7.5: {} @@ -3861,16 +3864,17 @@ snapshots: v8-compile-cache-lib@3.0.1: {} - viem@2.9.20(typescript@5.4.2): + viem@2.19.8(typescript@5.4.2): dependencies: '@adraffy/ens-normalize': 1.10.0 - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/bip32': 1.3.2 - '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.4.2) - isows: 1.0.3(ws@8.13.0) - ws: 8.13.0 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/bip32': 1.4.0 + '@scure/bip39': 1.3.0 + abitype: 1.0.5(typescript@5.4.2) + isows: 1.0.4(ws@8.17.1) + webauthn-p256: 0.0.5 + ws: 8.17.1 optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: @@ -3896,6 +3900,11 @@ snapshots: transitivePeerDependencies: - supports-color + webauthn-p256@0.0.5: + dependencies: + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + which-boxed-primitive@1.0.2: dependencies: is-bigint: 1.0.4 @@ -3925,7 +3934,7 @@ snapshots: wrappy@1.0.2: {} - ws@8.13.0: {} + ws@8.17.1: {} y18n@5.0.8: {} diff --git a/examples/multiple-accounts/packages/client/package.json b/examples/multiple-accounts/packages/client/package.json index a3e628e6be..18050bf7d7 100644 --- a/examples/multiple-accounts/packages/client/package.json +++ b/examples/multiple-accounts/packages/client/package.json @@ -22,7 +22,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rxjs": "7.5.5", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "@types/react": "18.2.22", diff --git a/packages/block-logs-stream/package.json b/packages/block-logs-stream/package.json index e189abe72e..d21aec26dd 100644 --- a/packages/block-logs-stream/package.json +++ b/packages/block-logs-stream/package.json @@ -34,10 +34,10 @@ }, "dependencies": { "@latticexyz/common": "workspace:*", - "abitype": "1.0.0", + "abitype": "catalog:", "debug": "^4.3.4", "rxjs": "7.5.5", - "viem": "2.9.20" + "viem": "catalog:" }, "devDependencies": { "@types/debug": "^4.1.7", diff --git a/packages/cli/package.json b/packages/cli/package.json index 7884fe6aa4..bdbb57fa18 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -50,7 +50,7 @@ "@latticexyz/utils": "workspace:*", "@latticexyz/world": "workspace:*", "@latticexyz/world-module-metadata": "workspace:*", - "abitype": "1.0.0", + "abitype": "catalog:", "asn1.js": "^5.4.1", "chalk": "^5.0.1", "chokidar": "^3.5.3", @@ -67,7 +67,7 @@ "throttle-debounce": "^5.0.0", "toposort": "^2.0.2", "typescript": "5.4.2", - "viem": "2.9.20", + "viem": "catalog:", "yargs": "^17.7.1", "zod": "3.23.8", "zod-validation-error": "^1.3.0" diff --git a/packages/common/package.json b/packages/common/package.json index bad190b296..d42e4eed63 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -74,7 +74,7 @@ "p-retry": "^5.1.2", "prettier": "3.2.5", "prettier-plugin-solidity": "1.3.1", - "viem": "2.9.20" + "viem": "catalog:" }, "devDependencies": { "@types/debug": "^4.1.7", diff --git a/packages/config/package.json b/packages/config/package.json index de9041f2b5..b61797aed7 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -45,7 +45,7 @@ "@latticexyz/schema-type": "workspace:*", "esbuild": "^0.17.15", "find-up": "^6.3.0", - "viem": "2.9.20" + "viem": "catalog:" }, "devDependencies": { "tsup": "^6.7.0" diff --git a/packages/dev-tools/package.json b/packages/dev-tools/package.json index 931f53e71a..68d6b8dc96 100644 --- a/packages/dev-tools/package.json +++ b/packages/dev-tools/package.json @@ -46,7 +46,7 @@ "rxjs": "7.5.5", "tailwind-merge": "^1.12.0", "use-local-storage-state": "^18.3.2", - "viem": "2.9.20", + "viem": "catalog:", "zustand": "^4.3.7" }, "devDependencies": { diff --git a/packages/faucet/package.json b/packages/faucet/package.json index bd9e86d0fa..60c4d1c1c4 100644 --- a/packages/faucet/package.json +++ b/packages/faucet/package.json @@ -45,7 +45,7 @@ "debug": "^4.3.4", "dotenv": "^16.0.3", "fastify": "^4.21.0", - "viem": "2.9.20", + "viem": "catalog:", "zod": "3.23.8" }, "devDependencies": { diff --git a/packages/protocol-parser/package.json b/packages/protocol-parser/package.json index 60780490e3..c6972d5fbe 100644 --- a/packages/protocol-parser/package.json +++ b/packages/protocol-parser/package.json @@ -40,8 +40,8 @@ "@latticexyz/common": "workspace:*", "@latticexyz/config": "workspace:*", "@latticexyz/schema-type": "workspace:*", - "abitype": "1.0.0", - "viem": "2.9.20" + "abitype": "catalog:", + "viem": "catalog:" }, "devDependencies": { "tsup": "^6.7.0", diff --git a/packages/query/package.json b/packages/query/package.json index f520a6d698..88a336459a 100644 --- a/packages/query/package.json +++ b/packages/query/package.json @@ -39,7 +39,7 @@ "@latticexyz/config": "workspace:*", "@latticexyz/schema-type": "workspace:*", "@latticexyz/store": "workspace:*", - "viem": "2.9.20" + "viem": "catalog:" }, "devDependencies": { "tsup": "^6.7.0", diff --git a/packages/schema-type/package.json b/packages/schema-type/package.json index 8ace3c2527..a6d2f0b080 100644 --- a/packages/schema-type/package.json +++ b/packages/schema-type/package.json @@ -43,8 +43,8 @@ "test:ci": "pnpm run test" }, "dependencies": { - "abitype": "1.0.0", - "viem": "2.9.20" + "abitype": "catalog:", + "viem": "catalog:" }, "devDependencies": { "@latticexyz/gas-report": "workspace:*", diff --git a/packages/store-indexer/package.json b/packages/store-indexer/package.json index 08c6fe8546..b55cf9e036 100644 --- a/packages/store-indexer/package.json +++ b/packages/store-indexer/package.json @@ -72,7 +72,7 @@ "rxjs": "7.5.5", "superjson": "^1.12.4", "trpc-koa-adapter": "^1.1.3", - "viem": "2.9.20", + "viem": "catalog:", "zod": "3.23.8" }, "devDependencies": { diff --git a/packages/store-sync/package.json b/packages/store-sync/package.json index 878aa2306c..5ffd7f1a59 100644 --- a/packages/store-sync/package.json +++ b/packages/store-sync/package.json @@ -83,7 +83,7 @@ "rxjs": "7.5.5", "sql.js": "^1.8.0", "superjson": "^1.12.4", - "viem": "2.9.20", + "viem": "catalog:", "zod": "3.23.8", "zustand": "^4.3.7" }, diff --git a/packages/store/package.json b/packages/store/package.json index 0979d1632d..92cfd3a107 100644 --- a/packages/store/package.json +++ b/packages/store/package.json @@ -64,9 +64,9 @@ "@latticexyz/config": "workspace:*", "@latticexyz/protocol-parser": "workspace:*", "@latticexyz/schema-type": "workspace:*", - "abitype": "1.0.0", + "abitype": "catalog:", "arktype": "1.0.29-alpha", - "viem": "2.9.20" + "viem": "catalog:" }, "devDependencies": { "@latticexyz/abi-ts": "workspace:*", diff --git a/packages/world/package.json b/packages/world/package.json index c5ae128cf6..92394101a3 100644 --- a/packages/world/package.json +++ b/packages/world/package.json @@ -65,10 +65,10 @@ "@latticexyz/protocol-parser": "workspace:*", "@latticexyz/schema-type": "workspace:*", "@latticexyz/store": "workspace:*", - "abitype": "1.0.0", + "abitype": "catalog:", "arktype": "1.0.29-alpha", "debug": "^4.3.4", - "viem": "2.9.20" + "viem": "catalog:" }, "devDependencies": { "@latticexyz/abi-ts": "workspace:*", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index cb9913a32e..9d5d78bf6c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -9,6 +9,12 @@ catalogs: '@ark/util': specifier: 0.1.2 version: 0.1.2 + abitype: + specifier: 1.0.5 + version: 1.0.5 + viem: + specifier: 2.19.8 + version: 2.19.8 importers: @@ -109,8 +115,8 @@ importers: specifier: workspace:* version: link:../common abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) debug: specifier: ^4.3.4 version: 4.3.4 @@ -118,8 +124,8 @@ importers: specifier: 7.5.5 version: 7.5.5 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: '@types/debug': specifier: ^4.1.7 @@ -167,8 +173,8 @@ importers: specifier: workspace:* version: link:../world-module-metadata abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) asn1.js: specifier: ^5.4.1 version: 5.4.1 @@ -218,8 +224,8 @@ importers: specifier: 5.4.2 version: 5.4.2 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) yargs: specifier: ^17.7.1 version: 17.7.1 @@ -300,8 +306,8 @@ importers: specifier: 1.3.1 version: 1.3.1(prettier@3.2.5) viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: '@types/debug': specifier: ^4.1.7 @@ -337,8 +343,8 @@ importers: specifier: ^6.3.0 version: 6.3.0 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: tsup: specifier: ^6.7.0 @@ -402,8 +408,8 @@ importers: specifier: ^18.3.2 version: 18.3.2(react-dom@18.2.0(react@18.2.0))(react@18.2.0) viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) zustand: specifier: ^4.3.7 version: 4.3.7(react@18.2.0) @@ -460,8 +466,8 @@ importers: specifier: ^4.21.0 version: 4.21.0 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) zod: specifier: 3.23.8 version: 3.23.8 @@ -537,11 +543,11 @@ importers: specifier: workspace:* version: link:../schema-type abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: tsup: specifier: ^6.7.0 @@ -568,8 +574,8 @@ importers: specifier: workspace:* version: link:../store viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: tsup: specifier: ^6.7.0 @@ -667,11 +673,11 @@ importers: packages/schema-type: dependencies: abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: '@latticexyz/gas-report': specifier: workspace:* @@ -726,14 +732,14 @@ importers: specifier: workspace:* version: link:../schema-type abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) arktype: specifier: 1.0.29-alpha version: 1.0.29-alpha viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: '@latticexyz/abi-ts': specifier: workspace:* @@ -844,8 +850,8 @@ importers: specifier: ^1.1.3 version: 1.1.3(@trpc/server@10.34.0)(koa@2.14.2) viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) zod: specifier: 3.23.8 version: 3.23.8 @@ -950,8 +956,8 @@ importers: specifier: ^1.12.4 version: 1.12.4 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) zod: specifier: 3.23.8 version: 3.23.8 @@ -1027,8 +1033,8 @@ importers: specifier: workspace:* version: link:../store abitype: - specifier: 1.0.0 - version: 1.0.0(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 1.0.5(typescript@5.4.2)(zod@3.23.8) arktype: specifier: 1.0.29-alpha version: 1.0.29-alpha @@ -1036,8 +1042,8 @@ importers: specifier: ^4.3.4 version: 4.3.4 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) devDependencies: '@latticexyz/abi-ts': specifier: workspace:* @@ -1225,8 +1231,8 @@ importers: specifier: 4.16.2 version: 4.16.2 viem: - specifier: 2.9.20 - version: 2.9.20(typescript@5.4.2)(zod@3.23.8) + specifier: 'catalog:' + version: 2.19.8(typescript@5.4.2)(zod@3.23.8) vite: specifier: ^4.2.1 version: 4.3.6(@types/node@20.12.12) @@ -2202,11 +2208,11 @@ packages: '@manypkg/get-packages@1.1.3': resolution: {integrity: sha512-fo+QhuU3qE/2TQMQmbVMqaQ6EWbMhi4ABWP+O4AM1NqPBuy0OrApV5LO6BrrgnhtAHS2NH6RrVk9OL181tTi8A==} - '@noble/curves@1.2.0': - resolution: {integrity: sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw==} + '@noble/curves@1.4.0': + resolution: {integrity: sha512-p+4cb332SFCrReJkCYe8Xzm0OWi4Jji5jVdIZRL/PmacmDkFNw6MrrV+gGpiPxLHbV+zKFRywUWbaseT+tZRXg==} - '@noble/hashes@1.3.2': - resolution: {integrity: sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ==} + '@noble/hashes@1.4.0': + resolution: {integrity: sha512-V1JJ1WTRUqHHrOSh597hURcMqVKVGL/ea3kv0gSnEdsEZ0/+VyPghM1lMNGc00z7CIQorSvbKpuJkxvuHbvdbg==} engines: {node: '>= 16'} '@nodelib/fs.scandir@2.1.5': @@ -2292,11 +2298,11 @@ packages: '@scure/base@1.1.6': resolution: {integrity: sha512-ok9AWwhcgYuGG3Zfhyqg+zwl+Wn5uE+dwC0NV/2qQkx4dABbb/bx96vWu8NSj+BNjjSjno+JRYRjle1jV08k3g==} - '@scure/bip32@1.3.2': - resolution: {integrity: sha512-N1ZhksgwD3OBlwTv3R6KFEcPojl/W4ElJOeCZdi+vuI5QmTFwLq3OFf2zd2ROpKvxFdgZ6hUpb0dx9bVNEwYCA==} + '@scure/bip32@1.4.0': + resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip39@1.2.1': - resolution: {integrity: sha512-Z3/Fsz1yr904dduJD0NpiyRHhRYHdcnyh73FZWiV+/qhWi83wNJ3NWolYqCEN+ZWsUz2TWwajJggcRE9r1zUYg==} + '@scure/bip39@1.3.0': + resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} '@sentry-internal/tracing@7.86.0': resolution: {integrity: sha512-b4dUsNWlPWRwakGwR7bhOkqiFlqQszH1hhVFwrm/8s3kqEBZ+E4CeIfCvuHBHQ1cM/fx55xpXX/BU163cy+3iQ==} @@ -2813,8 +2819,8 @@ packages: resolution: {integrity: sha512-dbaEZphdPje0ihqSdWg36Sb8S20TuqQomiz2593oIx+enQ9Q4vDZRjIzhnkWltGRKVKqC28kTribkgRLBexWVQ==} engines: {node: '>=6', npm: '>=3'} - abitype@1.0.0: - resolution: {integrity: sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ==} + abitype@1.0.5: + resolution: {integrity: sha512-YzDhti7cjlfaBhHutMaboYB21Ha3rXR9QTkNJFzYC4kC8YclaiwPBBBJY8ejFdu2wnJeZCVZSMlQJ7fi8S6hsw==} peerDependencies: typescript: '>=5.0.4' zod: ^3 >=3.22.0 @@ -4511,8 +4517,8 @@ packages: isexe@2.0.0: resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} - isows@1.0.3: - resolution: {integrity: sha512-2cKei4vlmg2cxEjm3wVSqn8pcoRF/LX/wpifuuNquFO4SQmPwarClT+SUCA2lt+l581tTeZIPIZuIDo2jWN1fg==} + isows@1.0.4: + resolution: {integrity: sha512-hEzjY+x9u9hPmBom9IIAqdJCwNLax+xrPb51vEPpERoFlIxgmZcHzsT5jKG06nvInKOBGvReAVz80Umed5CczQ==} peerDependencies: ws: '*' @@ -6519,8 +6525,8 @@ packages: resolution: {integrity: sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg==} engines: {node: '>= 0.8'} - viem@2.9.20: - resolution: {integrity: sha512-PHb1MrBHMrSZ8Ayuk3Y/6wUTcMbzlACQaM6AJBSv9kRKX3xYSZ/kehi+gvS0swQJeAlTQ4eZM7jsHQJNAOarmg==} + viem@2.19.8: + resolution: {integrity: sha512-2SkT6kHgp1MZnPl+fJ8kT2Eozv2tOuri30DI5dSnOecJpvachZY5PdgCdvXw7AUZCwNUkLX9ZEpKqyhqjQoUPg==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -6595,6 +6601,9 @@ packages: walker@1.0.8: resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + webauthn-p256@0.0.5: + resolution: {integrity: sha512-drMGNWKdaixZNobeORVIqq7k5DsRC9FnG201K2QjeOoQLmtSDaSsVZdkg6n5jUALJKcAG++zBPJXmv6hy0nWFg==} + webidl-conversions@3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} @@ -6696,6 +6705,18 @@ packages: utf-8-validate: optional: true + ws@8.17.1: + resolution: {integrity: sha512-6XQFvXTkbfUOZOKKILFG1PDK2NDQs4azKQl26T0YS5CxqWLgXajbPZ+h4gZekJyRqFU8pvnbAbbs/3TgRPy+GQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + xml-name-validator@4.0.0: resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} engines: {node: '>=12'} @@ -8103,11 +8124,11 @@ snapshots: globby: 11.1.0 read-yaml-file: 1.1.0 - '@noble/curves@1.2.0': + '@noble/curves@1.4.0': dependencies: - '@noble/hashes': 1.3.2 + '@noble/hashes': 1.4.0 - '@noble/hashes@1.3.2': {} + '@noble/hashes@1.4.0': {} '@nodelib/fs.scandir@2.1.5': dependencies: @@ -8171,15 +8192,15 @@ snapshots: '@scure/base@1.1.6': {} - '@scure/bip32@1.3.2': + '@scure/bip32@1.4.0': dependencies: - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 '@scure/base': 1.1.6 - '@scure/bip39@1.2.1': + '@scure/bip39@1.3.0': dependencies: - '@noble/hashes': 1.3.2 + '@noble/hashes': 1.4.0 '@scure/base': 1.1.6 '@sentry-internal/tracing@7.86.0': @@ -8894,7 +8915,7 @@ snapshots: abind@1.0.5: {} - abitype@1.0.0(typescript@5.4.2)(zod@3.23.8): + abitype@1.0.5(typescript@5.4.2)(zod@3.23.8): optionalDependencies: typescript: 5.4.2 zod: 3.23.8 @@ -10780,9 +10801,9 @@ snapshots: isexe@2.0.0: {} - isows@1.0.3(ws@8.13.0): + isows@1.0.4(ws@8.17.1): dependencies: - ws: 8.13.0 + ws: 8.17.1 istanbul-lib-coverage@3.2.0: {} @@ -13089,16 +13110,17 @@ snapshots: vary@1.1.2: {} - viem@2.9.20(typescript@5.4.2)(zod@3.23.8): + viem@2.19.8(typescript@5.4.2)(zod@3.23.8): dependencies: '@adraffy/ens-normalize': 1.10.0 - '@noble/curves': 1.2.0 - '@noble/hashes': 1.3.2 - '@scure/bip32': 1.3.2 - '@scure/bip39': 1.2.1 - abitype: 1.0.0(typescript@5.4.2)(zod@3.23.8) - isows: 1.0.3(ws@8.13.0) - ws: 8.13.0 + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + '@scure/bip32': 1.4.0 + '@scure/bip39': 1.3.0 + abitype: 1.0.5(typescript@5.4.2)(zod@3.23.8) + isows: 1.0.4(ws@8.17.1) + webauthn-p256: 0.0.5 + ws: 8.17.1 optionalDependencies: typescript: 5.4.2 transitivePeerDependencies: @@ -13185,6 +13207,11 @@ snapshots: dependencies: makeerror: 1.0.12 + webauthn-p256@0.0.5: + dependencies: + '@noble/curves': 1.4.0 + '@noble/hashes': 1.4.0 + webidl-conversions@3.0.1: {} webidl-conversions@4.0.2: {} @@ -13285,6 +13312,8 @@ snapshots: ws@8.13.0: {} + ws@8.17.1: {} + xml-name-validator@4.0.0: {} xmlchars@2.2.0: {} diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 48b2b7c12f..3b01a503f2 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -4,3 +4,5 @@ packages: catalog: "@ark/util": "0.1.2" + "abitype": "1.0.5" + "viem": "2.19.8" diff --git a/templates/phaser/packages/client/package.json b/templates/phaser/packages/client/package.json index 3b34b585d2..1e305d1f57 100644 --- a/templates/phaser/packages/client/package.json +++ b/templates/phaser/packages/client/package.json @@ -29,7 +29,7 @@ "simplex-noise": "^4.0.1", "styled-components": "^5.3.10", "use-resize-observer": "^9.1.0", - "viem": "2.9.20", + "viem": "2.19.8", "zustand": "^4.3.8" }, "devDependencies": { diff --git a/templates/react-ecs/packages/client/package.json b/templates/react-ecs/packages/client/package.json index 04710c072d..a7cdbea34e 100644 --- a/templates/react-ecs/packages/client/package.json +++ b/templates/react-ecs/packages/client/package.json @@ -23,7 +23,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rxjs": "7.5.5", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "@types/react": "18.2.22", diff --git a/templates/react/packages/client/package.json b/templates/react/packages/client/package.json index 1117fbe36d..cb8f88f0b0 100644 --- a/templates/react/packages/client/package.json +++ b/templates/react/packages/client/package.json @@ -22,7 +22,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rxjs": "7.5.5", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "@types/react": "18.2.22", diff --git a/templates/threejs/packages/client/package.json b/templates/threejs/packages/client/package.json index 8bf95ab68d..6003ac52cc 100644 --- a/templates/threejs/packages/client/package.json +++ b/templates/threejs/packages/client/package.json @@ -24,7 +24,7 @@ "react": "^18.2.0", "react-dom": "^18.2.0", "rxjs": "7.5.5", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "@types/react": "18.2.22", diff --git a/templates/vanilla/packages/client/package.json b/templates/vanilla/packages/client/package.json index 58f660b0f5..8399d9422d 100644 --- a/templates/vanilla/packages/client/package.json +++ b/templates/vanilla/packages/client/package.json @@ -20,7 +20,7 @@ "@latticexyz/world": "link:../../../../packages/world", "contracts": "workspace:*", "rxjs": "7.5.5", - "viem": "2.9.20" + "viem": "2.19.8" }, "devDependencies": { "@types/react-dom": "18.2.7", diff --git a/test/ts-benchmarks/package.json b/test/ts-benchmarks/package.json index 7693338863..b56213cbd9 100644 --- a/test/ts-benchmarks/package.json +++ b/test/ts-benchmarks/package.json @@ -13,7 +13,7 @@ "@latticexyz/store-sync": "workspace:*", "@latticexyz/world": "workspace:*", "tsx": "4.16.2", - "viem": "2.9.20", + "viem": "catalog:", "vite": "^4.2.1" } }