@wagmi/core 1.3.2-cjs → 1.3.2
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.js +203 -203
- package/dist/chunk-BVC4KGLQ.js +8 -8
- package/dist/chunk-D7TYCC3T.js +204 -204
- package/dist/chunk-EQOEZP46.js +5 -5
- package/dist/chunk-KFW652VN.js +6 -6
- package/dist/chunk-KX4UEHS5.js +0 -1
- package/dist/chunk-LAFZBYO7.js +231 -231
- package/dist/chunk-MQXBDTVK.js +7 -7
- package/dist/connectors/coinbaseWallet.js +5 -5
- package/dist/connectors/index.js +9 -9
- package/dist/connectors/injected.js +7 -7
- package/dist/connectors/ledger.js +5 -5
- package/dist/connectors/metaMask.js +5 -5
- package/dist/connectors/mock.js +9 -9
- package/dist/connectors/safe.js +5 -5
- package/dist/connectors/walletConnect.js +5 -5
- package/dist/connectors/walletConnectLegacy.js +5 -5
- package/dist/index.js +136 -136
- package/dist/internal/index.js +10 -10
- package/dist/internal/test.js +38 -38
- package/dist/providers/alchemy.js +6 -6
- package/dist/providers/infura.js +6 -6
- package/dist/providers/jsonRpc.js +4 -4
- package/dist/providers/public.js +4 -4
- package/dist/window.js +0 -1
- package/package.json +5 -4
package/dist/chunk-MQXBDTVK.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
var __accessCheck = (obj, member, msg) => {
|
|
2
2
|
if (!member.has(obj))
|
|
3
3
|
throw TypeError("Cannot " + msg);
|
|
4
4
|
};
|
|
@@ -21,9 +21,9 @@ var __privateMethod = (obj, member, method) => {
|
|
|
21
21
|
return method;
|
|
22
22
|
};
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
24
|
+
export {
|
|
25
|
+
__privateGet,
|
|
26
|
+
__privateAdd,
|
|
27
|
+
__privateSet,
|
|
28
|
+
__privateMethod
|
|
29
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/connectors/coinbaseWallet.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { CoinbaseWalletConnector } from "@wagmi/connectors/coinbaseWallet";
|
|
5
|
+
export {
|
|
6
|
+
CoinbaseWalletConnector
|
|
7
|
+
};
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
Connector,
|
|
3
|
+
InjectedConnector
|
|
4
|
+
} from "../chunk-BVC4KGLQ.js";
|
|
5
|
+
import "../chunk-MQXBDTVK.js";
|
|
6
|
+
export {
|
|
7
|
+
Connector,
|
|
8
|
+
InjectedConnector
|
|
9
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
import {
|
|
2
|
+
InjectedConnector
|
|
3
|
+
} from "../chunk-EQOEZP46.js";
|
|
4
|
+
import "../chunk-MQXBDTVK.js";
|
|
5
|
+
export {
|
|
6
|
+
InjectedConnector
|
|
7
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/connectors/ledger.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { LedgerConnector } from "@wagmi/connectors/ledger";
|
|
5
|
+
export {
|
|
6
|
+
LedgerConnector
|
|
7
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/connectors/metaMask.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { MetaMaskConnector } from "@wagmi/connectors/metaMask";
|
|
5
|
+
export {
|
|
6
|
+
MetaMaskConnector
|
|
7
|
+
};
|
package/dist/connectors/mock.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import {
|
|
2
|
+
MockConnector,
|
|
3
|
+
MockProvider
|
|
4
|
+
} from "../chunk-KFW652VN.js";
|
|
5
|
+
import "../chunk-MQXBDTVK.js";
|
|
6
|
+
export {
|
|
7
|
+
MockConnector,
|
|
8
|
+
MockProvider
|
|
9
|
+
};
|
package/dist/connectors/safe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/connectors/safe.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { SafeConnector } from "@wagmi/connectors/safe";
|
|
5
|
+
export {
|
|
6
|
+
SafeConnector
|
|
7
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/connectors/walletConnect.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { WalletConnectConnector } from "@wagmi/connectors/walletConnect";
|
|
5
|
+
export {
|
|
6
|
+
WalletConnectConnector
|
|
7
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/connectors/walletConnectLegacy.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
import { WalletConnectLegacyConnector } from "@wagmi/connectors/walletConnectLegacy";
|
|
5
|
+
export {
|
|
6
|
+
WalletConnectLegacyConnector
|
|
7
|
+
};
|
package/dist/index.js
CHANGED
|
@@ -1,136 +1,136 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
1
|
+
import "./chunk-KX4UEHS5.js";
|
|
2
|
+
import {
|
|
3
|
+
ChainMismatchError,
|
|
4
|
+
ChainNotConfiguredError,
|
|
5
|
+
Config,
|
|
6
|
+
ConfigChainsNotFound,
|
|
7
|
+
ConnectorAlreadyConnectedError,
|
|
8
|
+
ConnectorNotFoundError,
|
|
9
|
+
SwitchChainNotSupportedError,
|
|
10
|
+
configureChains,
|
|
11
|
+
connect,
|
|
12
|
+
createConfig,
|
|
13
|
+
createStorage,
|
|
14
|
+
deepEqual,
|
|
15
|
+
deserialize,
|
|
16
|
+
disconnect,
|
|
17
|
+
erc20ABI,
|
|
18
|
+
erc4626ABI,
|
|
19
|
+
erc721ABI,
|
|
20
|
+
fetchBalance,
|
|
21
|
+
fetchBlockNumber,
|
|
22
|
+
fetchEnsAddress,
|
|
23
|
+
fetchEnsAvatar,
|
|
24
|
+
fetchEnsName,
|
|
25
|
+
fetchEnsResolver,
|
|
26
|
+
fetchFeeData,
|
|
27
|
+
fetchToken,
|
|
28
|
+
fetchTransaction,
|
|
29
|
+
getAccount,
|
|
30
|
+
getConfig,
|
|
31
|
+
getContract,
|
|
32
|
+
getNetwork,
|
|
33
|
+
getPublicClient,
|
|
34
|
+
getUnit,
|
|
35
|
+
getWalletClient,
|
|
36
|
+
getWebSocketPublicClient,
|
|
37
|
+
multicall,
|
|
38
|
+
noopStorage,
|
|
39
|
+
prepareSendTransaction,
|
|
40
|
+
prepareWriteContract,
|
|
41
|
+
readContract,
|
|
42
|
+
readContracts,
|
|
43
|
+
sendTransaction,
|
|
44
|
+
serialize,
|
|
45
|
+
signMessage,
|
|
46
|
+
signTypedData,
|
|
47
|
+
switchNetwork,
|
|
48
|
+
waitForTransaction,
|
|
49
|
+
watchAccount,
|
|
50
|
+
watchBlockNumber,
|
|
51
|
+
watchContractEvent,
|
|
52
|
+
watchMulticall,
|
|
53
|
+
watchNetwork,
|
|
54
|
+
watchPendingTransactions,
|
|
55
|
+
watchPublicClient,
|
|
56
|
+
watchReadContract,
|
|
57
|
+
watchReadContracts,
|
|
58
|
+
watchWalletClient,
|
|
59
|
+
watchWebSocketPublicClient,
|
|
60
|
+
writeContract
|
|
61
|
+
} from "./chunk-LAFZBYO7.js";
|
|
62
|
+
import {
|
|
63
|
+
mainnet,
|
|
64
|
+
sepolia
|
|
65
|
+
} from "./chunk-D7TYCC3T.js";
|
|
66
|
+
import {
|
|
67
|
+
Connector
|
|
68
|
+
} from "./chunk-BVC4KGLQ.js";
|
|
69
|
+
import {
|
|
70
|
+
InjectedConnector
|
|
71
|
+
} from "./chunk-EQOEZP46.js";
|
|
72
|
+
import "./chunk-MQXBDTVK.js";
|
|
73
|
+
export {
|
|
74
|
+
ChainMismatchError,
|
|
75
|
+
ChainNotConfiguredError,
|
|
76
|
+
Config,
|
|
77
|
+
ConfigChainsNotFound,
|
|
78
|
+
Connector,
|
|
79
|
+
ConnectorAlreadyConnectedError,
|
|
80
|
+
ConnectorNotFoundError,
|
|
81
|
+
InjectedConnector,
|
|
82
|
+
SwitchChainNotSupportedError,
|
|
83
|
+
configureChains,
|
|
84
|
+
connect,
|
|
85
|
+
createConfig,
|
|
86
|
+
createStorage,
|
|
87
|
+
deepEqual,
|
|
88
|
+
deserialize,
|
|
89
|
+
disconnect,
|
|
90
|
+
erc20ABI,
|
|
91
|
+
erc4626ABI,
|
|
92
|
+
erc721ABI,
|
|
93
|
+
fetchBalance,
|
|
94
|
+
fetchBlockNumber,
|
|
95
|
+
fetchEnsAddress,
|
|
96
|
+
fetchEnsAvatar,
|
|
97
|
+
fetchEnsName,
|
|
98
|
+
fetchEnsResolver,
|
|
99
|
+
fetchFeeData,
|
|
100
|
+
fetchToken,
|
|
101
|
+
fetchTransaction,
|
|
102
|
+
getAccount,
|
|
103
|
+
getConfig,
|
|
104
|
+
getContract,
|
|
105
|
+
getNetwork,
|
|
106
|
+
getPublicClient,
|
|
107
|
+
getUnit,
|
|
108
|
+
getWalletClient,
|
|
109
|
+
getWebSocketPublicClient,
|
|
110
|
+
mainnet,
|
|
111
|
+
multicall,
|
|
112
|
+
noopStorage,
|
|
113
|
+
prepareSendTransaction,
|
|
114
|
+
prepareWriteContract,
|
|
115
|
+
readContract,
|
|
116
|
+
readContracts,
|
|
117
|
+
sendTransaction,
|
|
118
|
+
sepolia,
|
|
119
|
+
serialize,
|
|
120
|
+
signMessage,
|
|
121
|
+
signTypedData,
|
|
122
|
+
switchNetwork,
|
|
123
|
+
waitForTransaction,
|
|
124
|
+
watchAccount,
|
|
125
|
+
watchBlockNumber,
|
|
126
|
+
watchContractEvent,
|
|
127
|
+
watchMulticall,
|
|
128
|
+
watchNetwork,
|
|
129
|
+
watchPendingTransactions,
|
|
130
|
+
watchPublicClient,
|
|
131
|
+
watchReadContract,
|
|
132
|
+
watchReadContracts,
|
|
133
|
+
watchWalletClient,
|
|
134
|
+
watchWebSocketPublicClient,
|
|
135
|
+
writeContract
|
|
136
|
+
};
|
package/dist/internal/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import {
|
|
2
|
+
getCallParameters,
|
|
3
|
+
getSendTransactionParameters
|
|
4
|
+
} from "../chunk-LAFZBYO7.js";
|
|
5
|
+
import "../chunk-BVC4KGLQ.js";
|
|
6
|
+
import "../chunk-MQXBDTVK.js";
|
|
7
|
+
export {
|
|
8
|
+
getCallParameters,
|
|
9
|
+
getSendTransactionParameters
|
|
10
|
+
};
|
package/dist/internal/test.js
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
import "../chunk-KX4UEHS5.js";
|
|
2
|
+
import "../chunk-LAFZBYO7.js";
|
|
3
|
+
import {
|
|
4
|
+
foundry,
|
|
5
|
+
goerli,
|
|
6
|
+
mainnet,
|
|
7
|
+
optimism,
|
|
8
|
+
polygon
|
|
9
|
+
} from "../chunk-D7TYCC3T.js";
|
|
10
|
+
import "../chunk-BVC4KGLQ.js";
|
|
11
|
+
import "../chunk-EQOEZP46.js";
|
|
12
|
+
import "../chunk-KFW652VN.js";
|
|
13
|
+
import "../chunk-MQXBDTVK.js";
|
|
14
14
|
|
|
15
15
|
// test/utils.ts
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
16
|
+
import { RpcRequestError } from "viem";
|
|
17
|
+
import {
|
|
18
|
+
createPublicClient,
|
|
19
|
+
createWalletClient,
|
|
20
|
+
custom,
|
|
21
|
+
http,
|
|
22
|
+
webSocket
|
|
23
|
+
} from "viem";
|
|
24
|
+
import { privateKeyToAccount } from "viem/accounts";
|
|
25
|
+
import { rpc } from "viem/utils";
|
|
26
26
|
var foundryMainnet = {
|
|
27
|
-
...
|
|
28
|
-
rpcUrls:
|
|
27
|
+
...mainnet,
|
|
28
|
+
rpcUrls: foundry.rpcUrls
|
|
29
29
|
};
|
|
30
|
-
var testChains = [foundryMainnet,
|
|
30
|
+
var testChains = [foundryMainnet, mainnet, goerli, optimism, polygon];
|
|
31
31
|
function getPublicClient({
|
|
32
32
|
chains = testChains,
|
|
33
33
|
chainId
|
|
34
34
|
} = {}) {
|
|
35
|
-
const chain =
|
|
35
|
+
const chain = chains.find((x) => x.id === chainId) ?? foundryMainnet;
|
|
36
36
|
const url = foundryMainnet.rpcUrls.default.http[0];
|
|
37
|
-
const publicClient =
|
|
37
|
+
const publicClient = createPublicClient({
|
|
38
38
|
chain,
|
|
39
|
-
transport:
|
|
39
|
+
transport: http(url),
|
|
40
40
|
pollingInterval: 1e3
|
|
41
41
|
});
|
|
42
42
|
return Object.assign(publicClient, {
|
|
@@ -140,11 +140,11 @@ function getWalletClients() {
|
|
|
140
140
|
method,
|
|
141
141
|
params
|
|
142
142
|
};
|
|
143
|
-
const { result, error } = await
|
|
143
|
+
const { result, error } = await rpc.http(url, {
|
|
144
144
|
body
|
|
145
145
|
});
|
|
146
146
|
if (error) {
|
|
147
|
-
throw new
|
|
147
|
+
throw new RpcRequestError({
|
|
148
148
|
body,
|
|
149
149
|
error,
|
|
150
150
|
url
|
|
@@ -153,14 +153,14 @@ function getWalletClients() {
|
|
|
153
153
|
return result;
|
|
154
154
|
};
|
|
155
155
|
return accounts.map(
|
|
156
|
-
(x) =>
|
|
157
|
-
account:
|
|
156
|
+
(x) => createWalletClient({
|
|
157
|
+
account: privateKeyToAccount(x.privateKey).address,
|
|
158
158
|
chain: publicClient.chain,
|
|
159
|
-
transport:
|
|
159
|
+
transport: custom(publicClient)
|
|
160
160
|
})
|
|
161
161
|
);
|
|
162
162
|
}
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
163
|
+
export {
|
|
164
|
+
getWalletClients,
|
|
165
|
+
testChains
|
|
166
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/providers/alchemy.ts
|
|
4
4
|
function alchemyProvider({
|
|
5
5
|
apiKey
|
|
6
6
|
}) {
|
|
7
7
|
return function(chain) {
|
|
8
|
-
const baseHttpUrl =
|
|
9
|
-
const baseWsUrl =
|
|
8
|
+
const baseHttpUrl = chain.rpcUrls.alchemy?.http[0];
|
|
9
|
+
const baseWsUrl = chain.rpcUrls.alchemy?.webSocket?.[0];
|
|
10
10
|
if (!baseHttpUrl)
|
|
11
11
|
return null;
|
|
12
12
|
return {
|
|
@@ -24,6 +24,6 @@ function alchemyProvider({
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
export {
|
|
28
|
+
alchemyProvider
|
|
29
|
+
};
|
package/dist/providers/infura.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/providers/infura.ts
|
|
4
4
|
function infuraProvider({
|
|
5
5
|
apiKey
|
|
6
6
|
}) {
|
|
7
7
|
return function(chain) {
|
|
8
|
-
const baseHttpUrl =
|
|
9
|
-
const baseWsUrl =
|
|
8
|
+
const baseHttpUrl = chain.rpcUrls.infura?.http[0];
|
|
9
|
+
const baseWsUrl = chain.rpcUrls.infura?.webSocket?.[0];
|
|
10
10
|
if (!baseHttpUrl)
|
|
11
11
|
return null;
|
|
12
12
|
return {
|
|
@@ -24,6 +24,6 @@ function infuraProvider({
|
|
|
24
24
|
};
|
|
25
25
|
};
|
|
26
26
|
}
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
27
|
+
export {
|
|
28
|
+
infuraProvider
|
|
29
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/providers/jsonRpc.ts
|
|
4
4
|
function jsonRpcProvider({
|
|
@@ -23,6 +23,6 @@ function jsonRpcProvider({
|
|
|
23
23
|
};
|
|
24
24
|
};
|
|
25
25
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
export {
|
|
27
|
+
jsonRpcProvider
|
|
28
|
+
};
|
package/dist/providers/public.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import "../chunk-MQXBDTVK.js";
|
|
2
2
|
|
|
3
3
|
// src/providers/public.ts
|
|
4
4
|
function publicProvider() {
|
|
@@ -11,6 +11,6 @@ function publicProvider() {
|
|
|
11
11
|
};
|
|
12
12
|
};
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
14
|
+
export {
|
|
15
|
+
publicProvider
|
|
16
|
+
};
|
package/dist/window.js
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";
|