@syncular/client-react 0.0.6-139 → 0.0.6-142
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.
|
@@ -45,7 +45,7 @@ export interface SyncProviderProps<DB extends SyncClientDb, Identity extends {
|
|
|
45
45
|
onPushResult?: (result: PushResultInfo) => void;
|
|
46
46
|
onDataChange?: (scopes: string[]) => void;
|
|
47
47
|
/**
|
|
48
|
-
* Debounce window (ms) for coalescing `data:change` events.
|
|
48
|
+
* Debounce window (ms) for coalescing remote/synced `data:change` events.
|
|
49
49
|
* - default: `10`
|
|
50
50
|
* - `0`/`false`: emit immediately (disable debounce)
|
|
51
51
|
* - `>0`: merge scopes and emit once per window
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncular/client-react",
|
|
3
|
-
"version": "0.0.6-
|
|
3
|
+
"version": "0.0.6-142",
|
|
4
4
|
"description": "React hooks and bindings for the Syncular client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Benjamin Kniffler",
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"release": "bunx syncular-publish"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@syncular/client": "0.0.6-
|
|
47
|
+
"@syncular/client": "0.0.6-142"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"kysely": "^0.28.0",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@happy-dom/global-registrator": "^20.7.0",
|
|
55
55
|
"@syncular/config": "0.0.0",
|
|
56
|
-
"@syncular/core": "0.0.6-
|
|
57
|
-
"@syncular/dialect-bun-sqlite": "0.0.6-
|
|
58
|
-
"@syncular/testkit": "0.0.6-
|
|
56
|
+
"@syncular/core": "0.0.6-142",
|
|
57
|
+
"@syncular/dialect-bun-sqlite": "0.0.6-142",
|
|
58
|
+
"@syncular/testkit": "0.0.6-142",
|
|
59
59
|
"@testing-library/react": "^16.3.2",
|
|
60
60
|
"@types/react": "^19.2.14",
|
|
61
61
|
"happy-dom": "^20.7.0",
|
|
@@ -156,7 +156,7 @@ export interface SyncProviderProps<
|
|
|
156
156
|
onPushResult?: (result: PushResultInfo) => void;
|
|
157
157
|
onDataChange?: (scopes: string[]) => void;
|
|
158
158
|
/**
|
|
159
|
-
* Debounce window (ms) for coalescing `data:change` events.
|
|
159
|
+
* Debounce window (ms) for coalescing remote/synced `data:change` events.
|
|
160
160
|
* - default: `10`
|
|
161
161
|
* - `0`/`false`: emit immediately (disable debounce)
|
|
162
162
|
* - `>0`: merge scopes and emit once per window
|