@edgex-web/components 0.1.0-beta.13 → 0.1.0-beta.14

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.
@@ -3,7 +3,7 @@ export declare const ETH_CHAIN_IDS: {
3
3
  readonly SEPOLIA: 11155111;
4
4
  };
5
5
  export declare const ETH_CHAIN_ID_LIST: (1 | 11155111)[];
6
- export declare const isEthChain: (chainId: number) => boolean;
6
+ export declare const isEthChain: (chainId: number | string) => boolean;
7
7
  export declare const OTHER_CHAIN_IDS: {
8
8
  readonly ARBITRUM: 42161;
9
9
  readonly BNB_CHAIN: 56;
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/Withdraw/src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;CAGhB,CAAA;AAGV,eAAO,MAAM,iBAAiB,kBAA+B,CAAA;AAG7D,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,KAAG,OAE5C,CAAA;AAGD,eAAO,MAAM,eAAe;;;;;CAKlB,CAAA"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/Withdraw/src/constants.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,aAAa;;;CAGhB,CAAA;AAGV,eAAO,MAAM,iBAAiB,kBAA+B,CAAA;AAG7D,eAAO,MAAM,UAAU,GAAI,SAAS,MAAM,GAAG,MAAM,KAAG,OAErD,CAAA;AAGD,eAAO,MAAM,eAAe;;;;;CAKlB,CAAA"}
package/dist/index.esm.js CHANGED
@@ -6723,7 +6723,7 @@ const Kd = {
6723
6723
  // ETH 主网
6724
6724
  SEPOLIA: 11155111
6725
6725
  // Sepolia 测试网
6726
- }, Qd = Object.values(Kd), qn = (e) => Qd.includes(e), Xd = ({
6726
+ }, Qd = Object.values(Kd), qn = (e) => Qd.includes(+e), Xd = ({
6727
6727
  withdrawAmount: e,
6728
6728
  curSelectToken: t,
6729
6729
  currentActiveChain: n,