File size: 657 Bytes
9d2d895 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | /**
* Caller-invariant market reads that active Pro-or-higher plans may refresh
* more aggressively in the browser.
*
* This is an opt-in authentication surface, not an authorization gate: free
* and anonymous callers keep access with the ordinary private cache policy.
* The gateway must verify the attached user identity and entitlement before
* selecting the shorter cache tier.
*/
export const PRO_FRESH_CACHE_RPC_PATHS = new Set<string>([
'/api/market/v1/list-market-quotes',
'/api/market/v1/list-crypto-quotes',
'/api/market/v1/list-commodity-quotes',
'/api/market/v1/list-stablecoin-markets',
'/api/market/v1/list-gulf-quotes',
]);
|