@wagmi/core 0.2.0-next.1 → 0.2.0-next.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.
Files changed (47) hide show
  1. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.dev.js +135 -151
  2. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.prod.js +135 -151
  3. package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.esm.js +136 -152
  4. package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.dev.js +96 -153
  5. package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.prod.js +96 -153
  6. package/connectors/mock/dist/wagmi-core-connectors-mock.esm.js +96 -153
  7. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.dev.js +91 -124
  8. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.prod.js +91 -124
  9. package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.esm.js +91 -124
  10. package/dist/base-37097073.esm.js +516 -0
  11. package/dist/base-85d1eb89.cjs.dev.js +543 -0
  12. package/dist/base-d3563329.cjs.prod.js +543 -0
  13. package/dist/{classPrivateMethodGet-38b54c7a.cjs.dev.js → classPrivateMethodGet-3f47cf74.cjs.dev.js} +1 -1
  14. package/dist/{classPrivateMethodGet-0e9a7925.cjs.prod.js → classPrivateMethodGet-a763c0df.cjs.prod.js} +1 -1
  15. package/dist/{classPrivateMethodGet-c9db96d6.esm.js → classPrivateMethodGet-b3ba7c1d.esm.js} +1 -1
  16. package/dist/declarations/src/actions/accounts/connect.d.ts +14 -5
  17. package/dist/declarations/src/actions/accounts/getAccount.d.ts +5 -4
  18. package/dist/declarations/src/actions/accounts/index.d.ts +1 -1
  19. package/dist/declarations/src/actions/accounts/switchNetwork.d.ts +1 -1
  20. package/dist/declarations/src/actions/accounts/watchAccount.d.ts +3 -2
  21. package/dist/declarations/src/actions/index.d.ts +1 -1
  22. package/dist/declarations/src/actions/providers/getProvider.d.ts +2 -2
  23. package/dist/declarations/src/actions/providers/getWebSocketProvider.d.ts +2 -2
  24. package/dist/declarations/src/actions/providers/watchProvider.d.ts +3 -2
  25. package/dist/declarations/src/actions/providers/watchWebSocketProvider.d.ts +3 -2
  26. package/dist/declarations/src/client.d.ts +26 -23
  27. package/dist/declarations/src/connectors/base.d.ts +7 -1
  28. package/dist/declarations/src/connectors/coinbaseWallet.d.ts +9 -0
  29. package/dist/declarations/src/constants/abis.d.ts +2 -0
  30. package/dist/declarations/src/constants/blockExplorers.d.ts +9 -0
  31. package/dist/declarations/src/constants/chains.d.ts +17 -6
  32. package/dist/declarations/src/constants/index.d.ts +6 -2
  33. package/dist/declarations/src/constants/keys.d.ts +2 -0
  34. package/dist/declarations/src/constants/rpcs.d.ts +7 -0
  35. package/dist/declarations/src/index.d.ts +8 -5
  36. package/dist/declarations/src/types/index.d.ts +10 -5
  37. package/dist/wagmi-core.cjs.dev.js +577 -1067
  38. package/dist/wagmi-core.cjs.prod.js +577 -1067
  39. package/dist/wagmi-core.esm.js +574 -1068
  40. package/package.json +2 -3
  41. package/dist/base-09a653f3.cjs.dev.js +0 -453
  42. package/dist/base-824c3b6d.esm.js +0 -430
  43. package/dist/base-d8123d5f.cjs.prod.js +0 -453
  44. package/dist/declarations/src/constants/abis/erc1155.d.ts +0 -17
  45. package/dist/declarations/src/constants/abis/erc20.d.ts +0 -38
  46. package/dist/declarations/src/constants/abis/erc721.d.ts +0 -15
  47. package/dist/declarations/src/constants/abis/index.d.ts +0 -3
