@proton/wrap-constants 0.2.170 → 0.2.172
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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +2 -2
- package/src/constants.ts +13 -13
package/dist/index.js
CHANGED
|
@@ -1634,7 +1634,7 @@ var initializeConstants = (chain) => {
|
|
|
1634
1634
|
LIGHT_PERMISSION: "light",
|
|
1635
1635
|
WRAP_AUTH_ACTION,
|
|
1636
1636
|
METAL_ENDPOINT: chain === "proton" ? "https://cirrus.metalpay.com" : "https://cirrus-dev.metalpay.com",
|
|
1637
|
-
METAL_PROTON_ENDPOINT: chain === "proton" ? "https://api.
|
|
1637
|
+
METAL_PROTON_ENDPOINT: chain === "proton" ? "https://identity.api.prod.metalx.com" : "https://identity.api.dev.metalx.com",
|
|
1638
1638
|
METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://dex.api.mainnet.metalx.com/dex" : "https://dex.api.testnet.metalx.com/dex",
|
|
1639
1639
|
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://dex.api.mainnet.metalx.com/dexws" : "wss://dex.api.testnet.metalx.com/dexws",
|
|
1640
1640
|
PROTON_ENDPOINTS: chain === "proton" ? [
|
|
@@ -1648,7 +1648,7 @@ var initializeConstants = (chain) => {
|
|
|
1648
1648
|
"https://testnet.protonchain.com"
|
|
1649
1649
|
],
|
|
1650
1650
|
CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
|
|
1651
|
-
COINS_URL: chain === "proton" ? "https://
|
|
1651
|
+
COINS_URL: chain === "proton" ? "https://app.metalx.com/mainnet-coins.json" : "https://app.metalx.com/testnet-coins.json",
|
|
1652
1652
|
DEX_PROCESS_SIZE: 30,
|
|
1653
1653
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1654
1654
|
MAX_PRICE: "9223372036854775806",
|
package/dist/index.mjs
CHANGED
|
@@ -1479,7 +1479,7 @@ var initializeConstants = (chain) => {
|
|
|
1479
1479
|
LIGHT_PERMISSION: "light",
|
|
1480
1480
|
WRAP_AUTH_ACTION,
|
|
1481
1481
|
METAL_ENDPOINT: chain === "proton" ? "https://cirrus.metalpay.com" : "https://cirrus-dev.metalpay.com",
|
|
1482
|
-
METAL_PROTON_ENDPOINT: chain === "proton" ? "https://api.
|
|
1482
|
+
METAL_PROTON_ENDPOINT: chain === "proton" ? "https://identity.api.prod.metalx.com" : "https://identity.api.dev.metalx.com",
|
|
1483
1483
|
METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://dex.api.mainnet.metalx.com/dex" : "https://dex.api.testnet.metalx.com/dex",
|
|
1484
1484
|
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://dex.api.mainnet.metalx.com/dexws" : "wss://dex.api.testnet.metalx.com/dexws",
|
|
1485
1485
|
PROTON_ENDPOINTS: chain === "proton" ? [
|
|
@@ -1493,7 +1493,7 @@ var initializeConstants = (chain) => {
|
|
|
1493
1493
|
"https://testnet.protonchain.com"
|
|
1494
1494
|
],
|
|
1495
1495
|
CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
|
|
1496
|
-
COINS_URL: chain === "proton" ? "https://
|
|
1496
|
+
COINS_URL: chain === "proton" ? "https://app.metalx.com/mainnet-coins.json" : "https://app.metalx.com/testnet-coins.json",
|
|
1497
1497
|
DEX_PROCESS_SIZE: 30,
|
|
1498
1498
|
DEX_SLTPPROCESS_SIZE: 10,
|
|
1499
1499
|
MAX_PRICE: "9223372036854775806",
|
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.172",
|
|
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": "d3355cf6cf792e776e2781740fe705e7057ea71b"
|
|
44
44
|
}
|
package/src/constants.ts
CHANGED
|
@@ -67,8 +67,8 @@ export const initializeConstants = (chain: string) => {
|
|
|
67
67
|
|
|
68
68
|
METAL_PROTON_ENDPOINT:
|
|
69
69
|
chain === "proton"
|
|
70
|
-
? "https://api.
|
|
71
|
-
: "https://api
|
|
70
|
+
? "https://identity.api.prod.metalx.com"
|
|
71
|
+
: "https://identity.api.dev.metalx.com",
|
|
72
72
|
|
|
73
73
|
METAL_DEX_HTTP_ENDPOINT:
|
|
74
74
|
chain === "proton"
|
|
@@ -83,16 +83,16 @@ export const initializeConstants = (chain: string) => {
|
|
|
83
83
|
PROTON_ENDPOINTS:
|
|
84
84
|
chain === "proton"
|
|
85
85
|
? [
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
86
|
+
"https://rpc.api.mainnet.metalx.com",
|
|
87
|
+
"https://proton.greymass.com",
|
|
88
|
+
"https://proton.eoscafeblock.com",
|
|
89
|
+
"https://proton.cryptolions.io",
|
|
90
|
+
"https://proton.eosusa.news",
|
|
91
|
+
]
|
|
92
92
|
: [
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
93
|
+
"https://rpc.api.testnet.metalx.com",
|
|
94
|
+
"https://testnet.protonchain.com",
|
|
95
|
+
],
|
|
96
96
|
|
|
97
97
|
CHAIN_ID:
|
|
98
98
|
chain === "proton"
|
|
@@ -101,8 +101,8 @@ export const initializeConstants = (chain: string) => {
|
|
|
101
101
|
|
|
102
102
|
COINS_URL:
|
|
103
103
|
chain === "proton"
|
|
104
|
-
? "https://
|
|
105
|
-
: "https://
|
|
104
|
+
? "https://app.metalx.com/mainnet-coins.json"
|
|
105
|
+
: "https://app.metalx.com/testnet-coins.json",
|
|
106
106
|
|
|
107
107
|
DEX_PROCESS_SIZE: 30,
|
|
108
108
|
DEX_SLTPPROCESS_SIZE: 10,
|