@ant-design/web3-assets 1.12.1 → 1.14.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 CHANGED
@@ -1,5 +1,32 @@
1
1
  # @ant-design/web3-assets
2
2
 
3
+ ## 1.14.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 640bce9: feat: support base chain
8
+ - 3d6d7c6: feat(sui):rename SuiWallet to Slush
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [640bce9]
13
+ - @ant-design/web3-common@1.21.0
14
+
15
+ ## 1.13.0
16
+
17
+ ### Minor Changes
18
+
19
+ - 98dc8ef: feat: Support wallet Rainbow
20
+
21
+ ### Patch Changes
22
+
23
+ - d9629ed: fix: update wallet chrome extension address, use https://chromewebstore.google.com/
24
+ - Updated dependencies [02abdcd]
25
+ - Updated dependencies [98dc8ef]
26
+ - Updated dependencies [b309635]
27
+ - @ant-design/web3-icons@1.14.0
28
+ - @ant-design/web3-common@1.20.0
29
+
3
30
  ## 1.12.1
4
31
 
5
32
  ### Patch Changes
@@ -14,5 +14,6 @@ export declare const Avalanche: Chain;
14
14
  export declare const X1Testnet: Chain;
15
15
  export declare const Scroll: Chain;
16
16
  export declare const ScrollSepolia: Chain;
17
+ export declare const Base: Chain;
17
18
  export declare const Hardhat: Chain;
18
19
  export declare const Localhost: Chain;
@@ -1,5 +1,5 @@
1
1
  import { ChainIds, ChainType, createGetBrowserLink } from '@ant-design/web3-common';
2
- import { ArbitrumCircleColorful, AvalancheCircleColorful, BSCCircleColorful, EthereumCircleColorful, EthereumColorful, EthereumFilled, EtherscanCircleColorful, HardhatColorful, OkxWalletColorful, OptimismCircleColorful, PolygonCircleColorful, ScrollColorful } from '@ant-design/web3-icons';
2
+ import { ArbitrumCircleColorful, AvalancheCircleColorful, BaseCircleColorful, BSCCircleColorful, EthereumCircleColorful, EthereumColorful, EthereumFilled, EtherscanCircleColorful, HardhatColorful, OkxWalletColorful, OptimismCircleColorful, PolygonCircleColorful, ScrollColorful } from '@ant-design/web3-icons';
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  export const Mainnet = {
5
5
  id: ChainIds.Mainnet,
@@ -188,6 +188,21 @@ export const ScrollSepolia = {
188
188
  decimals: 18
189
189
  }
190
190
  };
191
+ export const Base = {
192
+ id: ChainIds.Base,
193
+ name: 'Base',
194
+ type: ChainType.EVM,
195
+ icon: /*#__PURE__*/_jsx(BaseCircleColorful, {}),
196
+ browser: {
197
+ icon: /*#__PURE__*/_jsx(BaseCircleColorful, {}),
198
+ getBrowserLink: createGetBrowserLink('https://basescan.org')
199
+ },
200
+ nativeCurrency: {
201
+ name: 'ETH',
202
+ symbol: 'ETH',
203
+ decimals: 18
204
+ }
205
+ };
191
206
  export const Hardhat = {
192
207
  id: ChainIds.Hardhat,
193
208
  name: 'Hardhat',
@@ -4,6 +4,7 @@ export * from './coinbase-wallet';
4
4
  export * from './token-pocket';
5
5
  export * from './safeheron';
6
6
  export * from './okx-wallet';
7
+ export * from './rainbow-wallet';
7
8
  export * from './phantom';
8
9
  export * from './im-token';
9
10
  export * from './xverse';
@@ -11,6 +12,6 @@ export * from './unisat-wallet';
11
12
  export * from './backpack';
12
13
  export * from './trust';
13
14
  export * from './mobile-wallet';
14
- export * from './sui-wallet';
15
+ export * from './slush';
15
16
  export * from './suiet';
16
17
  export * from './solflare';
@@ -4,6 +4,7 @@ export * from "./coinbase-wallet";
4
4
  export * from "./token-pocket";
5
5
  export * from "./safeheron";
6
6
  export * from "./okx-wallet";
7
+ export * from "./rainbow-wallet";
7
8
  export * from "./phantom";
8
9
  export * from "./im-token";
9
10
  export * from "./xverse";
@@ -11,6 +12,6 @@ export * from "./unisat-wallet";
11
12
  export * from "./backpack";
12
13
  export * from "./trust";
13
14
  export * from "./mobile-wallet";
14
- export * from "./sui-wallet";
15
+ export * from "./slush";
15
16
  export * from "./suiet";
16
17
  export * from "./solflare";
@@ -12,7 +12,7 @@ export const metadata_MetaMask = {
12
12
  key: 'Chrome',
13
13
  browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
14
14
  browserName: 'Chrome',
15
- link: 'https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn',
15
+ link: 'https://chromewebstore.google.com/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn',
16
16
  description: 'Access your wallet right from your favorite web browser.'
17
17
  }],
