@proton/wrap-constants 0.2.177 → 0.2.179

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/index.d.ts CHANGED
@@ -116,6 +116,8 @@ declare const explorerLinkByChain: {
116
116
  "Metal C-Chain (Testnet)": (txid: string) => string;
117
117
  "Metal C-Chain": (txid: string) => string;
118
118
  "XDC Network": (txid: string) => string;
119
+ "Metal L2 (Testnet)": (txid: string) => string;
120
+ "Metal L2": (txid: string) => string;
119
121
  };
120
122
  declare const protonExplorerTxUrl: (chain: string, txId: string, traces?: boolean | undefined) => string;
121
123
  declare const initializeCoins: (protonChain: string) => {
package/dist/index.js CHANGED
@@ -243,7 +243,9 @@ var explorerLinkByChain = {
243
243
  ["Metal X-Chain (Testnet)" /* MetalXTestnet */]: (txid) => `https://metalscan.io/tx/${txid}`,
244
244
  ["Metal C-Chain (Testnet)" /* MetalCTestnet */]: (txid) => `https://tahoe.metaltrace.io/tx/${txid}`,
245
245
  ["Metal C-Chain" /* MetalCMainnet */]: (txid) => `https://metalscan.io/tx/${txid}`,
246
- ["XDC Network" /* XDCMainnet */]: (txid) => `https://xdc.blocksscan.io/txs/${txid}`
246
+ ["XDC Network" /* XDCMainnet */]: (txid) => `https://xdc.blocksscan.io/txs/${txid}`,
247
+ ["Metal L2 (Testnet)" /* MetalL2Testnet */]: (txid) => `https://testnet.explorer.metall2.com/tx/${txid}`,
248
+ ["Metal L2" /* MetalL2Mainnet */]: (txid) => `https://explorer.metall2.com/tx/${txid}`
247
249
  };
248
250
  var protonExplorerTxUrl = (chain, txId, traces) => chain === "proton" ? explorerLinkByChain["Proton" /* ProtonMainnet */](txId, traces) : explorerLinkByChain["Proton (Testnet)" /* ProtonTestnet */](txId, traces);
249
251
  var initializeCoins = (protonChain) => {
@@ -360,7 +362,7 @@ var initializeCoins = (protonChain) => {
360
362
  },
361
363
  {
362
364
  allowSwap: true,
363
- allowBridge: IS_MAINNET,
365
+ allowBridge: true,
364
366
  allowLend: true,
365
367
  allowBorrow: true,
366
368
  name: "Metal DAO",
package/dist/index.mjs CHANGED
@@ -88,7 +88,9 @@ var explorerLinkByChain = {
88
88
  ["Metal X-Chain (Testnet)" /* MetalXTestnet */]: (txid) => `https://metalscan.io/tx/${txid}`,
89
89
  ["Metal C-Chain (Testnet)" /* MetalCTestnet */]: (txid) => `https://tahoe.metaltrace.io/tx/${txid}`,
90
90
  ["Metal C-Chain" /* MetalCMainnet */]: (txid) => `https://metalscan.io/tx/${txid}`,
91
- ["XDC Network" /* XDCMainnet */]: (txid) => `https://xdc.blocksscan.io/txs/${txid}`
91
+ ["XDC Network" /* XDCMainnet */]: (txid) => `https://xdc.blocksscan.io/txs/${txid}`,
92
+ ["Metal L2 (Testnet)" /* MetalL2Testnet */]: (txid) => `https://testnet.explorer.metall2.com/tx/${txid}`,
93
+ ["Metal L2" /* MetalL2Mainnet */]: (txid) => `https://explorer.metall2.com/tx/${txid}`
92
94
  };
93
95
  var protonExplorerTxUrl = (chain, txId, traces) => chain === "proton" ? explorerLinkByChain["Proton" /* ProtonMainnet */](txId, traces) : explorerLinkByChain["Proton (Testnet)" /* ProtonTestnet */](txId, traces);
94
96
  var initializeCoins = (protonChain) => {
@@ -205,7 +207,7 @@ var initializeCoins = (protonChain) => {
205
207
  },
206
208
  {
207
209
  allowSwap: true,
208
- allowBridge: IS_MAINNET,
210
+ allowBridge: true,
209
211
  allowLend: true,
210
212
  allowBorrow: true,
211
213
  name: "Metal DAO",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.177",
8
+ "version": "0.2.179",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -40,5 +40,5 @@
40
40
  "resolutions": {
41
41
  "typescript": "4.5"
42
42
  },
43
- "gitHead": "00c2d257411816d127fd392582f5e96b26eac86e"
43
+ "gitHead": "e5a6f205da05b8c87735895d4c21a369b2dfd683"
44
44
  }
package/src/coins.ts CHANGED
@@ -148,6 +148,10 @@ export const explorerLinkByChain = {
148
148
  [Chains.MetalCMainnet]: (txid: string) => `https://metalscan.io/tx/${txid}`,
149
149
  [Chains.XDCMainnet]: (txid: string) =>
150
150
  `https://xdc.blocksscan.io/txs/${txid}`,
151
+ [Chains.MetalL2Testnet]: (txid: string) =>
152
+ `https://testnet.explorer.metall2.com/tx/${txid}`,
153
+ [Chains.MetalL2Mainnet]: (txid: string) =>
154
+ `https://explorer.metall2.com/tx/${txid}`,
151
155
  };
152
156
 
153
157
  export const protonExplorerTxUrl = (
@@ -291,7 +295,7 @@ export const initializeCoins = (
291
295
  },
292
296
  {
293
297
  allowSwap: true,
294
- allowBridge: IS_MAINNET,
298
+ allowBridge: true,
295
299
  allowLend: true,
296
300
  allowBorrow: true,
297
301
  name: "Metal DAO",