@proton/wrap-constants 0.2.168 → 0.2.169

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
@@ -1007,7 +1007,7 @@ var initializeCoins = (protonChain) => {
1007
1007
  },
1008
1008
  {
1009
1009
  allowSwap: false,
1010
- allowBridge: IS_TESTNET,
1010
+ allowBridge: true,
1011
1011
  allowLend: false,
1012
1012
  allowBorrow: false,
1013
1013
  name: "Stellar",
@@ -1636,7 +1636,7 @@ var initializeConstants = (chain) => {
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
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",
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" ? [
1641
1641
  "https://rpc.api.mainnet.metalx.com",
1642
1642
  "https://proton.greymass.com",
package/dist/index.mjs CHANGED
@@ -852,7 +852,7 @@ var initializeCoins = (protonChain) => {
852
852
  },
853
853
  {
854
854
  allowSwap: false,
855
- allowBridge: IS_TESTNET,
855
+ allowBridge: true,
856
856
  allowLend: false,
857
857
  allowBorrow: false,
858
858
  name: "Stellar",
@@ -1481,7 +1481,7 @@ var initializeConstants = (chain) => {
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
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",
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" ? [
1486
1486
  "https://rpc.api.mainnet.metalx.com",
1487
1487
  "https://proton.greymass.com",
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.168",
8
+ "version": "0.2.169",
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": "1c14fa02549eb8e3ce19b41d94b8332365c9119a"
43
+ "gitHead": "acf8be86815444a03d8627595e3dcc9411f4ea31"
44
44
  }
package/src/coins.ts CHANGED
@@ -986,7 +986,7 @@ export const initializeCoins = (
986
986
  },
987
987
  {
988
988
  allowSwap: false,
989
- allowBridge: IS_TESTNET,
989
+ allowBridge: true,
990
990
  allowLend: false,
991
991
  allowBorrow: false,
992
992
  name: "Stellar",
package/src/constants.ts CHANGED
@@ -78,21 +78,21 @@ export const initializeConstants = (chain: string) => {
78
78
  METAL_DEX_WS_ENDPOINT:
79
79
  chain === "proton"
80
80
  ? "wss://dex.api.mainnet.metalx.com/dexws"
81
- : "wss://dex.api.testnet.metalx.comdexws",
81
+ : "wss://dex.api.testnet.metalx.com/dexws",
82
82
 
83
83
  PROTON_ENDPOINTS:
84
84
  chain === "proton"
85
85
  ? [
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
- ]
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
- "https://rpc.api.testnet.metalx.com",
94
- "https://testnet.protonchain.com",
95
- ],
93
+ "https://rpc.api.testnet.metalx.com",
94
+ "https://testnet.protonchain.com",
95
+ ],
96
96
 
97
97
  CHAIN_ID:
98
98
  chain === "proton"