@proton/wrap-constants 0.2.21 → 0.2.24

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.
@@ -35,6 +35,7 @@ var Chains;
35
35
  Chains["RippleMainnet"] = "Ripple";
36
36
  Chains["SolanaMainnet"] = "Solana";
37
37
  Chains["MetalXTestnet"] = "Metal X-Chain (Testnet)";
38
+ Chains["MetalCTestnet"] = "Metal C-Chain (Testnet)";
38
39
  })(Chains || (Chains = {}));
39
40
 
40
41
  var Networks;
@@ -47,6 +48,7 @@ var Networks;
47
48
  Networks["BEP20"] = "bep20";
48
49
  Networks["XLM"] = "xlm";
49
50
  Networks["AVM"] = "avm";
51
+ Networks["EVM"] = "evm";
50
52
  })(Networks || (Networks = {}));
51
53
 
52
54
  var similarChains = (_similarChains = {}, _similarChains[Chains.EthereumMainnet] = [Chains.BinanceBEP20], _similarChains[Chains.BinanceBEP20] = [Chains.EthereumMainnet], _similarChains);
@@ -243,12 +245,12 @@ var initializeCoins = function initializeCoins(protonChain) {
243
245
  wallets: [].concat(IS_TESTNET ? [{
244
246
  wallet: 'METAL',
245
247
  symbol: 'METAL',
246
- chain: Chains.MetalXTestnet,
247
- network: Networks.AVM,
248
- precision: 9,
248
+ chain: Chains.MetalCTestnet,
249
+ network: Networks.EVM,
250
+ precision: 18,
249
251
  contract: '',
250
252
  provider: Providers.METAL,
251
- hasWithdrawMemo: true
253
+ hasWithdrawMemo: false
252
254
  }] : []),
253
255
  image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/metal-chain.png',
254
256
  coingeckoId: ''
@@ -1591,6 +1593,11 @@ var TOPICS = (_TOPICS = {}, _TOPICS[ITopics.TRADES] = {
1591
1593
  topic: ITopics.ORDERS
1592
1594
  }, _TOPICS);
1593
1595
 
1596
+ var loginAccountParamsV3Parser = /*#__PURE__*/z.object({
1597
+ email: z.string().optional(),
1598
+ verificationCode: z.string().optional()
1599
+ }).merge(generateAuthParser);
1600
+
1594
1601
  var isSameToken = function isSameToken(token1, token2) {
1595
1602
  return token1.xtokenSymbol === token2.xtokenSymbol && token1.xtokenPrecision === token2.xtokenPrecision && token1.xtokenContract === token2.xtokenContract;
1596
1603
  };
@@ -1887,5 +1894,5 @@ var applyDiscountToFee = function applyDiscountToFee(fee, staked) {
1887
1894
  }
1888
1895
  };
1889
1896
 
1890
- export { Chains, ExtendedAssetParser, FEE_FACTOR, Graph, ILink, INode, ITopics, Networks, Providers, Status, TOPICS, Type, WRAP_AUTH_ACTION, WRAP_CONTRACT, accountParser, addressParser, applyDiscountToFee, authorizationParser, authorizationsParser, baseActionParser, baseActionSerializedParser, bloksRatesParser, compute_liquidity, compute_transfer, compute_transfer_curve, createAbstractAuthParser, dailyParser, depositBodyParser, depthParser, exchangeRateParser, exchangeRatesParser, explorerLinkByChain, fillType, generateAddressBodyParser, generateAddressResponse, generateAuthParser, getDepthParser, getOhlcvParser, getOrderHistoryParser, getTradesParser, initializeCoins, initializeConstants, isInputInvalid, isSameToken, logStatus, median, ohlcvParser, orderHistoryParser, orderSide, orderType, otcOrderResponseParser, otcQuoteBodyParser, otcQuoteResponseParser, protonExplorerTxUrl, rateParser, similarChains, singleActionTransactionParser, syncParser, tradeParser, transactionParser, webauthActionParser, withdrawBodyParser, withdrawHistoryMetalResponseParser, withdrawHistoryMetalSwapParser, withdrawMetalResponseParser, withdrawalFeeQuoteParser, wrapParser, wrapSetConfParser, wrapStartParser };
1897
+ export { Chains, ExtendedAssetParser, FEE_FACTOR, Graph, ILink, INode, ITopics, Networks, Providers, Status, TOPICS, Type, WRAP_AUTH_ACTION, WRAP_CONTRACT, accountParser, addressParser, applyDiscountToFee, authorizationParser, authorizationsParser, baseActionParser, baseActionSerializedParser, bloksRatesParser, compute_liquidity, compute_transfer, compute_transfer_curve, createAbstractAuthParser, dailyParser, depositBodyParser, depthParser, exchangeRateParser, exchangeRatesParser, explorerLinkByChain, fillType, generateAddressBodyParser, generateAddressResponse, generateAuthParser, getDepthParser, getOhlcvParser, getOrderHistoryParser, getTradesParser, initializeCoins, initializeConstants, isInputInvalid, isSameToken, logStatus, loginAccountParamsV3Parser, median, ohlcvParser, orderHistoryParser, orderSide, orderType, otcOrderResponseParser, otcQuoteBodyParser, otcQuoteResponseParser, protonExplorerTxUrl, rateParser, similarChains, singleActionTransactionParser, syncParser, tradeParser, transactionParser, webauthActionParser, withdrawBodyParser, withdrawHistoryMetalResponseParser, withdrawHistoryMetalSwapParser, withdrawMetalResponseParser, withdrawalFeeQuoteParser, wrapParser, wrapSetConfParser, wrapStartParser };
1891
1898
  //# sourceMappingURL=wrap-constants.esm.js.map