diff --git a/.changeset/dull-dancers-hear.md b/.changeset/dull-dancers-hear.md deleted file mode 100644 index 7406c7800f..0000000000 --- a/.changeset/dull-dancers-hear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Fixed LRU algorithm to update touched keys. diff --git a/.changeset/real-turkeys-bathe.md b/.changeset/real-turkeys-bathe.md deleted file mode 100644 index 443c2a0b2e..0000000000 --- a/.changeset/real-turkeys-bathe.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added error handling if scientific notation is passed to `parseUnits`. diff --git a/.changeset/seven-emus-fetch.md b/.changeset/seven-emus-fetch.md deleted file mode 100644 index 123ab812d5..0000000000 --- a/.changeset/seven-emus-fetch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Replaced instances of `2n ** 256n - 1n` with the `maxUint256` constant. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d77ed37136..d8b21b6b00 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -156,7 +156,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -169,7 +169,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.5.4)(zod@3.22.4) + version: 2.21.2(typescript@5.5.4)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -182,7 +182,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -195,7 +195,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -208,7 +208,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -227,7 +227,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -255,7 +255,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -277,7 +277,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -290,7 +290,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -309,7 +309,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -331,7 +331,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -344,7 +344,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -357,7 +357,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -370,7 +370,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -417,7 +417,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -445,7 +445,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.5.4)(zod@3.22.4) + version: 2.21.2(typescript@5.5.4)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -467,7 +467,7 @@ importers: dependencies: viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -486,7 +486,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -520,7 +520,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.21.1(typescript@5.4.2)(zod@3.22.4) + version: 2.21.2(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -2344,9 +2344,6 @@ packages: '@scure/bip32@1.4.0': resolution: {integrity: sha512-sVUpc0Vq3tXCkDGYVWGIZTRfnvu8LoTDaev7vbwh0omSvVORONr960MQWdKqJDCReIEmTj3PAr73O3aoxz7OPg==} - '@scure/bip39@1.3.0': - resolution: {integrity: sha512-disdg7gHuTDZtY+ZdkmLpPCk7fxZSu3gBiEGuoC1XYxv9cGx3Z6cpTggCgW6odSOOIXCiDjuGejW+aJKCY/pIQ==} - '@scure/bip39@1.4.0': resolution: {integrity: sha512-BEEm6p8IueV/ZTfQLp/0vhw4NPnT9oWf5+28nvmeUICjP99f4vr2d+qc7AVGDDtwRep6ifR43Yed9ERVmiITzw==} @@ -3110,6 +3107,7 @@ packages: bun@1.1.12: resolution: {integrity: sha512-NZzeZuZk7VwCs8VAXnXUHCPOlTS/IyHCscChtT1M1FLSwhBcVMsGVStYlXaaoqsinBKgp0CGJdhnJw2gR3NkDw==} + cpu: [arm64, x64] os: [darwin, linux, win32] hasBin: true @@ -6636,14 +6634,6 @@ packages: vfile@6.0.1: resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} - viem@2.21.1: - resolution: {integrity: sha512-nlIc2LLS6aqkngULS9UJ2Sg3nHKAgF9bbpDUwjUoAUBijd69mrCWPBXQ8jmbzcx12uZUfd9Nc//CHgSVZiMwyg==} - peerDependencies: - typescript: '>=5.0.4' - peerDependenciesMeta: - typescript: - optional: true - viem@2.21.2: resolution: {integrity: sha512-gTzwKbmyepEDUBKXs3GslTcg5KXfDIgQfHKNxIV9cs7Xout55F8NvHhNeBGBfuw1Ix4Vz8aCMFGYwX5a64CGFg==} peerDependencies: @@ -8750,11 +8740,6 @@ snapshots: '@noble/hashes': 1.4.0 '@scure/base': 1.1.6 - '@scure/bip39@1.3.0': - dependencies: - '@noble/hashes': 1.4.0 - '@scure/base': 1.1.8 - '@scure/bip39@1.4.0': dependencies: '@noble/hashes': 1.5.0 @@ -14112,13 +14097,13 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - viem@2.21.1(typescript@5.4.2)(zod@3.22.4): + viem@2.21.2(typescript@5.4.2)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.4.0 '@noble/hashes': 1.4.0 '@scure/bip32': 1.4.0 - '@scure/bip39': 1.3.0 + '@scure/bip39': 1.4.0 abitype: 1.0.5(typescript@5.4.2)(zod@3.22.4) isows: 1.0.4(ws@8.17.1) webauthn-p256: 0.0.5 @@ -14130,37 +14115,37 @@ snapshots: - utf-8-validate - zod - viem@2.21.1(typescript@5.5.4)(zod@3.22.4): + viem@2.21.2(typescript@5.5.2)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.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.5.4)(zod@3.22.4) + '@scure/bip39': 1.4.0 + abitype: 1.0.5(typescript@5.5.2)(zod@3.22.4) isows: 1.0.4(ws@8.17.1) webauthn-p256: 0.0.5 ws: 8.17.1 optionalDependencies: - typescript: 5.5.4 + typescript: 5.5.2 transitivePeerDependencies: - bufferutil - utf-8-validate - zod - viem@2.21.2(typescript@5.5.2)(zod@3.22.4): + viem@2.21.2(typescript@5.5.4)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.4.0 '@noble/hashes': 1.4.0 '@scure/bip32': 1.4.0 '@scure/bip39': 1.4.0 - abitype: 1.0.5(typescript@5.5.2)(zod@3.22.4) + abitype: 1.0.5(typescript@5.5.4)(zod@3.22.4) isows: 1.0.4(ws@8.17.1) webauthn-p256: 0.0.5 ws: 8.17.1 optionalDependencies: - typescript: 5.5.2 + typescript: 5.5.4 transitivePeerDependencies: - bufferutil - utf-8-validate diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 88fda3fddb..e34856eed4 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,15 @@ # viem +## 2.21.3 + +### Patch Changes + +- [#2693](https://github.com/wevm/viem/pull/2693) [`764f259f`](https://github.com/wevm/viem/commit/764f259f016dda7817def229adedea65cd6b9d63) Thanks [@kyscott18](https://github.com/kyscott18)! - Fixed LRU algorithm to update touched keys. + +- [`19a66282`](https://github.com/wevm/viem/commit/19a66282e6e1d2a7702cb82f1f12b69141389b76) Thanks [@jxom](https://github.com/jxom)! - Added error handling if scientific notation is passed to `parseUnits`. + +- [#2692](https://github.com/wevm/viem/pull/2692) [`70814af6`](https://github.com/wevm/viem/commit/70814af6fb6ef90ee68c74b12998295a229c5435) Thanks [@frapsMatheus](https://github.com/frapsMatheus)! - Replaced instances of `2n ** 256n - 1n` with the `maxUint256` constant. + ## 2.21.2 ### Patch Changes diff --git a/src/errors/version.ts b/src/errors/version.ts index 5023559f7d..5ba7e3d7d3 100644 --- a/src/errors/version.ts +++ b/src/errors/version.ts @@ -1 +1 @@ -export const version = '2.21.2' +export const version = '2.21.3' diff --git a/src/jsr.json b/src/jsr.json index 96ecbcf2d7..9fee021e19 100644 --- a/src/jsr.json +++ b/src/jsr.json @@ -1,6 +1,6 @@ { "name": "@wevm/viem", - "version": "2.21.2", + "version": "2.21.3", "exports": { ".": "./index.ts", "./accounts": "./accounts/index.ts", diff --git a/src/package.json b/src/package.json index f7067f27b3..e5c0313a6c 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "viem", "description": "TypeScript Interface for Ethereum", - "version": "2.21.2", + "version": "2.21.3", "type": "module", "main": "./_cjs/index.js", "module": "./_esm/index.js",