@ant-design/web3-assets 1.13.0 → 1.14.1

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,24 @@
1
1
  # @ant-design/web3-assets
2
2
 
3
+ ## 1.14.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [31a8965]
8
+ - @ant-design/web3-icons@1.15.0
9
+
10
+ ## 1.14.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 640bce9: feat: support base chain
15
+ - 3d6d7c6: feat(sui):rename SuiWallet to Slush
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies [640bce9]
20
+ - @ant-design/web3-common@1.21.0
21
+
3
22
  ## 1.13.0
4
23
 
5
24
  ### Minor 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',
@@ -12,6 +12,6 @@ export * from './unisat-wallet';
12
12
  export * from './backpack';
13
13
  export * from './trust';
14
14
  export * from './mobile-wallet';
15
- export * from './sui-wallet';
15
+ export * from './slush';
16
16
  export * from './suiet';
17
17
  export * from './solflare';
@@ -12,6 +12,6 @@ export * from "./unisat-wallet";
12
12
  export * from "./backpack";
13
13
  export * from "./trust";
14
14
  export * from "./mobile-wallet";
15
- export * from "./sui-wallet";
15
+ export * from "./slush";
16
16
  export * from "./suiet";
17
17
  export * from "./solflare";
@@ -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
+ };
@@ -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',
@@ -12,6 +12,6 @@ export * from './unisat-wallet';
12
12
  export * from './backpack';
13
13
  export * from './trust';
14
14
  export * from './mobile-wallet';
15
- export * from './sui-wallet';
15
+ export * from './slush';
16
16
  export * from './suiet';
17
17
  export * from './solflare';
@@ -157,14 +157,14 @@ Object.keys(_mobileWallet).forEach(function (key) {
157
157
  }
158
158
  });
159
159
  });
160
- var _suiWallet = require("./sui-wallet");
161
- Object.keys(_suiWallet).forEach(function (key) {
160
+ var _slush = require("./slush");
161
+ Object.keys(_slush).forEach(function (key) {
162
162
  if (key === "default" || key === "__esModule") return;
163
- if (key in exports && exports[key] === _suiWallet[key]) return;
163
+ if (key in exports && exports[key] === _slush[key]) return;
164
164
  Object.defineProperty(exports, key, {
165
165
  enumerable: true,
166
166
  get: function () {
167
- return _suiWallet[key];
167
+ return _slush[key];
168
168
  }
169
169
  });
170
170
  });
@@ -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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/web3-assets",
3
- "version": "1.13.0",
3
+ "version": "1.14.1",
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.14.0",
74
- "@ant-design/web3-common": "1.20.0"
73
+ "@ant-design/web3-common": "1.21.0",
74
+ "@ant-design/web3-icons": "1.15.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
- };