@wagmi/core 0.7.8 → 0.8.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.
- package/dist/{base-a32d0b91.d.ts → base-a82112a9.d.ts} +1 -1
- package/dist/chains.d.ts +1 -3
- package/dist/chains.js +13 -1
- package/dist/chunk-6KG5TOAU.js +42 -0
- package/dist/{chunk-HEIMP7HQ.js → chunk-F4A7FMUQ.js} +1166 -1126
- package/dist/chunk-J6DUE3KA.js +0 -0
- package/dist/chunk-VCRGL4ZG.js +191 -0
- package/dist/connectors/coinbaseWallet.d.ts +2 -2
- package/dist/connectors/coinbaseWallet.js +8 -5
- package/dist/connectors/metaMask.d.ts +4 -3
- package/dist/connectors/metaMask.js +2 -2
- package/dist/connectors/mock/index.d.ts +3 -2
- package/dist/connectors/mock/index.js +6 -185
- package/dist/connectors/walletConnect.d.ts +2 -2
- package/dist/connectors/walletConnect.js +8 -4
- package/dist/{index-58cffc47.d.ts → index-971cda79.d.ts} +2 -103
- package/dist/index.d.ts +51 -46
- package/dist/index.js +9 -20
- package/dist/{injected-82510902.d.ts → injected-610c34b6.d.ts} +3 -2
- package/dist/{internal.d.ts → internal/index.d.ts} +3 -2
- package/dist/internal/index.js +8 -0
- package/dist/internal/test.d.ts +12 -0
- package/dist/internal/test.js +142 -0
- package/dist/providers/alchemy.d.ts +2 -1
- package/dist/providers/alchemy.js +2 -2
- package/dist/providers/infura.d.ts +2 -1
- package/dist/providers/infura.js +2 -2
- package/dist/providers/jsonRpc.d.ts +2 -1
- package/dist/providers/jsonRpc.js +2 -2
- package/dist/providers/public.d.ts +2 -1
- package/dist/providers/public.js +2 -2
- package/internal/package.json +1 -1
- package/internal/test/package.json +4 -0
- package/package.json +12 -7
- package/dist/chunk-4DNFSL2K.js +0 -376
- package/dist/internal.js +0 -8
package/dist/chains.d.ts
CHANGED
|
@@ -1,3 +1 @@
|
|
|
1
|
-
export {
|
|
2
|
-
import 'abitype';
|
|
3
|
-
import 'ethers';
|
|
1
|
+
export { Chain, arbitrum, arbitrumGoerli, avalanche, avalancheFuji, bsc, bscTestnet, fantom, fantomTestnet, foundry, goerli, hardhat, localhost, mainnet, optimism, optimismGoerli, polygon, polygonMumbai, sepolia } from '@wagmi/chains';
|
package/dist/chains.js
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
arbitrum,
|
|
3
3
|
arbitrumGoerli,
|
|
4
|
+
avalanche,
|
|
5
|
+
avalancheFuji,
|
|
6
|
+
bsc,
|
|
7
|
+
bscTestnet,
|
|
8
|
+
fantom,
|
|
9
|
+
fantomTestnet,
|
|
4
10
|
foundry,
|
|
5
11
|
goerli,
|
|
6
12
|
hardhat,
|
|
@@ -11,11 +17,17 @@ import {
|
|
|
11
17
|
polygon,
|
|
12
18
|
polygonMumbai,
|
|
13
19
|
sepolia
|
|
14
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-6KG5TOAU.js";
|
|
15
21
|
import "./chunk-MQXBDTVK.js";
|
|
16
22
|
export {
|
|
17
23
|
arbitrum,
|
|
18
24
|
arbitrumGoerli,
|
|
25
|
+
avalanche,
|
|
26
|
+
avalancheFuji,
|
|
27
|
+
bsc,
|
|
28
|
+
bscTestnet,
|
|
29
|
+
fantom,
|
|
30
|
+
fantomTestnet,
|
|
19
31
|
foundry,
|
|
20
32
|
goerli,
|
|
21
33
|
hardhat,
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
// src/chains.ts
|
|
2
|
+
import {
|
|
3
|
+
arbitrum,
|
|
4
|
+
arbitrumGoerli,
|
|
5
|
+
avalanche,
|
|
6
|
+
avalancheFuji,
|
|
7
|
+
bsc,
|
|
8
|
+
bscTestnet,
|
|
9
|
+
fantom,
|
|
10
|
+
fantomTestnet,
|
|
11
|
+
foundry,
|
|
12
|
+
goerli,
|
|
13
|
+
hardhat,
|
|
14
|
+
localhost,
|
|
15
|
+
mainnet,
|
|
16
|
+
optimism,
|
|
17
|
+
optimismGoerli,
|
|
18
|
+
polygon,
|
|
19
|
+
polygonMumbai,
|
|
20
|
+
sepolia
|
|
21
|
+
} from "@wagmi/chains";
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
arbitrum,
|
|
25
|
+
arbitrumGoerli,
|
|
26
|
+
avalanche,
|
|
27
|
+
avalancheFuji,
|
|
28
|
+
bsc,
|
|
29
|
+
bscTestnet,
|
|
30
|
+
fantom,
|
|
31
|
+
fantomTestnet,
|
|
32
|
+
foundry,
|
|
33
|
+
goerli,
|
|
34
|
+
hardhat,
|
|
35
|
+
localhost,
|
|
36
|
+
mainnet,
|
|
37
|
+
optimism,
|
|
38
|
+
optimismGoerli,
|
|
39
|
+
polygon,
|
|
40
|
+
polygonMumbai,
|
|
41
|
+
sepolia
|
|
42
|
+
};
|