@proton/wrap-constants 0.2.161 → 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 CHANGED
@@ -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
@@ -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.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": "74a775a65d193e2352320c4822a290075d283f38"
43
+ "gitHead": "620b65d842a863d087a0511d7230eb97baaf6667"
44
44
  }
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