@wagmi/connectors 2.1.1 → 2.2.0

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.
@@ -1,7 +1,6 @@
1
1
  import { Chain as Chain$1 } from '@wagmi/chains';
2
- import { Address } from 'abitype';
3
2
  import EventEmitter from 'eventemitter3';
4
- import { EIP1193Provider, Transport, Chain, Account, WalletClient as WalletClient$1 } from 'viem';
3
+ import { EIP1193Provider, Transport, Chain, Account, WalletClient as WalletClient$1, Address } from 'viem';
5
4
 
6
5
  type InjectedProviderFlags = {
7
6
  isApexWallet?: true;
@@ -1,11 +1,8 @@
1
- import * as abitype from 'abitype';
2
- import * as viem_dist_types_types_eip1193 from 'viem/dist/types/types/eip1193';
3
- import * as viem_dist_types_types_misc from 'viem/dist/types/types/misc';
4
1
  import * as viem from 'viem';
5
2
  import { CoinbaseWalletProvider } from '@coinbase/wallet-sdk';
6
3
  import { CoinbaseWalletSDKOptions } from '@coinbase/wallet-sdk/dist/CoinbaseWalletSDK';
7
4
  import { Chain } from '@wagmi/chains';
8
- import { C as Connector } from './base-269cc543.js';
5
+ import { C as Connector } from './base-1553d802.js';
9
6
  import 'eventemitter3';
10
7
 
11
8
  type Options = Omit<CoinbaseWalletSDKOptions, 'reloadOnDisconnect'> & {
@@ -53,466 +50,12 @@ declare class CoinbaseWalletConnector extends Connector<CoinbaseWalletProvider,
53
50
  key: string;
54
51
  name: string;
55
52
  pollingInterval: number;
56
- request: {
57
- (args: {
58
- method: "web3_clientVersion";
59
- params?: undefined;
60
- }): Promise<string>;
61
- (args: {
62
- method: "web3_sha3";
63
- params: [data: `0x${string}`];
64
- }): Promise<string>;
65
- (args: {
66
- method: "net_listening";
67
- params?: undefined;
68
- }): Promise<boolean>;
69
- (args: {
70
- method: "net_peerCount";
71
- params?: undefined;
72
- }): Promise<`0x${string}`>;
73
- (args: {
74
- method: "net_version";
75
- params?: undefined;
76
- }): Promise<`0x${string}`>;
77
- (args: {
78
- method: "eth_blockNumber";
79
- params?: undefined;
80
- }): Promise<`0x${string}`>;
81
- (args: {
82
- method: "eth_call";
83
- params: [request: Partial<viem.RpcTransactionRequest>, block?: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier | undefined];
84
- }): Promise<`0x${string}`>;
85
- (args: {
86
- method: "eth_chainId";
87
- params?: undefined;
88
- }): Promise<`0x${string}`>;
89
- (args: {
90
- method: "eth_coinbase";
91
- params?: undefined;
92
- }): Promise<`0x${string}`>;
93
- (args: {
94
- method: "eth_estimateGas";
95
- params: [parameters: viem.RpcTransactionRequest, block?: `0x${string}` | viem.BlockTag | undefined];
96
- }): Promise<`0x${string}`>;
97
- (args: {
98
- method: "eth_feeHistory";
99
- params: [blockCount: `0x${string}`, newestBlock: `0x${string}` | viem.BlockTag, rewardPercentiles: number[] | undefined];
100
- }): Promise<viem.RpcFeeHistory>;
101
- (args: {
102
- method: "eth_gasPrice";
103
- params?: undefined;
104
- }): Promise<`0x${string}`>;
105
- (args: {
106
- method: "eth_getBalance";
107
- params: [address: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
108
- }): Promise<`0x${string}`>;
109
- (args: {
110
- method: "eth_getBlockByHash";
111
- params: [hash: `0x${string}`, includeTransactionObjects: boolean];
112
- }): Promise<viem.RpcBlock | null>;
113
- (args: {
114
- method: "eth_getBlockByNumber";
115
- params: [block: `0x${string}` | viem.BlockTag, includeTransactionObjects: boolean];
116
- }): Promise<viem.RpcBlock | null>;
117
- (args: {
118
- method: "eth_getBlockTransactionCountByHash";
119
- params: [hash: `0x${string}`];
120
- }): Promise<`0x${string}`>;
121
- (args: {
122
- method: "eth_getBlockTransactionCountByNumber";
123
- params: [block: `0x${string}` | viem.BlockTag];
124
- }): Promise<`0x${string}`>;
125
- (args: {
126
- method: "eth_getCode";
127
- params: [address: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
128
- }): Promise<`0x${string}`>;
129
- (args: {
130
- method: "eth_getFilterChanges";
131
- params: [filterId: `0x${string}`];
132
- }): Promise<`0x${string}`[] | viem.RpcLog[]>;
133
- (args: {
134
- method: "eth_getFilterLogs";
135
- params: [filterId: `0x${string}`];
136
- }): Promise<viem.RpcLog[]>;
137
- (args: {
138
- method: "eth_getLogs";
139
- params: [parameters: {
140
- address?: `0x${string}` | `0x${string}`[] | undefined;
141
- topics?: viem_dist_types_types_misc.LogTopic[] | undefined;
142
- } & ({
143
- fromBlock?: `0x${string}` | viem.BlockTag | undefined;
144
- toBlock?: `0x${string}` | viem.BlockTag | undefined;
145
- blockHash?: undefined;
146
- } | {
147
- fromBlock?: undefined;
148
- toBlock?: undefined;
149
- blockHash?: `0x${string}` | undefined;
150
- })];
151
- }): Promise<viem.RpcLog[]>;
152
- (args: {
153
- method: "eth_getStorageAt";
154
- params: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
155
- }): Promise<`0x${string}`>;
156
- (args: {
157
- method: "eth_getTransactionByBlockHashAndIndex";
158
- params: [hash: `0x${string}`, index: `0x${string}`];
159
- }): Promise<viem.RpcTransaction | null>;
160
- (args: {
161
- method: "eth_getTransactionByBlockNumberAndIndex";
162
- params: [block: `0x${string}` | viem.BlockTag, index: `0x${string}`];
163
- }): Promise<viem.RpcTransaction | null>;
164
- (args: {
165
- method: "eth_getTransactionByHash";
166
- params: [hash: `0x${string}`];
167
- }): Promise<viem.RpcTransaction | null>;
168
- (args: {
169
- method: "eth_getTransactionCount";
170
- params: [address: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
171
- }): Promise<`0x${string}`>;
172
- (args: {
173
- method: "eth_getTransactionReceipt";
174
- params: [hash: `0x${string}`];
175
- }): Promise<viem.RpcTransactionReceipt | null>;
176
- (args: {
177
- method: "eth_getUncleByBlockHashAndIndex";
178
- params: [hash: `0x${string}`, index: `0x${string}`];
179
- }): Promise<viem.RpcUncle | null>;
180
- (args: {
181
- method: "eth_getUncleByBlockNumberAndIndex";
182
- params: [block: `0x${string}` | viem.BlockTag, index: `0x${string}`];
183
- }): Promise<viem.RpcUncle | null>;
184
- (args: {
185
- method: "eth_getUncleCountByBlockHash";
186
- params: [hash: `0x${string}`];
187
- }): Promise<`0x${string}`>;
188
- (args: {
189
- method: "eth_getUncleCountByBlockNumber";
190
- params: [block: `0x${string}` | viem.BlockTag];
191
- }): Promise<`0x${string}`>;
192
- (args: {
193
- method: "eth_newBlockFilter";
194
- params?: undefined;
195
- }): Promise<`0x${string}`>;
196
- (args: {
197
- method: "eth_newFilter";
198
- params: [filter: {
199
- fromBlock?: `0x${string}` | viem.BlockTag | undefined;
200
- toBlock?: `0x${string}` | viem.BlockTag | undefined;
201
- address?: `0x${string}` | `0x${string}`[] | undefined;
202
- topics?: viem_dist_types_types_misc.LogTopic[] | undefined;
203
- }];
204
- }): Promise<`0x${string}`>;
205
- (args: {
206
- method: "eth_newPendingTransactionFilter";
207
- params?: undefined;
208
- }): Promise<`0x${string}`>;
209
- (args: {
210
- method: "eth_protocolVersion";
211
- params?: undefined;
212
- }): Promise<string>;
213
- (args: {
214
- method: "eth_sendRawTransaction";
215
- params: [signedTransaction: `0x${string}`];
216
- }): Promise<`0x${string}`>;
217
- (args: {
218
- method: "eth_uninstallFilter";
219
- params: [filterId: `0x${string}`];
220
- }): Promise<boolean>;
221
- } & {
222
- (args: {
223
- method: "eth_sendTransaction";
224
- params: [request: viem.RpcTransactionRequest];
225
- }): Promise<`0x${string}`>;
226
- (args: {
227
- method: "eth_sign";
228
- params: [address: `0x${string}`, data: `0x${string}`];
229
- }): Promise<`0x${string}`>;
230
- (args: {
231
- method: "eth_signTransaction";
232
- params: [request: viem.RpcTransactionRequest];
233
- }): Promise<`0x${string}`>;
234
- (args: {
235
- method: "eth_signTypedData_v4";
236
- params: [address: `0x${string}`, message: string];
237
- }): Promise<`0x${string}`>;
238
- (args: {
239
- method: "eth_syncing";
240
- params?: undefined;
241
- }): Promise<false | viem_dist_types_types_eip1193.NetworkSync>;
242
- (args: {
243
- method: "personal_sign";
244
- params: [data: `0x${string}`, address: `0x${string}`];
245
- }): Promise<`0x${string}`>;
246
- } & {
247
- (args: {
248
- method: "eth_accounts";
249
- params?: undefined;
250
- }): Promise<`0x${string}`[]>;
251
- (args: {
252
- method: "eth_chainId";
253
- params?: undefined;
254
- }): Promise<`0x${string}`>;
255
- (args: {
256
- method: "eth_requestAccounts";
257
- params?: undefined;
258
- }): Promise<`0x${string}`[]>;
259
- (args: {
260
- method: "wallet_requestPermissions";
261
- params: [permissions: {
262
- eth_accounts: Record<string, any>;
263
- }];
264
- }): Promise<viem_dist_types_types_eip1193.WalletPermission[]>;
265
- (args: {
266
- method: "wallet_getPermissions";
267
- params?: undefined;
268
- }): Promise<viem_dist_types_types_eip1193.WalletPermission[]>;
269
- (args: {
270
- method: "wallet_addEthereumChain";
271
- params: [chain: viem_dist_types_types_eip1193.Chain];
272
- }): Promise<null>;
273
- (args: {
274
- method: "wallet_switchEthereumChain";
275
- params: [chain: {
276
- chainId: string;
277
- }];
278
- }): Promise<null>;
279
- (args: {
280
- method: "wallet_watchAsset";
281
- params: viem_dist_types_types_eip1193.WatchAssetParams;
282
- }): Promise<boolean>;
283
- };
284
- transport: viem.TransportConfig<"custom", {
285
- (args: {
286
- method: "web3_clientVersion";
287
- params?: undefined;
288
- }): Promise<string>;
289
- (args: {
290
- method: "web3_sha3";
291
- params: [data: `0x${string}`];
292
- }): Promise<string>;
293
- (args: {
294
- method: "net_listening";
295
- params?: undefined;
296
- }): Promise<boolean>;
297
- (args: {
298
- method: "net_peerCount";
299
- params?: undefined;
300
- }): Promise<`0x${string}`>;
301
- (args: {
302
- method: "net_version";
303
- params?: undefined;
304
- }): Promise<`0x${string}`>;
305
- (args: {
306
- method: "eth_blockNumber";
307
- params?: undefined;
308
- }): Promise<`0x${string}`>;
309
- (args: {
310
- method: "eth_call";
311
- params: [request: Partial<viem.RpcTransactionRequest>, block?: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier | undefined];
312
- }): Promise<`0x${string}`>;
313
- (args: {
314
- method: "eth_chainId";
315
- params?: undefined;
316
- }): Promise<`0x${string}`>;
317
- (args: {
318
- method: "eth_coinbase";
319
- params?: undefined;
320
- }): Promise<`0x${string}`>;
321
- (args: {
322
- method: "eth_estimateGas";
323
- params: [parameters: viem.RpcTransactionRequest, block?: `0x${string}` | viem.BlockTag | undefined];
324
- }): Promise<`0x${string}`>;
325
- (args: {
326
- method: "eth_feeHistory";
327
- params: [blockCount: `0x${string}`, newestBlock: `0x${string}` | viem.BlockTag, rewardPercentiles: number[] | undefined];
328
- }): Promise<viem.RpcFeeHistory>;
329
- (args: {
330
- method: "eth_gasPrice";
331
- params?: undefined;
332
- }): Promise<`0x${string}`>;
333
- (args: {
334
- method: "eth_getBalance";
335
- params: [address: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
336
- }): Promise<`0x${string}`>;
337
- (args: {
338
- method: "eth_getBlockByHash";
339
- params: [hash: `0x${string}`, includeTransactionObjects: boolean];
340
- }): Promise<viem.RpcBlock | null>;
341
- (args: {
342
- method: "eth_getBlockByNumber";
343
- params: [block: `0x${string}` | viem.BlockTag, includeTransactionObjects: boolean];
344
- }): Promise<viem.RpcBlock | null>;
345
- (args: {
346
- method: "eth_getBlockTransactionCountByHash";
347
- params: [hash: `0x${string}`];
348
- }): Promise<`0x${string}`>;
349
- (args: {
350
- method: "eth_getBlockTransactionCountByNumber";
351
- params: [block: `0x${string}` | viem.BlockTag];
352
- }): Promise<`0x${string}`>;
353
- (args: {
354
- method: "eth_getCode";
355
- params: [address: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
356
- }): Promise<`0x${string}`>;
357
- (args: {
358
- method: "eth_getFilterChanges";
359
- params: [filterId: `0x${string}`];
360
- }): Promise<`0x${string}`[] | viem.RpcLog[]>;
361
- (args: {
362
- method: "eth_getFilterLogs";
363
- params: [filterId: `0x${string}`];
364
- }): Promise<viem.RpcLog[]>;
365
- (args: {
366
- method: "eth_getLogs";
367
- params: [parameters: {
368
- address?: `0x${string}` | `0x${string}`[] | undefined;
369
- topics?: viem_dist_types_types_misc.LogTopic[] | undefined;
370
- } & ({
371
- fromBlock?: `0x${string}` | viem.BlockTag | undefined;
372
- toBlock?: `0x${string}` | viem.BlockTag | undefined;
373
- blockHash?: undefined;
374
- } | {
375
- fromBlock?: undefined;
376
- toBlock?: undefined;
377
- blockHash?: `0x${string}` | undefined;
378
- })];
379
- }): Promise<viem.RpcLog[]>;
380
- (args: {
381
- method: "eth_getStorageAt";
382
- params: [address: `0x${string}`, index: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
383
- }): Promise<`0x${string}`>;
384
- (args: {
385
- method: "eth_getTransactionByBlockHashAndIndex";
386
- params: [hash: `0x${string}`, index: `0x${string}`];
387
- }): Promise<viem.RpcTransaction | null>;
388
- (args: {
389
- method: "eth_getTransactionByBlockNumberAndIndex";
390
- params: [block: `0x${string}` | viem.BlockTag, index: `0x${string}`];
391
- }): Promise<viem.RpcTransaction | null>;
392
- (args: {
393
- method: "eth_getTransactionByHash";
394
- params: [hash: `0x${string}`];
395
- }): Promise<viem.RpcTransaction | null>;
396
- (args: {
397
- method: "eth_getTransactionCount";
398
- params: [address: `0x${string}`, block: `0x${string}` | viem.BlockTag | viem.RpcBlockIdentifier];
399
- }): Promise<`0x${string}`>;
400
- (args: {
401
- method: "eth_getTransactionReceipt";
402
- params: [hash: `0x${string}`];
403
- }): Promise<viem.RpcTransactionReceipt | null>;
404
- (args: {
405
- method: "eth_getUncleByBlockHashAndIndex";
406
- params: [hash: `0x${string}`, index: `0x${string}`];
407
- }): Promise<viem.RpcUncle | null>;
408
- (args: {
409
- method: "eth_getUncleByBlockNumberAndIndex";
410
- params: [block: `0x${string}` | viem.BlockTag, index: `0x${string}`];
411
- }): Promise<viem.RpcUncle | null>;
412
- (args: {
413
- method: "eth_getUncleCountByBlockHash";
414
- params: [hash: `0x${string}`];
415
- }): Promise<`0x${string}`>;
416
- (args: {
417
- method: "eth_getUncleCountByBlockNumber";
418
- params: [block: `0x${string}` | viem.BlockTag];
419
- }): Promise<`0x${string}`>;
420
- (args: {
421
- method: "eth_newBlockFilter";
422
- params?: undefined;
423
- }): Promise<`0x${string}`>;
424
- (args: {
425
- method: "eth_newFilter";
426
- params: [filter: {
427
- fromBlock?: `0x${string}` | viem.BlockTag | undefined;
428
- toBlock?: `0x${string}` | viem.BlockTag | undefined;
429
- address?: `0x${string}` | `0x${string}`[] | undefined;
430
- topics?: viem_dist_types_types_misc.LogTopic[] | undefined;
431
- }];
432
- }): Promise<`0x${string}`>;
433
- (args: {
434
- method: "eth_newPendingTransactionFilter";
435
- params?: undefined;
436
- }): Promise<`0x${string}`>;
437
- (args: {
438
- method: "eth_protocolVersion";
439
- params?: undefined;
440
- }): Promise<string>;
441
- (args: {
442
- method: "eth_sendRawTransaction";
443
- params: [signedTransaction: `0x${string}`];
444
- }): Promise<`0x${string}`>;
445
- (args: {
446
- method: "eth_uninstallFilter";
447
- params: [filterId: `0x${string}`];
448
- }): Promise<boolean>;
449
- } & {
450
- (args: {
451
- method: "eth_sendTransaction";
452
- params: [request: viem.RpcTransactionRequest];
453
- }): Promise<`0x${string}`>;
454
- (args: {
455
- method: "eth_sign";
456
- params: [address: `0x${string}`, data: `0x${string}`];
457
- }): Promise<`0x${string}`>;
458
- (args: {
459
- method: "eth_signTransaction";
460
- params: [request: viem.RpcTransactionRequest];
461
- }): Promise<`0x${string}`>;
462
- (args: {
463
- method: "eth_signTypedData_v4";
464
- params: [address: `0x${string}`, message: string];
465
- }): Promise<`0x${string}`>;
466
- (args: {
467
- method: "eth_syncing";
468
- params?: undefined;
469
- }): Promise<false | viem_dist_types_types_eip1193.NetworkSync>;
470
- (args: {
471
- method: "personal_sign";
472
- params: [data: `0x${string}`, address: `0x${string}`];
473
- }): Promise<`0x${string}`>;
474
- } & {
475
- (args: {
476
- method: "eth_accounts";
477
- params?: undefined;
478
- }): Promise<`0x${string}`[]>;
479
- (args: {
480
- method: "eth_chainId";
481
- params?: undefined;
482
- }): Promise<`0x${string}`>;
483
- (args: {
484
- method: "eth_requestAccounts";
485
- params?: undefined;
486
- }): Promise<`0x${string}`[]>;
487
- (args: {
488
- method: "wallet_requestPermissions";
489
- params: [permissions: {
490
- eth_accounts: Record<string, any>;
491
- }];
492
- }): Promise<viem_dist_types_types_eip1193.WalletPermission[]>;
493
- (args: {
494
- method: "wallet_getPermissions";
495
- params?: undefined;
496
- }): Promise<viem_dist_types_types_eip1193.WalletPermission[]>;
497
- (args: {
498
- method: "wallet_addEthereumChain";
499
- params: [chain: viem_dist_types_types_eip1193.Chain];
500
- }): Promise<null>;
501
- (args: {
502
- method: "wallet_switchEthereumChain";
503
- params: [chain: {
504
- chainId: string;
505
- }];
506
- }): Promise<null>;
507
- (args: {
508
- method: "wallet_watchAsset";
509
- params: viem_dist_types_types_eip1193.WatchAssetParams;
510
- }): Promise<boolean>;
511
- }> & ((...args: any) => Promise<any>);
53
+ request: viem.EIP1193RequestFn<viem.WalletRpcSchema>;
54
+ transport: viem.TransportConfig<"custom", viem.EIP1193RequestFn> & ((...args: any) => Promise<any>);
512
55
  type: string;
513
56
  uid: string;
514
57
  addChain: (args: viem.AddChainParameters) => Promise<void>;
515
- deployContract: <TAbi extends readonly unknown[] | abitype.Abi, TChainOverride extends viem.Chain | undefined>(args: viem.DeployContractParameters<TAbi, Chain, {
58
+ deployContract: <TAbi extends readonly unknown[] | viem.Abi, TChainOverride extends viem.Chain | undefined>(args: viem.DeployContractParameters<TAbi, Chain, {
516
59
  address: `0x${string}`;
517
60
  type: "json-rpc";
518
61
  }, TChainOverride>) => Promise<`0x${string}`>;
@@ -533,17 +76,17 @@ declare class CoinbaseWalletConnector extends Connector<CoinbaseWalletProvider,
533
76
  type: "json-rpc";
534
77
  }>) => Promise<`0x${string}`>;
535
78
  signTypedData: <TTypedData extends {
536
- [x: string]: readonly abitype.TypedDataParameter[];
79
+ [x: string]: readonly viem.TypedDataParameter[];
537
80
  [x: `string[${string}]`]: undefined;
538
81
  [x: `function[${string}]`]: undefined;
539
82
  [x: `address[${string}]`]: undefined;
540
83
  [x: `bool[${string}]`]: undefined;
541
84
  [x: `bytes[${string}]`]: undefined;
85
+ [x: `bytes16[${string}]`]: undefined;
542
86
  [x: `bytes5[${string}]`]: undefined;
543
87
  [x: `bytes1[${string}]`]: undefined;
544
88
  [x: `bytes18[${string}]`]: undefined;
545
89
  [x: `bytes2[${string}]`]: undefined;
546
- [x: `bytes16[${string}]`]: undefined;
547
90
  [x: `bytes10[${string}]`]: undefined;
548
91
  [x: `bytes3[${string}]`]: undefined;
549
92
  [x: `bytes4[${string}]`]: undefined;
@@ -641,11 +184,11 @@ declare class CoinbaseWalletConnector extends Connector<CoinbaseWalletProvider,
641
184
  address?: undefined;
642
185
  bool?: undefined;
643
186
  bytes?: undefined;
187
+ bytes16?: undefined;
644
188
  bytes5?: undefined;
645
189
  bytes1?: undefined;
646
190
  bytes18?: undefined;
647
191
  bytes2?: undefined;
648
- bytes16?: undefined;
649
192
  bytes10?: undefined;
650
193
  bytes3?: undefined;
651
194
  bytes4?: undefined;
@@ -744,8 +287,8 @@ declare class CoinbaseWalletConnector extends Connector<CoinbaseWalletProvider,
744
287
  type: "json-rpc";
745
288
  }>) => Promise<`0x${string}`>;
746
289
  switchChain: (args: viem.SwitchChainParameters) => Promise<void>;
747
- watchAsset: (args: viem_dist_types_types_eip1193.WatchAssetParams) => Promise<boolean>;
748
- writeContract: <TAbi_1 extends readonly unknown[] | abitype.Abi, TFunctionName extends string, TChainOverride_2 extends viem.Chain | undefined>(args: viem.WriteContractParameters<TAbi_1, TFunctionName, Chain, {
290
+ watchAsset: (args: viem.WatchAssetParams) => Promise<boolean>;
291
+ writeContract: <TAbi_1 extends readonly unknown[] | viem.Abi, TFunctionName extends string, TChainOverride_2 extends viem.Chain | undefined>(args: viem.WriteContractParameters<TAbi_1, TFunctionName, Chain, {
749
292
  address: `0x${string}`;
750
293
  type: "json-rpc";
751
294
  }, TChainOverride_2>) => Promise<`0x${string}`>;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
- export { C as Connector, a as ConnectorData, b as ConnectorEvents, W as WindowProvider } from './base-269cc543.js';
1
+ export { C as Connector, a as ConnectorData, b as ConnectorEvents, W as WindowProvider } from './base-1553d802.js';
2
2
  import '@wagmi/chains';
3
- import 'abitype';
4
3
  import 'eventemitter3';
5
4
  import 'viem';
6
5