wagmi 1.3.9 → 1.3.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chains.d.ts +1 -1
- package/dist/chains.js +46 -2
- package/dist/index.d.ts +12 -12
- package/dist/window.d.ts +5 -1
- package/package.json +2 -2
package/dist/chains.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { Chain, arbitrum, arbitrumGoerli, aurora, auroraTestnet, avalanche, avalancheFuji, base, baseGoerli, boba, bronos, bronosTestnet, bsc, bscTestnet, bxn, bxnTestnet, canto, celo, celoAlfajores, celoCannoli, cronos, cronosTestnet, crossbell, dfk, dogechain, edgeware, edgewareTestnet, evmos, evmosTestnet, fantom, fantomTestnet, fibo, filecoin, filecoinCalibration, filecoinHyperspace, flare, flareTestnet, foundry, gnosis, gnosisChiado, goerli, haqqMainnet, haqqTestedge2, hardhat, harmonyOne, iotex, iotexTestnet, klaytn, lineaTestnet, localhost, mainnet, mantle, mantleTestnet, metis, metisGoerli, mev, mevTestnet, moonbaseAlpha, moonbeam, moonriver, nexi, nexilix, okc, optimism, optimismGoerli, polygon, polygonMumbai, polygonZkEvm, polygonZkEvmTestnet, pulsechain, pulsechainV4, scrollTestnet, sepolia, shardeumSphinx, skaleBlockBrawlers, skaleCalypso, skaleCalypsoTestnet, skaleChaosTestnet, skaleCryptoBlades, skaleCryptoColosseum, skaleEuropa, skaleEuropaTestnet, skaleExorde, skaleHumanProtocol, skaleNebula, skaleNebulaTestnet, skaleRazor, skaleTitan, skaleTitanTestnet, songbird, songbirdTestnet, syscoin, taikoTestnetSepolia, taraxa, taraxaTestnet, telos, telosTestnet, thunderTestnet, wanchain, wanchainTestnet, xdc, xdcTestnet, zhejiang, zkSync, zkSyncTestnet, zora, zoraTestnet } from '@wagmi/core/chains';
|
|
1
|
+
export { Chain, arbitrum, arbitrumGoerli, arbitrumNova, aurora, auroraTestnet, avalanche, avalancheFuji, base, baseGoerli, boba, bronos, bronosTestnet, bsc, bscTestnet, bxn, bxnTestnet, canto, celo, celoAlfajores, celoCannoli, classic, cronos, cronosTestnet, crossbell, dfk, dogechain, edgeware, edgewareTestnet, ekta, ektaTestnet, eos, eosTestnet, evmos, evmosTestnet, fantom, fantomTestnet, fibo, filecoin, filecoinCalibration, filecoinHyperspace, flare, flareTestnet, foundry, fuse, fuseSparknet, gnosis, gnosisChiado, gobi, goerli, haqqMainnet, haqqTestedge2, hardhat, harmonyOne, iotex, iotexTestnet, klaytn, linea, lineaTestnet, localhost, mainnet, mantle, mantleTestnet, metis, metisGoerli, mev, mevTestnet, modeTestnet, moonbaseAlpha, moonbeam, moonriver, neonDevnet, nexi, nexilix, oasys, okc, optimism, optimismGoerli, polygon, polygonMumbai, polygonZkEvm, polygonZkEvmTestnet, pulsechain, pulsechainV4, qMainnet, qTestnet, rollux, rolluxTestnet, ronin, saigon, scrollSepolia, scrollTestnet, sepolia, shardeumSphinx, skaleBlockBrawlers, skaleCalypso, skaleCalypsoTestnet, skaleChaosTestnet, skaleCryptoBlades, skaleCryptoColosseum, skaleEuropa, skaleEuropaTestnet, skaleExorde, skaleHumanProtocol, skaleNebula, skaleNebulaTestnet, skaleRazor, skaleTitan, skaleTitanTestnet, songbird, songbirdTestnet, syscoin, syscoinTestnet, taikoTestnetSepolia, taraxa, taraxaTestnet, telos, telosTestnet, thunderTestnet, wanchain, wanchainTestnet, xdc, xdcTestnet, zetachainAthensTestnet, zhejiang, zkSync, zkSyncTestnet, zora, zoraTestnet } from '@wagmi/core/chains';
|
package/dist/chains.js
CHANGED
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import {
|
|
5
5
|
arbitrum,
|
|
6
6
|
arbitrumGoerli,
|
|
7
|
+
arbitrumNova,
|
|
7
8
|
aurora,
|
|
8
9
|
auroraTestnet,
|
|
9
10
|
avalanche,
|
|
@@ -21,6 +22,7 @@ import {
|
|
|
21
22
|
celo,
|
|
22
23
|
celoAlfajores,
|
|
23
24
|
celoCannoli,
|
|
25
|
+
classic,
|
|
24
26
|
cronos,
|
|
25
27
|
cronosTestnet,
|
|
26
28
|
crossbell,
|
|
@@ -28,6 +30,10 @@ import {
|
|
|
28
30
|
dogechain,
|
|
29
31
|
edgeware,
|
|
30
32
|
edgewareTestnet,
|
|
33
|
+
eos,
|
|
34
|
+
eosTestnet,
|
|
35
|
+
ekta,
|
|
36
|
+
ektaTestnet,
|
|
31
37
|
evmos,
|
|
32
38
|
evmosTestnet,
|
|
33
39
|
fantom,
|
|
@@ -39,8 +45,9 @@ import {
|
|
|
39
45
|
flare,
|
|
40
46
|
flareTestnet,
|
|
41
47
|
foundry,
|
|
42
|
-
|
|
43
|
-
|
|
48
|
+
fuse,
|
|
49
|
+
fuseSparknet,
|
|
50
|
+
gobi,
|
|
44
51
|
goerli,
|
|
45
52
|
gnosis,
|
|
46
53
|
gnosisChiado,
|
|
@@ -48,7 +55,10 @@ import {
|
|
|
48
55
|
haqqTestedge2,
|
|
49
56
|
hardhat,
|
|
50
57
|
harmonyOne,
|
|
58
|
+
iotex,
|
|
59
|
+
iotexTestnet,
|
|
51
60
|
klaytn,
|
|
61
|
+
linea,
|
|
52
62
|
lineaTestnet,
|
|
53
63
|
localhost,
|
|
54
64
|
mainnet,
|
|
@@ -58,11 +68,14 @@ import {
|
|
|
58
68
|
metisGoerli,
|
|
59
69
|
mev,
|
|
60
70
|
mevTestnet,
|
|
71
|
+
modeTestnet,
|
|
61
72
|
moonbaseAlpha,
|
|
62
73
|
moonbeam,
|
|
63
74
|
moonriver,
|
|
75
|
+
neonDevnet,
|
|
64
76
|
nexilix,
|
|
65
77
|
nexi,
|
|
78
|
+
oasys,
|
|
66
79
|
okc,
|
|
67
80
|
optimism,
|
|
68
81
|
optimismGoerli,
|
|
@@ -72,6 +85,13 @@ import {
|
|
|
72
85
|
polygonZkEvmTestnet,
|
|
73
86
|
pulsechain,
|
|
74
87
|
pulsechainV4,
|
|
88
|
+
qMainnet,
|
|
89
|
+
qTestnet,
|
|
90
|
+
rollux,
|
|
91
|
+
rolluxTestnet,
|
|
92
|
+
ronin,
|
|
93
|
+
saigon,
|
|
94
|
+
scrollSepolia,
|
|
75
95
|
scrollTestnet,
|
|
76
96
|
sepolia,
|
|
77
97
|
skaleBlockBrawlers,
|
|
@@ -93,6 +113,7 @@ import {
|
|
|
93
113
|
songbirdTestnet,
|
|
94
114
|
shardeumSphinx,
|
|
95
115
|
syscoin,
|
|
116
|
+
syscoinTestnet,
|
|
96
117
|
taikoTestnetSepolia,
|
|
97
118
|
taraxa,
|
|
98
119
|
taraxaTestnet,
|
|
@@ -103,6 +124,7 @@ import {
|
|
|
103
124
|
wanchainTestnet,
|
|
104
125
|
xdc,
|
|
105
126
|
xdcTestnet,
|
|
127
|
+
zetachainAthensTestnet,
|
|
106
128
|
zhejiang,
|
|
107
129
|
zkSync,
|
|
108
130
|
zkSyncTestnet,
|
|
@@ -112,6 +134,7 @@ import {
|
|
|
112
134
|
export {
|
|
113
135
|
arbitrum,
|
|
114
136
|
arbitrumGoerli,
|
|
137
|
+
arbitrumNova,
|
|
115
138
|
aurora,
|
|
116
139
|
auroraTestnet,
|
|
117
140
|
avalanche,
|
|
@@ -129,6 +152,7 @@ export {
|
|
|
129
152
|
celo,
|
|
130
153
|
celoAlfajores,
|
|
131
154
|
celoCannoli,
|
|
155
|
+
classic,
|
|
132
156
|
cronos,
|
|
133
157
|
cronosTestnet,
|
|
134
158
|
crossbell,
|
|
@@ -136,6 +160,10 @@ export {
|
|
|
136
160
|
dogechain,
|
|
137
161
|
edgeware,
|
|
138
162
|
edgewareTestnet,
|
|
163
|
+
ekta,
|
|
164
|
+
ektaTestnet,
|
|
165
|
+
eos,
|
|
166
|
+
eosTestnet,
|
|
139
167
|
evmos,
|
|
140
168
|
evmosTestnet,
|
|
141
169
|
fantom,
|
|
@@ -147,8 +175,11 @@ export {
|
|
|
147
175
|
flare,
|
|
148
176
|
flareTestnet,
|
|
149
177
|
foundry,
|
|
178
|
+
fuse,
|
|
179
|
+
fuseSparknet,
|
|
150
180
|
gnosis,
|
|
151
181
|
gnosisChiado,
|
|
182
|
+
gobi,
|
|
152
183
|
goerli,
|
|
153
184
|
haqqMainnet,
|
|
154
185
|
haqqTestedge2,
|
|
@@ -157,6 +188,7 @@ export {
|
|
|
157
188
|
iotex,
|
|
158
189
|
iotexTestnet,
|
|
159
190
|
klaytn,
|
|
191
|
+
linea,
|
|
160
192
|
lineaTestnet,
|
|
161
193
|
localhost,
|
|
162
194
|
mainnet,
|
|
@@ -166,11 +198,14 @@ export {
|
|
|
166
198
|
metisGoerli,
|
|
167
199
|
mev,
|
|
168
200
|
mevTestnet,
|
|
201
|
+
modeTestnet,
|
|
169
202
|
moonbaseAlpha,
|
|
170
203
|
moonbeam,
|
|
171
204
|
moonriver,
|
|
205
|
+
neonDevnet,
|
|
172
206
|
nexi,
|
|
173
207
|
nexilix,
|
|
208
|
+
oasys,
|
|
174
209
|
okc,
|
|
175
210
|
optimism,
|
|
176
211
|
optimismGoerli,
|
|
@@ -180,6 +215,13 @@ export {
|
|
|
180
215
|
polygonZkEvmTestnet,
|
|
181
216
|
pulsechain,
|
|
182
217
|
pulsechainV4,
|
|
218
|
+
qMainnet,
|
|
219
|
+
qTestnet,
|
|
220
|
+
rollux,
|
|
221
|
+
rolluxTestnet,
|
|
222
|
+
ronin,
|
|
223
|
+
saigon,
|
|
224
|
+
scrollSepolia,
|
|
183
225
|
scrollTestnet,
|
|
184
226
|
sepolia,
|
|
185
227
|
shardeumSphinx,
|
|
@@ -201,6 +243,7 @@ export {
|
|
|
201
243
|
songbird,
|
|
202
244
|
songbirdTestnet,
|
|
203
245
|
syscoin,
|
|
246
|
+
syscoinTestnet,
|
|
204
247
|
taikoTestnetSepolia,
|
|
205
248
|
taraxa,
|
|
206
249
|
taraxaTestnet,
|
|
@@ -211,6 +254,7 @@ export {
|
|
|
211
254
|
wanchainTestnet,
|
|
212
255
|
xdc,
|
|
213
256
|
xdcTestnet,
|
|
257
|
+
zetachainAthensTestnet,
|
|
214
258
|
zhejiang,
|
|
215
259
|
zkSync,
|
|
216
260
|
zkSyncTestnet,
|
package/dist/index.d.ts
CHANGED
|
@@ -215,12 +215,12 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
215
215
|
[x: `bytes10[${string}]`]: undefined;
|
|
216
216
|
[x: `bytes19[${string}]`]: undefined;
|
|
217
217
|
[x: `bytes16[${string}]`]: undefined;
|
|
218
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
219
218
|
[x: `bytes2[${string}]`]: undefined;
|
|
220
219
|
[x: `bytes3[${string}]`]: undefined;
|
|
221
220
|
[x: `bytes4[${string}]`]: undefined;
|
|
222
221
|
[x: `bytes6[${string}]`]: undefined;
|
|
223
222
|
[x: `bytes7[${string}]`]: undefined;
|
|
223
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
224
224
|
[x: `bytes9[${string}]`]: undefined;
|
|
225
225
|
[x: `bytes11[${string}]`]: undefined;
|
|
226
226
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -244,8 +244,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
244
244
|
[x: `int240[${string}]`]: undefined;
|
|
245
245
|
[x: `int248[${string}]`]: undefined;
|
|
246
246
|
[x: `int16[${string}]`]: undefined;
|
|
247
|
-
[x: `int8[${string}]`]: undefined;
|
|
248
247
|
[x: `int40[${string}]`]: undefined;
|
|
248
|
+
[x: `int8[${string}]`]: undefined;
|
|
249
249
|
[x: `int24[${string}]`]: undefined;
|
|
250
250
|
[x: `int32[${string}]`]: undefined;
|
|
251
251
|
[x: `int48[${string}]`]: undefined;
|
|
@@ -277,8 +277,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
277
277
|
[x: `uint240[${string}]`]: undefined;
|
|
278
278
|
[x: `uint248[${string}]`]: undefined;
|
|
279
279
|
[x: `uint16[${string}]`]: undefined;
|
|
280
|
-
[x: `uint8[${string}]`]: undefined;
|
|
281
280
|
[x: `uint40[${string}]`]: undefined;
|
|
281
|
+
[x: `uint8[${string}]`]: undefined;
|
|
282
282
|
[x: `uint24[${string}]`]: undefined;
|
|
283
283
|
[x: `uint32[${string}]`]: undefined;
|
|
284
284
|
[x: `uint48[${string}]`]: undefined;
|
|
@@ -317,12 +317,12 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
317
317
|
bytes10?: undefined;
|
|
318
318
|
bytes19?: undefined;
|
|
319
319
|
bytes16?: undefined;
|
|
320
|
-
bytes8?: undefined;
|
|
321
320
|
bytes2?: undefined;
|
|
322
321
|
bytes3?: undefined;
|
|
323
322
|
bytes4?: undefined;
|
|
324
323
|
bytes6?: undefined;
|
|
325
324
|
bytes7?: undefined;
|
|
325
|
+
bytes8?: undefined;
|
|
326
326
|
bytes9?: undefined;
|
|
327
327
|
bytes11?: undefined;
|
|
328
328
|
bytes12?: undefined;
|
|
@@ -345,8 +345,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
345
345
|
int240?: undefined;
|
|
346
346
|
int248?: undefined;
|
|
347
347
|
int16?: undefined;
|
|
348
|
-
int8?: undefined;
|
|
349
348
|
int40?: undefined;
|
|
349
|
+
int8?: undefined;
|
|
350
350
|
int24?: undefined;
|
|
351
351
|
int32?: undefined;
|
|
352
352
|
int48?: undefined;
|
|
@@ -377,8 +377,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
377
377
|
uint240?: undefined;
|
|
378
378
|
uint248?: undefined;
|
|
379
379
|
uint16?: undefined;
|
|
380
|
-
uint8?: undefined;
|
|
381
380
|
uint40?: undefined;
|
|
381
|
+
uint8?: undefined;
|
|
382
382
|
uint24?: undefined;
|
|
383
383
|
uint32?: undefined;
|
|
384
384
|
uint48?: undefined;
|
|
@@ -421,12 +421,12 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
421
421
|
[x: `bytes10[${string}]`]: undefined;
|
|
422
422
|
[x: `bytes19[${string}]`]: undefined;
|
|
423
423
|
[x: `bytes16[${string}]`]: undefined;
|
|
424
|
-
[x: `bytes8[${string}]`]: undefined;
|
|
425
424
|
[x: `bytes2[${string}]`]: undefined;
|
|
426
425
|
[x: `bytes3[${string}]`]: undefined;
|
|
427
426
|
[x: `bytes4[${string}]`]: undefined;
|
|
428
427
|
[x: `bytes6[${string}]`]: undefined;
|
|
429
428
|
[x: `bytes7[${string}]`]: undefined;
|
|
429
|
+
[x: `bytes8[${string}]`]: undefined;
|
|
430
430
|
[x: `bytes9[${string}]`]: undefined;
|
|
431
431
|
[x: `bytes11[${string}]`]: undefined;
|
|
432
432
|
[x: `bytes12[${string}]`]: undefined;
|
|
@@ -450,8 +450,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
450
450
|
[x: `int240[${string}]`]: undefined;
|
|
451
451
|
[x: `int248[${string}]`]: undefined;
|
|
452
452
|
[x: `int16[${string}]`]: undefined;
|
|
453
|
-
[x: `int8[${string}]`]: undefined;
|
|
454
453
|
[x: `int40[${string}]`]: undefined;
|
|
454
|
+
[x: `int8[${string}]`]: undefined;
|
|
455
455
|
[x: `int24[${string}]`]: undefined;
|
|
456
456
|
[x: `int32[${string}]`]: undefined;
|
|
457
457
|
[x: `int48[${string}]`]: undefined;
|
|
@@ -483,8 +483,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
483
483
|
[x: `uint240[${string}]`]: undefined;
|
|
484
484
|
[x: `uint248[${string}]`]: undefined;
|
|
485
485
|
[x: `uint16[${string}]`]: undefined;
|
|
486
|
-
[x: `uint8[${string}]`]: undefined;
|
|
487
486
|
[x: `uint40[${string}]`]: undefined;
|
|
487
|
+
[x: `uint8[${string}]`]: undefined;
|
|
488
488
|
[x: `uint24[${string}]`]: undefined;
|
|
489
489
|
[x: `uint32[${string}]`]: undefined;
|
|
490
490
|
[x: `uint48[${string}]`]: undefined;
|
|
@@ -523,12 +523,12 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
523
523
|
bytes10?: undefined;
|
|
524
524
|
bytes19?: undefined;
|
|
525
525
|
bytes16?: undefined;
|
|
526
|
-
bytes8?: undefined;
|
|
527
526
|
bytes2?: undefined;
|
|
528
527
|
bytes3?: undefined;
|
|
529
528
|
bytes4?: undefined;
|
|
530
529
|
bytes6?: undefined;
|
|
531
530
|
bytes7?: undefined;
|
|
531
|
+
bytes8?: undefined;
|
|
532
532
|
bytes9?: undefined;
|
|
533
533
|
bytes11?: undefined;
|
|
534
534
|
bytes12?: undefined;
|
|
@@ -551,8 +551,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
551
551
|
int240?: undefined;
|
|
552
552
|
int248?: undefined;
|
|
553
553
|
int16?: undefined;
|
|
554
|
-
int8?: undefined;
|
|
555
554
|
int40?: undefined;
|
|
555
|
+
int8?: undefined;
|
|
556
556
|
int24?: undefined;
|
|
557
557
|
int32?: undefined;
|
|
558
558
|
int48?: undefined;
|
|
@@ -583,8 +583,8 @@ declare function useSignTypedData<TTypedData extends TypedData, TPrimaryType ext
|
|
|
583
583
|
uint240?: undefined;
|
|
584
584
|
uint248?: undefined;
|
|
585
585
|
uint16?: undefined;
|
|
586
|
-
uint8?: undefined;
|
|
587
586
|
uint40?: undefined;
|
|
587
|
+
uint8?: undefined;
|
|
588
588
|
uint24?: undefined;
|
|
589
589
|
uint32?: undefined;
|
|
590
590
|
uint48?: undefined;
|
package/dist/window.d.ts
CHANGED
|
@@ -9,14 +9,18 @@ type InjectedProviderFlags = {
|
|
|
9
9
|
isBitski?: true;
|
|
10
10
|
isBlockWallet?: true;
|
|
11
11
|
isBraveWallet?: true;
|
|
12
|
+
isCoin98?: true;
|
|
12
13
|
isCoinbaseWallet?: true;
|
|
13
14
|
isDawn?: true;
|
|
14
15
|
isDefiant?: true;
|
|
16
|
+
isDesig?: true;
|
|
15
17
|
isEnkrypt?: true;
|
|
16
18
|
isExodus?: true;
|
|
19
|
+
isFordefi?: true;
|
|
17
20
|
isFrame?: true;
|
|
18
21
|
isFrontier?: true;
|
|
19
22
|
isGamestop?: true;
|
|
23
|
+
isHaloWallet?: true;
|
|
20
24
|
isHaqqWallet?: true;
|
|
21
25
|
isHyperPay?: true;
|
|
22
26
|
isImToken?: true;
|
|
@@ -34,6 +38,7 @@ type InjectedProviderFlags = {
|
|
|
34
38
|
isRabby?: true;
|
|
35
39
|
isRainbow?: true;
|
|
36
40
|
isStatus?: true;
|
|
41
|
+
isSubWallet?: true;
|
|
37
42
|
isTalisman?: true;
|
|
38
43
|
isTally?: true;
|
|
39
44
|
isTokenPocket?: true;
|
|
@@ -43,7 +48,6 @@ type InjectedProviderFlags = {
|
|
|
43
48
|
isTTWallet?: true;
|
|
44
49
|
isXDEFI?: true;
|
|
45
50
|
isZerion?: true;
|
|
46
|
-
isHaloWallet?: true;
|
|
47
51
|
};
|
|
48
52
|
type InjectedProviders = InjectedProviderFlags & {
|
|
49
53
|
isMetaMask: true;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "wagmi",
|
|
3
3
|
"description": "React Hooks for Ethereum",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.3.
|
|
5
|
+
"version": "1.3.10",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/wagmi-dev/wagmi.git",
|
|
@@ -123,7 +123,7 @@
|
|
|
123
123
|
"@tanstack/react-query-persist-client": "^4.28.0",
|
|
124
124
|
"abitype": "0.8.7",
|
|
125
125
|
"use-sync-external-store": "^1.2.0",
|
|
126
|
-
"@wagmi/core": "1.3.
|
|
126
|
+
"@wagmi/core": "1.3.9"
|
|
127
127
|
},
|
|
128
128
|
"devDependencies": {
|
|
129
129
|
"@testing-library/react": "^13.3.0",
|