18
18
  group: 'Popular',
@@ -0,0 +1,2 @@
1
+ import type { WalletMetadata } from '@ant-design/web3-common';
2
+ export declare const metadata_RainbowWallet: WalletMetadata;
@@ -0,0 +1,17 @@
1
+ import { ChromeCircleColorful, RainbowWalletColorful } from '@ant-design/web3-icons';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export const metadata_RainbowWallet = {
4
+ icon: /*#__PURE__*/_jsx(RainbowWalletColorful, {}),
5
+ name: 'Rainbow Wallet',
6
+ remark: 'Rainbow Wallet',
7
+ app: {
8
+ link: 'https://rainbow.me/download'
9
+ },
10
+ extensions: [{
11
+ key: 'Chrome',
12
+ browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
13
+ browserName: 'Chrome',
14
+ link: 'https://chromewebstore.google.com/detail/opfgelmcmbiajamepnmloijbpoleiama',
15
+ description: 'Access your wallet right from your favorite web browser.'
16
+ }]
17
+ };
@@ -1,2 +1,2 @@
1
1
  import type { WalletMetadata } from '@ant-design/web3-common';
2
- export declare const metadata_SuiWallet: WalletMetadata;
2
+ export declare const metadata_Slush: WalletMetadata;
@@ -0,0 +1,17 @@
1
+ import { ChromeCircleColorful, SlushCircleFilled } from '@ant-design/web3-icons';
2
+ import { jsx as _jsx } from "react/jsx-runtime";
3
+ export const metadata_Slush = {
4
+ name: 'Slush',
5
+ remark: 'Slush',
6
+ icon: /*#__PURE__*/_jsx(SlushCircleFilled, {}),
7
+ app: {
8
+ link: 'https://slush.app/'
9
+ },
10
+ extensions: [{
11
+ key: 'Chrome',
12
+ browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
13
+ browserName: 'Chrome',
14
+ link: 'chromewebstore.google.com/detail/opcgpfmipidbgpenhmajoajpbobppdil',
15
+ description: 'Access your wallet right from your favorite web browser.'
16
+ }]
17
+ };
@@ -11,7 +11,7 @@ export const metadata_Unisat = {
11
11
  key: 'Chrome',
12
12
  browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
13
13
  browserName: 'Chrome',
14
- link: 'https://chrome.google.com/webstore/detail/unisat/ppbibelpcjmhbdihakflkdcoccbgbkpo',
14
+ link: 'https://chromewebstore.google.com/detail/unisat/ppbibelpcjmhbdihakflkdcoccbgbkpo',
15
15
  description: 'Access your wallet right from your favorite web browser.'
16
16
  }]
17
17
  };
@@ -11,7 +11,7 @@ export const metadata_Xverse = {
11
11
  key: 'Chrome',
12
12
  browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
13
13
  browserName: 'Chrome',
14
- link: 'https://chrome.google.com/webstore/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg',
14
+ link: 'https://chromewebstore.google.com/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg',
15
15
  description: 'Access your wallet right from your favorite web browser.'
16
16
  }]
17
17
  };
@@ -14,5 +14,6 @@ export declare const Avalanche: Chain;
14
14
  export declare const X1Testnet: Chain;
15
15
  export declare const Scroll: Chain;
16
16
  export declare const ScrollSepolia: Chain;
17
+ export declare const Base: Chain;
17
18
  export declare const Hardhat: Chain;
18
19
  export declare const Localhost: Chain;
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.X1Testnet = exports.Sepolia = exports.ScrollSepolia = exports.Scroll = exports.Polygon = exports.Optimism = exports.Mainnet = exports.Localhost = exports.Holesky = exports.Hardhat = 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.Localhost = exports.Holesky = exports.Hardhat = exports.Goerli = exports.Base = 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");
@@ -194,6 +194,21 @@ const ScrollSepolia = exports.ScrollSepolia = {
194
194
  decimals: 18
195
195
  }
