Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #1005

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/light-nails-agree.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/little-ravens-warn.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-goats-grab.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/sweet-lemons-explain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-carpets-accept.md

This file was deleted.

17 changes: 0 additions & 17 deletions .changeset/twenty-apples-pull.md

This file was deleted.

46 changes: 46 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,51 @@
# viem

## 1.6.0

### Minor Changes

- [#984](https://github.com/wagmi-dev/viem/pull/984) [`e1032c7b`](https://github.com/wagmi-dev/viem/commit/e1032c7bd9effb3fb0d57ebf90cdd37c7e1c06c1) Thanks [@holic](https://github.com/holic)! - Added `signTransaction` & `privateKeyToAddress` exports to `viem/accounts` entrypoint.

* [#1006](https://github.com/wagmi-dev/viem/pull/1006) [`7311e201`](https://github.com/wagmi-dev/viem/commit/7311e201d273776d93471f459f55dd598a4f6e52) Thanks [@jxom](https://github.com/jxom)! - Added `fees` to `chain` config that includes a `defaultPriorityFee` for setting a default priority fee (`maxPriorityFeePerGas`) for a chain.

```ts
import type { Chain } from 'viem'

export const example = {
// ...
fees: {
defaultPriorityFee: 1_000_000n, // 0.001 gwei
// or
async defaultPriorityFee() {
// ... some async behavior to derive the fee.
}
},
// ...
} as const satifies Chain
```

- [#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

- [`99332168`](https://github.com/wagmi-dev/viem/commit/993321689b3e2220976504e7e170fe47731297ce) Thanks [@jxom](https://github.com/jxom)! - Updated `@noble/curves`

* [#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
Expand Down
63 changes: 48 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -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": {
Expand Down Expand Up @@ -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)",
Expand Down Expand Up @@ -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"
Expand Down