@proton/wrap-constants 0.2.33 → 0.2.34

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/dist/coins.d.ts CHANGED
@@ -103,6 +103,9 @@ export declare const explorerLinkByChain: {
103
103
  Terra: (txid: string) => string;
104
104
  Ripple: (txid: string) => string;
105
105
  Solana: (txid: string) => string;
106
+ "Metal X-Chain (Testnet)": (txid: string) => string;
107
+ "Metal C-Chain (Testnet)": (txid: string) => string;
108
+ "Metal C-Chain": (txid: string) => string;
106
109
  };
107
110
  export declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean | undefined) => string;
108
111
  export declare const initializeCoins: (protonChain: string) => {
@@ -115,10 +115,16 @@ var explorerLinkByChain = (_explorerLinkByChain = {}, _explorerLinkByChain[expor
115
115
  return "https://xrpscan.com/tx/" + txid;
116
116
  }, _explorerLinkByChain[exports.Chains.SolanaMainnet] = function (txid) {
117
117
  return "https://explorer.solana.com/tx/" + txid;
118
+ }, _explorerLinkByChain[exports.Chains.MetalXTestnet] = function (txid) {
119
+ return "https://metalscan.io/tx/" + txid;
120
+ }, _explorerLinkByChain[exports.Chains.MetalCTestnet] = function (txid) {
121
+ return "https://tahoe.metaltrace.io/tx/" + txid;
122
+ }, _explorerLinkByChain[exports.Chains.MetalCMainnet] = function (txid) {
123
+ return "https://metalscan.io/tx/" + txid;
118
124
  }, _explorerLinkByChain);
119
125
  var protonExplorerTxUrl = function protonExplorerTxUrl(chain, txId, traces) {
120
126
  return chain === 'proton' ? explorerLinkByChain[exports.Chains.ProtonMainnet](txId, traces) : explorerLinkByChain[exports.Chains.ProtonTestnet](txId, traces);
121
- }; // Initialize
127
+ }; // Initialize.
122
128
 
123
129
  var initializeCoins = function initializeCoins(protonChain) {
124
130
  var IS_MAINNET = protonChain === 'proton';