196
196
  };
197
+ const Base = exports.Base = {
198
+ id: _web3Common.ChainIds.Base,
199
+ name: 'Base',
200
+ type: _web3Common.ChainType.EVM,
201
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.BaseCircleColorful, {}),
202
+ browser: {
203
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.BaseCircleColorful, {}),
204
+ getBrowserLink: (0, _web3Common.createGetBrowserLink)('https://basescan.org')
205
+ },
206
+ nativeCurrency: {
207
+ name: 'ETH',
208
+ symbol: 'ETH',
209
+ decimals: 18
210
+ }
211
+ };
197
212
  const Hardhat = exports.Hardhat = {
198
213
  id: _web3Common.ChainIds.Hardhat,
199
214
  name: 'Hardhat',
@@ -4,6 +4,7 @@ export * from './coinbase-wallet';
4
4
  export * from './token-pocket';
5
5
  export * from './safeheron';
6
6
  export * from './okx-wallet';
7
+ export * from './rainbow-wallet';
7
8
  export * from './phantom';
8
9
  export * from './im-token';
9
10
  export * from './xverse';
@@ -11,6 +12,6 @@ export * from './unisat-wallet';
11
12
  export * from './backpack';
12
13
  export * from './trust';
13
14
  export * from './mobile-wallet';
14
- export * from './sui-wallet';
15
+ export * from './slush';
15
16
  export * from './suiet';
16
17
  export * from './solflare';
@@ -69,6 +69,17 @@ Object.keys(_okxWallet).forEach(function (key) {
69
69
  }
70
70
  });
71
71
  });
72
+ var _rainbowWallet = require("./rainbow-wallet");
73
+ Object.keys(_rainbowWallet).forEach(function (key) {
74
+ if (key === "default" || key === "__esModule") return;
75
+ if (key in exports && exports[key] === _rainbowWallet[key]) return;
76
+ Object.defineProperty(exports, key, {
77
+ enumerable: true,
78
+ get: function () {
79
+ return _rainbowWallet[key];
80
+ }
81
+ });
82
+ });
72
83
  var _phantom = require("./phantom");
73
84
  Object.keys(_phantom).forEach(function (key) {
74
85
  if (key === "default" || key === "__esModule") return;
@@ -146,14 +157,14 @@ Object.keys(_mobileWallet).forEach(function (key) {
146
157
  }
147
158
  });
148
159
  });
149
- var _suiWallet = require("./sui-wallet");
150
- Object.keys(_suiWallet).forEach(function (key) {
160
+ var _slush = require("./slush");
161
+ Object.keys(_slush).forEach(function (key) {
151
162
  if (key === "default" || key === "__esModule") return;
152
- if (key in exports && exports[key] === _suiWallet[key]) return;
163
+ if (key in exports && exports[key] === _slush[key]) return;
153
164
  Object.defineProperty(exports, key, {
154
165
  enumerable: true,
155
166
  get: function () {
156
- return _suiWallet[key];
167
+ return _slush[key];
157
168
  }
158
169
  });
159
170
  });
@@ -18,7 +18,7 @@ const metadata_MetaMask = exports.metadata_MetaMask = {
18
18
  key: 'Chrome',
19
19
  browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
20
20
  browserName: 'Chrome',
21
- link: 'https://chrome.google.com/webstore/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn',
21
+ link: 'https://chromewebstore.google.com/detail/metamask/nkbihfbeogaeaoehlefnkodbefgpgknn',
22
22
  description: 'Access your wallet right from your favorite web browser.'
23
23
  }],
24
24
  group: 'Popular',
@@ -0,0 +1,2 @@
1
+ import type { WalletMetadata } from '@ant-design/web3-common';
2
+ export declare const metadata_RainbowWallet: WalletMetadata;
@@ -0,0 +1,23 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.metadata_RainbowWallet = void 0;
7
+ var _web3Icons = require("@ant-design/web3-icons");
8
+ var _jsxRuntime = require("react/jsx-runtime");
9
+ const metadata_RainbowWallet = exports.metadata_RainbowWallet = {
10
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.RainbowWalletColorful, {}),
11
+ name: 'Rainbow Wallet',
12
+ remark: 'Rainbow Wallet',
13
+ app: {
14
+ link: 'https://rainbow.me/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/opfgelmcmbiajamepnmloijbpoleiama',
21
+ description: 'Access your wallet right from your favorite web browser.'
22
+ }]
23
+ };
@@ -1,2 +1,2 @@
1
1
  import type { WalletMetadata } from '@ant-design/web3-common';
