@ant-design/web3-assets 0.1.1 → 0.1.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/CHANGELOG.md
CHANGED
package/dist/lib/chains.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.Polygon = exports.Optimism = exports.Mainnet = exports.Goerli = exports.
|
|
|
7
7
|
var _web3Common = require("@ant-design/web3-common");
|
|
8
8
|
var _web3Icons = require("@ant-design/web3-icons");
|
|
9
9
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
10
|
-
const Mainnet = {
|
|
10
|
+
const Mainnet = exports.Mainnet = {
|
|
11
11
|
id: _web3Common.ChainIds.Mainnet,
|
|
12
12
|
name: 'Ethereum',
|
|
13
13
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumCircleColorful, {}),
|
|
@@ -29,8 +29,7 @@ const Mainnet = {
|
|
|
29
29
|
decimals: 18
|
|
30
30
|
}
|
|
31
31
|
};
|
|
32
|
-
exports.
|
|
33
|
-
const Goerli = {
|
|
32
|
+
const Goerli = exports.Goerli = {
|
|
34
33
|
id: _web3Common.ChainIds.Goerli,
|
|
35
34
|
name: 'Goerli',
|
|
36
35
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumCircleColorful, {}),
|
|
@@ -40,8 +39,7 @@ const Goerli = {
|
|
|
40
39
|
decimals: 18
|
|
41
40
|
}
|
|
42
41
|
};
|
|
43
|
-
exports.
|
|
44
|
-
const Polygon = {
|
|
42
|
+
const Polygon = exports.Polygon = {
|
|
45
43
|
id: _web3Common.ChainIds.Polygon,
|
|
46
44
|
name: 'Polygon',
|
|
47
45
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.PolygonCircleColorful, {}),
|
|
@@ -51,8 +49,7 @@ const Polygon = {
|
|
|
51
49
|
decimals: 18
|
|
52
50
|
}
|
|
53
51
|
};
|
|
54
|
-
exports.
|
|
55
|
-
const BSC = {
|
|
52
|
+
const BSC = exports.BSC = {
|
|
56
53
|
id: _web3Common.ChainIds.BSC,
|
|
57
54
|
name: 'BNB Smart Chain',
|
|
58
55
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.BSCCircleColorful, {}),
|
|
@@ -62,8 +59,7 @@ const BSC = {
|
|
|
62
59
|
symbol: 'BNB'
|
|
63
60
|
}
|
|
64
61
|
};
|
|
65
|
-
exports.
|
|
66
|
-
const Arbitrum = {
|
|
62
|
+
const Arbitrum = exports.Arbitrum = {
|
|
67
63
|
id: _web3Common.ChainIds.Arbitrum,
|
|
68
64
|
name: 'Arbitrum One',
|
|
69
65
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ArbitrumCircleColorful, {}),
|
|
@@ -73,8 +69,7 @@ const Arbitrum = {
|
|
|
73
69
|
decimals: 18
|
|
74
70
|
}
|
|
75
71
|
};
|
|
76
|
-
exports.
|
|
77
|
-
const Optimism = {
|
|
72
|
+
const Optimism = exports.Optimism = {
|
|
78
73
|
id: _web3Common.ChainIds.Optimism,
|
|
79
74
|
name: 'OP Mainnet',
|
|
80
75
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.OptimismCircleColorful, {}),
|
|
@@ -83,5 +78,4 @@ const Optimism = {
|
|
|
83
78
|
symbol: 'ETH',
|
|
84
79
|
decimals: 18
|
|
85
80
|
}
|
|
86
|
-
};
|
|
87
|
-
exports.Optimism = Optimism;
|
|
81
|
+
};
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.metadata_CoinbaseWallet = void 0;
|
|
7
7
|
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const metadata_CoinbaseWallet = {
|
|
9
|
+
const metadata_CoinbaseWallet = exports.metadata_CoinbaseWallet = {
|
|
10
10
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.CoinbaseWalletCircleColorful, {}),
|
|
11
11
|
name: 'Coinbase Wallet',
|
|
12
12
|
remark: 'Coinbase Wallet',
|
|
@@ -20,5 +20,4 @@ const metadata_CoinbaseWallet = {
|
|
|
20
20
|
link: 'https://chromewebstore.google.com/detail/coinbase-wallet-extension/hnfanknocfeofbddgcijnmhnfnkdnaad',
|
|
21
21
|
description: 'Access your wallet right from your favorite web browser.'
|
|
22
22
|
}]
|
|
23
|
-
};
|
|
24
|
-
exports.metadata_CoinbaseWallet = metadata_CoinbaseWallet;
|
|
23
|
+
};
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.metadata_MetaMask = void 0;
|
|
7
7
|
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const metadata_MetaMask = {
|
|
9
|
+
const metadata_MetaMask = exports.metadata_MetaMask = {
|
|
10
10
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.MetaMaskColorful, {}),
|
|
11
11
|
name: 'MetaMask',
|
|
12
12
|
remark: 'MetaMask Wallet',
|
|
@@ -21,5 +21,4 @@ const metadata_MetaMask = {
|
|
|
21
21
|
description: 'Access your wallet right from your favorite web browser.'
|
|
22
22
|
}],
|
|
23
23
|
group: 'Popular'
|
|
24
|
-
};
|
|
25
|
-
exports.metadata_MetaMask = metadata_MetaMask;
|
|
24
|
+
};
|
|
@@ -6,12 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.metadata_WalletConnect = void 0;
|
|
7
7
|
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
8
|
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
-
const metadata_WalletConnect = {
|
|
9
|
+
const metadata_WalletConnect = exports.metadata_WalletConnect = {
|
|
10
10
|
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.WalletConnectColorful, {}),
|
|
11
11
|
name: 'WalletConnect',
|
|
12
12
|
remark: 'Connect with mobile APP',
|
|
13
13
|
app: {
|
|
14
14
|
link: 'https://walletconnect.com/'
|
|
15
15
|
}
|
|
16
|
-
};
|
|
17
|
-
exports.metadata_WalletConnect = metadata_WalletConnect;
|
|
16
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-assets",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"exports": {
|
|
5
5
|
"import": "./dist/esm/index.js",
|
|
6
6
|
"require": "./dist/lib/index.js",
|
|
@@ -12,16 +12,16 @@
|
|
|
12
12
|
"README.md"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@ant-design/web3-common": "0.
|
|
15
|
+
"@ant-design/web3-common": "0.2.0",
|
|
16
16
|
"@ant-design/web3-icons": "0.2.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@types/react": "^18.2.
|
|
20
|
-
"@types/react-dom": "^18.2.
|
|
21
|
-
"father": "^4.
|
|
19
|
+
"@types/react": "^18.2.45",
|
|
20
|
+
"@types/react-dom": "^18.2.18",
|
|
21
|
+
"father": "^4.3.8",
|
|
22
22
|
"react": "^18.2.0",
|
|
23
23
|
"react-dom": "^18.2.0",
|
|
24
|
-
"typescript": "^5.
|
|
24
|
+
"typescript": "^5.3.3"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": ">=17.0.0",
|