@ant-design/web3-assets 1.4.1 → 1.6.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/CHANGELOG.md +39 -0
- package/dist/esm/chains/ethereum.d.ts +7 -0
- package/dist/esm/chains/ethereum.js +61 -1
- package/dist/esm/wallets/backpack.d.ts +2 -0
- package/dist/esm/wallets/backpack.js +17 -0
- package/dist/esm/wallets/index.d.ts +4 -0
- package/dist/esm/wallets/index.js +5 -1
- package/dist/esm/wallets/trust.d.ts +2 -0
- package/dist/esm/wallets/trust.js +17 -0
- package/dist/esm/wallets/unisat-wallet.d.ts +2 -0
- package/dist/esm/wallets/unisat-wallet.js +17 -0
- package/dist/esm/wallets/wallet-connect.js +1 -1
- package/dist/esm/wallets/xverse.d.ts +2 -0
- package/dist/esm/wallets/xverse.js +17 -0
- package/dist/lib/chains/ethereum.d.ts +7 -0
- package/dist/lib/chains/ethereum.js +61 -1
- package/dist/lib/wallets/backpack.d.ts +2 -0
- package/dist/lib/wallets/backpack.js +23 -0
- package/dist/lib/wallets/index.d.ts +4 -0
- package/dist/lib/wallets/index.js +44 -0
- package/dist/lib/wallets/trust.d.ts +2 -0
- package/dist/lib/wallets/trust.js +23 -0
- package/dist/lib/wallets/unisat-wallet.d.ts +2 -0
- package/dist/lib/wallets/unisat-wallet.js +23 -0
- package/dist/lib/wallets/wallet-connect.js +1 -1
- package/dist/lib/wallets/xverse.d.ts +2 -0
- package/dist/lib/wallets/xverse.js +23 -0
- package/package.json +6 -6
- package/dist/esm/chains/ethereum.d.ts.map +0 -1
- package/dist/esm/index.d.ts.map +0 -1
- package/dist/esm/solana/chains.d.ts.map +0 -1
- package/dist/esm/solana/index.d.ts.map +0 -1
- package/dist/esm/wallets/coinbase-wallet.d.ts.map +0 -1
- package/dist/esm/wallets/im-token.d.ts.map +0 -1
- package/dist/esm/wallets/index.d.ts.map +0 -1
- package/dist/esm/wallets/meta-mask.d.ts.map +0 -1
- package/dist/esm/wallets/phantom.d.ts.map +0 -1
- package/dist/esm/wallets/safeheron.d.ts.map +0 -1
- package/dist/esm/wallets/token-pocket.d.ts.map +0 -1
- package/dist/esm/wallets/wallet-connect.d.ts.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,44 @@
|
|
|
1
1
|
# @ant-design/web3-assets
|
|
2
2
|
|
|
3
|
+
## 1.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 71d281a: feat: Add Trust and Backpack wallet metadata
|
|
8
|
+
- b950d50: feat(ethers): support ether testnet 'Sepolia'
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- dfef374: feat: add scoll icons and chains
|
|
13
|
+
- ab3eac4: feat: support for bitcoin
|
|
14
|
+
- Updated dependencies [ac9240c]
|
|
15
|
+
- Updated dependencies [7fb2d02]
|
|
16
|
+
- Updated dependencies [dfef374]
|
|
17
|
+
- Updated dependencies [7be0842]
|
|
18
|
+
- Updated dependencies [ce5ad76]
|
|
19
|
+
- Updated dependencies [71d281a]
|
|
20
|
+
- Updated dependencies [b1b8a46]
|
|
21
|
+
- Updated dependencies [ab3eac4]
|
|
22
|
+
- Updated dependencies [c4c52a6]
|
|
23
|
+
- Updated dependencies [7fbf83a]
|
|
24
|
+
- @ant-design/web3-icons@1.5.0
|
|
25
|
+
- @ant-design/web3-common@1.8.0
|
|
26
|
+
|
|
27
|
+
## 1.5.0
|
|
28
|
+
|
|
29
|
+
### Minor Changes
|
|
30
|
+
|
|
31
|
+
- b5eccf9: feat: Support quick connect
|
|
32
|
+
|
|
33
|
+
### Patch Changes
|
|
34
|
+
|
|
35
|
+
- Updated dependencies [b5eccf9]
|
|
36
|
+
- Updated dependencies [ec92a76]
|
|
37
|
+
- Updated dependencies [cb0a288]
|
|
38
|
+
- Updated dependencies [6f4c55f]
|
|
39
|
+
- @ant-design/web3-common@1.7.0
|
|
40
|
+
- @ant-design/web3-icons@1.4.2
|
|
41
|
+
|
|
3
42
|
## 1.4.1
|
|
4
43
|
|
|
5
44
|
### Patch Changes
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { type Chain } from '@ant-design/web3-common';
|
|
2
2
|
export declare const Mainnet: Chain;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use sepolia or holesky instead
|
|
5
|
+
*/
|
|
3
6
|
export declare const Goerli: Chain;
|
|
7
|
+
export declare const Sepolia: Chain;
|
|
8
|
+
export declare const Holesky: Chain;
|
|
4
9
|
export declare const Polygon: Chain;
|
|
5
10
|
export declare const BSC: Chain;
|
|
6
11
|
export declare const Arbitrum: Chain;
|
|
7
12
|
export declare const Optimism: Chain;
|
|
8
13
|
export declare const Avalanche: Chain;
|
|
9
14
|
export declare const X1Testnet: Chain;
|
|
15
|
+
export declare const Scroll: Chain;
|
|
16
|
+
export declare const ScrollSepolia: Chain;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChainIds, createGetBrowserLink } from '@ant-design/web3-common';
|
|
2
|
-
import { ArbitrumCircleColorful, AvalancheCircleColorful, BSCCircleColorful, EthereumCircleColorful, EthereumFilled, EtherscanCircleColorful, OkxWalletColorful, OptimismCircleColorful, PolygonCircleColorful } from '@ant-design/web3-icons';
|
|
2
|
+
import { ArbitrumCircleColorful, AvalancheCircleColorful, BSCCircleColorful, EthereumCircleColorful, EthereumFilled, EtherscanCircleColorful, OkxWalletColorful, OptimismCircleColorful, PolygonCircleColorful, ScrollColorful } from '@ant-design/web3-icons';
|
|
3
3
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
4
4
|
export var Mainnet = {
|
|
5
5
|
id: ChainIds.Mainnet,
|
|
@@ -16,6 +16,10 @@ export var Mainnet = {
|
|
|
16
16
|
decimals: 18
|
|
17
17
|
}
|
|
18
18
|
};
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated use sepolia or holesky instead
|
|
22
|
+
*/
|
|
19
23
|
export var Goerli = {
|
|
20
24
|
id: ChainIds.Goerli,
|
|
21
25
|
name: 'Goerli',
|
|
@@ -30,6 +34,34 @@ export var Goerli = {
|
|
|
30
34
|
decimals: 18
|
|
31
35
|
}
|
|
32
36
|
};
|
|
37
|
+
export var Sepolia = {
|
|
38
|
+
id: ChainIds.Sepolia,
|
|
39
|
+
name: 'Sepolia',
|
|
40
|
+
icon: /*#__PURE__*/_jsx(EthereumCircleColorful, {}),
|
|
41
|
+
browser: {
|
|
42
|
+
icon: /*#__PURE__*/_jsx(EthereumCircleColorful, {}),
|
|
43
|
+
getBrowserLink: createGetBrowserLink('https://sepolia.etherscan.io')
|
|
44
|
+
},
|
|
45
|
+
nativeCurrency: {
|
|
46
|
+
name: 'Sepolia Ether',
|
|
47
|
+
symbol: 'ETH',
|
|
48
|
+
decimals: 18
|
|
49
|
+
}
|
|
50
|
+
};
|
|
51
|
+
export var Holesky = {
|
|
52
|
+
id: ChainIds.Holesky,
|
|
53
|
+
name: 'Holesky',
|
|
54
|
+
icon: /*#__PURE__*/_jsx(EthereumCircleColorful, {}),
|
|
55
|
+
browser: {
|
|
56
|
+
icon: /*#__PURE__*/_jsx(EthereumCircleColorful, {}),
|
|
57
|
+
getBrowserLink: createGetBrowserLink('https://holesky.etherscan.io')
|
|
58
|
+
},
|
|
59
|
+
nativeCurrency: {
|
|
60
|
+
name: 'Holesky Ether',
|
|
61
|
+
symbol: 'ETH',
|
|
62
|
+
decimals: 18
|
|
63
|
+
}
|
|
64
|
+
};
|
|
33
65
|
export var Polygon = {
|
|
34
66
|
id: ChainIds.Polygon,
|
|
35
67
|
name: 'Polygon',
|
|
@@ -115,4 +147,32 @@ export var X1Testnet = {
|
|
|
115
147
|
symbol: 'OKB',
|
|
116
148
|
decimals: 18
|
|
117
149
|
}
|
|
150
|
+
};
|
|
151
|
+
export var Scroll = {
|
|
152
|
+
id: ChainIds.Scroll,
|
|
153
|
+
name: 'Scroll',
|
|
154
|
+
icon: /*#__PURE__*/_jsx(ScrollColorful, {}),
|
|
155
|
+
browser: {
|
|
156
|
+
icon: /*#__PURE__*/_jsx(ScrollColorful, {}),
|
|
157
|
+
getBrowserLink: createGetBrowserLink('https://scrollscan.com/')
|
|
158
|
+
},
|
|
159
|
+
nativeCurrency: {
|
|
160
|
+
name: 'Scroll ETH',
|
|
161
|
+
symbol: 'ETH',
|
|
162
|
+
decimals: 18
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
export var ScrollSepolia = {
|
|
166
|
+
id: ChainIds.ScrollSepolia,
|
|
167
|
+
name: 'Scroll Sepolia Testnet',
|
|
168
|
+
icon: /*#__PURE__*/_jsx(ScrollColorful, {}),
|
|
169
|
+
browser: {
|
|
170
|
+
icon: /*#__PURE__*/_jsx(ScrollColorful, {}),
|
|
171
|
+
getBrowserLink: createGetBrowserLink('https://sepolia.scrollscan.com/')
|
|
172
|
+
},
|
|
173
|
+
nativeCurrency: {
|
|
174
|
+
name: 'Scroll ETH',
|
|
175
|
+
symbol: 'ETH',
|
|
176
|
+
decimals: 18
|
|
177
|
+
}
|
|
118
178
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { BackpackColorful, ChromeCircleColorful } from '@ant-design/web3-icons';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export var metadata_Backpack = {
|
|
4
|
+
icon: /*#__PURE__*/_jsx(BackpackColorful, {}),
|
|
5
|
+
name: 'Backpack',
|
|
6
|
+
remark: 'Backpack Wallet',
|
|
7
|
+
app: {
|
|
8
|
+
link: 'https://backpack.app/'
|
|
9
|
+
},
|
|
10
|
+
extensions: [{
|
|
11
|
+
key: 'Chrome',
|
|
12
|
+
browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
|
|
13
|
+
browserName: 'Chrome',
|
|
14
|
+
link: 'https://chromewebstore.google.com/detail/backpack/aflkmfhebedbjioipglgcbcmnbpgliof',
|
|
15
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
16
|
+
}]
|
|
17
|
+
};
|
|
@@ -5,4 +5,8 @@ export * from "./token-pocket";
|
|
|
5
5
|
export * from "./safeheron";
|
|
6
6
|
export * from "./okx-wallet";
|
|
7
7
|
export * from "./phantom";
|
|
8
|
-
export * from "./im-token";
|
|
8
|
+
export * from "./im-token";
|
|
9
|
+
export * from "./xverse";
|
|
10
|
+
export * from "./unisat-wallet";
|
|
11
|
+
export * from "./backpack";
|
|
12
|
+
export * from "./trust";
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChromeCircleColorful, TrustWalletColorful } from '@ant-design/web3-icons';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export var metadata_Trust = {
|
|
4
|
+
icon: /*#__PURE__*/_jsx(TrustWalletColorful, {}),
|
|
5
|
+
name: 'Trust',
|
|
6
|
+
remark: 'Trust Wallet',
|
|
7
|
+
app: {
|
|
8
|
+
link: 'https://trustwallet.com/download'
|
|
9
|
+
},
|
|
10
|
+
extensions: [{
|
|
11
|
+
key: 'Chrome',
|
|
12
|
+
browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
|
|
13
|
+
browserName: 'Chrome',
|
|
14
|
+
link: 'https://chromewebstore.google.com/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph',
|
|
15
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
16
|
+
}]
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChromeCircleColorful, UnisatColorful } from '@ant-design/web3-icons';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export var metadata_Unisat = {
|
|
4
|
+
icon: /*#__PURE__*/_jsx(UnisatColorful, {}),
|
|
5
|
+
name: 'Unisat Wallet',
|
|
6
|
+
remark: 'Unisat Wallet',
|
|
7
|
+
app: {
|
|
8
|
+
link: 'https://unisat.io/download'
|
|
9
|
+
},
|
|
10
|
+
extensions: [{
|
|
11
|
+
key: 'Chrome',
|
|
12
|
+
browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
|
|
13
|
+
browserName: 'Chrome',
|
|
14
|
+
link: 'https://chrome.google.com/webstore/detail/unisat/ppbibelpcjmhbdihakflkdcoccbgbkpo',
|
|
15
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
16
|
+
}]
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ChromeCircleColorful, XverseColorful } from '@ant-design/web3-icons';
|
|
2
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
export var metadata_Xverse = {
|
|
4
|
+
icon: /*#__PURE__*/_jsx(XverseColorful, {}),
|
|
5
|
+
name: 'Xverse',
|
|
6
|
+
remark: 'Xverse Wallet',
|
|
7
|
+
app: {
|
|
8
|
+
link: 'https://www.xverse.app/'
|
|
9
|
+
},
|
|
10
|
+
extensions: [{
|
|
11
|
+
key: 'Chrome',
|
|
12
|
+
browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
|
|
13
|
+
browserName: 'Chrome',
|
|
14
|
+
link: 'https://chrome.google.com/webstore/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg',
|
|
15
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
16
|
+
}]
|
|
17
|
+
};
|
|
@@ -1,9 +1,16 @@
|
|
|
1
1
|
import { type Chain } from '@ant-design/web3-common';
|
|
2
2
|
export declare const Mainnet: Chain;
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated use sepolia or holesky instead
|
|
5
|
+
*/
|
|
3
6
|
export declare const Goerli: Chain;
|
|
7
|
+
export declare const Sepolia: Chain;
|
|
8
|
+
export declare const Holesky: Chain;
|
|
4
9
|
export declare const Polygon: Chain;
|
|
5
10
|
export declare const BSC: Chain;
|
|
6
11
|
export declare const Arbitrum: Chain;
|
|
7
12
|
export declare const Optimism: Chain;
|
|
8
13
|
export declare const Avalanche: Chain;
|
|
9
14
|
export declare const X1Testnet: Chain;
|
|
15
|
+
export declare const Scroll: Chain;
|
|
16
|
+
export declare const ScrollSepolia: Chain;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.X1Testnet = exports.Polygon = exports.Optimism = exports.Mainnet = exports.Goerli = exports.BSC = exports.Avalanche = exports.Arbitrum = void 0;
|
|
6
|
+
exports.X1Testnet = exports.Sepolia = exports.ScrollSepolia = exports.Scroll = exports.Polygon = exports.Optimism = exports.Mainnet = exports.Holesky = exports.Goerli = exports.BSC = exports.Avalanche = exports.Arbitrum = void 0;
|
|
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");
|
|
@@ -22,6 +22,10 @@ const Mainnet = exports.Mainnet = {
|
|
|
22
22
|
decimals: 18
|
|
23
23
|
}
|
|
24
24
|
};
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* @deprecated use sepolia or holesky instead
|
|
28
|
+
*/
|
|
25
29
|
const Goerli = exports.Goerli = {
|
|
26
30
|
id: _web3Common.ChainIds.Goerli,
|
|
27
31
|
name: 'Goerli',
|
|
@@ -36,6 +40,34 @@ const Goerli = exports.Goerli = {
|
|
|
36
40
|
decimals: 18
|
|
37
41
|
}
|
|
38
42
|
};
|
|
43
|
+
const Sepolia = exports.Sepolia = {
|
|
44
|
+
id: _web3Common.ChainIds.Sepolia,
|
|
45
|
+
name: 'Sepolia',
|
|
46
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumCircleColorful, {}),
|
|
47
|
+
browser: {
|
|
48
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumCircleColorful, {}),
|
|
49
|
+
getBrowserLink: (0, _web3Common.createGetBrowserLink)('https://sepolia.etherscan.io')
|
|
50
|
+
},
|
|
51
|
+
nativeCurrency: {
|
|
52
|
+
name: 'Sepolia Ether',
|
|
53
|
+
symbol: 'ETH',
|
|
54
|
+
decimals: 18
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
const Holesky = exports.Holesky = {
|
|
58
|
+
id: _web3Common.ChainIds.Holesky,
|
|
59
|
+
name: 'Holesky',
|
|
60
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumCircleColorful, {}),
|
|
61
|
+
browser: {
|
|
62
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumCircleColorful, {}),
|
|
63
|
+
getBrowserLink: (0, _web3Common.createGetBrowserLink)('https://holesky.etherscan.io')
|
|
64
|
+
},
|
|
65
|
+
nativeCurrency: {
|
|
66
|
+
name: 'Holesky Ether',
|
|
67
|
+
symbol: 'ETH',
|
|
68
|
+
decimals: 18
|
|
69
|
+
}
|
|
70
|
+
};
|
|
39
71
|
const Polygon = exports.Polygon = {
|
|
40
72
|
id: _web3Common.ChainIds.Polygon,
|
|
41
73
|
name: 'Polygon',
|
|
@@ -121,4 +153,32 @@ const X1Testnet = exports.X1Testnet = {
|
|
|
121
153
|
symbol: 'OKB',
|
|
122
154
|
decimals: 18
|
|
123
155
|
}
|
|
156
|
+
};
|
|
157
|
+
const Scroll = exports.Scroll = {
|
|
158
|
+
id: _web3Common.ChainIds.Scroll,
|
|
159
|
+
name: 'Scroll',
|
|
160
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ScrollColorful, {}),
|
|
161
|
+
browser: {
|
|
162
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ScrollColorful, {}),
|
|
163
|
+
getBrowserLink: (0, _web3Common.createGetBrowserLink)('https://scrollscan.com/')
|
|
164
|
+
},
|
|
165
|
+
nativeCurrency: {
|
|
166
|
+
name: 'Scroll ETH',
|
|
167
|
+
symbol: 'ETH',
|
|
168
|
+
decimals: 18
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
const ScrollSepolia = exports.ScrollSepolia = {
|
|
172
|
+
id: _web3Common.ChainIds.ScrollSepolia,
|
|
173
|
+
name: 'Scroll Sepolia Testnet',
|
|
174
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ScrollColorful, {}),
|
|
175
|
+
browser: {
|
|
176
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ScrollColorful, {}),
|
|
177
|
+
getBrowserLink: (0, _web3Common.createGetBrowserLink)('https://sepolia.scrollscan.com/')
|
|
178
|
+
},
|
|
179
|
+
nativeCurrency: {
|
|
180
|
+
name: 'Scroll ETH',
|
|
181
|
+
symbol: 'ETH',
|
|
182
|
+
decimals: 18
|
|
183
|
+
}
|
|
124
184
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.metadata_Backpack = void 0;
|
|
7
|
+
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const metadata_Backpack = exports.metadata_Backpack = {
|
|
10
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.BackpackColorful, {}),
|
|
11
|
+
name: 'Backpack',
|
|
12
|
+
remark: 'Backpack Wallet',
|
|
13
|
+
app: {
|
|
14
|
+
link: 'https://backpack.app/'
|
|
15
|
+
},
|
|
16
|
+
extensions: [{
|
|
17
|
+
key: 'Chrome',
|
|
18
|
+
browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
|
|
19
|
+
browserName: 'Chrome',
|
|
20
|
+
link: 'https://chromewebstore.google.com/detail/backpack/aflkmfhebedbjioipglgcbcmnbpgliof',
|
|
21
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
@@ -90,4 +90,48 @@ Object.keys(_imToken).forEach(function (key) {
|
|
|
90
90
|
return _imToken[key];
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
+
});
|
|
94
|
+
var _xverse = require("./xverse");
|
|
95
|
+
Object.keys(_xverse).forEach(function (key) {
|
|
96
|
+
if (key === "default" || key === "__esModule") return;
|
|
97
|
+
if (key in exports && exports[key] === _xverse[key]) return;
|
|
98
|
+
Object.defineProperty(exports, key, {
|
|
99
|
+
enumerable: true,
|
|
100
|
+
get: function () {
|
|
101
|
+
return _xverse[key];
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
});
|
|
105
|
+
var _unisatWallet = require("./unisat-wallet");
|
|
106
|
+
Object.keys(_unisatWallet).forEach(function (key) {
|
|
107
|
+
if (key === "default" || key === "__esModule") return;
|
|
108
|
+
if (key in exports && exports[key] === _unisatWallet[key]) return;
|
|
109
|
+
Object.defineProperty(exports, key, {
|
|
110
|
+
enumerable: true,
|
|
111
|
+
get: function () {
|
|
112
|
+
return _unisatWallet[key];
|
|
113
|
+
}
|
|
114
|
+
});
|
|
115
|
+
});
|
|
116
|
+
var _backpack = require("./backpack");
|
|
117
|
+
Object.keys(_backpack).forEach(function (key) {
|
|
118
|
+
if (key === "default" || key === "__esModule") return;
|
|
119
|
+
if (key in exports && exports[key] === _backpack[key]) return;
|
|
120
|
+
Object.defineProperty(exports, key, {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () {
|
|
123
|
+
return _backpack[key];
|
|
124
|
+
}
|
|
125
|
+
});
|
|
126
|
+
});
|
|
127
|
+
var _trust = require("./trust");
|
|
128
|
+
Object.keys(_trust).forEach(function (key) {
|
|
129
|
+
if (key === "default" || key === "__esModule") return;
|
|
130
|
+
if (key in exports && exports[key] === _trust[key]) return;
|
|
131
|
+
Object.defineProperty(exports, key, {
|
|
132
|
+
enumerable: true,
|
|
133
|
+
get: function () {
|
|
134
|
+
return _trust[key];
|
|
135
|
+
}
|
|
136
|
+
});
|
|
93
137
|
});
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.metadata_Trust = void 0;
|
|
7
|
+
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const metadata_Trust = exports.metadata_Trust = {
|
|
10
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.TrustWalletColorful, {}),
|
|
11
|
+
name: 'Trust',
|
|
12
|
+
remark: 'Trust Wallet',
|
|
13
|
+
app: {
|
|
14
|
+
link: 'https://trustwallet.com/download'
|
|
15
|
+
},
|
|
16
|
+
extensions: [{
|
|
17
|
+
key: 'Chrome',
|
|
18
|
+
browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
|
|
19
|
+
browserName: 'Chrome',
|
|
20
|
+
link: 'https://chromewebstore.google.com/detail/trust-wallet/egjidjbpglichdcondbcbdnbeeppgdph',
|
|
21
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.metadata_Unisat = void 0;
|
|
7
|
+
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const metadata_Unisat = exports.metadata_Unisat = {
|
|
10
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.UnisatColorful, {}),
|
|
11
|
+
name: 'Unisat Wallet',
|
|
12
|
+
remark: 'Unisat Wallet',
|
|
13
|
+
app: {
|
|
14
|
+
link: 'https://unisat.io/download'
|
|
15
|
+
},
|
|
16
|
+
extensions: [{
|
|
17
|
+
key: 'Chrome',
|
|
18
|
+
browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
|
|
19
|
+
browserName: 'Chrome',
|
|
20
|
+
link: 'https://chrome.google.com/webstore/detail/unisat/ppbibelpcjmhbdihakflkdcoccbgbkpo',
|
|
21
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
22
|
+
}]
|
|
23
|
+
};
|
|
@@ -10,7 +10,7 @@ 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
|
+
universalProtocol: {
|
|
14
14
|
link: 'https://walletconnect.com/'
|
|
15
15
|
}
|
|
16
16
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.metadata_Xverse = void 0;
|
|
7
|
+
var _web3Icons = require("@ant-design/web3-icons");
|
|
8
|
+
var _jsxRuntime = require("react/jsx-runtime");
|
|
9
|
+
const metadata_Xverse = exports.metadata_Xverse = {
|
|
10
|
+
icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.XverseColorful, {}),
|
|
11
|
+
name: 'Xverse',
|
|
12
|
+
remark: 'Xverse Wallet',
|
|
13
|
+
app: {
|
|
14
|
+
link: 'https://www.xverse.app/'
|
|
15
|
+
},
|
|
16
|
+
extensions: [{
|
|
17
|
+
key: 'Chrome',
|
|
18
|
+
browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
|
|
19
|
+
browserName: 'Chrome',
|
|
20
|
+
link: 'https://chrome.google.com/webstore/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg',
|
|
21
|
+
description: 'Access your wallet right from your favorite web browser.'
|
|
22
|
+
}]
|
|
23
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ant-design/web3-assets",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.6.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -58,16 +58,16 @@
|
|
|
58
58
|
"url": "https://github.com/ant-design/ant-design-web3"
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@ant-design/web3-common": "1.
|
|
62
|
-
"@ant-design/web3-icons": "1.
|
|
61
|
+
"@ant-design/web3-common": "1.8.0",
|
|
62
|
+
"@ant-design/web3-icons": "1.5.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@types/react": "^18.2.
|
|
66
|
-
"@types/react-dom": "^18.2.
|
|
65
|
+
"@types/react": "^18.2.78",
|
|
66
|
+
"@types/react-dom": "^18.2.25",
|
|
67
67
|
"father": "^4.3.8",
|
|
68
68
|
"react": "^18.2.0",
|
|
69
69
|
"react-dom": "^18.2.0",
|
|
70
|
-
"typescript": "^5.4.
|
|
70
|
+
"typescript": "^5.4.4"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": ">=17.0.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ethereum.d.ts","sourceRoot":"","sources":["ethereum.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAkC,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAarF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,MAAM,EAAE,KASpB,CAAC;AAEF,eAAO,MAAM,OAAO,EAAE,KASrB,CAAC;AAEF,eAAO,MAAM,GAAG,EAAE,KASjB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAO,MAAM,QAAQ,EAAE,KAStB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC;AAGF,eAAO,MAAM,SAAS,EAAE,KASvB,CAAC"}
|
package/dist/esm/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,mBAAmB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"chains.d.ts","sourceRoot":"","sources":["chains.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAwB,cAAc,EAAE,KAAK,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAG3F,MAAM,WAAW,WAAY,SAAQ,KAAK;IACxC,EAAE,EAAE,cAAc,CAAC;CACpB;AAED,eAAO,MAAM,MAAM,EAAE,WASpB,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,WAS1B,CAAC;AAEF,eAAO,MAAM,aAAa,EAAE,WAS3B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"coinbase-wallet.d.ts","sourceRoot":"","sources":["coinbase-wallet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,uBAAuB,EAAE,cAgBrC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"im-token.d.ts","sourceRoot":"","sources":["im-token.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,gBAAgB,EAAE,cAO9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"meta-mask.d.ts","sourceRoot":"","sources":["meta-mask.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,iBAAiB,EAAE,cAiB/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"phantom.d.ts","sourceRoot":"","sources":["phantom.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,gBAAgB,EAAE,cAgB9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"safeheron.d.ts","sourceRoot":"","sources":["safeheron.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,kBAAkB,EAAE,cAahC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"token-pocket.d.ts","sourceRoot":"","sources":["token-pocket.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,oBAAoB,EAAE,cAgBlC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"wallet-connect.d.ts","sourceRoot":"","sources":["wallet-connect.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAG9D,eAAO,MAAM,sBAAsB,EAAE,cAOpC,CAAC"}
|