@oddington/sdk 0.1.76 → 0.1.77
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 +9 -0
- package/dist/browser.js +378 -86
- package/dist/index.js +2 -2
- package/dist/types/packages/sdk/src/public.d.ts +1 -1
- package/dist/types/shared/inbox-live.d.ts +11 -0
- package/dist/types/shared/inbox-member-contract.d.ts +3 -2
- package/dist/types/shared/inbox-member-types.d.ts +14 -0
- package/dist/types/shared/inbox-records.d.ts +4 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -60,6 +60,15 @@ Inbox File previews and downloads use package-root `files.read(fileId)` with
|
|
|
60
60
|
current workspace access. Item visibility does not grant File access. The SDK
|
|
61
61
|
exposes no raw-credential API.
|
|
62
62
|
|
|
63
|
+
The first-party hosted Inbox uses `inbox.bootstrap()` for all visible items and
|
|
64
|
+
revision-associated authored Record hydration. `inbox.subscribe(onDirty,
|
|
65
|
+
onState)` returns an idempotent cleanup function. Dirty callbacks have no
|
|
66
|
+
arguments; state callbacks report `connected` (including reconnects),
|
|
67
|
+
`unavailable` (retryable), or `denied` (terminal). Treat hints as reasons for a
|
|
68
|
+
coalesced authoritative bootstrap read. Provider transport, scoped credentials,
|
|
69
|
+
renewal and reconnect remain inside the SDK. Focused and local apps cannot use
|
|
70
|
+
this complete-Inbox subscription.
|
|
71
|
+
|
|
63
72
|
Apps use `inbox.questions.list({ routines })` for `QuestionWork[]`.
|
|
64
73
|
Derive `routines` from `(await app.listRoutines()).map(({ id }) => id)`.
|
|
65
74
|
These canonical names narrow relevance only; they grant no answer or
|