wagmi 0.4.2 → 0.4.5

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.
@@ -0,0 +1 @@
1
+ export * from "../../dist/declarations/src/chains";
@@ -0,0 +1,60 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var chains = require('@wagmi/core/chains');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, 'arbitrum', {
10
+ enumerable: true,
11
+ get: function () { return chains.arbitrum; }
12
+ });
13
+ Object.defineProperty(exports, 'arbitrumRinkeby', {
14
+ enumerable: true,
15
+ get: function () { return chains.arbitrumRinkeby; }
16
+ });
17
+ Object.defineProperty(exports, 'goerli', {
18
+ enumerable: true,
19
+ get: function () { return chains.goerli; }
20
+ });
21
+ Object.defineProperty(exports, 'hardhat', {
22
+ enumerable: true,
23
+ get: function () { return chains.hardhat; }
24
+ });
25
+ Object.defineProperty(exports, 'kovan', {
26
+ enumerable: true,
27
+ get: function () { return chains.kovan; }
28
+ });
29
+ Object.defineProperty(exports, 'localhost', {
30
+ enumerable: true,
31
+ get: function () { return chains.localhost; }
32
+ });
33
+ Object.defineProperty(exports, 'mainnet', {
34
+ enumerable: true,
35
+ get: function () { return chains.mainnet; }
36
+ });
37
+ Object.defineProperty(exports, 'optimism', {
38
+ enumerable: true,
39
+ get: function () { return chains.optimism; }
40
+ });
41
+ Object.defineProperty(exports, 'optimismKovan', {
42
+ enumerable: true,
43
+ get: function () { return chains.optimismKovan; }
44
+ });
45
+ Object.defineProperty(exports, 'polygon', {
46
+ enumerable: true,
47
+ get: function () { return chains.polygon; }
48
+ });
49
+ Object.defineProperty(exports, 'polygonMumbai', {
50
+ enumerable: true,
51
+ get: function () { return chains.polygonMumbai; }
52
+ });
53
+ Object.defineProperty(exports, 'rinkeby', {
54
+ enumerable: true,
55
+ get: function () { return chains.rinkeby; }
56
+ });
57
+ Object.defineProperty(exports, 'ropsten', {
58
+ enumerable: true,
59
+ get: function () { return chains.ropsten; }
60
+ });
@@ -0,0 +1,7 @@
1
+ 'use strict';
2
+
3
+ if (process.env.NODE_ENV === "production") {
4
+ module.exports = require("./wagmi-chains.cjs.prod.js");
5
+ } else {
6
+ module.exports = require("./wagmi-chains.cjs.dev.js");
7
+ }
@@ -0,0 +1,60 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var chains = require('@wagmi/core/chains');
6
+
7
+
8
+
9
+ Object.defineProperty(exports, 'arbitrum', {
10
+ enumerable: true,
11
+ get: function () { return chains.arbitrum; }
12
+ });
13
+ Object.defineProperty(exports, 'arbitrumRinkeby', {
14
+ enumerable: true,
15
+ get: function () { return chains.arbitrumRinkeby; }
16
+ });
17
+ Object.defineProperty(exports, 'goerli', {
18
+ enumerable: true,
19
+ get: function () { return chains.goerli; }
20
+ });
21
+ Object.defineProperty(exports, 'hardhat', {
22
+ enumerable: true,
23
+ get: function () { return chains.hardhat; }
24
+ });
25
+ Object.defineProperty(exports, 'kovan', {
26
+ enumerable: true,
27
+ get: function () { return chains.kovan; }
28
+ });
29
+ Object.defineProperty(exports, 'localhost', {
30
+ enumerable: true,
31
+ get: function () { return chains.localhost; }
32
+ });
33
+ Object.defineProperty(exports, 'mainnet', {
34
+ enumerable: true,
35
+ get: function () { return chains.mainnet; }
36
+ });
37
+ Object.defineProperty(exports, 'optimism', {
38
+ enumerable: true,
39
+ get: function () { return chains.optimism; }
40
+ });
41
+ Object.defineProperty(exports, 'optimismKovan', {
42
+ enumerable: true,
43
+ get: function () { return chains.optimismKovan; }
44
+ });
45
+ Object.defineProperty(exports, 'polygon', {
46
+ enumerable: true,
47
+ get: function () { return chains.polygon; }
48
+ });
49
+ Object.defineProperty(exports, 'polygonMumbai', {
50
+ enumerable: true,
51
+ get: function () { return chains.polygonMumbai; }
52
+ });
53
+ Object.defineProperty(exports, 'rinkeby', {
54
+ enumerable: true,
55
+ get: function () { return chains.rinkeby; }
56
+ });
57
+ Object.defineProperty(exports, 'ropsten', {
58
+ enumerable: true,
59
+ get: function () { return chains.ropsten; }
60
+ });
@@ -0,0 +1 @@
1
+ export { arbitrum, arbitrumRinkeby, goerli, hardhat, kovan, localhost, mainnet, optimism, optimismKovan, polygon, polygonMumbai, rinkeby, ropsten } from '@wagmi/core/chains';
@@ -0,0 +1,4 @@
1
+ {
2
+ "main": "dist/wagmi-chains.cjs.js",
3
+ "module": "dist/wagmi-chains.esm.js"
4
+ }
@@ -0,0 +1 @@
1
+ export { arbitrum, arbitrumRinkeby, goerli, hardhat, kovan, localhost, mainnet, optimism, optimismKovan, polygon, polygonMumbai, rinkeby, ropsten, } from '@wagmi/core/chains';
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "wagmi",
3
3
  "description": "React Hooks for Ethereum",
