@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.
- package/dist/connect/index.cjs +27 -10
- package/dist/connect/index.cjs.map +1 -1
- package/dist/connect/index.js +27 -10
- package/dist/connect/index.js.map +1 -1
- package/dist/core/index.cjs +72 -25
- package/dist/core/index.cjs.map +1 -1
- package/dist/core/index.d.cts +12 -0
- package/dist/core/index.d.ts +12 -0
- package/dist/core/index.js +72 -25
- package/dist/core/index.js.map +1 -1
- package/dist/impl/browser/connect/index.cjs +10 -10
- package/dist/impl/browser/connect/index.cjs.map +1 -1
- package/dist/impl/browser/connect/index.js +10 -10
- package/dist/impl/browser/connect/index.js.map +1 -1
- package/dist/impl/browser/index.cjs +10 -10
- package/dist/impl/browser/index.cjs.map +1 -1
- package/dist/impl/browser/index.js +10 -10
- package/dist/impl/browser/index.js.map +1 -1
- package/dist/impl/browser/ipfs.cjs +10 -10
- package/dist/impl/browser/ipfs.cjs.map +1 -1
- package/dist/impl/browser/ipfs.js +10 -10
- package/dist/impl/browser/ipfs.js.map +1 -1
- package/dist/impl/nodejs/connect/index.cjs +10 -10
- package/dist/impl/nodejs/connect/index.cjs.map +1 -1
- package/dist/impl/nodejs/connect/index.js +10 -10
- package/dist/impl/nodejs/connect/index.js.map +1 -1
- package/dist/impl/nodejs/index.cjs +10 -10
- package/dist/impl/nodejs/index.cjs.map +1 -1
- package/dist/impl/nodejs/index.js +10 -10
- package/dist/impl/nodejs/index.js.map +1 -1
- package/dist/index.cjs +72 -25
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +30 -18
- package/dist/index.d.ts +30 -18
- package/dist/index.js +72 -25
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -27,15 +27,7 @@ var STORAGE_KEYS_GLOBAL = {
|
|
|
27
27
|
TRACKED_ADDRESSES: "tracked_addresses",
|
|
28
28
|
/** Last processed Nostr wallet event timestamp (unix seconds), keyed per pubkey */
|
|
29
29
|
LAST_WALLET_EVENT_TS: "last_wallet_event_ts",
|
|
30
|
-
/** Group chat:
|
|
31
|
-
GROUP_CHAT_GROUPS: "group_chat_groups",
|
|
32
|
-
/** Group chat: messages */
|
|
33
|
-
GROUP_CHAT_MESSAGES: "group_chat_messages",
|
|
34
|
-
/** Group chat: members */
|
|
35
|
-
GROUP_CHAT_MEMBERS: "group_chat_members",
|
|
36
|
-
/** Group chat: processed event IDs for deduplication */
|
|
37
|
-
GROUP_CHAT_PROCESSED_EVENTS: "group_chat_processed_events",
|
|
38
|
-
/** Group chat: last used relay URL (stale data detection) */
|
|
30
|
+
/** Group chat: last used relay URL (stale data detection) — global, same relay for all addresses */
|
|
39
31
|
GROUP_CHAT_RELAY_URL: "group_chat_relay_url",
|
|
40
32
|
/** Cached token registry JSON (fetched from remote) */
|
|
41
33
|
TOKEN_REGISTRY_CACHE: "token_registry_cache",
|
|
@@ -58,7 +50,15 @@ var STORAGE_KEYS_ADDRESS = {
|
|
|
58
50
|
/** Transaction history for this address */
|
|
59
51
|
TRANSACTION_HISTORY: "transaction_history",
|
|
60
52
|
/** Pending V5 finalization tokens (unconfirmed instant split tokens) */
|
|
61
|
-
PENDING_V5_TOKENS: "pending_v5_tokens"
|
|
53
|
+
PENDING_V5_TOKENS: "pending_v5_tokens",
|
|
54
|
+
/** Group chat: joined groups for this address */
|
|
55
|
+
GROUP_CHAT_GROUPS: "group_chat_groups",
|
|
56
|
+
/** Group chat: messages for this address */
|
|
57
|
+
GROUP_CHAT_MESSAGES: "group_chat_messages",
|
|
58
|
+
/** Group chat: members for this address */
|
|
59
|
+
GROUP_CHAT_MEMBERS: "group_chat_members",
|
|
60
|
+
/** Group chat: processed event IDs for deduplication */
|
|
61
|
+
GROUP_CHAT_PROCESSED_EVENTS: "group_chat_processed_events"
|
|
62
62
|
};
|
|
63
63
|
var STORAGE_KEYS = {
|
|
64
64
|
...STORAGE_KEYS_GLOBAL,
|