@proton/wrap-constants 0.2.45 → 0.2.47
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/parsers/dex.d.ts +72 -120
- package/dist/wrap-constants.cjs.development.js +10 -12
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +10 -12
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/constants.ts +2 -2
- package/src/parsers/dex.ts +7 -9
|
@@ -1234,8 +1234,8 @@ var initializeConstants = function initializeConstants(chain) {
|
|
|
1234
1234
|
WRAP_AUTH_ACTION: WRAP_AUTH_ACTION,
|
|
1235
1235
|
METAL_ENDPOINT: chain === 'proton' ? 'https://cirrus.metalpay.com' : 'https://cirrus-dev.metalpay.com',
|
|
1236
1236
|
METAL_PROTON_ENDPOINT: chain === 'proton' ? 'https://api.protonchain.com' : 'https://api-dev.protonchain.com',
|
|
1237
|
-
METAL_DEX_HTTP_ENDPOINT: chain === 'proton' ? 'https://
|
|
1238
|
-
METAL_DEX_WS_ENDPOINT: chain === 'proton' ? 'wss://
|
|
1237
|
+
METAL_DEX_HTTP_ENDPOINT: chain === 'proton' ? 'https://metal-dexdb.global.binfra.one/dex' : 'https://metallicus-dbapi-dev01.binfra.one/dex',
|
|
1238
|
+
METAL_DEX_WS_ENDPOINT: chain === 'proton' ? 'wss://metal-dexdb.global.binfra.one/dexws' : 'wss://metallicus-dbapi-dev01.binfra.one/dexws',
|
|
1239
1239
|
PROTON_ENDPOINTS: chain === 'proton' ? ['https://metal-proton-rpc.global.binfra.one', 'https://proton.greymass.com', 'https://proton.eoscafeblock.com', 'https://proton.cryptolions.io', 'https://proton.eosusa.news'] : ['https://metal-protontest-rpc.global.binfra.one', 'https://testnet.protonchain.com'],
|
|
1240
1240
|
CHAIN_ID: chain === 'proton' ? '384da888112027f0321850a169f737c33e53b388aad48b5adace4bab97f437e0' : '71ee83bcf52142d61019d95f9cc5427ba6a0d7ff8accd9e2088ae2abeaf3d3dd',
|
|
1241
1241
|
DEX_PROCESS_SIZE: 30,
|
|
@@ -1567,18 +1567,16 @@ var marketParser = /*#__PURE__*/object({
|
|
|
1567
1567
|
taker_fee: /*#__PURE__*/number(),
|
|
1568
1568
|
order_min: /*#__PURE__*/number(),
|
|
1569
1569
|
bid_token: /*#__PURE__*/object({
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
contract: /*#__PURE__*/string()
|
|
1570
|
+
code: /*#__PURE__*/string(),
|
|
1571
|
+
precision: /*#__PURE__*/number(),
|
|
1572
|
+
contract: /*#__PURE__*/string(),
|
|
1573
|
+
multiplier: /*#__PURE__*/number()
|
|
1575
1574
|
}),
|
|
1576
1575
|
ask_token: /*#__PURE__*/object({
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
contract: /*#__PURE__*/string()
|
|
1576
|
+
code: /*#__PURE__*/string(),
|
|
1577
|
+
precision: /*#__PURE__*/number(),
|
|
1578
|
+
contract: /*#__PURE__*/string(),
|
|
1579
|
+
multiplier: /*#__PURE__*/number()
|
|
1582
1580
|
})
|
|
1583
1581
|
});
|
|
1584
1582
|
var getMarketsResponseParser = /*#__PURE__*/object({
|