4
4
  "license": "WAGMIT",
5
- "version": "0.4.2",
5
+ "version": "0.4.5",
6
6
  "repository": "tmm/wagmi",
7
7
  "author": "awkweb.eth",
8
8
  "homepage": "https://wagmi.sh",
@@ -26,6 +26,10 @@
26
26
  "module": "./dist/wagmi.esm.js",
27
27
  "default": "./dist/wagmi.cjs.js"
28
28
  },
29
+ "./chains": {
30
+ "module": "./chains/dist/wagmi-chains.esm.js",
31
+ "default": "./chains/dist/wagmi-chains.cjs.js"
32
+ },
29
33
  "./connectors/coinbaseWallet": {
30
34
  "module": "./connectors/coinbaseWallet/dist/wagmi-connectors-coinbaseWallet.esm.js",
31
35
  "default": "./connectors/coinbaseWallet/dist/wagmi-connectors-coinbaseWallet.cjs.js"
@@ -46,10 +50,6 @@
46
50
  "module": "./providers/alchemy/dist/wagmi-providers-alchemy.esm.js",
47
51
  "default": "./providers/alchemy/dist/wagmi-providers-alchemy.cjs.js"
48
52
  },
49
- "./providers/public": {
50
- "module": "./providers/public/dist/wagmi-providers-public.esm.js",
51
- "default": "./providers/public/dist/wagmi-providers-public.cjs.js"
52
- },
53
53
  "./providers/infura": {
54
54
  "module": "./providers/infura/dist/wagmi-providers-infura.esm.js",
55
55
  "default": "./providers/infura/dist/wagmi-providers-infura.cjs.js"
@@ -57,9 +57,14 @@
57
57
  "./providers/jsonRpc": {
58
58
  "module": "./providers/jsonRpc/dist/wagmi-providers-jsonRpc.esm.js",
59
59
  "default": "./providers/jsonRpc/dist/wagmi-providers-jsonRpc.cjs.js"
60
+ },
61
+ "./providers/public": {
62
+ "module": "./providers/public/dist/wagmi-providers-public.esm.js",
63
+ "default": "./providers/public/dist/wagmi-providers-public.cjs.js"
60
64
  }
61
65
  },
62
66
  "files": [
67
+ "/chains",
63
68
  "/connectors",
64
69
  "/dist",
65
70
  "/providers"
@@ -67,6 +72,7 @@
67
72
  "preconstruct": {
68
73
  "entrypoints": [
69
74
  "index.ts",
75
+ "chains.ts",
70
76
  "connectors/coinbaseWallet.ts",
71
77
  "connectors/injected.ts",
72
78
  "connectors/metaMask.ts",
@@ -83,9 +89,9 @@
83
89
  },
84
90
  "dependencies": {
85
91
  "@coinbase/wallet-sdk": "^3.1.0",
86
- "@wagmi/core": "^0.3.2",
92
+ "@wagmi/core": "^0.3.4",
87
93
  "@walletconnect/ethereum-provider": "^1.7.8",
88
- "react-query": "4.0.0-beta.12",
94
+ "react-query": "^4.0.0-beta.19",
89
95
  "use-sync-external-store": "^1.1.0"
90
96
  },
91
97
  "devDependencies": {
@@ -108,6 +114,5 @@
108
114
  "dapps",
109
115
  "wallet",
110
116
  "web3"
111
- ],
112
- "readme": "# wagmi\n\n## Documentation\n\nFor full documentation and examples, visit [wagmi.sh](https://wagmi.sh).\n\n## Installation\n\nInstall wagmi and its ethers peer dependency.\n\n```bash\nnpm install wagmi ethers\n```\n\n## Community\n\nCheck out the following places for more wagmi-related content:\n\n- Join the [discussions on GitHub](https://github.com/tmm/wagmi/discussions)\n- Follow [@awkweb](https://twitter.com/awkweb) and [@wagmi_sh](https://twitter.com/wagmi_sh) on Twitter for project updates\n- Sign the [guestbook](https://github.com/tmm/wagmi/discussions/2)\n- Share [your project/organization](https://github.com/tmm/wagmi/discussions/201) using wagmi\n\n## Support\n\nIf you find wagmi useful, please consider supporting development. Thank you 🙏\n\n- [GitHub Sponsors](https://github.com/sponsors/tmm?metadata_campaign=readme_wagmi)\n- [Gitcoin Grant](https://gitcoin.co/grants/4493/wagmi-react-hooks-library-for-ethereum)\n- [awkweb.eth](https://etherscan.io/enslookup-search?search=awkweb.eth)\n"
117
+ ]
113
118
  }