@proton/wrap-constants 0.2.170 → 0.2.171
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
- package/src/constants.ts +11 -11
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" ? [
|
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" ? [
|
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.171",
|
|
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": "89d8e8b86d9324795d29030db8510730f90a447f"
|
|
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"
|