@ant-design/web3-assets 1.6.0 → 1.7.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,21 @@
1
1
  # @ant-design/web3-assets
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 994ead5: feat: Add test chain hardhat and localhost
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [fc31d17]
12
+ - Updated dependencies [a90c674]
13
+ - Updated dependencies [4a9f3e2]
14
+ - Updated dependencies [5736ad9]
15
+ - Updated dependencies [994ead5]
16
+ - @ant-design/web3-icons@1.6.0
17
+ - @ant-design/web3-common@1.9.0
18
+
3
19
  ## 1.6.0
4
20
 
5
21
  ### Minor Changes
@@ -14,3 +14,5 @@ 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 Hardhat: Chain;
18
+ export declare const Localhost: 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, ScrollColorful } from '@ant-design/web3-icons';
2
+ import { ArbitrumCircleColorful, AvalancheCircleColorful, 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 var Mainnet = {
5
5
  id: ChainIds.Mainnet,
@@ -175,4 +175,26 @@ export var ScrollSepolia = {
175
175
  symbol: 'ETH',
176
176
  decimals: 18
177
177
  }
178
+ };
179
+ export var Hardhat = {
180
+ id: ChainIds.Hardhat,
181
+ name: 'Hardhat',
182
+ icon: /*#__PURE__*/_jsx(HardhatColorful, {}),
183
+ nativeCurrency: {
184
+ icon: /*#__PURE__*/_jsx(EthereumFilled, {}),
185
+ name: 'Ether',
186
+ symbol: 'ETH',
187
+ decimals: 18
188
+ }
189
+ };
190
+ export var Localhost = {
191
+ id: ChainIds.Localhost,
192
+ name: 'Localhost',
193
+ icon: /*#__PURE__*/_jsx(EthereumColorful, {}),
194
+ nativeCurrency: {
195
+ icon: /*#__PURE__*/_jsx(EthereumFilled, {}),
196
+ name: 'Ether',
197
+ symbol: 'ETH',
198
+ decimals: 18
199
+ }
178
200
  };
@@ -14,3 +14,5 @@ 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 Hardhat: Chain;
18
+ 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.Holesky = 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.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");
@@ -181,4 +181,26 @@ const ScrollSepolia = exports.ScrollSepolia = {
181
181
  symbol: 'ETH',
182
182
  decimals: 18
183
183
  }
184
+ };
185
+ const Hardhat = exports.Hardhat = {
186
+ id: _web3Common.ChainIds.Hardhat,
187
+ name: 'Hardhat',
188
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.HardhatColorful, {}),
189
+ nativeCurrency: {
190
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumFilled, {}),
191
+ name: 'Ether',
192
+ symbol: 'ETH',
193
+ decimals: 18
194
+ }
195
+ };
196
+ const Localhost = exports.Localhost = {
197
+ id: _web3Common.ChainIds.Localhost,
198
+ name: 'Localhost',
199
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumColorful, {}),
200
+ nativeCurrency: {
201
+ icon: /*#__PURE__*/(0, _jsxRuntime.jsx)(_web3Icons.EthereumFilled, {}),
202
+ name: 'Ether',
203
+ symbol: 'ETH',
204
+ decimals: 18
205
+ }
184
206
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ant-design/web3-assets",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "type": "module",
5
5
  "main": "dist/esm/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -58,13 +58,13 @@
58
58
  "url": "https://github.com/ant-design/ant-design-web3"
59
59
  },
60
60
  "dependencies": {
61
- "@ant-design/web3-common": "1.8.0",
62
- "@ant-design/web3-icons": "1.5.0"
61
+ "@ant-design/web3-common": "1.9.0",
62
+ "@ant-design/web3-icons": "1.6.0"
63
63
  },
64
64
  "devDependencies": {
65
65
  "@types/react": "^18.2.78",
66
66
  "@types/react-dom": "^18.2.25",
67
- "father": "^4.3.8",
67
+ "father": "^4.4.0",
68
68
  "react": "^18.2.0",
69
69
  "react-dom": "^18.2.0",
70
70
  "typescript": "^5.4.4"