@collective-intelligence/external-apps-client-sdk 0.1.21 → 0.1.23
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/README.md +3 -0
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -311,6 +311,9 @@ const unsubscribe = realtime.subscribe(
|
|
|
311
311
|
last listener unsubscribes. A topic set change reconnects after 300 ms.
|
|
312
312
|
- Each connection uses a new ticket from `ticketUrl` (the server SDK BFF route)
|
|
313
313
|
and resumes after the last received event id, so missed changes replay.
|
|
314
|
+
Event ids are opaque Position Tokens, new for every event and valid only for
|
|
315
|
+
the user who received them: store and resend them unchanged, never parse or
|
|
316
|
+
order them. An id the server cannot read answers `reset`.
|
|
314
317
|
`reset` means the gap was too old to replay: refetch every subscribed topic.
|
|
315
318
|
`onReset` runs at the next delivery instead of its pending changes, so the
|
|
316
319
|
tabs that reset together refetch apart. `onAccessChanged` runs at once.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@collective-intelligence/external-apps-client-sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.23",
|
|
4
4
|
"description": "Framework-neutral client for Collective Intelligence external applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -51,5 +51,6 @@
|
|
|
51
51
|
"tsdown": "0.22.14",
|
|
52
52
|
"typescript": "5.9.3",
|
|
53
53
|
"ultracite": "7.10.7"
|
|
54
|
-
}
|
|
54
|
+
},
|
|
55
|
+
"gitHead": "81dbe7ac8659429edef9bb17162c95cd5dd4cf45"
|
|
55
56
|
}
|