@unicitylabs/sphere-sdk 0.4.4 → 0.4.6

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.
Files changed (37) hide show
  1. package/dist/connect/index.cjs +27 -10
  2. package/dist/connect/index.cjs.map +1 -1
  3. package/dist/connect/index.js +27 -10
  4. package/dist/connect/index.js.map +1 -1
  5. package/dist/core/index.cjs +72 -25
  6. package/dist/core/index.cjs.map +1 -1
  7. package/dist/core/index.d.cts +12 -0
  8. package/dist/core/index.d.ts +12 -0
  9. package/dist/core/index.js +72 -25
  10. package/dist/core/index.js.map +1 -1
  11. package/dist/impl/browser/connect/index.cjs +10 -10
  12. package/dist/impl/browser/connect/index.cjs.map +1 -1
  13. package/dist/impl/browser/connect/index.js +10 -10
  14. package/dist/impl/browser/connect/index.js.map +1 -1
  15. package/dist/impl/browser/index.cjs +10 -10
  16. package/dist/impl/browser/index.cjs.map +1 -1
  17. package/dist/impl/browser/index.js +10 -10
  18. package/dist/impl/browser/index.js.map +1 -1
  19. package/dist/impl/browser/ipfs.cjs +10 -10
  20. package/dist/impl/browser/ipfs.cjs.map +1 -1
  21. package/dist/impl/browser/ipfs.js +10 -10
  22. package/dist/impl/browser/ipfs.js.map +1 -1
  23. package/dist/impl/nodejs/connect/index.cjs +10 -10
  24. package/dist/impl/nodejs/connect/index.cjs.map +1 -1
  25. package/dist/impl/nodejs/connect/index.js +10 -10
  26. package/dist/impl/nodejs/connect/index.js.map +1 -1
  27. package/dist/impl/nodejs/index.cjs +10 -10
  28. package/dist/impl/nodejs/index.cjs.map +1 -1
  29. package/dist/impl/nodejs/index.js +10 -10
  30. package/dist/impl/nodejs/index.js.map +1 -1
  31. package/dist/index.cjs +72 -25
  32. package/dist/index.cjs.map +1 -1
  33. package/dist/index.d.cts +30 -18
  34. package/dist/index.d.ts +30 -18
  35. package/dist/index.js +72 -25
  36. package/dist/index.js.map +1 -1
  37. package/package.json +1 -1
@@ -1658,15 +1658,7 @@ var STORAGE_KEYS_GLOBAL = {
1658
1658
  TRACKED_ADDRESSES: "tracked_addresses",
1659
1659
  /** Last processed Nostr wallet event timestamp (unix seconds), keyed per pubkey */
1660
1660
  LAST_WALLET_EVENT_TS: "last_wallet_event_ts",
1661
- /** Group chat: joined groups */
1662
- GROUP_CHAT_GROUPS: "group_chat_groups",
1663
- /** Group chat: messages */
1664
- GROUP_CHAT_MESSAGES: "group_chat_messages",
1665
- /** Group chat: members */
1666
- GROUP_CHAT_MEMBERS: "group_chat_members",
1667
- /** Group chat: processed event IDs for deduplication */
1668
- GROUP_CHAT_PROCESSED_EVENTS: "group_chat_processed_events",
1669
- /** Group chat: last used relay URL (stale data detection) */
1661
+ /** Group chat: last used relay URL (stale data detection) — global, same relay for all addresses */
1670
1662
  GROUP_CHAT_RELAY_URL: "group_chat_relay_url",
1671
1663
  /** Cached token registry JSON (fetched from remote) */
1672
1664
  TOKEN_REGISTRY_CACHE: "token_registry_cache",
@@ -1689,7 +1681,15 @@ var STORAGE_KEYS_ADDRESS = {
1689
1681
  /** Transaction history for this address */
1690
1682
  TRANSACTION_HISTORY: "transaction_history",
1691
1683
  /** Pending V5 finalization tokens (unconfirmed instant split tokens) */
1692
- PENDING_V5_TOKENS: "pending_v5_tokens"
1684
+ PENDING_V5_TOKENS: "pending_v5_tokens",
1685
+ /** Group chat: joined groups for this address */
1686
+ GROUP_CHAT_GROUPS: "group_chat_groups",
1687
+ /** Group chat: messages for this address */
1688
+ GROUP_CHAT_MESSAGES: "group_chat_messages",
1689
+ /** Group chat: members for this address */
1690
+ GROUP_CHAT_MEMBERS: "group_chat_members",
1691
+ /** Group chat: processed event IDs for deduplication */
1692
+ GROUP_CHAT_PROCESSED_EVENTS: "group_chat_processed_events"
1693
1693
  };
1694
1694
  var STORAGE_KEYS = {
1695
1695
  ...STORAGE_KEYS_GLOBAL,