wagmi 1.4.6 → 1.4.7-cjs
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/actions.js +83 -83
- package/dist/chains.js +2 -2
- package/dist/connectors/coinbaseWallet.js +5 -5
- package/dist/connectors/index.js +5 -5
- package/dist/connectors/injected.js +5 -5
- package/dist/connectors/ledger.js +5 -5
- package/dist/connectors/metaMask.js +5 -5
- package/dist/connectors/mock.js +5 -5
- 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 +272 -272
- package/dist/providers/alchemy.js +5 -5
- package/dist/providers/infura.js +5 -5
- package/dist/providers/jsonRpc.js +5 -5
- package/dist/providers/public.js +5 -5
- package/dist/window.js +1 -1
- package/package.json +2 -3
package/dist/actions.js
CHANGED
|
@@ -1,85 +1,85 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/actions.ts
|
|
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
|
-
|
|
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
|
+
var _core = require('@wagmi/core');
|
|
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
|
+
exports.connect = _core.connect; exports.disconnect = _core.disconnect; exports.fetchBalance = _core.fetchBalance; exports.fetchBlockNumber = _core.fetchBlockNumber; exports.fetchEnsAddress = _core.fetchEnsAddress; exports.fetchEnsAvatar = _core.fetchEnsAvatar; exports.fetchEnsName = _core.fetchEnsName; exports.fetchEnsResolver = _core.fetchEnsResolver; exports.fetchFeeData = _core.fetchFeeData; exports.fetchToken = _core.fetchToken; exports.fetchTransaction = _core.fetchTransaction; exports.getAccount = _core.getAccount; exports.getContract = _core.getContract; exports.getNetwork = _core.getNetwork; exports.getPublicClient = _core.getPublicClient; exports.getWalletClient = _core.getWalletClient; exports.getWebSocketPublicClient = _core.getWebSocketPublicClient; exports.multicall = _core.multicall; exports.prepareSendTransaction = _core.prepareSendTransaction; exports.prepareWriteContract = _core.prepareWriteContract; exports.readContract = _core.readContract; exports.readContracts = _core.readContracts; exports.sendTransaction = _core.sendTransaction; exports.signMessage = _core.signMessage; exports.signTypedData = _core.signTypedData; exports.switchNetwork = _core.switchNetwork; exports.waitForTransaction = _core.waitForTransaction; exports.watchAccount = _core.watchAccount; exports.watchBlockNumber = _core.watchBlockNumber; exports.watchContractEvent = _core.watchContractEvent; exports.watchMulticall = _core.watchMulticall; exports.watchNetwork = _core.watchNetwork; exports.watchPendingTransactions = _core.watchPendingTransactions; exports.watchPublicClient = _core.watchPublicClient; exports.watchReadContract = _core.watchReadContract; exports.watchReadContracts = _core.watchReadContracts; exports.watchWalletClient = _core.watchWalletClient; exports.watchWebSocketPublicClient = _core.watchWebSocketPublicClient; exports.writeContract = _core.writeContract;
|
package/dist/chains.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _createStarExport(obj) { Object.keys(obj) .filter((key) => key !== "default" && key !== "__esModule") .forEach((key) => { if (exports.hasOwnProperty(key)) { return; } Object.defineProperty(exports, key, {enumerable: true, configurable: true, get: () => obj[key]}); }); }"use client";
|
|
2
2
|
|
|
3
3
|
// src/chains.ts
|
|
4
|
-
|
|
4
|
+
var _chains = require('viem/chains'); _createStarExport(_chains);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/coinbaseWallet.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _coinbaseWallet = require('@wagmi/core/connectors/coinbaseWallet');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.CoinbaseWalletConnector = _coinbaseWallet.CoinbaseWalletConnector;
|
package/dist/connectors/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/index.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _connectors = require('@wagmi/core/connectors');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.Connector = _connectors.Connector;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/injected.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _core = require('@wagmi/core');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.InjectedConnector = _core.InjectedConnector;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/ledger.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _ledger = require('@wagmi/core/connectors/ledger');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.LedgerConnector = _ledger.LedgerConnector;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/metaMask.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _metaMask = require('@wagmi/core/connectors/metaMask');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.MetaMaskConnector = _metaMask.MetaMaskConnector;
|
package/dist/connectors/mock.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/mock.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _mock = require('@wagmi/core/connectors/mock');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.MockConnector = _mock.MockConnector;
|
package/dist/connectors/safe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/safe.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _safe = require('@wagmi/core/connectors/safe');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.SafeConnector = _safe.SafeConnector;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/walletConnect.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _walletConnect = require('@wagmi/core/connectors/walletConnect');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.WalletConnectConnector = _walletConnect.WalletConnectConnector;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use client";
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
// src/connectors/walletConnectLegacy.ts
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
var _walletConnectLegacy = require('@wagmi/core/connectors/walletConnectLegacy');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
exports.WalletConnectLegacyConnector = _walletConnectLegacy.WalletConnectLegacyConnector;
|