@xoxno/types 1.0.370 → 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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.370",
3
+ "version": "1.0.371",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {