@kimafinance/kima-transaction-widget 1.2.40 → 1.2.41

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.
@@ -700,13 +700,13 @@ var ChainName;
700
700
  })(ChainName || (ChainName = {}));
701
701
  var SupportedChainId;
702
702
  (function (SupportedChainId) {
703
- SupportedChainId[SupportedChainId["ETHEREUM"] = 11155111] = "ETHEREUM";
704
- SupportedChainId[SupportedChainId["POLYGON"] = 80002] = "POLYGON";
705
- SupportedChainId[SupportedChainId["AVALANCHE"] = 43113] = "AVALANCHE";
706
- SupportedChainId[SupportedChainId["BSC"] = 97] = "BSC";
707
- SupportedChainId[SupportedChainId["ARBITRUM"] = 421614] = "ARBITRUM";
708
- SupportedChainId[SupportedChainId["OPTIMISM"] = 11155420] = "OPTIMISM";
709
- SupportedChainId[SupportedChainId["POLYGON_ZKEM"] = 2442] = "POLYGON_ZKEM";
703
+ SupportedChainId[SupportedChainId["ETHEREUM"] = 1] = "ETHEREUM";
704
+ SupportedChainId[SupportedChainId["POLYGON"] = 137] = "POLYGON";
705
+ SupportedChainId[SupportedChainId["AVALANCHE"] = 43114] = "AVALANCHE";
706
+ SupportedChainId[SupportedChainId["BSC"] = 56] = "BSC";
707
+ SupportedChainId[SupportedChainId["ARBITRUM"] = 42161] = "ARBITRUM";
708
+ SupportedChainId[SupportedChainId["OPTIMISM"] = 10] = "OPTIMISM";
709
+ SupportedChainId[SupportedChainId["POLYGON_ZKEM"] = 1101] = "POLYGON_ZKEM";
710
710
  })(SupportedChainId || (SupportedChainId = {}));
711
711
  const CHAIN_NAMES_TO_IDS = {
712
712
  [ChainName.ETHEREUM]: SupportedChainId.ETHEREUM,
@@ -744,16 +744,16 @@ const CHAIN_STRING_TO_NAME = {
744
744
  ['Bitcoin']: ChainName.BTC
745
745
  };
746
746
  const CHAIN_NAMES_TO_EXPLORER = {
747
- [ChainName.ETHEREUM]: 'sepolia.etherscan.io',
748
- [ChainName.POLYGON]: 'www.oklink.com/amoy',
749
- [ChainName.AVALANCHE]: 'testnet.snowtrace.io',
747
+ [ChainName.ETHEREUM]: 'etherscan.io',
748
+ [ChainName.POLYGON]: 'polygonscan.com',
749
+ [ChainName.AVALANCHE]: 'snowtrace.io',
750
750
  [ChainName.SOLANA]: 'solscan.io',
751
- [ChainName.BSC]: 'testnet.bscscan.com',
752
- [ChainName.OPTIMISM]: 'sepolia-optimism.etherscan.io',
753
- [ChainName.ARBITRUM]: 'sepolia.arbiscan.io',
754
- [ChainName.POLYGON_ZKEVM]: 'cardona-zkevm.polygonscan.com',
755
- [ChainName.TRON]: 'nile.tronscan.org/#',
756
- [ChainName.BTC]: 'mempool.space/testnet'
751
+ [ChainName.BSC]: 'bscscan.com',
752
+ [ChainName.OPTIMISM]: 'optimistic.etherscan.io',
753
+ [ChainName.ARBITRUM]: 'arbiscan.io',
754
+ [ChainName.POLYGON_ZKEVM]: 'zkevm.polygonscan.com',
755
+ [ChainName.TRON]: 'tronscan.org/#',
756
+ [ChainName.BTC]: 'mempool.space'
757
757
  };
758
758
  const CHAIN_IDS_TO_NAMES = {
759
759
  [SupportedChainId.ETHEREUM]: ChainName.ETHEREUM,
@@ -2664,13 +2664,13 @@ const StepBox = ({
2664
2664
  }))) : null, index === 1 && data !== null && data !== void 0 && data.tssPullHash ? React.createElement("div", {
2665
2665
  className: 'info-item'
2666
2666
  }, React.createElement("p", null, CHAIN_NAMES_TO_STRING[(data === null || data === void 0 ? void 0 : data.sourceChain) || ChainName.ETHEREUM], ' ', "TX ID:", React.createElement(ExternalLink, {
2667
- to: `https://${CHAIN_NAMES_TO_EXPLORER[(data === null || data === void 0 ? void 0 : data.sourceChain) || ChainName.ETHEREUM]}/${(data === null || data === void 0 ? void 0 : data.sourceChain) === ChainName.TRON ? 'transaction' : 'tx'}/${data === null || data === void 0 ? void 0 : data.tssPullHash}${(data === null || data === void 0 ? void 0 : data.sourceChain) === ChainName.SOLANA ? '?cluster=devnet' : ''}`
2667
+ to: `https://${CHAIN_NAMES_TO_EXPLORER[(data === null || data === void 0 ? void 0 : data.sourceChain) || ChainName.ETHEREUM]}/${(data === null || data === void 0 ? void 0 : data.sourceChain) === ChainName.TRON ? 'transaction' : 'tx'}/${data === null || data === void 0 ? void 0 : data.tssPullHash}${(data === null || data === void 0 ? void 0 : data.sourceChain) === ChainName.SOLANA && CLUSTER === 'devnet' ? '?cluster=devnet' : ''}`
2668
2668
  }, getShortenedAddress((data === null || data === void 0 ? void 0 : data.tssPullHash) || '')), React.createElement(CopyButton, {
2669
2669
  text: (data === null || data === void 0 ? void 0 : data.tssPullHash) || ''
2670
2670
  }))) : null, index === 3 && data !== null && data !== void 0 && data.tssReleaseHash ? React.createElement("div", {
2671
2671
  className: 'info-item'
2672
2672
  }, React.createElement("p", null, CHAIN_NAMES_TO_STRING[(data === null || data === void 0 ? void 0 : data.targetChain) || ChainName.ETHEREUM], ' ', "TX ID:", React.createElement(ExternalLink, {
2673
- to: `https://${CHAIN_NAMES_TO_EXPLORER[(data === null || data === void 0 ? void 0 : data.targetChain) || ChainName.ETHEREUM]}/${(data === null || data === void 0 ? void 0 : data.targetChain) === ChainName.TRON ? 'transaction' : 'tx'}/${data === null || data === void 0 ? void 0 : data.tssReleaseHash}${(data === null || data === void 0 ? void 0 : data.targetChain) === ChainName.SOLANA ? '?cluster=devnet' : ''}`
2673
+ to: `https://${CHAIN_NAMES_TO_EXPLORER[(data === null || data === void 0 ? void 0 : data.targetChain) || ChainName.ETHEREUM]}/${(data === null || data === void 0 ? void 0 : data.targetChain) === ChainName.TRON ? 'transaction' : 'tx'}/${data === null || data === void 0 ? void 0 : data.tssReleaseHash}${(data === null || data === void 0 ? void 0 : data.targetChain) === ChainName.SOLANA && CLUSTER === 'devnet' ? '?cluster=devnet' : ''}`
2674
2674
  }, getShortenedAddress((data === null || data === void 0 ? void 0 : data.tssReleaseHash) || '')), React.createElement(CopyButton, {
2675
2675
  text: (data === null || data === void 0 ? void 0 : data.tssReleaseHash) || ''
2676
2676
  }))) : null))));
