Skip to content

Commit 24c04e7

Browse files
chore: version package (#3499)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 0851764 commit 24c04e7

14 files changed

+90
-118
lines changed

.changeset/clever-mice-laugh.md

-9
This file was deleted.

.changeset/dirty-trees-pay.md

-5
This file was deleted.

.changeset/mighty-maps-dress.md

-5
This file was deleted.

.changeset/new-seas-wash.md

-5
This file was deleted.

.changeset/odd-parents-crash.md

-44
This file was deleted.

.changeset/real-chicken-sleep.md

-5
This file was deleted.

.changeset/shaggy-seas-walk.md

-5
This file was deleted.

.changeset/tough-apples-occur.md

-5
This file was deleted.

.changeset/violet-bikes-hear.md

-5
This file was deleted.

pnpm-lock.yaml

+20-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/CHANGELOG.md

+67
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,72 @@
11
# viem
22

3+
## 2.24.0
4+
5+
### Minor Changes
6+
7+
- [#3427](https://github.com/wevm/viem/pull/3427) [`2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7`](https://github.com/wevm/viem/commit/2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7) Thanks [@jxom](https://github.com/jxom)! - Stabilized EIP-7702.
8+
9+
- Added `prepareAuthorization` and `signAuthorization` Actions to the Wallet Client.
10+
- Added `hashAuthorization`, `recoverAuthorizationAddress`, and `verifyAuthorization` Utilities.
11+
- Renamed `account.experimental_signAuthorization` to `account.signAuthorization`.
12+
13+
- [#3427](https://github.com/wevm/viem/pull/3427) [`2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7`](https://github.com/wevm/viem/commit/2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7) Thanks [@jxom](https://github.com/jxom)! - **BREAKING (Experimental)**: Removed deprecated `walletActionsEip5792` export. Use `eip5792Actions` instead.
14+
15+
- [#3427](https://github.com/wevm/viem/pull/3427) [`2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7`](https://github.com/wevm/viem/commit/2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7) Thanks [@jxom](https://github.com/jxom)! - **BREAKING (Experimental)**: Removed deprecated ERC-6492 exports in `viem/experimental`. These are no longer experimental. Use exports from `viem` instead.
16+
17+
- [#3427](https://github.com/wevm/viem/pull/3427) [`2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7`](https://github.com/wevm/viem/commit/2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7) Thanks [@jxom](https://github.com/jxom)! - **BREAKING (Experimental)**: Removed deprecated `walletActionsErc7715` export. Use `erc7715Actions` instead.
18+
19+
- [#3427](https://github.com/wevm/viem/pull/3427) [`2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7`](https://github.com/wevm/viem/commit/2a5ded4eab7febcf2b77a88cfe3c34a621d4dfe7) Thanks [@jxom](https://github.com/jxom)! - **BREAKING (Experimental)**:
20+
21+
Removed EIP-7702 exports in `viem/experimental`. These are no longer experimental. Use exports from `viem` or `viem/utils` instead.
22+
23+
Note, there is also a behavioral change in the stable EIP-7702 `signAuthorization` function. Previously, it was assumed that the signer of the Authorization was also the executor of the Transaction. This is no longer the case.
24+
25+
If the signer of the Authorization is **NOT** the executor of the Transaction, you no longer need to pass a `sponsor` parameter.
26+
27+
```diff
28+
const eoa = privateKeyToAccount('0x...')
29+
const relay = privateKeyToAccount('0x...')
30+
31+
const authorization = await client.signAuthorization({
32+
account: eoa,
33+
contractAddress: '0x...',
34+
- sponsor: true
35+
})
36+
37+
const transaction = await client.sendTransaction({
38+
account: relay,
39+
authorizationList: [authorization],
40+
})
41+
```
42+
43+
If the signer of the Authorization is **ALSO** the executor of the Transaction, you will now need to pass the `executor` parameter with a value of `'self'`.
44+
45+
```diff
46+
const eoa = privateKeyToAccount('0x...')
47+
48+
const authorization = await client.signAuthorization({
49+
account: eoa,
50+
contractAddress: '0x...',
51+
+ executor: 'self',
52+
})
53+
54+
const transaction = await client.sendTransaction({
55+
account: eoa,
56+
authorizationList: [authorization],
57+
})
58+
```
59+
60+
### Patch Changes
61+
62+
- [#3469](https://github.com/wevm/viem/pull/3469) [`3f00c5f28e8a4eec0ee60fe3bb9acdc5e828d1c7`](https://github.com/wevm/viem/commit/3f00c5f28e8a4eec0ee60fe3bb9acdc5e828d1c7) Thanks [@danijelTxFusion](https://github.com/danijelTxFusion)! - **ZKSync Extension:** Added `deposit` action.
63+
64+
- [#3497](https://github.com/wevm/viem/pull/3497) [`512ee19fdaf309d2ec607e024ecdb08ffbde5f68`](https://github.com/wevm/viem/commit/512ee19fdaf309d2ec607e024ecdb08ffbde5f68) Thanks [@DiRaiks](https://github.com/DiRaiks)! - Changed Hoodi block explorer to Etherscan.
65+
66+
- [#3505](https://github.com/wevm/viem/pull/3505) [`c0f36abc39df5fc230c41871da1e7ba6a74d25eb`](https://github.com/wevm/viem/commit/c0f36abc39df5fc230c41871da1e7ba6a74d25eb) Thanks [@clemlak](https://github.com/clemlak)! - Added Multicall3 address to Ink Mainnet.
67+
68+
- [#3506](https://github.com/wevm/viem/pull/3506) [`bce50f08acaa8355b11462487317929d958eb408`](https://github.com/wevm/viem/commit/bce50f08acaa8355b11462487317929d958eb408) Thanks [@CruzMolina](https://github.com/CruzMolina)! - add Multicall3 address to Ink Sepolia
69+
370
## 2.23.15
471

572
### Patch Changes

src/errors/version.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export const version = '2.23.15'
1+
export const version = '2.24.0'

src/jsr.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wevm/viem",
3-
"version": "2.23.15",
3+
"version": "2.24.0",
44
"exports": {
55
".": "./index.ts",
66
"./accounts-abstraction": "./account-abstraction/index.ts",

src/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "viem",
33
"description": "TypeScript Interface for Ethereum",
4-
"version": "2.23.15",
4+
"version": "2.24.0",
55
"type": "module",
66
"main": "./_cjs/index.js",
77
"module": "./_esm/index.js",

0 commit comments

Comments
 (0)