@paraswap/dex-lib 2.36.2-dexalot.3 → 2.36.2-dexalot.4
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.
|
@@ -2,7 +2,7 @@ import BigNumber from 'bignumber.js';
|
|
|
2
2
|
export declare const DEXALOT_RATE_LIMITED_TTL_S: number;
|
|
3
3
|
export declare const DEXALOT_PRICES_CACHES_TTL_S = 3;
|
|
4
4
|
export declare const DEXALOT_PAIRS_CACHES_TTL_S: number;
|
|
5
|
-
export declare const DEXALOT_TOKENS_CACHES_TTL_S
|
|
5
|
+
export declare const DEXALOT_TOKENS_CACHES_TTL_S: number;
|
|
6
6
|
export declare const DEXALOT_BLACKLIST_CACHES_TTL_S: number;
|
|
7
7
|
export declare const DEXALOT_API_PRICES_POLLING_INTERVAL_MS = 1000;
|
|
8
8
|
export declare const DEXALOT_API_PAIRS_POLLING_INTERVAL_MS: number;
|
|
@@ -8,7 +8,7 @@ const bignumber_js_1 = __importDefault(require("bignumber.js"));
|
|
|
8
8
|
exports.DEXALOT_RATE_LIMITED_TTL_S = 60 * 60; // 1 hour
|
|
9
9
|
exports.DEXALOT_PRICES_CACHES_TTL_S = 3;
|
|
10
10
|
exports.DEXALOT_PAIRS_CACHES_TTL_S = 21 * 60; // 21 mins
|
|
11
|
-
exports.DEXALOT_TOKENS_CACHES_TTL_S =
|
|
11
|
+
exports.DEXALOT_TOKENS_CACHES_TTL_S = 21 * 60; // 21 mins
|
|
12
12
|
exports.DEXALOT_BLACKLIST_CACHES_TTL_S = 3 * 60; // 3 hours
|
|
13
13
|
exports.DEXALOT_API_PRICES_POLLING_INTERVAL_MS = 1000;
|
|
14
14
|
exports.DEXALOT_API_PAIRS_POLLING_INTERVAL_MS = 1000 * 60 * 10; // 10 mins
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/dex/dexalot/constants.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AAExB,QAAA,0BAA0B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS;AAE/C,QAAA,2BAA2B,GAAG,CAAC,CAAC;AAEhC,QAAA,0BAA0B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU;AAEhD,QAAA,2BAA2B,GAAG,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/dex/dexalot/constants.ts"],"names":[],"mappings":";;;;;;AAAA,gEAAqC;AAExB,QAAA,0BAA0B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS;AAE/C,QAAA,2BAA2B,GAAG,CAAC,CAAC;AAEhC,QAAA,0BAA0B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU;AAEhD,QAAA,2BAA2B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU;AAEjD,QAAA,8BAA8B,GAAG,CAAC,GAAG,EAAE,CAAC,CAAC,UAAU;AAEnD,QAAA,sCAAsC,GAAG,IAAI,CAAC;AAE9C,QAAA,qCAAqC,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,UAAU;AAElE,QAAA,yCAAyC,GAAG,IAAI,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS;AAErE,QAAA,eAAe,GAAG,yBAAyB,CAAC;AAE5C,QAAA,gBAAgB,GAAG,MAAO,CAAC;AAE3B,QAAA,sBAAsB,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,aAAa;AAE/C,QAAA,6BAA6B,GAAG,SAAS,CAAC;AAE1C,QAAA,4BAA4B,GAAG,YAAY,CAAC;AAE5C,QAAA,qDAAqD,GAAG,IAAI,sBAAS,CAAC,OAAO,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@ export const DEXALOT_PRICES_CACHES_TTL_S = 3;
|
|
|
6
6
|
|
|
7
7
|
export const DEXALOT_PAIRS_CACHES_TTL_S = 21 * 60; // 21 mins
|
|
8
8
|
|
|
9
|
-
export const DEXALOT_TOKENS_CACHES_TTL_S =
|
|
9
|
+
export const DEXALOT_TOKENS_CACHES_TTL_S = 21 * 60; // 21 mins
|
|
10
10
|
|
|
11
11
|
export const DEXALOT_BLACKLIST_CACHES_TTL_S = 3 * 60; // 3 hours
|
|
12
12
|
|