@wagmi/core 0.6.5 → 0.6.6
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/chains/dist/wagmi-core-chains.cjs.dev.js +1 -1
- package/chains/dist/wagmi-core-chains.cjs.prod.js +1 -1
- package/chains/dist/wagmi-core-chains.esm.js +1 -1
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.dev.js +2 -2
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.cjs.prod.js +2 -2
- package/connectors/coinbaseWallet/dist/wagmi-core-connectors-coinbaseWallet.esm.js +2 -2
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.dev.js +3 -2
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.cjs.prod.js +3 -2
- package/connectors/metaMask/dist/wagmi-core-connectors-metaMask.esm.js +3 -2
- package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.dev.js +2 -2
- package/connectors/mock/dist/wagmi-core-connectors-mock.cjs.prod.js +2 -2
- package/connectors/mock/dist/wagmi-core-connectors-mock.esm.js +2 -2
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.dev.js +2 -2
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.cjs.prod.js +2 -2
- package/connectors/walletConnect/dist/wagmi-core-connectors-walletConnect.esm.js +2 -2
- package/dist/{chains-2970e5fa.esm.js → chains-1ebc77f8.esm.js} +6 -4
- package/dist/{chains-45d5aa86.cjs.prod.js → chains-429056fc.cjs.prod.js} +6 -4
- package/dist/{chains-524f4950.cjs.dev.js → chains-67766349.cjs.dev.js} +6 -4
- package/dist/declarations/src/constants/blockExplorers.d.ts +1 -1
- package/dist/declarations/src/types/index.d.ts +1 -0
- package/dist/{getProvider-50ed4ef7.esm.js → getProvider-2ff978f9.esm.js} +2 -1
- package/dist/{getProvider-e3d4973e.cjs.dev.js → getProvider-73001454.cjs.prod.js} +2 -1
- package/dist/{getProvider-ad078c64.cjs.prod.js → getProvider-f1ff4e3e.cjs.dev.js} +2 -1
- package/dist/wagmi-core.cjs.dev.js +2 -2
- package/dist/wagmi-core.cjs.prod.js +2 -2
- package/dist/wagmi-core.esm.js +4 -4
- package/package.json +1 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { g as arbitrum, h as arbitrumGoerli, i as arbitrumRinkeby, j as foundry, k as goerli, l as hardhat, n as kovan, o as localhost, m as mainnet, p as optimism, r as optimismGoerli, q as optimismKovan, t as polygon, u as polygonMumbai, v as rinkeby, w as ropsten, s as sepolia } from '../../dist/chains-
|
|
1
|
+
export { g as arbitrum, h as arbitrumGoerli, i as arbitrumRinkeby, j as foundry, k as goerli, l as hardhat, n as kovan, o as localhost, m as mainnet, p as optimism, r as optimismGoerli, q as optimismKovan, t as polygon, u as polygonMumbai, v as rinkeby, w as ropsten, s as sepolia } from '../../dist/chains-1ebc77f8.esm.js';
|
|
2
2
|
import '../../dist/rpcs-b4aa70b9.esm.js';
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-f1ff4e3e.cjs.dev.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-67766349.cjs.dev.js');
|
|
12
12
|
require('../../../dist/rpcs-0d21dfe8.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-73001454.cjs.prod.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-429056fc.cjs.prod.js');
|
|
12
12
|
require('../../../dist/rpcs-c62bf9b0.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as Connector, _ as _classPrivateMethodInitSpec, t as _defineProperty, v as _classPrivateFieldInitSpec, n as normalizeChainId, U as UserRejectedRequestError, x as _classPrivateFieldGet, w as _classPrivateFieldSet, m as ChainNotConfiguredError, u as _classPrivateMethodGet, A as AddChainError, q as SwitchChainError } from '../../../dist/getProvider-
|
|
1
|
+
import { l as Connector, _ as _classPrivateMethodInitSpec, t as _defineProperty, v as _classPrivateFieldInitSpec, n as normalizeChainId, U as UserRejectedRequestError, x as _classPrivateFieldGet, w as _classPrivateFieldSet, m as ChainNotConfiguredError, u as _classPrivateMethodGet, A as AddChainError, q as SwitchChainError } from '../../../dist/getProvider-2ff978f9.esm.js';
|
|
2
2
|
import { providers } from 'ethers';
|
|
3
3
|
import { getAddress, hexValue } from 'ethers/lib/utils';
|
|
4
4
|
import 'zustand/middleware';
|
|
5
5
|
import 'zustand/vanilla';
|
|
6
6
|
import 'eventemitter3';
|
|
7
|
-
import '../../../dist/chains-
|
|
7
|
+
import '../../../dist/chains-1ebc77f8.esm.js';
|
|
8
8
|
import '../../../dist/rpcs-b4aa70b9.esm.js';
|
|
9
9
|
|
|
10
10
|
var _client = /*#__PURE__*/new WeakMap();
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-f1ff4e3e.cjs.dev.js');
|
|
6
6
|
require('zustand/middleware');
|
|
7
7
|
require('zustand/vanilla');
|
|
8
8
|
require('ethers');
|
|
9
9
|
require('ethers/lib/utils');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-67766349.cjs.dev.js');
|
|
12
12
|
require('../../../dist/rpcs-0d21dfe8.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
var _provider = /*#__PURE__*/new WeakMap();
|
|
@@ -140,6 +140,7 @@ function _getReady2(ethereum) {
|
|
|
140
140
|
if (ethereum.isTokenPocket) return;
|
|
141
141
|
if (ethereum.isTokenary) return;
|
|
142
142
|
if (ethereum.isAvalanche) return;
|
|
143
|
+
if (ethereum.isPortal) return;
|
|
143
144
|
return ethereum;
|
|
144
145
|
}
|
|
145
146
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-73001454.cjs.prod.js');
|
|
6
6
|
require('zustand/middleware');
|
|
7
7
|
require('zustand/vanilla');
|
|
8
8
|
require('ethers');
|
|
9
9
|
require('ethers/lib/utils');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-429056fc.cjs.prod.js');
|
|
12
12
|
require('../../../dist/rpcs-c62bf9b0.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
var _provider = /*#__PURE__*/new WeakMap();
|
|
@@ -140,6 +140,7 @@ function _getReady2(ethereum) {
|
|
|
140
140
|
if (ethereum.isTokenPocket) return;
|
|
141
141
|
if (ethereum.isTokenary) return;
|
|
142
142
|
if (ethereum.isAvalanche) return;
|
|
143
|
+
if (ethereum.isPortal) return;
|
|
143
144
|
return ethereum;
|
|
144
145
|
}
|
|
145
146
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { I as InjectedConnector, _ as _classPrivateMethodInitSpec, t as _defineProperty, u as _classPrivateMethodGet, v as _classPrivateFieldInitSpec, w as _classPrivateFieldSet, c as ConnectorNotFoundError, x as _classPrivateFieldGet, g as getClient, U as UserRejectedRequestError, R as ResourceUnavailableError } from '../../../dist/getProvider-
|
|
1
|
+
import { I as InjectedConnector, _ as _classPrivateMethodInitSpec, t as _defineProperty, u as _classPrivateMethodGet, v as _classPrivateFieldInitSpec, w as _classPrivateFieldSet, c as ConnectorNotFoundError, x as _classPrivateFieldGet, g as getClient, U as UserRejectedRequestError, R as ResourceUnavailableError } from '../../../dist/getProvider-2ff978f9.esm.js';
|
|
2
2
|
import 'zustand/middleware';
|
|
3
3
|
import 'zustand/vanilla';
|
|
4
4
|
import 'ethers';
|
|
5
5
|
import 'ethers/lib/utils';
|
|
6
6
|
import 'eventemitter3';
|
|
7
|
-
import '../../../dist/chains-
|
|
7
|
+
import '../../../dist/chains-1ebc77f8.esm.js';
|
|
8
8
|
import '../../../dist/rpcs-b4aa70b9.esm.js';
|
|
9
9
|
|
|
10
10
|
var _provider = /*#__PURE__*/new WeakMap();
|
|
@@ -136,6 +136,7 @@ function _getReady2(ethereum) {
|
|
|
136
136
|
if (ethereum.isTokenPocket) return;
|
|
137
137
|
if (ethereum.isTokenary) return;
|
|
138
138
|
if (ethereum.isAvalanche) return;
|
|
139
|
+
if (ethereum.isPortal) return;
|
|
139
140
|
return ethereum;
|
|
140
141
|
}
|
|
141
142
|
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-f1ff4e3e.cjs.dev.js');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var ethers = require('ethers');
|
|
8
8
|
var EventEmitter = require('eventemitter3');
|
|
9
9
|
require('zustand/middleware');
|
|
10
10
|
require('zustand/vanilla');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-67766349.cjs.dev.js');
|
|
12
12
|
require('../../../dist/rpcs-0d21dfe8.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-73001454.cjs.prod.js');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var ethers = require('ethers');
|
|
8
8
|
var EventEmitter = require('eventemitter3');
|
|
9
9
|
require('zustand/middleware');
|
|
10
10
|
require('zustand/vanilla');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-429056fc.cjs.prod.js');
|
|
12
12
|
require('../../../dist/rpcs-c62bf9b0.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { t as _defineProperty, v as _classPrivateFieldInitSpec, w as _classPrivateFieldSet, x as _classPrivateFieldGet, U as UserRejectedRequestError, l as Connector, _ as _classPrivateMethodInitSpec, n as normalizeChainId, u as _classPrivateMethodGet } from '../../../dist/getProvider-
|
|
1
|
+
import { t as _defineProperty, v as _classPrivateFieldInitSpec, w as _classPrivateFieldSet, x as _classPrivateFieldGet, U as UserRejectedRequestError, l as Connector, _ as _classPrivateMethodInitSpec, n as normalizeChainId, u as _classPrivateMethodGet } from '../../../dist/getProvider-2ff978f9.esm.js';
|
|
2
2
|
import { getAddress } from 'ethers/lib/utils';
|
|
3
3
|
import { providers } from 'ethers';
|
|
4
4
|
import EventEmitter from 'eventemitter3';
|
|
5
5
|
import 'zustand/middleware';
|
|
6
6
|
import 'zustand/vanilla';
|
|
7
|
-
import '../../../dist/chains-
|
|
7
|
+
import '../../../dist/chains-1ebc77f8.esm.js';
|
|
8
8
|
import '../../../dist/rpcs-b4aa70b9.esm.js';
|
|
9
9
|
|
|
10
10
|
var _options = /*#__PURE__*/new WeakMap();
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-f1ff4e3e.cjs.dev.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-67766349.cjs.dev.js');
|
|
12
12
|
require('../../../dist/rpcs-0d21dfe8.cjs.dev.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('../../../dist/getProvider-
|
|
5
|
+
var getProvider = require('../../../dist/getProvider-73001454.cjs.prod.js');
|
|
6
6
|
var ethers = require('ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
require('zustand/middleware');
|
|
9
9
|
require('zustand/vanilla');
|
|
10
10
|
require('eventemitter3');
|
|
11
|
-
require('../../../dist/chains-
|
|
11
|
+
require('../../../dist/chains-429056fc.cjs.prod.js');
|
|
12
12
|
require('../../../dist/rpcs-c62bf9b0.cjs.prod.js');
|
|
13
13
|
|
|
14
14
|
function _interopNamespace(e) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { l as Connector, _ as _classPrivateMethodInitSpec, t as _defineProperty, v as _classPrivateFieldInitSpec, n as normalizeChainId, g as getClient, u as _classPrivateMethodGet, U as UserRejectedRequestError, x as _classPrivateFieldGet, w as _classPrivateFieldSet, q as SwitchChainError } from '../../../dist/getProvider-
|
|
1
|
+
import { l as Connector, _ as _classPrivateMethodInitSpec, t as _defineProperty, v as _classPrivateFieldInitSpec, n as normalizeChainId, g as getClient, u as _classPrivateMethodGet, U as UserRejectedRequestError, x as _classPrivateFieldGet, w as _classPrivateFieldSet, q as SwitchChainError } from '../../../dist/getProvider-2ff978f9.esm.js';
|
|
2
2
|
import { providers } from 'ethers';
|
|
3
3
|
import { getAddress, hexValue } from 'ethers/lib/utils';
|
|
4
4
|
import 'zustand/middleware';
|
|
5
5
|
import 'zustand/vanilla';
|
|
6
6
|
import 'eventemitter3';
|
|
7
|
-
import '../../../dist/chains-
|
|
7
|
+
import '../../../dist/chains-1ebc77f8.esm.js';
|
|
8
8
|
import '../../../dist/rpcs-b4aa70b9.esm.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
@@ -33,6 +33,10 @@ const etherscanBlockExplorers = {
|
|
|
33
33
|
name: 'Etherscan',
|
|
34
34
|
url: 'https://kovan-optimistic.etherscan.io'
|
|
35
35
|
},
|
|
36
|
+
optimismGoerli: {
|
|
37
|
+
name: 'Etherscan',
|
|
38
|
+
url: 'https://goerli-optimism.etherscan.io'
|
|
39
|
+
},
|
|
36
40
|
polygon: {
|
|
37
41
|
name: 'PolygonScan',
|
|
38
42
|
url: 'https://polygonscan.com'
|
|
@@ -299,10 +303,8 @@ const optimismGoerli = {
|
|
|
299
303
|
public: publicRpcUrls.optimismGoerli
|
|
300
304
|
},
|
|
301
305
|
blockExplorers: {
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
url: 'https://blockscout.com/optimism/goerli'
|
|
305
|
-
}
|
|
306
|
+
etherscan: etherscanBlockExplorers.optimismGoerli,
|
|
307
|
+
default: etherscanBlockExplorers.optimismGoerli
|
|
306
308
|
},
|
|
307
309
|
multicall: {
|
|
308
310
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
@@ -35,6 +35,10 @@ const etherscanBlockExplorers = {
|
|
|
35
35
|
name: 'Etherscan',
|
|
36
36
|
url: 'https://kovan-optimistic.etherscan.io'
|
|
37
37
|
},
|
|
38
|
+
optimismGoerli: {
|
|
39
|
+
name: 'Etherscan',
|
|
40
|
+
url: 'https://goerli-optimism.etherscan.io'
|
|
41
|
+
},
|
|
38
42
|
polygon: {
|
|
39
43
|
name: 'PolygonScan',
|
|
40
44
|
url: 'https://polygonscan.com'
|
|
@@ -301,10 +305,8 @@ const optimismGoerli = {
|
|
|
301
305
|
public: rpcs.publicRpcUrls.optimismGoerli
|
|
302
306
|
},
|
|
303
307
|
blockExplorers: {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
url: 'https://blockscout.com/optimism/goerli'
|
|
307
|
-
}
|
|
308
|
+
etherscan: etherscanBlockExplorers.optimismGoerli,
|
|
309
|
+
default: etherscanBlockExplorers.optimismGoerli
|
|
308
310
|
},
|
|
309
311
|
multicall: {
|
|
310
312
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
@@ -35,6 +35,10 @@ const etherscanBlockExplorers = {
|
|
|
35
35
|
name: 'Etherscan',
|
|
36
36
|
url: 'https://kovan-optimistic.etherscan.io'
|
|
37
37
|
},
|
|
38
|
+
optimismGoerli: {
|
|
39
|
+
name: 'Etherscan',
|
|
40
|
+
url: 'https://goerli-optimism.etherscan.io'
|
|
41
|
+
},
|
|
38
42
|
polygon: {
|
|
39
43
|
name: 'PolygonScan',
|
|
40
44
|
url: 'https://polygonscan.com'
|
|
@@ -301,10 +305,8 @@ const optimismGoerli = {
|
|
|
301
305
|
public: rpcs.publicRpcUrls.optimismGoerli
|
|
302
306
|
},
|
|
303
307
|
blockExplorers: {
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
url: 'https://blockscout.com/optimism/goerli'
|
|
307
|
-
}
|
|
308
|
+
etherscan: etherscanBlockExplorers.optimismGoerli,
|
|
309
|
+
default: etherscanBlockExplorers.optimismGoerli
|
|
308
310
|
},
|
|
309
311
|
multicall: {
|
|
310
312
|
address: '0xca11bde05977b3631167028862be2a173976ca11',
|
|
@@ -4,6 +4,6 @@ export declare type BlockExplorer = {
|
|
|
4
4
|
name: string;
|
|
5
5
|
url: string;
|
|
6
6
|
};
|
|
7
|
-
declare type EtherscanChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'sepolia' | 'optimism' | 'optimismKovan' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby' | 'arbitrumGoerli'>;
|
|
7
|
+
declare type EtherscanChains = Extract<ChainName, 'mainnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'sepolia' | 'optimism' | 'optimismKovan' | 'optimismGoerli' | 'polygon' | 'polygonMumbai' | 'arbitrum' | 'arbitrumRinkeby' | 'arbitrumGoerli'>;
|
|
8
8
|
export declare const etherscanBlockExplorers: Record<EtherscanChains, BlockExplorer>;
|
|
9
9
|
export {};
|
|
@@ -3,7 +3,7 @@ import create from 'zustand/vanilla';
|
|
|
3
3
|
import { providers } from 'ethers';
|
|
4
4
|
import { getAddress, hexValue } from 'ethers/lib/utils';
|
|
5
5
|
import EventEmitter from 'eventemitter3';
|
|
6
|
-
import { d as defaultChains } from './chains-
|
|
6
|
+
import { d as defaultChains } from './chains-1ebc77f8.esm.js';
|
|
7
7
|
|
|
8
8
|
function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
9
9
|
if (privateCollection.has(obj)) {
|
|
@@ -352,6 +352,7 @@ function getInjectedName(ethereum) {
|
|
|
352
352
|
if (provider.isFrame) return 'Frame';
|
|
353
353
|
if (provider.isMathWallet) return 'MathWallet';
|
|
354
354
|
if (provider.isOpera) return 'Opera';
|
|
355
|
+
if (provider.isPortal) return 'Ripio Portal';
|
|
355
356
|
if (provider.isTally) return 'Tally';
|
|
356
357
|
if (provider.isTokenPocket) return 'TokenPocket';
|
|
357
358
|
if (provider.isTokenary) return 'Tokenary';
|
|
@@ -5,7 +5,7 @@ var create = require('zustand/vanilla');
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var EventEmitter = require('eventemitter3');
|
|
8
|
-
var chains = require('./chains-
|
|
8
|
+
var chains = require('./chains-429056fc.cjs.prod.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -359,6 +359,7 @@ function getInjectedName(ethereum) {
|
|
|
359
359
|
if (provider.isFrame) return 'Frame';
|
|
360
360
|
if (provider.isMathWallet) return 'MathWallet';
|
|
361
361
|
if (provider.isOpera) return 'Opera';
|
|
362
|
+
if (provider.isPortal) return 'Ripio Portal';
|
|
362
363
|
if (provider.isTally) return 'Tally';
|
|
363
364
|
if (provider.isTokenPocket) return 'TokenPocket';
|
|
364
365
|
if (provider.isTokenary) return 'Tokenary';
|
|
@@ -5,7 +5,7 @@ var create = require('zustand/vanilla');
|
|
|
5
5
|
var ethers = require('ethers');
|
|
6
6
|
var utils = require('ethers/lib/utils');
|
|
7
7
|
var EventEmitter = require('eventemitter3');
|
|
8
|
-
var chains = require('./chains-
|
|
8
|
+
var chains = require('./chains-67766349.cjs.dev.js');
|
|
9
9
|
|
|
10
10
|
function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
|
|
11
11
|
|
|
@@ -359,6 +359,7 @@ function getInjectedName(ethereum) {
|
|
|
359
359
|
if (provider.isFrame) return 'Frame';
|
|
360
360
|
if (provider.isMathWallet) return 'MathWallet';
|
|
361
361
|
if (provider.isOpera) return 'Opera';
|
|
362
|
+
if (provider.isPortal) return 'Ripio Portal';
|
|
362
363
|
if (provider.isTally) return 'Tally';
|
|
363
364
|
if (provider.isTokenPocket) return 'TokenPocket';
|
|
364
365
|
if (provider.isTokenary) return 'Tokenary';
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('./getProvider-
|
|
5
|
+
var getProvider = require('./getProvider-f1ff4e3e.cjs.dev.js');
|
|
6
6
|
var ethers$1 = require('ethers/lib/ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
var ethers = require('ethers');
|
|
9
|
-
var chains = require('./chains-
|
|
9
|
+
var chains = require('./chains-67766349.cjs.dev.js');
|
|
10
10
|
var shallow = require('zustand/shallow');
|
|
11
11
|
var debounce = require('./debounce-46ac0312.cjs.dev.js');
|
|
12
12
|
var rpcs = require('./rpcs-0d21dfe8.cjs.dev.js');
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var getProvider = require('./getProvider-
|
|
5
|
+
var getProvider = require('./getProvider-73001454.cjs.prod.js');
|
|
6
6
|
var ethers$1 = require('ethers/lib/ethers');
|
|
7
7
|
var utils = require('ethers/lib/utils');
|
|
8
8
|
var ethers = require('ethers');
|
|
9
|
-
var chains = require('./chains-
|
|
9
|
+
var chains = require('./chains-429056fc.cjs.prod.js');
|
|
10
10
|
var shallow = require('zustand/shallow');
|
|
11
11
|
var debounce = require('./debounce-2d836dc9.cjs.prod.js');
|
|
12
12
|
var rpcs = require('./rpcs-c62bf9b0.cjs.prod.js');
|
package/dist/wagmi-core.esm.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { C as ChainMismatchError, g as getClient, a as ConnectorAlreadyConnectedError, b as ContractResultDecodeError, c as ConnectorNotFoundError, d as ContractMethodDoesNotExistError, e as getProvider, P as ProviderChainsNotFound, f as ChainDoesNotSupportMulticallError, h as ContractMethodRevertedError, i as ContractMethodNoResultError, U as UserRejectedRequestError, n as normalizeChainId, S as SwitchChainNotSupportedError } from './getProvider-
|
|
2
|
-
export { A as AddChainError, f as ChainDoesNotSupportMulticallError, C as ChainMismatchError, m as ChainNotConfiguredError, k as Client, l as Connector, a as ConnectorAlreadyConnectedError, c as ConnectorNotFoundError, d as ContractMethodDoesNotExistError, i as ContractMethodNoResultError, h as ContractMethodRevertedError, b as ContractResultDecodeError, I as InjectedConnector, P as ProviderChainsNotFound, o as ProviderRpcError, R as ResourceUnavailableError, p as RpcError, q as SwitchChainError, S as SwitchChainNotSupportedError, U as UserRejectedRequestError, j as createClient, r as createStorage, e as getProvider, s as noopStorage, n as normalizeChainId } from './getProvider-
|
|
1
|
+
import { C as ChainMismatchError, g as getClient, a as ConnectorAlreadyConnectedError, b as ContractResultDecodeError, c as ConnectorNotFoundError, d as ContractMethodDoesNotExistError, e as getProvider, P as ProviderChainsNotFound, f as ChainDoesNotSupportMulticallError, h as ContractMethodRevertedError, i as ContractMethodNoResultError, U as UserRejectedRequestError, n as normalizeChainId, S as SwitchChainNotSupportedError } from './getProvider-2ff978f9.esm.js';
|
|
2
|
+
export { A as AddChainError, f as ChainDoesNotSupportMulticallError, C as ChainMismatchError, m as ChainNotConfiguredError, k as Client, l as Connector, a as ConnectorAlreadyConnectedError, c as ConnectorNotFoundError, d as ContractMethodDoesNotExistError, i as ContractMethodNoResultError, h as ContractMethodRevertedError, b as ContractResultDecodeError, I as InjectedConnector, P as ProviderChainsNotFound, o as ProviderRpcError, R as ResourceUnavailableError, p as RpcError, q as SwitchChainError, S as SwitchChainNotSupportedError, U as UserRejectedRequestError, j as createClient, r as createStorage, e as getProvider, s as noopStorage, n as normalizeChainId } from './getProvider-2ff978f9.esm.js';
|
|
3
3
|
import { Contract, logger } from 'ethers/lib/ethers';
|
|
4
4
|
import { FunctionFragment, isAddress, FormatTypes, parseBytes32String, formatUnits, getAddress, Logger } from 'ethers/lib/utils';
|
|
5
5
|
import { providers, BigNumber, Contract as Contract$1 } from 'ethers';
|
|
6
|
-
import { m as mainnet } from './chains-
|
|
7
|
-
export { a as allChains, c as chain, b as chainId, d as defaultChains, e as defaultL2Chains, f as etherscanBlockExplorers } from './chains-
|
|
6
|
+
import { m as mainnet } from './chains-1ebc77f8.esm.js';
|
|
7
|
+
export { a as allChains, c as chain, b as chainId, d as defaultChains, e as defaultL2Chains, f as etherscanBlockExplorers } from './chains-1ebc77f8.esm.js';
|
|
8
8
|
import shallow from 'zustand/shallow';
|
|
9
9
|
import { d as debounce } from './debounce-0862bf88.esm.js';
|
|
10
10
|
export { a as alchemyRpcUrls, i as infuraRpcUrls, p as publicRpcUrls } from './rpcs-b4aa70b9.esm.js';
|