@syncular/tauri 0.30.9 → 0.30.11
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 +22 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -89,6 +89,20 @@ malformed native response fails with the sanitized, stable
|
|
|
89
89
|
`client.invalid_host_response` code before application recovery state can
|
|
90
90
|
persist it.
|
|
91
91
|
|
|
92
|
+
## Local commands during sync
|
|
93
|
+
|
|
94
|
+
The native owner captures one request and gives its network I/O to a separate
|
|
95
|
+
executor. Local mutations and queries continue while the server reply or segment
|
|
96
|
+
bytes are pending. The owner applies the reply with the captured commit IDs and
|
|
97
|
+
normal version checks; writes authored during the round replay over that base
|
|
98
|
+
and enter the next request. Socket acknowledgements use the same I/O executor.
|
|
99
|
+
There is no extra polling loop.
|
|
100
|
+
|
|
101
|
+
An acknowledgement rebuilds only the tables touched by that commit or pull.
|
|
102
|
+
Unchanged tables and their FTS projections stay untouched, so a catalogue's size
|
|
103
|
+
does not add a full-table copy to an unrelated edit. A schema reset or restart
|
|
104
|
+
can still rebuild the complete projection.
|
|
105
|
+
|
|
92
106
|
## Secure preflight and native disposal
|
|
93
107
|
|
|
94
108
|
Create with `securityPreflight: true` when authentication, signed device
|
|
@@ -186,3 +200,11 @@ pulls and restart. `commitOutcome(id).retainedRows` exposes intended rows and th
|
|
|
186
200
|
latest authorized server base. Resolve with `resolved_keep_server`, or create a
|
|
187
201
|
reviewed replacement and link it with `superseded`. Scope revocation and local
|
|
188
202
|
security purge remove whole retained aggregates.
|
|
203
|
+
|
|
204
|
+
A retained insert whose unique key belongs to another server primary key remains
|
|
205
|
+
journal intent while reads show the server winner. `retainedRows[].uniqueConflicts`
|
|
206
|
+
contains each matching index, its columns, competing `rowId`, authorized
|
|
207
|
+
`serverRow` and `serverVersion`. Keep-mine patches that competing ID at its
|
|
208
|
+
current version and links the replacement through `superseded`. Edit can choose
|
|
209
|
+
a free unique key. Take-server uses `resolved_keep_server`. Revocation and local
|
|
210
|
+
security purge erase the retained aggregate's protected journal payloads.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncular/tauri",
|
|
3
|
-
"version": "0.30.
|
|
3
|
+
"version": "0.30.11",
|
|
4
4
|
"description": "Tauri integration for the Syncular client",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Benjamin Kniffler",
|
|
@@ -48,12 +48,13 @@
|
|
|
48
48
|
"test": "bun test"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@syncular/client": "0.30.
|
|
51
|
+
"@syncular/client": "0.30.11"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@tauri-apps/api": ">=2.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@syncular/react": "0.30.
|
|
57
|
+
"@syncular/react": "0.30.11",
|
|
58
|
+
"@syncular/server": "0.30.11"
|
|
58
59
|
}
|
|
59
60
|
}
|