@xoxno/types 1.0.369 → 1.0.371
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.
|
@@ -123,6 +123,7 @@ export declare const CacheKeys: {
|
|
|
123
123
|
LpTokenInfo: (token: string) => CacheKeyConfig;
|
|
124
124
|
AllSwapTokens: () => CacheKeyConfig;
|
|
125
125
|
AllTokensMap: () => CacheKeyConfig;
|
|
126
|
+
AllTokensMapHydrated: () => CacheKeyConfig;
|
|
126
127
|
AshTokenUsdValue: (token: string) => CacheKeyConfig;
|
|
127
128
|
AshSupportedTokens: () => CacheKeyConfig;
|
|
128
129
|
TokenAccountsCount: (token: string) => CacheKeyConfig;
|
package/dist/cache/cache-keys.js
CHANGED
|
@@ -468,6 +468,10 @@ exports.CacheKeys = {
|
|
|
468
468
|
key: 'token:map:all',
|
|
469
469
|
ttl: ttl_1.TTLS.ONE_HOUR * 2,
|
|
470
470
|
}),
|
|
471
|
+
AllTokensMapHydrated: () => ({
|
|
472
|
+
key: 'token:map:all:hydrated',
|
|
473
|
+
ttl: ttl_1.TTLS.ONE_MINUTE * 5, // Shorter TTL since it includes prices
|
|
474
|
+
}),
|
|
471
475
|
AshTokenUsdValue: (token) => ({
|
|
472
476
|
key: `ash:token:${token}:usd:value`,
|
|
473
477
|
ttl: ttl_1.TTLS.ONE_MINUTE * 10,
|
package/dist/enums/perp.enum.js
CHANGED
|
@@ -104,8 +104,6 @@ var PerpOrderTimeInForce;
|
|
|
104
104
|
PerpOrderTimeInForce["IOC"] = "Ioc";
|
|
105
105
|
// Stays open until fully filled or cancelled
|
|
106
106
|
PerpOrderTimeInForce["GTC"] = "Gtc";
|
|
107
|
-
// FrontendMarket
|
|
108
|
-
PerpOrderTimeInForce["FRONTEND"] = "FrontendMarket";
|
|
109
107
|
})(PerpOrderTimeInForce || (exports.PerpOrderTimeInForce = PerpOrderTimeInForce = {}));
|
|
110
108
|
var PerpOrderTpsl;
|
|
111
109
|
(function (PerpOrderTpsl) {
|