@unicitylabs/sphere-sdk 0.3.7 → 0.3.8

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.
@@ -560,6 +560,7 @@ async function loadIpnsModule() {
560
560
  async function createSignedRecord(keyPair, cid, sequenceNumber, lifetimeMs = DEFAULT_LIFETIME_MS) {
561
561
  const { createIPNSRecord, marshalIPNSRecord } = await loadIpnsModule();
562
562
  const record = await createIPNSRecord(
563
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
563
564
  keyPair,
564
565
  `/ipfs/${cid}`,
565
566
  sequenceNumber,
@@ -1670,7 +1671,11 @@ var STORAGE_KEYS_GLOBAL = {
1670
1671
  /** Cached token registry JSON (fetched from remote) */
1671
1672
  TOKEN_REGISTRY_CACHE: "token_registry_cache",
1672
1673
  /** Timestamp of last token registry cache update (ms since epoch) */
1673
- TOKEN_REGISTRY_CACHE_TS: "token_registry_cache_ts"
1674
+ TOKEN_REGISTRY_CACHE_TS: "token_registry_cache_ts",
1675
+ /** Cached price data JSON (from CoinGecko or other provider) */
1676
+ PRICE_CACHE: "price_cache",
1677
+ /** Timestamp of last price cache update (ms since epoch) */
1678
+ PRICE_CACHE_TS: "price_cache_ts"
1674
1679
  };
1675
1680
  var STORAGE_KEYS_ADDRESS = {
1676
1681
  /** Pending transfers for this address */