diff --git a/.changeset/little-ravens-warn.md b/.changeset/little-ravens-warn.md deleted file mode 100644 index c86607f97fd..00000000000 --- a/.changeset/little-ravens-warn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": patch ---- - -Added `"already known"` as a node message matcher to `NonceTooLowError`. diff --git a/.changeset/swift-carpets-accept.md b/.changeset/swift-carpets-accept.md deleted file mode 100644 index 56c7470cd3f..00000000000 --- a/.changeset/swift-carpets-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"viem": minor ---- - -Added formatter for Optimism transaction receipts (format `l1GasPrice`, `l1GasUsed`, etc). diff --git a/.changeset/twenty-apples-pull.md b/.changeset/twenty-apples-pull.md deleted file mode 100644 index 6d21dfd5d77..00000000000 --- a/.changeset/twenty-apples-pull.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"viem": minor ---- - -Added entrypoints for chain utilities (`viem/chains/utils`) with exports for chain-specific chains, formatters, serializers, and types. - -Examples: - -```ts -import { - type CeloBlock, - type CeloTransaction, - type OptimismBlock, - type OptimismTransaction, - serializeTransactionCelo, -} from 'viem/chains/utils' -``` diff --git a/CHANGELOG.md b/CHANGELOG.md index 263920908c2..3681a3bc822 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # viem +## 1.6.0 + +### Minor Changes + +- [#886](https://github.com/wagmi-dev/viem/pull/886) [`fef66bfb`](https://github.com/wagmi-dev/viem/commit/fef66bfbb9d0c9a94f3f607867738432bcbfef85) Thanks [@jxom](https://github.com/jxom)! - Added formatter for Optimism transaction receipts (format `l1GasPrice`, `l1GasUsed`, etc). + +* [#886](https://github.com/wagmi-dev/viem/pull/886) [`fef66bfb`](https://github.com/wagmi-dev/viem/commit/fef66bfbb9d0c9a94f3f607867738432bcbfef85) Thanks [@jxom](https://github.com/jxom)! - Added entrypoints for chain utilities (`viem/chains/utils`) with exports for chain-specific chains, formatters, serializers, and types. + + Examples: + + ```ts + import { + type CeloBlock, + type CeloTransaction, + type OptimismBlock, + type OptimismTransaction, + serializeTransactionCelo, + } from 'viem/chains/utils' + ``` + +### Patch Changes + +- [#1008](https://github.com/wagmi-dev/viem/pull/1008) [`9d93953f`](https://github.com/wagmi-dev/viem/commit/9d93953ffc66d70ccbe7e05862edfeadb1334a9e) Thanks [@holic](https://github.com/holic)! - Added `"already known"` as a node message matcher to `NonceTooLowError`. + ## 1.5.4 ### Patch Changes diff --git a/package.json b/package.json index 4fbb3e04fc7..b409935d4b4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "viem", "description": "TypeScript Interface for Ethereum", - "version": "1.5.4", + "version": "1.6.0", "scripts": { "bench": "vitest bench", "bench:ci": "CI=true vitest bench", @@ -116,17 +116,39 @@ }, "typesVersions": { "*": { - "abi": ["./dist/types/abi.d.ts"], - "accounts": ["./dist/types/accounts/index.d.ts"], - "actions": ["./dist/types/actions/index.d.ts"], - "chains": ["./dist/types/chains.d.ts"], - "contract": ["./dist/types/contract.d.ts"], - "ens": ["./dist/types/ens.d.ts"], - "public": ["./dist/types/public.d.ts"], - "test": ["./dist/types/test.d.ts"], - "utils": ["./dist/types/utils/index.d.ts"], - "wallet": ["./dist/types/wallet.d.ts"], - "window": ["./dist/types/window.d.ts"] + "abi": [ + "./dist/types/abi.d.ts" + ], + "accounts": [ + "./dist/types/accounts/index.d.ts" + ], + "actions": [ + "./dist/types/actions/index.d.ts" + ], + "chains": [ + "./dist/types/chains.d.ts" + ], + "contract": [ + "./dist/types/contract.d.ts" + ], + "ens": [ + "./dist/types/ens.d.ts" + ], + "public": [ + "./dist/types/public.d.ts" + ], + "test": [ + "./dist/types/test.d.ts" + ], + "utils": [ + "./dist/types/utils/index.d.ts" + ], + "wallet": [ + "./dist/types/wallet.d.ts" + ], + "window": [ + "./dist/types/window.d.ts" + ] } }, "peerDependencies": { @@ -174,14 +196,23 @@ }, "license": "MIT", "repository": "wagmi-dev/viem", - "authors": ["awkweb.eth", "jxom.eth"], + "authors": [ + "awkweb.eth", + "jxom.eth" + ], "funding": [ { "type": "github", "url": "https://github.com/sponsors/wagmi-dev" } ], - "keywords": ["eth", "ethereum", "dapps", "wallet", "web3"], + "keywords": [ + "eth", + "ethereum", + "dapps", + "wallet", + "web3" + ], "size-limit": [ { "name": "viem (cjs)", @@ -234,7 +265,9 @@ "viem": "workspace:*" }, "peerDependencyRules": { - "ignoreMissing": ["@algolia/client-search"] + "ignoreMissing": [ + "@algolia/client-search" + ] }, "patchedDependencies": { "vitepress@1.0.0-beta.4": "patches/vitepress@1.0.0-beta.4.patch" diff --git a/src/errors/version.ts b/src/errors/version.ts index c4f2d7b160b..a3e1000696a 100644 --- a/src/errors/version.ts +++ b/src/errors/version.ts @@ -1 +1 @@ -export const version = '1.5.4' +export const version = '1.6.0'