viem 2.21.31 → 2.21.33
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +18 -0
- package/_cjs/actions/public/estimateGas.js +1 -1
- package/_cjs/actions/public/estimateGas.js.map +1 -1
- package/_cjs/actions/wallet/prepareTransactionRequest.js +2 -2
- package/_cjs/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_cjs/chains/definitions/bitrock.js +22 -0
- package/_cjs/chains/definitions/bitrock.js.map +1 -0
- package/_cjs/chains/definitions/dustboyIoT.js +29 -0
- package/_cjs/chains/definitions/dustboyIoT.js.map +1 -0
- package/_cjs/chains/definitions/lavita.js +22 -0
- package/_cjs/chains/definitions/lavita.js.map +1 -0
- package/_cjs/chains/index.js +104 -98
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/experimental/eip7702/utils/hashAuthorization.js +1 -1
- package/_cjs/experimental/eip7702/utils/hashAuthorization.js.map +1 -1
- package/_cjs/experimental/eip7702/utils/serializeAuthorizationList.js +1 -1
- package/_cjs/experimental/eip7702/utils/serializeAuthorizationList.js.map +1 -1
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js +1 -1
- package/_cjs/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
- package/_cjs/utils/transaction/assertTransaction.js +1 -1
- package/_cjs/utils/transaction/assertTransaction.js.map +1 -1
- package/_esm/actions/public/estimateGas.js +1 -1
- package/_esm/actions/public/estimateGas.js.map +1 -1
- package/_esm/actions/wallet/prepareTransactionRequest.js +2 -2
- package/_esm/actions/wallet/prepareTransactionRequest.js.map +1 -1
- package/_esm/chains/definitions/bitrock.js +19 -0
- package/_esm/chains/definitions/bitrock.js.map +1 -0
- package/_esm/chains/definitions/dustboyIoT.js +26 -0
- package/_esm/chains/definitions/dustboyIoT.js.map +1 -0
- package/_esm/chains/definitions/lavita.js +19 -0
- package/_esm/chains/definitions/lavita.js.map +1 -0
- package/_esm/chains/index.js +49 -46
- package/_esm/chains/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/experimental/eip7702/utils/hashAuthorization.js +1 -1
- package/_esm/experimental/eip7702/utils/hashAuthorization.js.map +1 -1
- package/_esm/experimental/eip7702/utils/serializeAuthorizationList.js +1 -1
- package/_esm/experimental/eip7702/utils/serializeAuthorizationList.js.map +1 -1
- package/_esm/op-stack/actions/buildInitiateWithdrawal.js +1 -1
- package/_esm/op-stack/actions/buildInitiateWithdrawal.js.map +1 -1
- package/_esm/utils/transaction/assertTransaction.js +1 -1
- package/_esm/utils/transaction/assertTransaction.js.map +1 -1
- package/_types/chains/definitions/bitrock.d.ts +37 -0
- package/_types/chains/definitions/bitrock.d.ts.map +1 -0
- package/_types/chains/definitions/dustboyIoT.d.ts +34 -0
- package/_types/chains/definitions/dustboyIoT.d.ts.map +1 -0
- package/_types/chains/definitions/lavita.d.ts +37 -0
- package/_types/chains/definitions/lavita.d.ts.map +1 -0
- package/_types/chains/index.d.ts +84 -81
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/actions/public/estimateGas.ts +1 -1
- package/actions/wallet/prepareTransactionRequest.ts +2 -2
- package/chains/definitions/bitrock.ts +19 -0
- package/chains/definitions/dustboyIoT.ts +26 -0
- package/chains/definitions/lavita.ts +19 -0
- package/chains/index.ts +97 -94
- package/errors/version.ts +1 -1
- package/experimental/eip7702/utils/hashAuthorization.ts +1 -1
- package/experimental/eip7702/utils/serializeAuthorizationList.ts +1 -1
- package/op-stack/actions/buildInitiateWithdrawal.ts +1 -1
- package/package.json +1 -1
- package/utils/transaction/assertTransaction.ts +1 -1
package/chains/index.ts
CHANGED
@@ -13,23 +13,23 @@ export { apexTestnet } from './definitions/apexTestnet.js'
|
|
13
13
|
export { arbitrum } from './definitions/arbitrum.js'
|
14
14
|
export { arbitrumGoerli } from './definitions/arbitrumGoerli.js'
|
15
15
|
export { arbitrumNova } from './definitions/arbitrumNova.js'
|
16
|
+
export { arbitrumSepolia } from './definitions/arbitrumSepolia.js'
|
17
|
+
export { areonNetwork } from './definitions/areonNetwork.js'
|
18
|
+
export { areonNetworkTestnet } from './definitions/areonNetworkTestnet.js'
|
19
|
+
export { artelaTestnet } from './definitions/artelaTestnet.js'
|
16
20
|
export { assetChain } from './definitions/assetChain.js'
|
17
21
|
export { assetChainTestnet } from './definitions/assetChainTestnet.js'
|
18
22
|
export { astar } from './definitions/astar.js'
|
19
23
|
export { astarZkEVM } from './definitions/astarZkEVM.js'
|
20
24
|
export { astarZkyoto } from './definitions/astarZkyoto.js'
|
21
|
-
export { arbitrumSepolia } from './definitions/arbitrumSepolia.js'
|
22
|
-
export { areonNetwork } from './definitions/areonNetwork.js'
|
23
|
-
export { areonNetworkTestnet } from './definitions/areonNetworkTestnet.js'
|
24
|
-
export { artelaTestnet } from './definitions/artelaTestnet.js'
|
25
25
|
export { atletaOlympia } from './definitions/atletaOlympia.js'
|
26
26
|
export { aurora } from './definitions/aurora.js'
|
27
27
|
export { auroraTestnet } from './definitions/auroraTestnet.js'
|
28
28
|
export { auroria } from './definitions/auroria.js'
|
29
29
|
export { avalanche } from './definitions/avalanche.js'
|
30
30
|
export { avalancheFuji } from './definitions/avalancheFuji.js'
|
31
|
-
export { b3Sepolia } from './definitions/b3Sepolia.js'
|
32
31
|
export { b3 } from './definitions/b3.js'
|
32
|
+
export { b3Sepolia } from './definitions/b3Sepolia.js'
|
33
33
|
export { bahamut } from './definitions/bahamut.js'
|
34
34
|
export { base } from './definitions/base.js'
|
35
35
|
export { baseGoerli } from './definitions/baseGoerli.js'
|
@@ -46,22 +46,23 @@ export { bitkub } from './definitions/bitkub.js'
|
|
46
46
|
export { bitkubTestnet } from './definitions/bitkubTestnet.js'
|
47
47
|
export { bitlayer } from './definitions/bitlayer.js'
|
48
48
|
export { bitlayerTestnet } from './definitions/bitlayerTestnet.js'
|
49
|
+
export { bitrock } from './definitions/bitrock.js'
|
49
50
|
export { bitTorrent } from './definitions/bitTorrent.js'
|
50
51
|
export { bitTorrentTestnet } from './definitions/bitTorrentTestnet.js'
|
51
52
|
export { blast } from './definitions/blast.js'
|
52
53
|
export { blastSepolia } from './definitions/blastSepolia.js'
|
53
54
|
export { bob } from './definitions/bob.js'
|
54
|
-
export { bobSepolia } from './definitions/bobSepolia.js'
|
55
55
|
export { boba } from './definitions/boba.js'
|
56
56
|
export { bobaSepolia } from './definitions/bobaSepolia.js'
|
57
|
+
export { bobSepolia } from './definitions/bobSepolia.js'
|
57
58
|
export { botanixTestnet } from './definitions/botanixTestnet.js'
|
58
59
|
export { bounceBit } from './definitions/bounceBit.js'
|
59
60
|
export { bounceBitTestnet } from './definitions/bounceBitTestnet.js'
|
60
61
|
export { bronos } from './definitions/bronos.js'
|
61
62
|
export { bronosTestnet } from './definitions/bronosTestnet.js'
|
62
63
|
export { bsc } from './definitions/bsc.js'
|
63
|
-
export { bscTestnet } from './definitions/bscTestnet.js'
|
64
64
|
export { bscGreenfield } from './definitions/bscGreenfield.js'
|
65
|
+
export { bscTestnet } from './definitions/bscTestnet.js'
|
65
66
|
export { bsquared } from './definitions/bsquared.js'
|
66
67
|
export { bsquaredTestnet } from './definitions/bsquaredTestnet.js'
|
67
68
|
export { btr } from './definitions/btr.js'
|
@@ -81,9 +82,9 @@ export { confluxESpaceTestnet } from './definitions/confluxESpaceTestnet.js'
|
|
81
82
|
export { coreDao } from './definitions/coreDao.js'
|
82
83
|
export { crab } from './definitions/crab.js'
|
83
84
|
export { cronos } from './definitions/cronos.js'
|
85
|
+
export { cronosTestnet } from './definitions/cronosTestnet.js'
|
84
86
|
export { cronoszkEVM } from './definitions/cronoszkEVM.js'
|
85
87
|
export { cronoszkEVMTestnet } from './definitions/cronoszkEVMTestnet.js'
|
86
|
-
export { cronosTestnet } from './definitions/cronosTestnet.js'
|
87
88
|
export { crossbell } from './definitions/crossbell.js'
|
88
89
|
export { curtis } from './definitions/curtis.js'
|
89
90
|
export { cyber } from './definitions/cyber.js'
|
@@ -101,11 +102,18 @@ export { dosChain } from './definitions/dosChain.js'
|
|
101
102
|
export { dosChainTestnet } from './definitions/dosChainTestnet.js'
|
102
103
|
export { dreyerxMainnet } from './definitions/dreyerxMainnet.js'
|
103
104
|
export { dreyerxTestnet } from './definitions/dreyerxTestnet.js'
|
105
|
+
export { dustboyIoT } from './definitions/dustboyIoT.js'
|
104
106
|
export { dymension } from './definitions/dymension.js'
|
105
107
|
export { edgeless } from './definitions/edgeless.js'
|
106
108
|
export { edgelessTestnet } from './definitions/edgelessTestnet.js'
|
107
109
|
export { edgeware } from './definitions/edgeware.js'
|
108
110
|
export { edgewareTestnet } from './definitions/edgewareTestnet.js'
|
111
|
+
export { ekta } from './definitions/ekta.js'
|
112
|
+
export { ektaTestnet } from './definitions/ektaTestnet.js'
|
113
|
+
export { elastos } from './definitions/elastos.js'
|
114
|
+
export { elastosTestnet } from './definitions/elastosTestnet.js'
|
115
|
+
export { electroneum } from './definitions/electroneum.js'
|
116
|
+
export { electroneumTestnet } from './definitions/electroneumTestnet.js'
|
109
117
|
export { elysiumTestnet } from './definitions/elysiumTestnet.js'
|
110
118
|
export { eon } from './definitions/eon.js'
|
111
119
|
export { eos } from './definitions/eos.js'
|
@@ -114,12 +122,6 @@ export { etherlink } from './definitions/etherlink.js'
|
|
114
122
|
export { etherlinkTestnet } from './definitions/etherlinkTestnet.js'
|
115
123
|
export { evmos } from './definitions/evmos.js'
|
116
124
|
export { evmosTestnet } from './definitions/evmosTestnet.js'
|
117
|
-
export { ekta } from './definitions/ekta.js'
|
118
|
-
export { ektaTestnet } from './definitions/ektaTestnet.js'
|
119
|
-
export { elastos } from './definitions/elastos.js'
|
120
|
-
export { elastosTestnet } from './definitions/elastosTestnet.js'
|
121
|
-
export { electroneum } from './definitions/electroneum.js'
|
122
|
-
export { electroneumTestnet } from './definitions/electroneumTestnet.js'
|
123
125
|
export { excelonMainnet } from './definitions/excelonMainnet.js'
|
124
126
|
export { fantom } from './definitions/fantom.js'
|
125
127
|
export { fantomSonicTestnet } from './definitions/fantomSonicTestnet.js'
|
@@ -131,8 +133,8 @@ export { filecoinHyperspace } from './definitions/filecoinHyperspace.js'
|
|
131
133
|
export { flare } from './definitions/flare.js'
|
132
134
|
export { flareTestnet } from './definitions/flareTestnet.js'
|
133
135
|
/** @deprecated */
|
134
|
-
export { flowPreviewnet } from './definitions/flowPreviewnet.js'
|
135
136
|
export { flowMainnet } from './definitions/flowMainnet.js'
|
137
|
+
export { flowPreviewnet } from './definitions/flowPreviewnet.js'
|
136
138
|
export { flowTestnet } from './definitions/flowTestnet.js'
|
137
139
|
export { fluence } from './definitions/fluence.js'
|
138
140
|
export { fluenceStage } from './definitions/fluenceStage.js'
|
@@ -148,28 +150,23 @@ export { fuse } from './definitions/fuse.js'
|
|
148
150
|
export { fuseSparknet } from './definitions/fuseSparknet.js'
|
149
151
|
export { fusion } from './definitions/fusion.js'
|
150
152
|
export { fusionTestnet } from './definitions/fusionTestnet.js'
|
151
|
-
export { iotex } from './definitions/iotex.js'
|
152
|
-
export { iotexTestnet } from './definitions/iotexTestnet.js'
|
153
|
-
export { jbc } from './definitions/jbc.js'
|
154
|
-
export { jbcTestnet } from './definitions/jbcTestnet.js'
|
155
|
-
export { karura } from './definitions/karura.js'
|
156
153
|
export { garnet } from './definitions/garnet.js'
|
157
|
-
export { goChain } from './definitions/goChain.js'
|
158
|
-
export { gobi } from './definitions/gobi.js'
|
159
|
-
export { goerli } from './definitions/goerli.js'
|
160
154
|
export { gnosis } from './definitions/gnosis.js'
|
161
155
|
export { gnosisChiado } from './definitions/gnosisChiado.js'
|
156
|
+
export { gobi } from './definitions/gobi.js'
|
157
|
+
export { goChain } from './definitions/goChain.js'
|
158
|
+
export { goerli } from './definitions/goerli.js'
|
162
159
|
export { gravity } from './definitions/gravity.js'
|
163
160
|
export { guruTestnet } from './definitions/guruTestnet.js'
|
164
161
|
export { ham } from './definitions/ham.js'
|
162
|
+
export { haqqMainnet } from './definitions/haqqMainnet.js'
|
163
|
+
export { haqqTestedge2 } from './definitions/haqqTestedge2.js'
|
165
164
|
export { hardhat } from './definitions/hardhat.js'
|
166
165
|
export { harmonyOne } from './definitions/harmonyOne.js'
|
167
166
|
export { hashkeyTestnet } from './definitions/hashkeyChainTestnet.js'
|
168
|
-
export { haqqMainnet } from './definitions/haqqMainnet.js'
|
169
|
-
export { haqqTestedge2 } from './definitions/haqqTestedge2.js'
|
170
167
|
export { hedera } from './definitions/hedera.js'
|
171
|
-
export { hederaTestnet } from './definitions/hederaTestnet.js'
|
172
168
|
export { hederaPreviewnet } from './definitions/hederaPreviewnet.js'
|
169
|
+
export { hederaTestnet } from './definitions/hederaTestnet.js'
|
173
170
|
export { hela } from './definitions/hela.js'
|
174
171
|
export { hemiSepolia } from './definitions/hemiSepolia.js'
|
175
172
|
export { holesky } from './definitions/holesky.js'
|
@@ -180,6 +177,11 @@ export { immutableZkEvmTestnet } from './definitions/immutableZkEvmTestnet.js'
|
|
180
177
|
export { inEVM } from './definitions/inEVM.js'
|
181
178
|
export { iota } from './definitions/iota.js'
|
182
179
|
export { iotaTestnet } from './definitions/iotaTestnet.js'
|
180
|
+
export { iotex } from './definitions/iotex.js'
|
181
|
+
export { iotexTestnet } from './definitions/iotexTestnet.js'
|
182
|
+
export { jbc } from './definitions/jbc.js'
|
183
|
+
export { jbcTestnet } from './definitions/jbcTestnet.js'
|
184
|
+
export { karura } from './definitions/karura.js'
|
183
185
|
/** @deprecated Use `kakarotStarknetSepolia` instead. */
|
184
186
|
export { kakarotSepolia } from './definitions/kakarotSepolia.js'
|
185
187
|
export { kakarotStarknetSepolia } from './definitions/kakarotStarknetSepolia.js'
|
@@ -190,14 +192,15 @@ export { kinto } from './definitions/kinto.js'
|
|
190
192
|
/** @deprecated Use `kaia` instead. */
|
191
193
|
export { klaytn } from './definitions/klaytn.js'
|
192
194
|
/** @deprecated Use `kairos` instead. */
|
193
|
-
export { klaytnBaobab } from './definitions/klaytnBaobab.js'
|
194
195
|
export { kaia } from './definitions/kaia.js'
|
195
196
|
export { kairos } from './definitions/kairos.js'
|
197
|
+
export { klaytnBaobab } from './definitions/klaytnBaobab.js'
|
196
198
|
export { koi } from './definitions/koi.js'
|
197
199
|
export { kroma } from './definitions/kroma.js'
|
198
200
|
export { kromaSepolia } from './definitions/kromaSepolia.js'
|
199
201
|
export { l3x } from './definitions/l3x.js'
|
200
202
|
export { l3xTestnet } from './definitions/l3xTestnet.js'
|
203
|
+
export { lavita } from './definitions/lavita.js'
|
201
204
|
export { lightlinkPegasus } from './definitions/lightlinkPegasus.js'
|
202
205
|
export { lightlinkPhoenix } from './definitions/lightlinkPhoenix.js'
|
203
206
|
export { linea } from './definitions/linea.js'
|
@@ -249,27 +252,27 @@ export { neonDevnet } from './definitions/neonDevnet.js'
|
|
249
252
|
export { neonMainnet } from './definitions/neonMainnet.js'
|
250
253
|
export { nexi } from './definitions/nexi.js'
|
251
254
|
export { nexilix } from './definitions/nexilix.js'
|
252
|
-
export { oasys } from './definitions/oasys.js'
|
253
255
|
export { oasisTestnet } from './definitions/oasisTestnet.js'
|
256
|
+
export { oasys } from './definitions/oasys.js'
|
254
257
|
export { odysseyTestnet } from './definitions/odysseyTestnet.js'
|
255
258
|
export { okc } from './definitions/okc.js'
|
259
|
+
export { oortMainnetDev } from './definitions/oortmainnetDev.js'
|
260
|
+
export { opBNB } from './definitions/opBNB.js'
|
261
|
+
export { opBNBTestnet } from './definitions/opBNBTestnet.js'
|
256
262
|
export { optimism } from './definitions/optimism.js'
|
257
263
|
export { optimismGoerli } from './definitions/optimismGoerli.js'
|
258
264
|
export { optimismSepolia } from './definitions/optimismSepolia.js'
|
259
265
|
export { optopia } from './definitions/optopia.js'
|
260
266
|
export { optopiaTestnet } from './definitions/optopiaTestnet.js'
|
261
|
-
export { opBNB } from './definitions/opBNB.js'
|
262
|
-
export { opBNBTestnet } from './definitions/opBNBTestnet.js'
|
263
|
-
export { oortMainnetDev } from './definitions/oortmainnetDev.js'
|
264
267
|
export { orderly } from './definitions/orderly.js'
|
265
268
|
export { orderlySepolia } from './definitions/orderlySepolia.js'
|
266
269
|
export { otimDevnet } from './definitions/otimDevnet.js'
|
267
270
|
export { palm } from './definitions/palm.js'
|
268
271
|
export { palmTestnet } from './definitions/palmTestnet.js'
|
269
|
-
export { playfiAlbireo } from './definitions/playfiAlbireo.js'
|
270
272
|
export { pgn } from './definitions/pgn.js'
|
271
273
|
export { pgnTestnet } from './definitions/pgnTestnet.js'
|
272
274
|
export { phoenix } from './definitions/phoenix.js'
|
275
|
+
export { playfiAlbireo } from './definitions/playfiAlbireo.js'
|
273
276
|
export { plinga } from './definitions/plinga.js'
|
274
277
|
export { plumeTestnet } from './definitions/plumeTestnet.js'
|
275
278
|
export { polygon } from './definitions/polygon.js'
|
@@ -311,8 +314,14 @@ export { seiTestnet } from './definitions/seiTestnet.js'
|
|
311
314
|
export { sepolia } from './definitions/sepolia.js'
|
312
315
|
export { shape } from './definitions/shape.js'
|
313
316
|
export { shapeSepolia } from './definitions/shapeSepolia.js'
|
317
|
+
export { shardeumSphinx } from './definitions/shardeumSphinx.js'
|
318
|
+
export { shibarium } from './definitions/shibarium.js'
|
319
|
+
export { shibariumTestnet } from './definitions/shibariumTestnet.js'
|
320
|
+
export { shiden } from './definitions/shiden.js'
|
314
321
|
export { shimmer } from './definitions/shimmer.js'
|
315
322
|
export { shimmerTestnet } from './definitions/shimmerTestnet.js'
|
323
|
+
export { silicon } from './definitions/silicon.js'
|
324
|
+
export { siliconSepolia } from './definitions/siliconSepolia.js'
|
316
325
|
export { skaleBlockBrawlers } from './definitions/skale/brawl.js'
|
317
326
|
export { skaleCalypso } from './definitions/skale/calypso.js'
|
318
327
|
export { skaleCalypsoTestnet } from './definitions/skale/calypsoTestnet.js'
|
@@ -335,14 +344,8 @@ export { songbird } from './definitions/songbird.js'
|
|
335
344
|
export { songbirdTestnet } from './definitions/songbirdTestnet.js'
|
336
345
|
export { sophonTestnet } from './definitions/sophonTestnet.js'
|
337
346
|
export { spicy } from './definitions/spicy.js'
|
338
|
-
export { shardeumSphinx } from './definitions/shardeumSphinx.js'
|
339
|
-
export { shibarium } from './definitions/shibarium.js'
|
340
|
-
export { shibariumTestnet } from './definitions/shibariumTestnet.js'
|
341
|
-
export { shiden } from './definitions/shiden.js'
|
342
347
|
export { step } from './definitions/step.js'
|
343
348
|
export { storyTestnet } from './definitions/storyTestnet.js'
|
344
|
-
export { silicon } from './definitions/silicon.js'
|
345
|
-
export { siliconSepolia } from './definitions/siliconSepolia.js'
|
346
349
|
export { stratis } from './definitions/stratis.js'
|
347
350
|
export { superlumio } from './definitions/superlumio.js'
|
348
351
|
export { superposition } from './definitions/superposition.js'
|
@@ -351,12 +354,12 @@ export { swanProximaTestnet } from './definitions/swanProximaTestnet.js'
|
|
351
354
|
export { swanSaturnTestnet } from './definitions/swanSaturnTestnet.js'
|
352
355
|
export { syscoin } from './definitions/syscoin.js'
|
353
356
|
export { syscoinTestnet } from './definitions/syscoinTestnet.js'
|
354
|
-
export { taraxa } from './definitions/taraxa.js'
|
355
357
|
export { taiko } from './definitions/taiko.js'
|
356
358
|
export { taikoHekla } from './definitions/taikoHekla.js'
|
357
359
|
export { taikoJolnir } from './definitions/taikoJolnir.js'
|
358
360
|
export { taikoKatla } from './definitions/taikoKatla.js'
|
359
361
|
export { taikoTestnetSepolia } from './definitions/taikoTestnetSepolia.js'
|
362
|
+
export { taraxa } from './definitions/taraxa.js'
|
360
363
|
export { taraxaTestnet } from './definitions/taraxaTestnet.js'
|
361
364
|
export { telcoinTestnet } from './definitions/telcoinTestnet.js'
|
362
365
|
export { telos } from './definitions/telos.js'
|
@@ -371,8 +374,8 @@ export { ultron } from './definitions/ultron.js'
|
|
371
374
|
export { ultronTestnet } from './definitions/ultronTestnet.js'
|
372
375
|
export { unichainSepolia } from './definitions/unichainSepolia.js'
|
373
376
|
export { unique } from './definitions/unique.js'
|
374
|
-
export { uniqueQuartz } from './definitions/uniqueQuartz.js'
|
375
377
|
export { uniqueOpal } from './definitions/uniqueOpal.js'
|
378
|
+
export { uniqueQuartz } from './definitions/uniqueQuartz.js'
|
376
379
|
export { unreal } from './definitions/unreal.js'
|
377
380
|
export { vechain } from './definitions/vechain.js'
|
378
381
|
export { viction } from './definitions/viction.js'
|
@@ -386,16 +389,16 @@ export { wemix } from './definitions/wemix.js'
|
|
386
389
|
export { wemixTestnet } from './definitions/wemixTestnet.js'
|
387
390
|
export { worldchain } from './definitions/worldchain.js'
|
388
391
|
export { worldchainSepolia } from './definitions/worldchainSepolia.js'
|
389
|
-
export {
|
390
|
-
xLayerTestnet,
|
391
|
-
/** @deprecated Use `xLayerTestnet` */
|
392
|
-
x1Testnet,
|
393
|
-
} from './definitions/xLayerTestnet.js'
|
394
|
-
export { xLayer } from './definitions/xLayer.js'
|
395
392
|
export { xai } from './definitions/xai.js'
|
396
393
|
export { xaiTestnet } from './definitions/xaiTestnet.js'
|
397
394
|
export { xdc } from './definitions/xdc.js'
|
398
395
|
export { xdcTestnet } from './definitions/xdcTestnet.js'
|
396
|
+
export { xLayer } from './definitions/xLayer.js'
|
397
|
+
export {
|
398
|
+
/** @deprecated Use `xLayerTestnet` */
|
399
|
+
x1Testnet,
|
400
|
+
xLayerTestnet,
|
401
|
+
} from './definitions/xLayerTestnet.js'
|
399
402
|
export { xrSepolia } from './definitions/xrSepolia.js'
|
400
403
|
export { yooldoVerse } from './definitions/yooldoVerse.js'
|
401
404
|
export { yooldoVerseTestnet } from './definitions/yooldoVerseTestnet.js'
|
@@ -405,6 +408,8 @@ export { zetachainAthensTestnet } from './definitions/zetachainAthensTestnet.js'
|
|
405
408
|
export { zhejiang } from './definitions/zhejiang.js'
|
406
409
|
export { zilliqa } from './definitions/zilliqa.js'
|
407
410
|
export { zilliqaTestnet } from './definitions/zilliqaTestnet.js'
|
411
|
+
export { zircuit } from './definitions/zircuit.js'
|
412
|
+
export { zircuitTestnet } from './definitions/zircuitTestnet.js'
|
408
413
|
export { zkFair } from './definitions/zkFair.js'
|
409
414
|
export { zkFairTestnet } from './definitions/zkFairTestnet.js'
|
410
415
|
export { zkLinkNova } from './definitions/zkLinkNova.js'
|
@@ -432,19 +437,10 @@ export {
|
|
432
437
|
export { zora } from './definitions/zora.js'
|
433
438
|
export { zoraSepolia } from './definitions/zoraSepolia.js'
|
434
439
|
export { zoraTestnet } from './definitions/zoraTestnet.js'
|
435
|
-
export { zircuit } from './definitions/zircuit.js'
|
436
|
-
export { zircuitTestnet } from './definitions/zircuitTestnet.js'
|
437
440
|
|
438
441
|
//////////////////////////////////////////////////////////////////////////////////////
|
439
442
|
// Required type exports to prevent TypeScript error "TS2742".
|
440
443
|
|
441
|
-
export type {
|
442
|
-
Assign,
|
443
|
-
Omit,
|
444
|
-
PartialBy,
|
445
|
-
Prettify,
|
446
|
-
UnionLooseOmit,
|
447
|
-
} from '../types/utils.js'
|
448
444
|
export type {
|
449
445
|
SerializeTransactionCIP64ReturnType,
|
450
446
|
assertTransactionCIP42 as assertTransactionCIP42Celo,
|
@@ -459,9 +455,9 @@ export type {
|
|
459
455
|
CeloRpcTransactionRequest,
|
460
456
|
CeloTransaction,
|
461
457
|
CeloTransactionRequest,
|
462
|
-
CeloTransactionType,
|
463
458
|
CeloTransactionSerializable,
|
464
459
|
CeloTransactionSerialized,
|
460
|
+
CeloTransactionType,
|
465
461
|
RpcTransactionCIP42,
|
466
462
|
RpcTransactionCIP64,
|
467
463
|
RpcTransactionRequestCIP64,
|
@@ -473,20 +469,20 @@ export type {
|
|
473
469
|
TransactionSerializedCIP42,
|
474
470
|
TransactionSerializedCIP64,
|
475
471
|
} from '../celo/types.js'
|
476
|
-
export type {
|
477
|
-
OpStackBlock,
|
478
|
-
OpStackBlockOverrides,
|
479
|
-
OpStackRpcBlock,
|
480
|
-
OpStackRpcBlockOverrides,
|
481
|
-
} from '../op-stack/types/block.js'
|
482
472
|
export type {
|
483
473
|
SerializeTransactionDepositReturnType,
|
484
474
|
SerializeTransactionErrorType,
|
485
475
|
SerializeTransactionReturnType,
|
486
|
-
serializeTransaction as serializeTransactionOpStack,
|
487
476
|
assertTransactionDeposit as assertTransactionDepositOpStack,
|
477
|
+
serializeTransaction as serializeTransactionOpStack,
|
488
478
|
serializers as serializersOpStack,
|
489
479
|
} from '../op-stack/serializers.js'
|
480
|
+
export type {
|
481
|
+
OpStackBlock,
|
482
|
+
OpStackBlockOverrides,
|
483
|
+
OpStackRpcBlock,
|
484
|
+
OpStackRpcBlockOverrides,
|
485
|
+
} from '../op-stack/types/block.js'
|
490
486
|
export type {
|
491
487
|
OpStackDepositTransaction,
|
492
488
|
OpStackRpcDepositTransaction,
|
@@ -502,12 +498,19 @@ export type {
|
|
502
498
|
TransactionSerializableDeposit,
|
503
499
|
TransactionSerializedDeposit,
|
504
500
|
} from '../op-stack/types/transaction.js'
|
501
|
+
export type {
|
502
|
+
Assign,
|
503
|
+
Omit,
|
504
|
+
PartialBy,
|
505
|
+
Prettify,
|
506
|
+
UnionLooseOmit,
|
507
|
+
} from '../types/utils.js'
|
505
508
|
export type {
|
506
509
|
/** @deprecated Use `ZksyncBlock` instead */
|
507
510
|
ZksyncBlock as ZkSyncBlock,
|
508
|
-
ZksyncBlock,
|
509
511
|
/** @deprecated Use `ZksyncRpcBlock` instead */
|
510
512
|
ZksyncRpcBlock as ZkSyncRpcBlock,
|
513
|
+
ZksyncBlock,
|
511
514
|
ZksyncRpcBlock,
|
512
515
|
} from '../zksync/types/block.js'
|
513
516
|
export type { ChainEIP712 } from '../zksync/types/chain.js'
|
@@ -524,83 +527,83 @@ export type {
|
|
524
527
|
export type {
|
525
528
|
/** @deprecated Use `ZksyncL2ToL1Log` instead */
|
526
529
|
ZksyncL2ToL1Log as ZkSyncL2ToL1Log,
|
527
|
-
ZksyncL2ToL1Log,
|
528
530
|
/** @deprecated Use `ZksyncLog` instead */
|
529
531
|
ZksyncLog as ZkSyncLog,
|
530
|
-
ZksyncLog,
|
531
532
|
/** @deprecated Use `ZksyncRpcL2ToL1Log` instead */
|
532
533
|
ZksyncRpcL2ToL1Log as ZkSyncRpcL2ToL1Log,
|
533
|
-
ZksyncRpcL2ToL1Log,
|
534
534
|
/** @deprecated Use `ZkSyncRpcLog` instead */
|
535
535
|
ZksyncRpcLog as ZkSyncRpcLog,
|
536
|
+
ZksyncL2ToL1Log,
|
537
|
+
ZksyncLog,
|
538
|
+
ZksyncRpcL2ToL1Log,
|
536
539
|
ZksyncRpcLog,
|
537
540
|
} from '../zksync/types/log.js'
|
538
541
|
export type {
|
539
542
|
TransactionRequestEIP712,
|
540
|
-
/** @deprecated Use `ZksyncTransactionRequest_internal` instead */
|
541
|
-
TransactionRequest as ZkSyncTransactionRequest_internal,
|
542
|
-
TransactionRequest as ZksyncTransactionRequest_internal,
|
543
543
|
/** @deprecated Use `ZksyncEIP712TransactionSignable` instead */
|
544
544
|
ZksyncEIP712TransactionSignable as ZkSyncEIP712TransactionSignable,
|
545
|
-
|
545
|
+
/** @deprecated Use `ZksyncRawBlockTransactions` instead */
|
546
|
+
ZksyncRawBlockTransactions as ZkSyncRawBlockTransactions,
|
546
547
|
/** @deprecated Use `ZksyncRpcTransaction` instead */
|
547
548
|
ZksyncRpcTransaction as ZkSyncRpcTransaction,
|
548
|
-
ZksyncRpcTransaction,
|
549
549
|
/** @deprecated Use `ZksyncRpcTransactionEIP712` instead */
|
550
550
|
ZksyncRpcTransactionEIP712 as ZkSyncRpcTransactionEIP712,
|
551
|
-
ZksyncRpcTransactionEIP712,
|
552
551
|
/** @deprecated Use `ZksyncRpcTransactionPriority` instead */
|
553
552
|
ZksyncRpcTransactionPriority as ZkSyncRpcTransactionPriority,
|
554
|
-
|
553
|
+
/** @deprecated Use `ZksyncRpcTransactionReceipt` instead */
|
554
|
+
ZksyncRpcTransactionReceipt as ZkSyncRpcTransactionReceipt,
|
555
555
|
/** @deprecated Use `ZksyncRpcTransactionReceiptOverrides` instead */
|
556
556
|
ZksyncRpcTransactionReceiptOverrides as ZkSyncRpcTransactionReceiptOverrides,
|
557
|
-
ZksyncRpcTransactionReceiptOverrides,
|
558
557
|
/** @deprecated Use `ZksyncRpcTransactionRequest` instead */
|
559
558
|
ZksyncRpcTransactionRequest as ZkSyncRpcTransactionRequest,
|
560
|
-
ZksyncRpcTransactionRequest,
|
561
559
|
/** @deprecated Use `ZksyncRpcTransactionRequestEIP712` instead */
|
562
560
|
ZksyncRpcTransactionRequestEIP712 as ZkSyncRpcTransactionRequestEIP712,
|
563
|
-
ZksyncRpcTransactionRequestEIP712,
|
564
561
|
/** @deprecated Use `ZksyncTransaction` instead */
|
565
562
|
ZksyncTransaction as ZkSyncTransaction,
|
566
|
-
|
563
|
+
/** @deprecated Use `ZksyncTransactionDetails` instead */
|
564
|
+
ZksyncTransactionDetails as ZkSyncTransactionDetails,
|
567
565
|
/** @deprecated Use `ZksyncTransactionEIP712` instead */
|
568
566
|
ZksyncTransactionEIP712 as ZkSyncTransactionEIP712,
|
569
|
-
ZksyncTransactionEIP712,
|
570
567
|
/** @deprecated Use `ZksyncTransactionReceipt` instead */
|
571
568
|
ZksyncTransactionReceipt as ZkSyncTransactionReceipt,
|
572
|
-
ZksyncTransactionReceipt,
|
573
569
|
/** @deprecated Use `ZksyncTransactionReceiptOverrides` instead */
|
574
570
|
ZksyncTransactionReceiptOverrides as ZkSyncTransactionReceiptOverrides,
|
575
|
-
ZksyncTransactionReceiptOverrides,
|
576
571
|
/** @deprecated Use `ZksyncTransactionRequest` instead */
|
577
572
|
ZksyncTransactionRequest as ZkSyncTransactionRequest,
|
578
|
-
ZksyncTransactionRequest,
|
579
573
|
/** @deprecated Use `ZksyncTransactionRequestEIP712` instead */
|
580
574
|
ZksyncTransactionRequestEIP712 as ZkSyncTransactionRequestEIP712,
|
581
|
-
|
575
|
+
/** @deprecated Use `ZksyncTransactionRequest_internal` instead */
|
576
|
+
TransactionRequest as ZkSyncTransactionRequest_internal,
|
582
577
|
/** @deprecated Use `ZksyncTransactionSerializable` instead */
|
583
578
|
ZksyncTransactionSerializable as ZkSyncTransactionSerializable,
|
584
|
-
ZksyncTransactionSerializable,
|
585
579
|
/** @deprecated Use `ZksyncTransactionSerializableEIP712` instead */
|
586
580
|
ZksyncTransactionSerializableEIP712 as ZkSyncTransactionSerializableEIP712,
|
587
|
-
ZksyncTransactionSerializableEIP712,
|
588
581
|
/** @deprecated Use `ZksyncTransactionSerialized` instead */
|
589
582
|
ZksyncTransactionSerialized as ZkSyncTransactionSerialized,
|
590
|
-
ZksyncTransactionSerialized,
|
591
583
|
/** @deprecated Use `ZksyncTransactionSerializedEIP712` instead */
|
592
584
|
ZksyncTransactionSerializedEIP712 as ZkSyncTransactionSerializedEIP712,
|
593
|
-
ZksyncTransactionSerializedEIP712,
|
594
585
|
/** @deprecated Use `ZksyncTransactionType` instead */
|
595
586
|
ZksyncTransactionType as ZkSyncTransactionType,
|
596
|
-
|
597
|
-
/** @deprecated Use `ZksyncRawBlockTransactions` instead */
|
598
|
-
ZksyncRawBlockTransactions as ZkSyncRawBlockTransactions,
|
587
|
+
ZksyncEIP712TransactionSignable,
|
599
588
|
ZksyncRawBlockTransactions,
|
600
|
-
|
601
|
-
|
589
|
+
ZksyncRpcTransaction,
|
590
|
+
ZksyncRpcTransactionEIP712,
|
591
|
+
ZksyncRpcTransactionPriority,
|
602
592
|
ZksyncRpcTransactionReceipt,
|
603
|
-
|
604
|
-
|
593
|
+
ZksyncRpcTransactionReceiptOverrides,
|
594
|
+
ZksyncRpcTransactionRequest,
|
595
|
+
ZksyncRpcTransactionRequestEIP712,
|
596
|
+
ZksyncTransaction,
|
605
597
|
ZksyncTransactionDetails,
|
598
|
+
ZksyncTransactionEIP712,
|
599
|
+
ZksyncTransactionReceipt,
|
600
|
+
ZksyncTransactionReceiptOverrides,
|
601
|
+
ZksyncTransactionRequest,
|
602
|
+
ZksyncTransactionRequestEIP712,
|
603
|
+
TransactionRequest as ZksyncTransactionRequest_internal,
|
604
|
+
ZksyncTransactionSerializable,
|
605
|
+
ZksyncTransactionSerializableEIP712,
|
606
|
+
ZksyncTransactionSerialized,
|
607
|
+
ZksyncTransactionSerializedEIP712,
|
608
|
+
ZksyncTransactionType,
|
606
609
|
} from '../zksync/types/transaction.js'
|
package/errors/version.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export const version = '2.21.
|
1
|
+
export const version = '2.21.33'
|
@@ -22,7 +22,7 @@ export function serializeAuthorizationList(
|
|
22
22
|
for (const authorization of authorizationList) {
|
23
23
|
const { contractAddress, chainId, nonce, ...signature } = authorization
|
24
24
|
serializedAuthorizationList.push([
|
25
|
-
toHex(chainId),
|
25
|
+
chainId ? toHex(chainId) : '0x',
|
26
26
|
contractAddress,
|
27
27
|
nonce ? toHex(nonce) : '0x',
|
28
28
|
...toYParitySignatureArray({}, signature),
|
package/package.json
CHANGED
@@ -51,7 +51,7 @@ export function assertTransactionEIP7702(
|
|
51
51
|
const { contractAddress, chainId } = authorization
|
52
52
|
if (!isAddress(contractAddress))
|
53
53
|
throw new InvalidAddressError({ address: contractAddress })
|
54
|
-
if (chainId
|
54
|
+
if (chainId < 0) throw new InvalidChainIdError({ chainId })
|
55
55
|
}
|
56
56
|
}
|
57
57
|
assertTransactionEIP1559(transaction as {} as TransactionSerializableEIP1559)
|