@@ -0,0 +1,543 @@
1
+ 'use strict';
2
+
3
+ var EventEmitter = require('eventemitter3');
4
+
5
+ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
6
+
7
+ var EventEmitter__default = /*#__PURE__*/_interopDefault(EventEmitter);
8
+
9
+ function _checkPrivateRedeclaration(obj, privateCollection) {
10
+ if (privateCollection.has(obj)) {
11
+ throw new TypeError("Cannot initialize the same private elements twice on an object");
12
+ }
13
+ }
14
+
15
+ function _classPrivateFieldInitSpec(obj, privateMap, value) {
16
+ _checkPrivateRedeclaration(obj, privateMap);
17
+ privateMap.set(obj, value);
18
+ }
19
+
20
+ function _defineProperty(obj, key, value) {
21
+ if (key in obj) {
22
+ Object.defineProperty(obj, key, {
23
+ value: value,
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true
27
+ });
28
+ } else {
29
+ obj[key] = value;
30
+ }
31
+
32
+ return obj;
33
+ }
34
+
35
+ function _classApplyDescriptorGet(receiver, descriptor) {
36
+ if (descriptor.get) {
37
+ return descriptor.get.call(receiver);
38
+ }
39
+
40
+ return descriptor.value;
41
+ }
42
+
43
+ function _classExtractFieldDescriptor(receiver, privateMap, action) {
44
+ if (!privateMap.has(receiver)) {
45
+ throw new TypeError("attempted to " + action + " private field on non-instance");
46
+ }
47
+
48
+ return privateMap.get(receiver);
49
+ }
50
+
51
+ function _classPrivateFieldGet(receiver, privateMap) {
52
+ var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "get");
53
+ return _classApplyDescriptorGet(receiver, descriptor);
54
+ }
55
+
56
+ function _classApplyDescriptorSet(receiver, descriptor, value) {
57
+ if (descriptor.set) {
58
+ descriptor.set.call(receiver, value);
59
+ } else {
60
+ if (!descriptor.writable) {
61
+ throw new TypeError("attempted to set read only private field");
62
+ }
63
+
64
+ descriptor.value = value;
65
+ }
66
+ }
67
+
68
+ function _classPrivateFieldSet(receiver, privateMap, value) {
69
+ var descriptor = _classExtractFieldDescriptor(receiver, privateMap, "set");
70
+ _classApplyDescriptorSet(receiver, descriptor, value);
71
+ return value;
72
+ }
73
+
74
+ const etherscanBlockExplorers = {
75
+ mainnet: {
76
+ name: 'Etherscan',
77
+ url: 'https://etherscan.io'
78
+ },
79
+ ropsten: {
80
+ name: 'Etherscan',
81
+ url: 'https://ropsten.etherscan.io'
82
+ },
83
+ rinkeby: {
84
+ name: 'Etherscan',
85
+ url: 'https://rinkeby.etherscan.io'
86
+ },
87
+ goerli: {
88
+ name: 'Etherscan',
89
+ url: 'https://goerli.etherscan.io'
90
+ },
91
+ kovan: {
92
+ name: 'Etherscan',
93
+ url: 'https://kovan.etherscan.io'
94
+ },
95
+ optimism: {
96
+ name: 'Etherscan',
97
+ url: 'https://optimistic.etherscan.io'
98
+ },
99
+ optimismKovan: {
100
+ name: 'Etherscan',
101
+ url: 'https://kovan-optimistic.etherscan.io'
102
+ },
103
+ polygon: {
104
+ name: 'PolygonScan',
105
+ url: 'https://polygonscan.com'
106
+ },
107
+ polygonMumbai: {
108
+ name: 'PolygonScan',
109
+ url: 'https://mumbai.polygonscan.com'
110
+ },
111
+ arbitrum: {
112
+ name: 'Arbiscan',
113
+ url: 'https://arbiscan.io'
114
+ },
115
+ arbitrumRinkeby: {
116
+ name: 'Arbiscan',
117
+ url: 'https://testnet.arbiscan.io'
118
+ }
119
+ };
120
+
121
+ const defaultAlchemyId = '_gg7wSSi0KMBsdKnGVfHDueq6xMB9EkC';
122
+
123
+ const alchemyRpcUrls = {
124
+ mainnet: 'https://eth-mainnet.alchemyapi.io/v2',
125
+ ropsten: 'https://eth-ropsten.alchemyapi.io/v2',
126
+ rinkeby: 'https://eth-rinkeby.alchemyapi.io/v2',
127
+ goerli: 'https://eth-goerli.alchemyapi.io/v2',
128
+ kovan: 'https://eth-kovan.alchemyapi.io/v2',
129
+ optimism: 'https://opt-mainnet.g.alchemy.com/v2',
130
+ optimismKovan: 'https://opt-kovan.g.alchemy.com/v2',
131
+ polygon: 'https://polygon-mainnet.g.alchemy.com/v2',
132
+ polygonMumbai: 'https://polygon-mumbai.g.alchemy.com/v2',
133
+ arbitrum: 'https://arb-mainnet.g.alchemy.com/v2',
134
+ arbitrumRinkeby: 'https://arb-rinkeby.g.alchemy.com/v2'
135
+ };
136
+ const infuraRpcUrls = {
137
+ mainnet: 'https://mainnet.infura.io/v3',
138
+ ropsten: 'https://ropsten.infura.io/v3',
139
+ rinkeby: 'https://rinkeby.infura.io/v3',
140
+ goerli: 'https://goerli.infura.io/v3',
141
+ kovan: 'https://kovan.infura.io/v3',
142
+ optimism: 'https://optimism-mainnet.infura.io/v3',
143
+ optimismKovan: 'https://optimism-kovan.infura.io/v3',
144
+ polygon: 'https://polygon-mainnet.infura.io/v3',
145
+ polygonMumbai: 'https://polygon-mumbai.infura.io/v3',
146
+ arbitrum: 'https://arbitrum-mainnet.infura.io/v3',
147
+ arbitrumRinkeby: 'https://arbitrum-rinkeby.infura.io/v3'
148
+ };
149
+
150
+ const chainId = {
151
+ mainnet: 1,
152
+ ropsten: 3,
153
+ rinkeby: 4,
154
+ goerli: 5,
155
+ kovan: 42,
156
+ optimism: 10,
157
+ optimismKovan: 69,
158
+ polygon: 137,
159
+ polygonMumbai: 80001,
160
+ arbitrum: 42161,
161
+ arbitrumRinkeby: 421611,
162
+ localhost: 1337,
163
+ hardhat: 31337
164
+ };
165
+ const chain = {
166
+ mainnet: {
167
+ id: chainId.mainnet,
168
+ name: 'Mainnet',
169
+ nativeCurrency: {
170
+ name: 'Ether',
171
+ symbol: 'ETH',
172
+ decimals: 18
173
+ },
174
+ rpcUrls: {
175
+ alchemy: alchemyRpcUrls.mainnet,
176
+ infura: infuraRpcUrls.mainnet,
177
+ default: "".concat(alchemyRpcUrls.mainnet, "/").concat(defaultAlchemyId)
178
+ },
179
+ blockExplorers: {
180
+ etherscan: etherscanBlockExplorers.mainnet,
181
+ default: etherscanBlockExplorers.mainnet
182
+ }
183
+ },
184
+ ropsten: {
185
+ id: chainId.ropsten,
186
+ name: 'Ropsten',
187
+ nativeCurrency: {
188
+ name: 'Ropsten Ether',
189
+ symbol: 'ropETH',
190
+ decimals: 18
191
+ },
192
+ rpcUrls: {
193
+ alchemy: alchemyRpcUrls.ropsten,
194
+ infura: infuraRpcUrls.ropsten,
195
+ default: "".concat(alchemyRpcUrls.ropsten, "/").concat(defaultAlchemyId)
196
+ },
197
+ blockExplorers: {
198
+ etherscan: etherscanBlockExplorers.ropsten,
199
+ default: etherscanBlockExplorers.ropsten
200
+ },
201
+ testnet: true
202
+ },
203
+ rinkeby: {
204
+ id: chainId.rinkeby,
205
+ name: 'Rinkeby',
206
+ nativeCurrency: {
207
+ name: 'Rinkeby Ether',
208
+ symbol: 'rETH',
209
+ decimals: 18
210
+ },
211
+ rpcUrls: {
212
+ alchemy: alchemyRpcUrls.rinkeby,
213
+ infura: infuraRpcUrls.rinkeby,
214
+ default: "".concat(alchemyRpcUrls.rinkeby, "/").concat(defaultAlchemyId)
215
+ },
216
+ blockExplorers: {
217
+ etherscan: etherscanBlockExplorers.rinkeby,
218
+ default: etherscanBlockExplorers.rinkeby
219
+ },
220
+ testnet: true
221
+ },
222
+ goerli: {
223
+ id: chainId.goerli,
224
+ name: 'Goerli',
225
+ nativeCurrency: {
226
+ name: 'Goerli Ether',
227
+ symbol: 'gETH',
228
+ decimals: 18
229
+ },
230
+ rpcUrls: {
231
+ alchemy: alchemyRpcUrls.goerli,
232
+ infura: infuraRpcUrls.goerli,
233
+ default: "".concat(alchemyRpcUrls.goerli, "/").concat(defaultAlchemyId)
234
+ },
235
+ blockExplorers: {
236
+ etherscan: etherscanBlockExplorers.goerli,
237
+ default: etherscanBlockExplorers.goerli
238
+ },
239
+ testnet: true
240
+ },
241
+ kovan: {
242
+ id: chainId.kovan,
243
+ name: 'Kovan',
244
+ nativeCurrency: {
245
+ name: 'Kovan Ether',
246
+ symbol: 'kETH',
247
+ decimals: 18
248
+ },
249
+ rpcUrls: {
250
+ alchemy: alchemyRpcUrls.kovan,
251
+ infura: infuraRpcUrls.kovan,
252
+ default: "".concat(alchemyRpcUrls.kovan, "/").concat(defaultAlchemyId)
253
+ },
254
+ blockExplorers: {
255
+ etherscan: etherscanBlockExplorers.kovan,
256
+ default: etherscanBlockExplorers.kovan
257
+ },
258
+ testnet: true
259
+ },
260
+ optimism: {
261
+ id: chainId.optimism,
262
+ name: 'Optimism',
263
+ nativeCurrency: {
264
+ name: 'Ether',
265
+ symbol: 'ETH',
266
+ decimals: 18
267
+ },
268
+ rpcUrls: {
269
+ alchemy: alchemyRpcUrls.optimism,
270
+ infura: infuraRpcUrls.optimism,
271
+ default: ['https://mainnet.optimism.io']
272
+ },
273
+ blockExplorers: {
274
+ etherscan: etherscanBlockExplorers.optimism,
275
+ default: etherscanBlockExplorers.optimism
276
+ }
277
+ },
278
+ optimismKovan: {
279
+ id: chainId.optimismKovan,
280
+ name: 'Optimism Kovan',
281
+ nativeCurrency: {
282
+ name: 'Kovan Ether',
283
+ symbol: 'KOR',
284
+ decimals: 18
285
+ },
286
+ rpcUrls: {
287
+ alchemy: alchemyRpcUrls.optimismKovan,
288
+ infura: infuraRpcUrls.optimismKovan,
289
+ default: ['https://kovan.optimism.io']
290
+ },
291
+ blockExplorers: {
292
+ etherscan: etherscanBlockExplorers.optimismKovan,
293
+ default: etherscanBlockExplorers.optimismKovan
294
+ },
295
+ testnet: true
296
+ },
297
+ polygon: {
298
+ id: chainId.polygon,
299
+ name: 'Polygon Mainnet',
300
+ nativeCurrency: {
301
+ name: 'MATIC',
302
+ symbol: 'MATIC',
303
+ decimals: 18
304
+ },
305
+ rpcUrls: {
306
+ alchemy: alchemyRpcUrls.polygon,
307
+ infura: infuraRpcUrls.polygon,
308
+ default: ['https://polygon-rpc.com', 'https://rpc-mainnet.matic.network', 'https://matic-mainnet.chainstacklabs.com', 'https://rpc-mainnet.maticvigil.com', 'https://rpc-mainnet.matic.quiknode.pro', 'https://matic-mainnet-full-rpc.bwarelabs.com']
309
+ },
310
+ blockExplorers: {
311
+ etherscan: etherscanBlockExplorers.polygon,
312
+ default: etherscanBlockExplorers.polygon
313
+ }
314
+ },
315
+ polygonMumbai: {
316
+ id: chainId.polygonMumbai,
317
+ name: 'Mumbai',
318
+ nativeCurrency: {
319
+ name: 'MATIC',
320
+ symbol: 'MATIC',
321
+ decimals: 18
322
+ },
323
+ rpcUrls: {
324
+ alchemy: alchemyRpcUrls.polygonMumbai,
325
+ infura: infuraRpcUrls.polygonMumbai,
326
+ default: ['https://matic-mumbai.chainstacklabs.com', 'https://rpc-mumbai.maticvigil.com', 'https://matic-testnet-archive-rpc.bwarelabs.com']
327
+ },
328
+ blockExplorers: {
329
+ etherscan: etherscanBlockExplorers.polygonMumbai,
330
+ default: etherscanBlockExplorers.polygonMumbai
331
+ },
332
+ testnet: true
333
+ },
334
+ arbitrum: {
335
+ id: chainId.arbitrum,
336
+ name: 'Arbitrum One',
337
+ nativeCurrency: {
338
+ name: 'Ether',
339
+ symbol: 'AETH',
340
+ decimals: 18
341
+ },
342
+ rpcUrls: {
343
+ alchemy: alchemyRpcUrls.arbitrum,
344
+ infura: infuraRpcUrls.arbitrum,
345
+ default: ['https://arb1.arbitrum.io/rpc']
346
+ },
347
+ blockExplorers: {
348
+ etherscan: etherscanBlockExplorers.arbitrum,
349
+ default: [etherscanBlockExplorers.arbitrum, {
350
+ name: 'Arbitrum Explorer',
351
+ url: 'https://explorer.arbitrum.io'
352
+ }]
353
+ }
354
+ },
355
+ arbitrumRinkeby: {
356
+ id: chainId.arbitrumRinkeby,
357
+ name: 'Arbitrum Rinkeby',
358
+ nativeCurrency: {
359
+ name: 'Arbitrum Rinkeby Ether',
360
+ symbol: 'ARETH',
361
+ decimals: 18
362
+ },
363
+ rpcUrls: {
364
+ alchemy: alchemyRpcUrls.arbitrumRinkeby,
365
+ infura: infuraRpcUrls.arbitrumRinkeby,
366
+ default: ['https://rinkeby.arbitrum.io/rpc']
367
+ },
368
+ blockExplorers: {
369
+ etherscan: etherscanBlockExplorers.arbitrumRinkeby,
370
+ default: [etherscanBlockExplorers.arbitrumRinkeby, {
371
+ name: 'Arbitrum Explorer',
372
+ url: 'https://rinkeby-explorer.arbitrum.io'
373
+ }]
374
+ },
375
+ testnet: true
376
+ },
377
+ localhost: {
378
+ id: chainId.localhost,
379
+ name: 'Localhost',
380
+ rpcUrls: {
381
+ default: 'http://127.0.0.1:8545'
382
+ }
383
+ },
384
+ hardhat: {
385
+ id: chainId.hardhat,
386
+ name: 'Hardhat',
387
+ rpcUrls: {
388
+ default: 'http://127.0.0.1:8545'
389
+ }
390
+ }
391
+ };
392
+ const allChains = Object.values(chain);
393
+ const defaultChains = [chain.mainnet, chain.ropsten, chain.rinkeby, chain.goerli, chain.kovan];
394
+ const defaultL2Chains = [chain.arbitrum, chain.arbitrumRinkeby, chain.optimism, chain.optimismKovan];
395
+
396
+ function normalizeChainId(chainId) {
397
+ if (typeof chainId === 'string') return Number.parseInt(chainId, chainId.trim().substring(0, 2) === '0x' ? 16 : 10);
398
+ return chainId;
399
+ }
400
+
401
+ class AddChainError extends Error {
402
+ constructor() {
403
+ super(...arguments);
404
+
405
+ _defineProperty(this, "name", 'AddChainError');
406
+
407
+ _defineProperty(this, "message", 'Error adding chain');
408
+ }
409
+
410
+ }
411
+ class ChainNotConfiguredError extends Error {
412
+ constructor() {
413
+ super(...arguments);
414
+
415
+ _defineProperty(this, "name", 'ChainNotConfigured');
416
+
417
+ _defineProperty(this, "message", 'Chain not configured');
418
+ }
419
+
420
+ }
421
+ class ConnectorAlreadyConnectedError extends Error {
422
+ constructor() {
423
+ super(...arguments);
424
+
425
+ _defineProperty(this, "name", 'ConnectorAlreadyConnectedError');
426
+
427
+ _defineProperty(this, "message", 'Connector already connected');
428
+ }
429
+
430
+ }
431
+ class ConnectorNotFoundError extends Error {
432
+ constructor() {
433
+ super(...arguments);
434
+
435
+ _defineProperty(this, "name", 'ConnectorNotFoundError');
436
+
437
+ _defineProperty(this, "message", 'Connector not found');
438
+ }
439
+
440
+ }
441
+ class SwitchChainError extends Error {
442
+ constructor() {
443
+ super(...arguments);
444
+
445
+ _defineProperty(this, "name", 'SwitchChainError');
446
+
447
+ _defineProperty(this, "message", 'Error switching chain');
448
+ }
449
+
450
+ }
451
+ class SwitchChainNotSupportedError extends Error {
452
+ constructor() {
453
+ super(...arguments);
454
+
455
+ _defineProperty(this, "name", 'SwitchChainNotSupportedError');
456
+
457
+ _defineProperty(this, "message", 'Switch chain not supported by connector');
458
+ }
459
+
460
+ }
461
+ class UserRejectedRequestError extends Error {
462
+ constructor() {
463
+ super(...arguments);
464
+
465
+ _defineProperty(this, "name", 'UserRejectedRequestError');
466
+
467
+ _defineProperty(this, "message", 'User rejected request');
468
+ }
469
+
470
+ }
471
+
472
+ class Connector extends EventEmitter__default["default"] {
473
+ /** Unique connector id */
474
+
475
+ /** Connector name */
476
+
477
+ /** Chains connector supports */
478
+
479
+ /** Options to use with connector */
480
+
481
+ /** Whether connector is usable */
482
+ constructor(_ref) {
483
+ let {
484
+ chains = defaultChains,
485
+ options
486
+ } = _ref;
487
+ super();
488
+
489
+ _defineProperty(this, "id", void 0);
490
+
491
+ _defineProperty(this, "name", void 0);
492
+
493
+ _defineProperty(this, "chains", void 0);
494
+
495
+ _defineProperty(this, "options", void 0);
496
+
497
+ _defineProperty(this, "ready", void 0);
498
+
499
+ this.chains = chains;
500
+ this.options = options;
501
+ }
502
+
503
+ getBlockExplorerUrls(chain) {
504
+ var _chain$blockExplorers;
505
+
506
+ const blockExplorer = (_chain$blockExplorers = chain.blockExplorers) === null || _chain$blockExplorers === void 0 ? void 0 : _chain$blockExplorers.default;
507
+ if (Array.isArray(blockExplorer)) return blockExplorer.map(x => x.url);
508
+ if (blockExplorer !== null && blockExplorer !== void 0 && blockExplorer.url) return [blockExplorer.url];
509
+ return [];
510
+ }
511
+
512
+ getRpcUrls(chain) {
513
+ return typeof chain.rpcUrls.default === 'string' ? [chain.rpcUrls.default] : chain.rpcUrls.default;
514
+ }
515
+
516
+ isChainUnsupported(chainId) {
517
+ return !this.chains.some(x => x.id === chainId);
518
+ }
519
+
520
+ }
521
+
522
+ exports.AddChainError = AddChainError;
523
+ exports.ChainNotConfiguredError = ChainNotConfiguredError;
524
+ exports.Connector = Connector;
525
+ exports.ConnectorAlreadyConnectedError = ConnectorAlreadyConnectedError;
526
+ exports.ConnectorNotFoundError = ConnectorNotFoundError;
527
+ exports.SwitchChainError = SwitchChainError;
528
+ exports.SwitchChainNotSupportedError = SwitchChainNotSupportedError;
529
+ exports.UserRejectedRequestError = UserRejectedRequestError;
530
+ exports._checkPrivateRedeclaration = _checkPrivateRedeclaration;
531
+ exports._classPrivateFieldGet = _classPrivateFieldGet;
532
+ exports._classPrivateFieldInitSpec = _classPrivateFieldInitSpec;
533
+ exports._classPrivateFieldSet = _classPrivateFieldSet;
534
+ exports._defineProperty = _defineProperty;
535
+ exports.alchemyRpcUrls = alchemyRpcUrls;
536
+ exports.allChains = allChains;
537
+ exports.chain = chain;
538
+ exports.chainId = chainId;
539
+ exports.defaultChains = defaultChains;
540
+ exports.defaultL2Chains = defaultL2Chains;
541
+ exports.etherscanBlockExplorers = etherscanBlockExplorers;
542
+ exports.infuraRpcUrls = infuraRpcUrls;
543
+ exports.normalizeChainId = normalizeChainId;