@spooky-sync/client-solid2 0.0.1-canary.235 → 0.0.1-canary.237
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/AGENTS.md +1 -1
- package/package.json +3 -3
package/AGENTS.md
CHANGED
|
@@ -34,7 +34,7 @@ Provider props are identical to client-solid: `config`, `fallback`, `preload` (a
|
|
|
34
34
|
|
|
35
35
|
## Key API
|
|
36
36
|
|
|
37
|
-
- **`useDb<typeof schema>()`** — the `SyncedDb<S>` instance. Same surface as client-solid: `create`, `update`, `delete`, `query`, `preload`, `run`, `bucket`, `useRemote`, `auth`/`signOut`, `pendingMutationCount`, `subscribeToPendingMutations`, `syncHealth`/`storageHealth` + their subscribe methods.
|
|
37
|
+
- **`useDb<typeof schema>()`** — the `SyncedDb<S>` instance. Same surface as client-solid: `create`, `update`, `delete`, `query`, `preload`, `run`, `bucket`, `remoteQuery`, `useRemote`, `auth`/`signOut`, `pendingMutationCount`, `subscribeToPendingMutations`, `syncHealth`/`storageHealth` + their subscribe methods.
|
|
38
38
|
- **`createQuery(query, options?)`** (or `createQuery(db, query, options?)`) — reactive query. `useQuery` is a deprecated alias. Pass a thunk when the query depends on signals; read the signals inside it.
|
|
39
39
|
- `data()` — non-suspending. `[]` / `null` before the first result, keyed-reconciled live rows after.
|
|
40
40
|
- `ready()` — suspending read for `<Loading fallback={...}>` (Solid 2's renamed `<Suspense>`).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spooky-sync/client-solid2",
|
|
3
|
-
"version": "0.0.1-canary.
|
|
3
|
+
"version": "0.0.1-canary.237",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "Solid 2 native bindings for the sp00ky sync client",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
},
|
|
44
44
|
"packageManager": "pnpm@9.0.0",
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@spooky-sync/query-builder": "0.0.1-canary.
|
|
47
|
-
"@spooky-sync/core": "0.0.1-canary.
|
|
46
|
+
"@spooky-sync/query-builder": "0.0.1-canary.237",
|
|
47
|
+
"@spooky-sync/core": "0.0.1-canary.237",
|
|
48
48
|
"@surrealdb/wasm": "^3.0.3",
|
|
49
49
|
"surrealdb": "2.0.3"
|
|
50
50
|
},
|