@proton/wrap-constants 0.2.161 → 0.2.163

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.js CHANGED
@@ -280,7 +280,7 @@ var initializeCoins = (protonChain) => {
280
280
  }
281
281
  ] : []
282
282
  ],
283
- image: "https://www.proton.org/images/tokens/eosio-tokenXPR.png",
283
+ image: "https://app.metalx.com/img/tokens/XPR.png",
284
284
  coingeckoId: "proton",
285
285
  unifiedCryptoassetId: "5350"
286
286
  },
@@ -517,7 +517,7 @@ var initializeCoins = (protonChain) => {
517
517
  allowBridge: false,
518
518
  allowLend: false,
519
519
  allowBorrow: false,
520
- name: "Loan",
520
+ name: "LOAN Protocol",
521
521
  coin: "LOAN",
522
522
  xtokenSymbol: "LOAN",
523
523
  xtokenPrecision: 4,
@@ -1635,16 +1635,16 @@ var initializeConstants = (chain) => {
1635
1635
  WRAP_AUTH_ACTION,
1636
1636
  METAL_ENDPOINT: chain === "proton" ? "https://cirrus.metalpay.com" : "https://cirrus-dev.metalpay.com",
1637
1637
  METAL_PROTON_ENDPOINT: chain === "proton" ? "https://api.protonchain.com" : "https://api-dev.protonchain.com",
1638
- METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://mainnet.api.protondex.com/dex" : "https://testnet.api.protondex.com/dex",
1639
- METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://mainnet.api.protondex.com/dexws" : "wss://testnet.api.protondex.com/dexws",
1638
+ METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://dex.api.mainnet.metalx.com/dex" : "https://dex.api.testnet.metalx.com/dex",
1639
+ METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://dex.api.mainnet.metalx.com/dexws" : "wss://dex.api.testnet.metalx.comdexws",
1640
1640
  PROTON_ENDPOINTS: chain === "proton" ? [
1641
- "https://mainnet-rpc.api.protondex.com",
1641
+ "https://rpc.api.mainnet.metalx.com",
1642
1642
  "https://proton.greymass.com",
1643
1643
  "https://proton.eoscafeblock.com",
1644
1644
  "https://proton.cryptolions.io",
1645
1645
  "https://proton.eosusa.news"
1646
1646
  ] : [
1647
- "https://testnet-rpc.api.protondex.com",
1647
+ "https://rpc.api.testnet.metalx.com",
1648
1648
  "https://testnet.protonchain.com"
1649
1649
  ],
1650
1650
  CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
package/dist/index.mjs CHANGED
@@ -125,7 +125,7 @@ var initializeCoins = (protonChain) => {
125
125
  }
126
126
  ] : []
127
127
  ],
128
- image: "https://www.proton.org/images/tokens/eosio-tokenXPR.png",
128
+ image: "https://app.metalx.com/img/tokens/XPR.png",
129
129
  coingeckoId: "proton",
130
130
  unifiedCryptoassetId: "5350"
131
131
  },
@@ -362,7 +362,7 @@ var initializeCoins = (protonChain) => {
362
362
  allowBridge: false,
363
363
  allowLend: false,
364
364
  allowBorrow: false,
365
- name: "Loan",
365
+ name: "LOAN Protocol",
366
366
  coin: "LOAN",
367
367
  xtokenSymbol: "LOAN",
368
368
  xtokenPrecision: 4,
@@ -1480,16 +1480,16 @@ var initializeConstants = (chain) => {
1480
1480
  WRAP_AUTH_ACTION,
1481
1481
  METAL_ENDPOINT: chain === "proton" ? "https://cirrus.metalpay.com" : "https://cirrus-dev.metalpay.com",
1482
1482
  METAL_PROTON_ENDPOINT: chain === "proton" ? "https://api.protonchain.com" : "https://api-dev.protonchain.com",
1483
- METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://mainnet.api.protondex.com/dex" : "https://testnet.api.protondex.com/dex",
1484
- METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://mainnet.api.protondex.com/dexws" : "wss://testnet.api.protondex.com/dexws",
1483
+ METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://dex.api.mainnet.metalx.com/dex" : "https://dex.api.testnet.metalx.com/dex",
1484
+ METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://dex.api.mainnet.metalx.com/dexws" : "wss://dex.api.testnet.metalx.comdexws",
1485
1485
  PROTON_ENDPOINTS: chain === "proton" ? [
1486
- "https://mainnet-rpc.api.protondex.com",
1486
+ "https://rpc.api.mainnet.metalx.com",
1487
1487
  "https://proton.greymass.com",
1488
1488
  "https://proton.eoscafeblock.com",
1489
1489
  "https://proton.cryptolions.io",
1490
1490
  "https://proton.eosusa.news"
1491
1491
  ] : [
1492
- "https://testnet-rpc.api.protondex.com",
1492
+ "https://rpc.api.testnet.metalx.com",
1493
1493
  "https://testnet.protonchain.com"
1494
1494
  ],
1495
1495
  CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.161",
8
+ "version": "0.2.163",
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": "74a775a65d193e2352320c4822a290075d283f38"
43
+ "gitHead": "71effc286b7e5168a108d2ac2f86cf28bf759c68"
44
44
  }
package/src/coins.ts CHANGED
@@ -205,7 +205,7 @@ export const initializeCoins = (
205
205
  ]
206
206
  : []),
207
207
  ],
208
- image: "https://www.proton.org/images/tokens/eosio-tokenXPR.png",
208
+ image: "https://app.metalx.com/img/tokens/XPR.png",
209
209
  coingeckoId: "proton",
210
210
  unifiedCryptoassetId: "5350",
211
211
  },
@@ -461,7 +461,7 @@ export const initializeCoins = (
461
461
  allowBridge: false,
462
462
  allowLend: false,
463
463
  allowBorrow: false,
464
- name: "Loan",
464
+ name: "LOAN Protocol",
465
465
  coin: "LOAN",
466
466
  xtokenSymbol: "LOAN",
467
467
  xtokenPrecision: 4,
package/src/constants.ts CHANGED
@@ -72,25 +72,25 @@ export const initializeConstants = (chain: string) => {
72
72
 
73
73
  METAL_DEX_HTTP_ENDPOINT:
74
74
  chain === "proton"
75
- ? "https://mainnet.api.protondex.com/dex"
76
- : "https://testnet.api.protondex.com/dex",
75
+ ? "https://dex.api.mainnet.metalx.com/dex"
76
+ : "https://dex.api.testnet.metalx.com/dex",
77
77
 
78
78
  METAL_DEX_WS_ENDPOINT:
79
79
  chain === "proton"
80
- ? "wss://mainnet.api.protondex.com/dexws"
81
- : "wss://testnet.api.protondex.com/dexws",
80
+ ? "wss://dex.api.mainnet.metalx.com/dexws"
81
+ : "wss://dex.api.testnet.metalx.comdexws",
82
82
 
83
83
  PROTON_ENDPOINTS:
84
84
  chain === "proton"
85
85
  ? [
86
- "https://mainnet-rpc.api.protondex.com",
86
+ "https://rpc.api.mainnet.metalx.com",
87
87
  "https://proton.greymass.com",
88
88
  "https://proton.eoscafeblock.com",
89
89
  "https://proton.cryptolions.io",
90
90
  "https://proton.eosusa.news",
91
91
  ]
92
92
  : [
93
- "https://testnet-rpc.api.protondex.com",
93
+ "https://rpc.api.testnet.metalx.com",
94
94
  "https://testnet.protonchain.com",
95
95
  ],
96
96