@proton/wrap-constants 0.2.160 → 0.2.162
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 +5 -5
- package/dist/index.mjs +5 -5
- package/package.json +2 -2
- package/src/coins.ts +1 -1
- package/src/constants.ts +6 -6
package/dist/index.js
CHANGED
|
@@ -251,7 +251,7 @@ var initializeCoins = (protonChain) => {
|
|
|
251
251
|
allowBridge: IS_MAINNET,
|
|
252
252
|
allowLend: true,
|
|
253
253
|
allowBorrow: true,
|
|
254
|
-
name: "
|
|
254
|
+
name: "XPR Network",
|
|
255
255
|
coin: "XPR",
|
|
256
256
|
xtokenSymbol: "XPR",
|
|
257
257
|
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://
|
|
1639
|
-
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://
|
|
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://
|
|
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://
|
|
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
|
@@ -96,7 +96,7 @@ var initializeCoins = (protonChain) => {
|
|
|
96
96
|
allowBridge: IS_MAINNET,
|
|
97
97
|
allowLend: true,
|
|
98
98
|
allowBorrow: true,
|
|
99
|
-
name: "
|
|
99
|
+
name: "XPR Network",
|
|
100
100
|
coin: "XPR",
|
|
101
101
|
xtokenSymbol: "XPR",
|
|
102
102
|
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://
|
|
1484
|
-
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://
|
|
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://
|
|
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://
|
|
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.
|
|
8
|
+
"version": "0.2.162",
|
|
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": "
|
|
43
|
+
"gitHead": "620b65d842a863d087a0511d7230eb97baaf6667"
|
|
44
44
|
}
|
package/src/coins.ts
CHANGED
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://
|
|
76
|
-
: "https://
|
|
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://
|
|
81
|
-
: "wss://
|
|
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://
|
|
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://
|
|
93
|
+
"https://rpc.api.testnet.metalx.com",
|
|
94
94
|
"https://testnet.protonchain.com",
|
|
95
95
|
],
|
|
96
96
|
|