diff --git a/packages/shared/package.json b/packages/shared/package.json index 5b86895..ca487f9 100644 --- a/packages/shared/package.json +++ b/packages/shared/package.json @@ -22,7 +22,7 @@ "poseidon-goldilocks": "^0.2.3", "semver": "^7.6.3", "simple-git": "^3.27.0", - "viem": "^2.22.10", + "viem": "^2.35.1", "zod": "^3.24.1" }, "scripts": { diff --git a/packages/v1-mining-allocation/package.json b/packages/v1-mining-allocation/package.json index 42449c8..73286e3 100644 --- a/packages/v1-mining-allocation/package.json +++ b/packages/v1-mining-allocation/package.json @@ -6,7 +6,7 @@ "@intmax2-function/shared": "workspace:*", "bignumber.js": "^9.1.2", "date-fns": "^4.1.0", - "viem": "^2.22.10" + "viem": "^2.35.1" }, "scripts": { "start": "node dist/index.js", diff --git a/packages/v1-mining-analyzer/package.json b/packages/v1-mining-analyzer/package.json index 57f26b9..1533e39 100644 --- a/packages/v1-mining-analyzer/package.json +++ b/packages/v1-mining-analyzer/package.json @@ -4,7 +4,7 @@ "dependencies": { "@intmax2-function/shared": "workspace:*", "axios": "^1.7.9", - "viem": "^2.22.10" + "viem": "^2.35.1" }, "scripts": { "start": "node dist/index.js", diff --git a/packages/v1-mining-gateway/package.json b/packages/v1-mining-gateway/package.json index 024eee5..858337a 100644 --- a/packages/v1-mining-gateway/package.json +++ b/packages/v1-mining-gateway/package.json @@ -7,7 +7,7 @@ "geoip-lite": "^1.4.10", "hono": "^4.6.17", "semver": "^7.6.3", - "viem": "^2.22.10" + "viem": "^2.35.1" }, "scripts": { "start": "node dist/index.js", diff --git a/packages/v1-mining-merkle-commitment/package.json b/packages/v1-mining-merkle-commitment/package.json index e925a6b..65444ae 100644 --- a/packages/v1-mining-merkle-commitment/package.json +++ b/packages/v1-mining-merkle-commitment/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "dependencies": { "@intmax2-function/shared": "workspace:*", - "viem": "^2.22.10" + "viem": "^2.35.1" }, "scripts": { "start": "node dist/index.js", diff --git a/packages/v1-mining-register/package.json b/packages/v1-mining-register/package.json index a836e5a..ac502d0 100644 --- a/packages/v1-mining-register/package.json +++ b/packages/v1-mining-register/package.json @@ -4,7 +4,7 @@ "dependencies": { "@google-cloud/firestore": "^7.11.0", "@intmax2-function/shared": "workspace:*", - "viem": "^2.22.10" + "viem": "^2.35.1" }, "scripts": { "start": "node dist/index.js", diff --git a/packages/v1-withdraw-observer/package.json b/packages/v1-withdraw-observer/package.json index 80c5f27..dbe6257 100644 --- a/packages/v1-withdraw-observer/package.json +++ b/packages/v1-withdraw-observer/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "dependencies": { "@intmax2-function/shared": "workspace:*", - "viem": "^2.22.10" + "viem": "^2.35.1" }, "scripts": { "start": "node dist/index.js", diff --git a/yarn.lock b/yarn.lock index cf9b872..33040a1 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12,7 +12,7 @@ __metadata: languageName: node linkType: hard -"@adraffy/ens-normalize@npm:^1.10.1": +"@adraffy/ens-normalize@npm:^1.11.0": version: 1.11.0 resolution: "@adraffy/ens-normalize@npm:1.11.0" checksum: 10c0/5111d0f1a273468cb5661ed3cf46ee58de8f32f84e2ebc2365652e66c1ead82649df94c736804e2b9cfa831d30ef24e1cc3575d970dbda583416d3a98d8870a6 @@ -793,7 +793,7 @@ __metadata: simple-git: "npm:^3.27.0" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" zod: "npm:^3.24.1" languageName: unknown linkType: soft @@ -835,6 +835,13 @@ __metadata: languageName: node linkType: hard +"@noble/ciphers@npm:^1.3.0": + version: 1.3.0 + resolution: "@noble/ciphers@npm:1.3.0" + checksum: 10c0/3ba6da645ce45e2f35e3b2e5c87ceba86b21dfa62b9466ede9edfb397f8116dae284f06652c0cd81d99445a2262b606632e868103d54ecc99fd946ae1af8cd37 + languageName: node + linkType: hard + "@noble/curves@npm:1.2.0": version: 1.2.0 resolution: "@noble/curves@npm:1.2.0" @@ -844,21 +851,21 @@ __metadata: languageName: node linkType: hard -"@noble/curves@npm:1.7.0, @noble/curves@npm:~1.7.0": - version: 1.7.0 - resolution: "@noble/curves@npm:1.7.0" +"@noble/curves@npm:1.9.6": + version: 1.9.6 + resolution: "@noble/curves@npm:1.9.6" dependencies: - "@noble/hashes": "npm:1.6.0" - checksum: 10c0/3317ec9b7699d2476707a89ceb3ddce60e69bac287561a31dd533669408633e093860fea5067eb9c54e5a7ced0705da1cba8859b6b1e0c48d3afff55fe2e77d0 + "@noble/hashes": "npm:1.8.0" + checksum: 10c0/e462875ad752d2cdffc3c7b27b6de3adcff5fae0731e94138bd9e452c5f9b7aaf4c01ea6c62d3c0544b4e7419662535bb2ef1103311de48d51885c053206e118 languageName: node linkType: hard -"@noble/curves@npm:^1.6.0, @noble/curves@npm:~1.6.0": - version: 1.6.0 - resolution: "@noble/curves@npm:1.6.0" +"@noble/curves@npm:^1.9.1, @noble/curves@npm:~1.9.0": + version: 1.9.7 + resolution: "@noble/curves@npm:1.9.7" dependencies: - "@noble/hashes": "npm:1.5.0" - checksum: 10c0/f3262aa4d39148e627cd82b5ac1c93f88c5bb46dd2566b5e8e52ffac3a0fc381ad30c2111656fd2bd3b0d37d43d540543e0d93a5ff96a6cb184bc3bfe10d1cd9 + "@noble/hashes": "npm:1.8.0" + checksum: 10c0/150014751ebe8ca06a8654ca2525108452ea9ee0be23430332769f06808cddabfe84f248b6dbf836916bc869c27c2092957eec62c7506d68a1ed0a624017c2a3 languageName: node linkType: hard @@ -869,24 +876,10 @@ __metadata: languageName: node linkType: hard -"@noble/hashes@npm:1.5.0, @noble/hashes@npm:^1.5.0, @noble/hashes@npm:~1.5.0": - version: 1.5.0 - resolution: "@noble/hashes@npm:1.5.0" - checksum: 10c0/1b46539695fbfe4477c0822d90c881a04d4fa2921c08c552375b444a48cac9930cb1ee68de0a3c7859e676554d0f3771999716606dc4d8f826e414c11692cdd9 - languageName: node - linkType: hard - -"@noble/hashes@npm:1.6.0": - version: 1.6.0 - resolution: "@noble/hashes@npm:1.6.0" - checksum: 10c0/e7e75898257fb36d933935fcdf1cc67ca7c083eb7b2411aa57fde7eb494c2cea0bec03686462032e25d5b0e1e4ab7357d1afb6718f6a68515db1f392141e9f14 - languageName: node - linkType: hard - -"@noble/hashes@npm:1.6.1, @noble/hashes@npm:~1.6.0": - version: 1.6.1 - resolution: "@noble/hashes@npm:1.6.1" - checksum: 10c0/27643cd8b551bc933b57cc29aa8c8763d586552fc4c3e06ecf7897f55be3463c0c9dff7f6ebacd88e5ce6d0cdb5415ca4874d0cf4359b5ea4a85be21ada03aab +"@noble/hashes@npm:1.8.0, @noble/hashes@npm:^1.8.0, @noble/hashes@npm:~1.8.0": + version: 1.8.0 + resolution: "@noble/hashes@npm:1.8.0" + checksum: 10c0/06a0b52c81a6fa7f04d67762e08b2c476a00285858150caeaaff4037356dd5e119f45b2a530f638b77a5eeca013168ec1b655db41bae3236cb2e9d511484fc77 languageName: node linkType: hard @@ -999,66 +992,31 @@ __metadata: languageName: node linkType: hard -"@scure/base@npm:~1.1.7": - version: 1.1.9 - resolution: "@scure/base@npm:1.1.9" - checksum: 10c0/77a06b9a2db8144d22d9bf198338893d77367c51b58c72b99df990c0a11f7cadd066d4102abb15e3ca6798d1529e3765f55c4355742465e49aed7a0c01fe76e8 +"@scure/base@npm:~1.2.5": + version: 1.2.6 + resolution: "@scure/base@npm:1.2.6" + checksum: 10c0/49bd5293371c4e062cb6ba689c8fe3ea3981b7bb9c000400dc4eafa29f56814cdcdd27c04311c2fec34de26bc373c593a1d6ca6d754398a488d587943b7c128a languageName: node linkType: hard -"@scure/base@npm:~1.1.8": - version: 1.1.8 - resolution: "@scure/base@npm:1.1.8" - checksum: 10c0/f7a1d2b14bcccf263068210dde1237ad23f7b2381f5d4ac33b9377a077aa41327983863f86562651c4407bbf65e3e9e81f4ae565b045109d21acbcdb29d69cd9 - languageName: node - linkType: hard - -"@scure/base@npm:~1.2.1": - version: 1.2.1 - resolution: "@scure/base@npm:1.2.1" - checksum: 10c0/e61068854370855b89c50c28fa4092ea6780f1e0db64ea94075ab574ebcc964f719a3120dc708db324991f4b3e652d92ebda03fce2bf6a4900ceeacf9c0ff933 - languageName: node - linkType: hard - -"@scure/bip32@npm:1.6.0": - version: 1.6.0 - resolution: "@scure/bip32@npm:1.6.0" - dependencies: - "@noble/curves": "npm:~1.7.0" - "@noble/hashes": "npm:~1.6.0" - "@scure/base": "npm:~1.2.1" - checksum: 10c0/5a5eff8c0bc0b53d70528c5eda6efa7ed6d186a5c9ba0a339edf9c150ee3f331d837ffe29d2c6c6336b1f88ad90aa8b6e596a4950217343f36916d8024f79bdf - languageName: node - linkType: hard - -"@scure/bip32@npm:^1.5.0": - version: 1.5.0 - resolution: "@scure/bip32@npm:1.5.0" - dependencies: - "@noble/curves": "npm:~1.6.0" - "@noble/hashes": "npm:~1.5.0" - "@scure/base": "npm:~1.1.7" - checksum: 10c0/3319beda59e7f129d770cbe49709a2d1742f2deb6989b12e37aa1a47cd128a8c943bdd9286c6a5513ef4539307c4bca8f89f9aa91f294cac4598cbf95fa0c01d - languageName: node - linkType: hard - -"@scure/bip39@npm:1.5.0": - version: 1.5.0 - resolution: "@scure/bip39@npm:1.5.0" +"@scure/bip32@npm:1.7.0, @scure/bip32@npm:^1.7.0": + version: 1.7.0 + resolution: "@scure/bip32@npm:1.7.0" dependencies: - "@noble/hashes": "npm:~1.6.0" - "@scure/base": "npm:~1.2.1" - checksum: 10c0/114ab88fb00269d17a73d5c39a2cade47403e05f6df5a8d6f5da6e7f2b071966fe8f656a740dc3399acd006163f234e82b680544c38004703dbb60f8a29daf73 + "@noble/curves": "npm:~1.9.0" + "@noble/hashes": "npm:~1.8.0" + "@scure/base": "npm:~1.2.5" + checksum: 10c0/e3d4c1f207df16abcd79babcdb74d36f89bdafc90bf02218a5140cc5cba25821d80d42957c6705f35210cc5769714ea9501d4ae34732cdd1c26c9ff182a219f7 languageName: node linkType: hard -"@scure/bip39@npm:^1.4.0": - version: 1.4.0 - resolution: "@scure/bip39@npm:1.4.0" +"@scure/bip39@npm:1.6.0, @scure/bip39@npm:^1.6.0": + version: 1.6.0 + resolution: "@scure/bip39@npm:1.6.0" dependencies: - "@noble/hashes": "npm:~1.5.0" - "@scure/base": "npm:~1.1.8" - checksum: 10c0/dcdceeac348ed9c0f545c1a7ef8854ef62d6eb4e7b7aaafa4e2ef27f7e1c5744b0cd26292afd04e1ee59ae035b19abdd65174a444b8db8c238ccc662f6b90eac + "@noble/hashes": "npm:~1.8.0" + "@scure/base": "npm:~1.2.5" + checksum: 10c0/73a54b5566a50a3f8348a5cfd74d2092efeefc485efbed83d7a7374ffd9a75defddf446e8e5ea0385e4adb49a94b8ae83c5bad3e16333af400e932f7da3aaff8 languageName: node linkType: hard @@ -1161,37 +1119,7 @@ __metadata: languageName: node linkType: hard -"abitype@npm:1.0.7": - version: 1.0.7 - resolution: "abitype@npm:1.0.7" - peerDependencies: - typescript: ">=5.0.4" - zod: ^3 >=3.22.0 - peerDependenciesMeta: - typescript: - optional: true - zod: - optional: true - checksum: 10c0/de63055e27bcc8ec14e810c8525c2a61658a1b01dc1e5882af45c96a966ad3911d50dd16d97dfb49c106fb323638a906bcaf1e48f4f1b9c5bf4926dc217a81e1 - languageName: node - linkType: hard - -"abitype@npm:^1.0.6": - version: 1.0.6 - resolution: "abitype@npm:1.0.6" - peerDependencies: - typescript: ">=5.0.4" - zod: ^3 >=3.22.0 - peerDependenciesMeta: - typescript: - optional: true - zod: - optional: true - checksum: 10c0/30ca97010bbf34b9aaed401858eeb6bc30419f7ff11eb34adcb243522dd56c9d8a9d3d406aa5d4f60a7c263902f5136043005698e3f073ea882a4922d43a2929 - languageName: node - linkType: hard - -"abitype@npm:^1.0.8": +"abitype@npm:1.0.8, abitype@npm:^1.0.8": version: 1.0.8 resolution: "abitype@npm:1.0.8" peerDependencies: @@ -2454,12 +2382,12 @@ __metadata: languageName: node linkType: hard -"isows@npm:1.0.6": - version: 1.0.6 - resolution: "isows@npm:1.0.6" +"isows@npm:1.0.7": + version: 1.0.7 + resolution: "isows@npm:1.0.7" peerDependencies: ws: "*" - checksum: 10c0/f89338f63ce2f497d6cd0f86e42c634209328ebb43b3bdfdc85d8f1589ee75f02b7e6d9e1ba274101d0f6f513b1b8cbe6985e6542b4aaa1f0c5fd50d9c1be95c + checksum: 10c0/43c41fe89c7c07258d0be3825f87e12da8ac9023c5b5ae6741ec00b2b8169675c04331ea73ef8c172d37a6747066f4dc93947b17cd369f92828a3b3e741afbda languageName: node linkType: hard @@ -2941,23 +2869,24 @@ __metadata: languageName: node linkType: hard -"ox@npm:0.6.5": - version: 0.6.5 - resolution: "ox@npm:0.6.5" +"ox@npm:0.8.7": + version: 0.8.7 + resolution: "ox@npm:0.8.7" dependencies: - "@adraffy/ens-normalize": "npm:^1.10.1" - "@noble/curves": "npm:^1.6.0" - "@noble/hashes": "npm:^1.5.0" - "@scure/bip32": "npm:^1.5.0" - "@scure/bip39": "npm:^1.4.0" - abitype: "npm:^1.0.6" + "@adraffy/ens-normalize": "npm:^1.11.0" + "@noble/ciphers": "npm:^1.3.0" + "@noble/curves": "npm:^1.9.1" + "@noble/hashes": "npm:^1.8.0" + "@scure/bip32": "npm:^1.7.0" + "@scure/bip39": "npm:^1.6.0" + abitype: "npm:^1.0.8" eventemitter3: "npm:5.0.1" peerDependencies: typescript: ">=5.4.0" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/72a59bfb983395c19c56c93997dd80e3addad92830772534c8fd0667369352a94fde5880949351b5a651d5efd67ec37d6e2bc96fbd72cc5fd7791b463155cac8 + checksum: 10c0/a0919651e35b60d741f745ef6a0cfa1f63daf17d43e95cae7957c291eba90248be0968ee0a6d2f268e5e79f6dbbc3ab3b4617df0bcadcae722843168639795e1 languageName: node linkType: hard @@ -3657,7 +3586,7 @@ __metadata: date-fns: "npm:^4.1.0" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" languageName: unknown linkType: soft @@ -3669,7 +3598,7 @@ __metadata: axios: "npm:^1.7.9" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" languageName: unknown linkType: soft @@ -3686,7 +3615,7 @@ __metadata: semver: "npm:^7.6.3" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" languageName: unknown linkType: soft @@ -3697,7 +3626,7 @@ __metadata: "@intmax2-function/shared": "workspace:*" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" languageName: unknown linkType: soft @@ -3709,7 +3638,7 @@ __metadata: "@intmax2-function/shared": "workspace:*" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" languageName: unknown linkType: soft @@ -3720,28 +3649,28 @@ __metadata: "@intmax2-function/shared": "workspace:*" tsx: "npm:^4.19.2" typescript: "npm:^5.7.3" - viem: "npm:^2.22.10" + viem: "npm:^2.35.1" languageName: unknown linkType: soft -"viem@npm:^2.22.10": - version: 2.22.10 - resolution: "viem@npm:2.22.10" - dependencies: - "@noble/curves": "npm:1.7.0" - "@noble/hashes": "npm:1.6.1" - "@scure/bip32": "npm:1.6.0" - "@scure/bip39": "npm:1.5.0" - abitype: "npm:1.0.7" - isows: "npm:1.0.6" - ox: "npm:0.6.5" - ws: "npm:8.18.0" +"viem@npm:^2.35.1": + version: 2.35.1 + resolution: "viem@npm:2.35.1" + dependencies: + "@noble/curves": "npm:1.9.6" + "@noble/hashes": "npm:1.8.0" + "@scure/bip32": "npm:1.7.0" + "@scure/bip39": "npm:1.6.0" + abitype: "npm:1.0.8" + isows: "npm:1.0.7" + ox: "npm:0.8.7" + ws: "npm:8.18.3" peerDependencies: typescript: ">=5.0.4" peerDependenciesMeta: typescript: optional: true - checksum: 10c0/f7029c1632eb05c32b680d13eeef634f3fa3ef25ad830b22781e097ea1cad0c540b6b03f4031996434a66839351e9c2e9b191fac8cd160309662d403dd2d0f48 + checksum: 10c0/56685b41fb740f61af76e4f205bf576942051da8f3d96f44ba06f6926f53f94227042315c09a88ac97024c6b2926f90ab9fd1407bfbdd44b10333d351b8faf63 languageName: node linkType: hard @@ -3880,9 +3809,9 @@ __metadata: languageName: node linkType: hard -"ws@npm:8.18.0": - version: 8.18.0 - resolution: "ws@npm:8.18.0" +"ws@npm:8.18.3": + version: 8.18.3 + resolution: "ws@npm:8.18.3" peerDependencies: bufferutil: ^4.0.1 utf-8-validate: ">=5.0.2" @@ -3891,7 +3820,7 @@ __metadata: optional: true utf-8-validate: optional: true - checksum: 10c0/25eb33aff17edcb90721ed6b0eb250976328533ad3cd1a28a274bd263682e7296a6591ff1436d6cbc50fa67463158b062f9d1122013b361cec99a05f84680e06 + checksum: 10c0/eac918213de265ef7cb3d4ca348b891a51a520d839aa51cdb8ca93d4fa7ff9f6ccb339ccee89e4075324097f0a55157c89fa3f7147bde9d8d7e90335dc087b53 languageName: node linkType: hard