@@ -7316,7 +7316,7 @@ function output(out, instance) {
7316
7316
  exports.output = output;
7317
7317
  const assert = { number, bool, bytes, hash, exists, output };
7318
7318
  exports.default = assert;
7319
-
7319
+ //# sourceMappingURL=_assert.js.map
7320
7320
  });
7321
7321
 
7322
7322
  unwrapExports(_assert);
@@ -7325,7 +7325,7 @@ var crypto = createCommonjsModule(function (module, exports) {
7325
7325
  Object.defineProperty(exports, "__esModule", { value: true });
7326
7326
  exports.crypto = void 0;
7327
7327
  exports.crypto = typeof globalThis === 'object' && 'crypto' in globalThis ? globalThis.crypto : undefined;
7328
-
7328
+ //# sourceMappingURL=crypto.js.map
7329
7329
  });
7330
7330
 
7331
7331
  unwrapExports(crypto);
@@ -7527,7 +7527,7 @@ function randomBytes(bytesLength = 32) {
7527
7527
  throw new Error('crypto.getRandomValues must be defined');
7528
7528
  }
7529
7529
  exports.randomBytes = randomBytes;
7530
-
7530
+ //# sourceMappingURL=utils.js.map
7531
7531
  });
7532
7532
 
7533
7533
  unwrapExports(utils);
@@ -7649,7 +7649,7 @@ class SHA2 extends utils.Hash {
7649
7649
  }
7650
7650
  }
7651
7651
  exports.SHA2 = SHA2;
7652
-
7652
+ //# sourceMappingURL=_sha2.js.map
7653
7653
  });
7654
7654
 
7655
7655
  unwrapExports(_sha2);
@@ -7782,7 +7782,7 @@ class SHA224 extends SHA256 {
7782
7782
  */
7783
7783
  exports.sha256 = (0, utils.wrapConstructor)(() => new SHA256());
7784
7784
  exports.sha224 = (0, utils.wrapConstructor)(() => new SHA224());
7785
-
7785
+ //# sourceMappingURL=sha256.js.map
7786
7786
  });
7787
7787
 
7788
7788
  unwrapExports(sha256);