diff --git a/.changeset/three-dogs-run.md b/.changeset/three-dogs-run.md deleted file mode 100644 index 2ef90bd2d5..0000000000 --- a/.changeset/three-dogs-run.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Deprecated `getBytecode` (use `getCode` instead). diff --git a/.changeset/young-pants-draw.md b/.changeset/young-pants-draw.md deleted file mode 100644 index bd7d1948fd..0000000000 --- a/.changeset/young-pants-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added `code` as a parameter to `call` + `readContract` – to enable [Deployless Calls via Bytecode](https://viem.sh/docs/actions/public/call#bytecode). diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fdd1109d41..f038dbba70 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -156,7 +156,7 @@ importers: dependencies: viem: specifier: latest - version: 2.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.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.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -426,7 +426,7 @@ importers: dependencies: viem: specifier: latest - version: 2.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.0(typescript@5.4.2)(zod@3.22.4) devDependencies: typescript: specifier: ^5.0.3 @@ -445,7 +445,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -479,7 +479,7 @@ importers: version: 18.2.0(react@18.2.0) viem: specifier: latest - version: 2.13.10(typescript@5.4.2)(zod@3.22.4) + version: 2.14.0(typescript@5.4.2)(zod@3.22.4) devDependencies: '@types/react': specifier: ^18.0.27 @@ -6002,8 +6002,8 @@ packages: vfile@6.0.1: resolution: {integrity: sha512-1bYqc7pt6NIADBJ98UiG0Bn/CHIVOoZ/IyEkqIruLg0mE1BKzkOXY2D6CSqQIcKqgadppE5lrxgWXJmXd7zZJw==} - viem@2.13.10: - resolution: {integrity: sha512-fPnbjqlLfWniczYCbnK47MKjyp1/O/b5wMe5ZpflpccD3GUz/f47dLxwLjfSYxXkwS+GERWHWd+2OXb6N/BBQA==} + viem@2.14.0: + resolution: {integrity: sha512-+XnuRNONDRyMNEM+1n6Ak41Py0KBFOmirQ67wPv//ytCmNIJhmy8vqhdFREr3m51GAGgDkllh4JoAdCUUaZJLw==} peerDependencies: typescript: '>=5.0.4' peerDependenciesMeta: @@ -12694,7 +12694,7 @@ snapshots: unist-util-stringify-position: 4.0.0 vfile-message: 4.0.2 - viem@2.13.10(typescript@5.4.2)(zod@3.22.4): + viem@2.14.0(typescript@5.4.2)(zod@3.22.4): dependencies: '@adraffy/ens-normalize': 1.10.0 '@noble/curves': 1.2.0 diff --git a/src/CHANGELOG.md b/src/CHANGELOG.md index 5df6c3cf40..6c86cf33e1 100644 --- a/src/CHANGELOG.md +++ b/src/CHANGELOG.md @@ -1,5 +1,13 @@ # viem +## 2.14.1 + +### Patch Changes + +- [#2411](https://github.com/wevm/viem/pull/2411) [`2fc14e50`](https://github.com/wevm/viem/commit/2fc14e50df3d6796cd29add44d0467320cb06195) Thanks [@tmm](https://github.com/tmm)! - Deprecated `getBytecode` (use `getCode` instead). + +- [#2408](https://github.com/wevm/viem/pull/2408) [`21cb684a`](https://github.com/wevm/viem/commit/21cb684a6e41fc65ac0f15c0ee08df296f2b1a15) Thanks [@jxom](https://github.com/jxom)! - Added `code` as a parameter to `call` + `readContract` – to enable [Deployless Calls via Bytecode](https://viem.sh/docs/actions/public/call#bytecode). + ## 2.14.0 ### Minor Changes diff --git a/src/errors/version.ts b/src/errors/version.ts index cc104c219f..294ba051d7 100644 --- a/src/errors/version.ts +++ b/src/errors/version.ts @@ -1 +1 @@ -export const version = '2.14.0' +export const version = '2.14.1' diff --git a/src/jsr.json b/src/jsr.json index 560525f514..719a4b128d 100644 --- a/src/jsr.json +++ b/src/jsr.json @@ -1,6 +1,6 @@ { "name": "@wevm/viem", - "version": "2.14.0", + "version": "2.14.1", "exports": { ".": "./index.ts", "./accounts": "./accounts/index.ts", @@ -16,7 +16,12 @@ "./zksync": "./zksync/index.ts" }, "publish": { - "include": ["LICENSE", "README.md", "CHANGELOG.md", "**/*.ts"], + "include": [ + "LICENSE", + "README.md", + "CHANGELOG.md", + "**/*.ts" + ], "exclude": [ "**/*.bench.ts", "**/*.bench-d.ts", @@ -24,4 +29,4 @@ "**/*.test-d.ts" ] } -} +} \ No newline at end of file diff --git a/src/package.json b/src/package.json index 2a97204b90..00de6b9bdc 100644 --- a/src/package.json +++ b/src/package.json @@ -1,7 +1,7 @@ { "name": "viem", "description": "TypeScript Interface for Ethereum", - "version": "2.14.0", + "version": "2.14.1", "type": "module", "main": "./_cjs/index.js", "module": "./_esm/index.js", @@ -94,19 +94,45 @@ }, "typesVersions": { "*": { - "accounts": ["./_types/accounts/index.d.ts"], - "actions": ["./_types/actions/index.d.ts"], - "celo": ["./_types/celo/index.d.ts"], - "chains": ["./_types/chains/index.d.ts"], - "chains/utils": ["./_types/chains/utils.d.ts"], - "ens": ["./_types/ens/index.d.ts"], - "experimental": ["./_types/experimental/index.d.ts"], - "node": ["./_types/node/index.d.ts"], - "op-stack": ["./_types/op-stack/index.d.ts"], - "siwe": ["./_types/siwe/index.d.ts"], - "utils": ["./_types/utils/index.d.ts"], - "window": ["./_types/window/index.d.ts"], - "zksync": ["./_types/zksync/index.d.ts"] + "accounts": [ + "./_types/accounts/index.d.ts" + ], + "actions": [ + "./_types/actions/index.d.ts" + ], + "celo": [ + "./_types/celo/index.d.ts" + ], + "chains": [ + "./_types/chains/index.d.ts" + ], + "chains/utils": [ + "./_types/chains/utils.d.ts" + ], + "ens": [ + "./_types/ens/index.d.ts" + ], + "experimental": [ + "./_types/experimental/index.d.ts" + ], + "node": [ + "./_types/node/index.d.ts" + ], + "op-stack": [ + "./_types/op-stack/index.d.ts" + ], + "siwe": [ + "./_types/siwe/index.d.ts" + ], + "utils": [ + "./_types/utils/index.d.ts" + ], + "window": [ + "./_types/window/index.d.ts" + ], + "zksync": [ + "./_types/zksync/index.d.ts" + ] } }, "peerDependencies": { @@ -130,12 +156,22 @@ "license": "MIT", "homepage": "https://viem.sh", "repository": "wevm/viem", - "authors": ["awkweb.eth", "jxom.eth"], + "authors": [ + "awkweb.eth", + "jxom.eth" + ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/wevm" } ], - "keywords": ["eth", "ethereum", "dapps", "wallet", "web3", "typescript"] + "keywords": [ + "eth", + "ethereum", + "dapps", + "wallet", + "web3", + "typescript" + ] }