diff --git a/.changeset/eighty-lies-stare.md b/.changeset/eighty-lies-stare.md deleted file mode 100644 index efb87b403a..0000000000 --- a/.changeset/eighty-lies-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added Botanix Testnet. diff --git a/.changeset/honest-zoos-look.md b/.changeset/honest-zoos-look.md deleted file mode 100644 index a714b100a5..0000000000 --- a/.changeset/honest-zoos-look.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added Sophon Testnet. diff --git a/.changeset/new-ravens-beg.md b/.changeset/new-ravens-beg.md deleted file mode 100644 index b38a27424e..0000000000 --- a/.changeset/new-ravens-beg.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added Holesky API URL. diff --git a/.changeset/pretty-cows-collect.md b/.changeset/pretty-cows-collect.md deleted file mode 100644 index b1124283e9..0000000000 --- a/.changeset/pretty-cows-collect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added Hashkey Chain testnet. diff --git a/.changeset/serious-rockets-explode.md b/.changeset/serious-rockets-explode.md deleted file mode 100644 index 0afab64773..0000000000 --- a/.changeset/serious-rockets-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Exported `portuguese` wordlist. diff --git a/.changeset/sour-ads-reflect.md b/.changeset/sour-ads-reflect.md deleted file mode 100644 index 1698595d97..0000000000 --- a/.changeset/sour-ads-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added kaia chain. diff --git a/.changeset/tiny-dots-cry.md b/.changeset/tiny-dots-cry.md deleted file mode 100644 index 3d302a9cba..0000000000 --- a/.changeset/tiny-dots-cry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added multicall3 to Sophon Testnet. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 914fe70c1c..b0b9b8a6fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -156,7 +156,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(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.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -182,7 +182,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(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.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -214,7 +214,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -242,7 +242,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -264,7 +264,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -277,7 +277,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -296,7 +296,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -318,7 +318,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -331,7 +331,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(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.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(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.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -404,7 +404,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -432,7 +432,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.5.4)(zod@3.22.4) + version: 2.20.0(typescript@5.5.4)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -454,7 +454,7 @@ importers: dependencies: viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -473,7 +473,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -507,7 +507,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.19.9(typescript@5.4.2)(zod@3.22.4) + version: 2.20.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -6757,8 +6757,8 @@ packages: vfile@6.0.1: resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} - viem@2.19.9: - resolution: {integrity: sha512-KFPSfewr8tFaSYcLAC+sgkYXdZ1llX8rJrBjd/OMg1D+T4eeQyYy5S6iJTSnwYpjz8hrjSlL30RuFf4BF3jtMw==} + viem@2.20.0: + resolution: {integrity: sha512-cM4vs81HnSNbfceI1MLkx4pCVzbVjl9xiNSv5SCutYjUyFFOVSPDlEyhpg2iHinxx1NM4Qne3END5eLT8rvUdg==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -8447,7 +8447,7 @@ snapshots: pino-http: 8.6.1 pino-pretty: 10.3.1 prom-client: 14.2.0 - viem: 2.19.9(typescript@5.5.2)(zod@3.22.4) + viem: 2.20.0(typescript@5.5.2)(zod@3.22.4) yargs: 17.7.2 zod: 3.22.4 zod-validation-error: 1.5.0(zod@3.22.4) @@ -14339,7 +14339,7 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - viem@2.19.9(typescript@5.4.2)(zod@3.22.4): + viem@2.20.0(typescript@5.4.2)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.4.0 @@ -14357,7 +14357,7 @@ snapshots: - utf-8-validate - zod - viem@2.19.9(typescript@5.5.2)(zod@3.22.4): + viem@2.20.0(typescript@5.5.2)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.4.0 @@ -14375,7 +14375,7 @@ snapshots: - utf-8-validate - zod - viem@2.19.9(typescript@5.5.4)(zod@3.22.4): + viem@2.20.0(typescript@5.5.4)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.4.0 diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 77a2bbfb39..3f7eebb281 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,23 @@ # viem +## 2.20.1 + +### Patch Changes + +- [#2646](https://github.com/wevm/viem/pull/2646) [`50bde96b`](https://github.com/wevm/viem/commit/50bde96b39e4e2980e995f5288ea9b6a2f62a530) Thanks [@thobbyAk](https://github.com/thobbyAk)! - Added Botanix Testnet. + +- [#2644](https://github.com/wevm/viem/pull/2644) [`2eb817a2`](https://github.com/wevm/viem/commit/2eb817a25bfe0bfdb36df02c7907f38b889f474a) Thanks [@RobbyUitbeijerse](https://github.com/RobbyUitbeijerse)! - Added Sophon Testnet. + +- [#2656](https://github.com/wevm/viem/pull/2656) [`df905fe5`](https://github.com/wevm/viem/commit/df905fe5dd87e1a2a78494eba1845c6012606a51) Thanks [@Jabher](https://github.com/Jabher)! - Added Holesky API URL. + +- [#2654](https://github.com/wevm/viem/pull/2654) [`02415bce`](https://github.com/wevm/viem/commit/02415bcef331eeeee18f5e427766048b6fb33a96) Thanks [@lyszhang](https://github.com/lyszhang)! - Added Hashkey Chain testnet. + +- [#2657](https://github.com/wevm/viem/pull/2657) [`f31e93ec`](https://github.com/wevm/viem/commit/f31e93ec5ad65e551bb3a152f138aff3a157b9f6) Thanks [@jeanregisser](https://github.com/jeanregisser)! - Exported `portuguese` wordlist. + +- [#2643](https://github.com/wevm/viem/pull/2643) [`8ac740e9`](https://github.com/wevm/viem/commit/8ac740e9cec18a3138a771053eeb45397179885a) Thanks [@0oooooooo0](https://github.com/0oooooooo0)! - Added kaia chain. + +- [#2655](https://github.com/wevm/viem/pull/2655) [`4d874283`](https://github.com/wevm/viem/commit/4d8742836f53753e3ab1312c8aa3a66284253d22) Thanks [@RobbyUitbeijerse](https://github.com/RobbyUitbeijerse)! - Added multicall3 to Sophon Testnet. + ## 2.20.0 ### Minor Changes diff --git a/src/chains/definitions/klaytn.ts b/src/chains/definitions/klaytn.ts index 90640636d6..90cfe61d63 100644 --- a/src/chains/definitions/klaytn.ts +++ b/src/chains/definitions/klaytn.ts @@ -1,26 +1,26 @@ import { defineChain } from '../../utils/chain/defineChain.js' export const klaytn = /*#__PURE__*/ defineChain({ - id: 8_217, + id: 8_217, + name: 'Klaytn', + nativeCurrency: { + decimals: 18, name: 'Klaytn', - nativeCurrency: { - decimals: 18, - name: 'Klaytn', - symbol: 'KLAY', + symbol: 'KLAY', + }, + rpcUrls: { + default: { http: ['https://public-en-cypress.klaytn.net'] }, + }, + blockExplorers: { + default: { + name: 'KlaytnScope', + url: 'https://scope.klaytn.com', }, - rpcUrls: { - default: { http: ['https://public-en-cypress.klaytn.net'] }, - }, - blockExplorers: { - default: { - name: 'KlaytnScope', - url: 'https://scope.klaytn.com', - }, - }, - contracts: { - multicall3: { - address: '0xcA11bde05977b3631167028862bE2a173976CA11', - blockCreated: 96002415, - }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 96002415, }, + }, }) diff --git a/src/chains/definitions/klaytnBaobab.ts b/src/chains/definitions/klaytnBaobab.ts index eeefb1e34c..774dccb3e9 100644 --- a/src/chains/definitions/klaytnBaobab.ts +++ b/src/chains/definitions/klaytnBaobab.ts @@ -1,28 +1,28 @@ import { defineChain } from '../../utils/chain/defineChain.js' export const klaytnBaobab = /*#__PURE__*/ defineChain({ - id: 1_001, - name: 'Klaytn Baobab Testnet', - network: 'klaytn-baobab', - nativeCurrency: { - decimals: 18, - name: 'Baobab Klaytn', - symbol: 'KLAY', + id: 1_001, + name: 'Klaytn Baobab Testnet', + network: 'klaytn-baobab', + nativeCurrency: { + decimals: 18, + name: 'Baobab Klaytn', + symbol: 'KLAY', + }, + rpcUrls: { + default: { http: ['https://public-en-baobab.klaytn.net'] }, + }, + blockExplorers: { + default: { + name: 'KlaytnScope', + url: 'https://baobab.klaytnscope.com', }, - rpcUrls: { - default: { http: ['https://public-en-baobab.klaytn.net'] }, + }, + contracts: { + multicall3: { + address: '0xcA11bde05977b3631167028862bE2a173976CA11', + blockCreated: 123390593, }, - blockExplorers: { - default: { - name: 'KlaytnScope', - url: 'https://baobab.klaytnscope.com', - }, - }, - contracts: { - multicall3: { - address: '0xcA11bde05977b3631167028862bE2a173976CA11', - blockCreated: 123390593, - }, - }, - testnet: true, + }, + testnet: true, }) diff --git a/src/errors/version.ts b/src/errors/version.ts index 1cffb7ee2d..f37d9ff3fb 100644 --- a/src/errors/version.ts +++ b/src/errors/version.ts @@ -1 +1 @@ -export const version = '2.20.0' +export const version = '2.20.1' diff --git a/src/jsr.json b/src/jsr.json index 53917a7401..2768a189e3 100644 --- a/src/jsr.json +++ b/src/jsr.json @@ -1,6 +1,6 @@ { "name": "@wevm/viem", - "version": "2.20.0", + "version": "2.20.1", "exports": { ".": "./index.ts", "./accounts": "./accounts/index.ts", diff --git a/src/package.json b/src/package.json index 7abd469501..4a9dc91385 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "viem", "description": "TypeScript Interface for Ethereum", - "version": "2.20.0", + "version": "2.20.1", "type": "module", "main": "./_cjs/index.js", "module": "./_esm/index.js",