@proton/wrap-constants 0.2.110 → 0.2.112
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 +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +2 -2
- package/src/constants.ts +6 -6
package/dist/index.js
CHANGED
|
@@ -1596,16 +1596,16 @@ var initializeConstants = (chain) => {
|
|
|
1596
1596
|
WRAP_AUTH_ACTION,
|
|
1597
1597
|
METAL_ENDPOINT: chain === "proton" ? "https://cirrus.metalpay.com" : "https://cirrus-dev.metalpay.com",
|
|
1598
1598
|
METAL_PROTON_ENDPOINT: chain === "proton" ? "https://api.protonchain.com" : "https://api-dev.protonchain.com",
|
|
1599
|
-
METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://
|
|
1600
|
-
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://
|
|
1599
|
+
METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://mainnet.api.protondex.com/dex" : "https://testnet.api.protondex.com/dex",
|
|
1600
|
+
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://mainnet.api.protondex.com/dexws" : "wss://testnet.api.protondex.com/dexws",
|
|
1601
1601
|
PROTON_ENDPOINTS: chain === "proton" ? [
|
|
1602
|
-
"https://
|
|
1602
|
+
"https://mainnet-rpc.api.protondex.com",
|
|
1603
1603
|
"https://proton.greymass.com",
|
|
1604
1604
|
"https://proton.eoscafeblock.com",
|
|
1605
1605
|
"https://proton.cryptolions.io",
|
|
1606
1606
|
"https://proton.eosusa.news"
|
|
1607
1607
|
] : [
|
|
1608
|
-
"https://
|
|
1608
|
+
"https://testnet-rpc.api.protondex.com",
|
|
1609
1609
|
"https://testnet.protonchain.com"
|
|
1610
1610
|
],
|
|
1611
1611
|
CHAIN_ID: chain === "proton" ? "384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0" : "71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd",
|
package/dist/index.mjs
CHANGED
|
@@ -1454,16 +1454,16 @@ var initializeConstants = (chain) => {
|
|
|
1454
1454
|
WRAP_AUTH_ACTION,
|
|
1455
1455
|
METAL_ENDPOINT: chain === "proton" ? "https://cirrus.metalpay.com" : "https://cirrus-dev.metalpay.com",
|
|
1456
1456
|
METAL_PROTON_ENDPOINT: chain === "proton" ? "https://api.protonchain.com" : "https://api-dev.protonchain.com",
|
|
1457
|
-
METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://
|
|
1458
|
-
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://
|
|
1457
|
+
METAL_DEX_HTTP_ENDPOINT: chain === "proton" ? "https://mainnet.api.protondex.com/dex" : "https://testnet.api.protondex.com/dex",
|
|
1458
|
+
METAL_DEX_WS_ENDPOINT: chain === "proton" ? "wss://mainnet.api.protondex.com/dexws" : "wss://testnet.api.protondex.com/dexws",
|
|
1459
1459
|
PROTON_ENDPOINTS: chain === "proton" ? [
|
|
1460
|
-
"https://
|
|
1460
|
+
"https://mainnet-rpc.api.protondex.com",
|
|
1461
1461
|
"https://proton.greymass.com",
|
|
1462
1462
|
"https://proton.eoscafeblock.com",
|
|
1463
1463
|
"https://proton.cryptolions.io",
|
|
1464
1464
|
"https://proton.eosusa.news"
|
|
1465
1465
|
] : [
|
|
1466
|
-
"https://
|
|
1466
|
+
"https://testnet-rpc.api.protondex.com",
|
|
1467
1467
|
"https://testnet.protonchain.com"
|
|
1468
1468
|
],
|
|
1469
1469
|
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.112",
|
|
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": "d340ee4a32f980da6f9173f5b536a2b3749cbaaf"
|
|
44
44
|
}
|
package/src/constants.ts
CHANGED
|
@@ -71,25 +71,25 @@ export const initializeConstants = (chain: string) => {
|
|
|
71
71
|
|
|
72
72
|
METAL_DEX_HTTP_ENDPOINT:
|
|
73
73
|
chain === "proton"
|
|
74
|
-
? "https://
|
|
75
|
-
: "https://
|
|
74
|
+
? "https://mainnet.api.protondex.com/dex"
|
|
75
|
+
: "https://testnet.api.protondex.com/dex",
|
|
76
76
|
|
|
77
77
|
METAL_DEX_WS_ENDPOINT:
|
|
78
78
|
chain === "proton"
|
|
79
|
-
? "wss://
|
|
80
|
-
: "wss://
|
|
79
|
+
? "wss://mainnet.api.protondex.com/dexws"
|
|
80
|
+
: "wss://testnet.api.protondex.com/dexws",
|
|
81
81
|
|
|
82
82
|
PROTON_ENDPOINTS:
|
|
83
83
|
chain === "proton"
|
|
84
84
|
? [
|
|
85
|
-
"https://
|
|
85
|
+
"https://mainnet-rpc.api.protondex.com",
|
|
86
86
|
"https://proton.greymass.com",
|
|
87
87
|
"https://proton.eoscafeblock.com",
|
|
88
88
|
"https://proton.cryptolions.io",
|
|
89
89
|
"https://proton.eosusa.news",
|
|
90
90
|
]
|
|
91
91
|
: [
|
|
92
|
-
"https://
|
|
92
|
+
"https://testnet-rpc.api.protondex.com",
|
|
93
93
|
"https://testnet.protonchain.com",
|
|
94
94
|
],
|
|
95
95
|
|