@idapt/browser-app-sdk 0.2.0 → 0.4.0
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 +8 -4
- package/dist/{chunk-KHPTFRT3.js → chunk-5GAGDUWY.js} +727 -1929
- package/dist/chunk-5GAGDUWY.js.map +1 -0
- package/dist/{chunk-OKOO2JCS.js → chunk-Y22HYQZB.js} +4 -9
- package/dist/chunk-Y22HYQZB.js.map +1 -0
- package/dist/{client-CZAWglsD.d.ts → client-BbDOj8l_.d.ts} +191 -594
- package/dist/{client-DjipcztO.d.cts → client-BvCqz1Eu.d.cts} +191 -594
- package/dist/{data-BuXXki1D.d.cts → data-BEWuiL70.d.cts} +171 -172
- package/dist/{data-BuXXki1D.d.ts → data-BEWuiL70.d.ts} +171 -172
- package/dist/index.cjs +730 -1938
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +153 -41
- package/dist/index.d.ts +153 -41
- package/dist/index.js +2 -2
- package/dist/react.cjs +202 -909
- package/dist/react.cjs.map +1 -1
- package/dist/react.d.cts +3 -32
- package/dist/react.d.ts +3 -32
- package/dist/react.js +3 -61
- package/dist/react.js.map +1 -1
- package/dist/testing.cjs.map +1 -1
- package/dist/testing.d.cts +4 -4
- package/dist/testing.d.ts +4 -4
- package/dist/testing.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-KHPTFRT3.js.map +0 -1
- package/dist/chunk-OKOO2JCS.js.map +0 -1
package/README.md
CHANGED
|
@@ -7,14 +7,18 @@ in-idapt app the glue beyond plain API calls:
|
|
|
7
7
|
|
|
8
8
|
- the **cookie auto-connect** (auto sign-in for your app, no key handling),
|
|
9
9
|
- per-app **key/value data** (`client.data.*`) and your app's **bundle reader**,
|
|
10
|
-
-
|
|
11
|
-
(object store), `client.tables` (structured documents), and `client.realtime`
|
|
12
|
-
(broadcast / presence / live subscribe),
|
|
10
|
+
- realtime broadcast, presence, and live subscribe through `client.realtime`,
|
|
13
11
|
- the **React hooks** (`@idapt/browser-app-sdk/react`) — including
|
|
14
|
-
`useChannel` / `usePresence`
|
|
12
|
+
`useChannel` / `usePresence` for realtime,
|
|
15
13
|
- the full v1 API surface (it composes
|
|
16
14
|
[`@idapt/sdk`](https://www.npmjs.com/package/@idapt/sdk)).
|
|
17
15
|
|
|
16
|
+
Pre-GA/default-off products are not part of the browser-app SDK public surface
|
|
17
|
+
while their feature flags are off. That includes workspace Data Plane
|
|
18
|
+
(`Datastore/KV`, Blobs, Tables), Repositories, Hub/store, workspace Skills, and
|
|
19
|
+
Functions. Use `client.data.*` for an app's own per-(user x app) KV; it is a
|
|
20
|
+
separate runtime surface backed by `/api/browser-app/data/*`.
|
|
21
|
+
|
|
18
22
|
There is **no off-idapt local mode** and **no `window.Idapt` IIFE** — an app
|
|
19
23
|
built with this SDK must run on idapt (the cookie bootstrap needs the idapt
|
|
20
24
|
origin). `connect()` throws if the app is not served by idapt.
|