2
- export declare const metadata_SuiWallet: WalletMetadata;
2
+ export declare const metadata_Slush: WalletMetadata;
@@ -3,21 +3,21 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.metadata_SuiWallet = void 0;
6
+ exports.metadata_Slush = void 0;
7
7
  var _web3Icons = require("@ant-design/web3-icons");
8
8
  var _jsxRuntime = require("react/jsx-runtime");
9
- const metadata_SuiWallet = exports.metadata_SuiWallet = {
10
- name: 'Sui Wallet',
11
- remark: 'Sui Wallet',
12
- icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.SuiColorful, {}),
9
+ const metadata_Slush = exports.metadata_Slush = {
10
+ name: 'Slush',
11
+ remark: 'Slush',
12
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.SlushCircleFilled, {}),
13
13
  app: {
14
- link: 'https://suiwallet.com/'
14
+ link: 'https://slush.app/'
15
15
  },
16
16
  extensions: [{
17
17
  key: 'Chrome',
18
18
  browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
19
19
  browserName: 'Chrome',
20
- link: 'https://chromewebstore.google.com/detail/sui-wallet/opcgpfmipidbgpenhmajoajpbobppdil',
20
+ link: 'chromewebstore.google.com/detail/opcgpfmipidbgpenhmajoajpbobppdil',
21
21
  description: 'Access your wallet right from your favorite web browser.'
22
22
  }]
23
23
  };
@@ -17,7 +17,7 @@ const metadata_Unisat = exports.metadata_Unisat = {
17
17
  key: 'Chrome',
18
18
  browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
19
19
  browserName: 'Chrome',
20
- link: 'https://chrome.google.com/webstore/detail/unisat/ppbibelpcjmhbdihakflkdcoccbgbkpo',
20
+ link: 'https://chromewebstore.google.com/detail/unisat/ppbibelpcjmhbdihakflkdcoccbgbkpo',
21
21
  description: 'Access your wallet right from your favorite web browser.'
22
22
  }]
23
23
  };
@@ -17,7 +17,7 @@ const metadata_Xverse = exports.metadata_Xverse = {
17
17
  key: 'Chrome',
18
18
  browserIcon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.ChromeCircleColorful, {}),
19
19
  browserName: 'Chrome',
20
- link: 'https://chrome.google.com/webstore/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg',
20
+ link: 'https://chromewebstore.google.com/detail/xverse-wallet/idnnbdplmphpflfnlkomgpfbpcgelopg',
21
21
  description: 'Access your wallet right from your favorite web browser.'
22
22
  }]
23
23
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/web3-assets",
3
- "version": "1.12.1",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -70,8 +70,8 @@
70
70
  "url": "https://github.com/ant-design/ant-design-web3"
71
71
  },
72
72
  "dependencies": {
73
- "@ant-design/web3-icons": "1.13.0",
74
- "@ant-design/web3-common": "1.19.0"
73
+ "@ant-design/web3-common": "1.21.0",
74
+ "@ant-design/web3-icons": "1.14.0"
75
75
  },
76
76
  "devDependencies": {
77
77
  "@types/react": "^18.3.5",
@@ -1,17 +0,0 @@
1
- import { ChromeCircleColorful, SuiColorful } from '@ant-design/web3-icons';
2
- import { jsx as _jsx } from "react/jsx-runtime";
3
- export const metadata_SuiWallet = {
4
- name: 'Sui Wallet',
5
- remark: 'Sui Wallet',
6
- icon: /*#__PURE__*/_jsx(SuiColorful, {}),
7
- app: {
8
- link: 'https://suiwallet.com/'
9
- },
10
- extensions: [{
11
- key: 'Chrome',
12
- browserIcon: /*#__PURE__*/_jsx(ChromeCircleColorful, {}),
13
- browserName: 'Chrome',
14
- link: 'https://chromewebstore.google.com/detail/sui-wallet/opcgpfmipidbgpenhmajoajpbobppdil',
15
- description: 'Access your wallet right from your favorite web browser.'
16
- }]
17
- };