@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;
@@ -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,
@@ -83,8 +83,7 @@ export declare enum PerpOrderGrouping {
83
83
  export declare enum PerpOrderTimeInForce {
84
84
  ALO = "Alo",
85
85
  IOC = "Ioc",
86
- GTC = "Gtc",
87
- FRONTEND = "FrontendMarket"
86
+ GTC = "Gtc"
88
87
  }
89
88
  export declare enum PerpOrderTpsl {
90
89
  TP = "tp",
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.369",
3
+ "version": "1.0.371",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {