@syncular/react 0.30.16 → 0.32.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 CHANGED
@@ -165,7 +165,7 @@ schema-bump or package-upgrade factory behind old-resource disposal. Await its
165
165
  true. A failed handoff is also exposed by the resource through the ordinary
166
166
  startup boundary and never opens a second owner. This recipe requires no
167
167
  top-level await; the official example, optimizer exclusion, and upgrade
168
- workflow are in the [Vite guide](https://syncular.dev/guide-vite/).
168
+ workflow are in the [Vite guide](https://syncular.dev/platform-web-install/#configure-vite).
169
169
  `retainViteSyncClientResource` remains the async alternative for targets that
170
170
  deliberately support top-level await. Either helper may close
171
171
  the retained client before React runs cleanup for the old provider; Syncular
@@ -349,7 +349,7 @@ hosts. The `schemaFloor`, `leaseState`, `upgrading`, and `syncNeeded` fields
349
349
  come from that snapshot. Direct `conflicts`, `rejections`, and
350
350
  `securityLifecycle` reads are now method calls. `normalizeClient` has been
351
351
  removed; custom adapters must implement the canonical snapshot methods.
352
- See the [client migration](https://syncular.dev/platform-web/#snapshot-api-migration).
352
+ See the [client migration](https://syncular.dev/platform-web-reads-writes/#reading-local-state).
353
353
 
354
354
  ## Live sync progress
355
355
 
@@ -357,5 +357,5 @@ See the [client migration](https://syncular.dev/platform-web/#snapshot-api-migra
357
357
  client's live progress stream and returns `SyncProgress | undefined`. The hook
358
358
  releases its subscription on unmount or when `client` changes. Download counters
359
359
  use bytes; import counters use processed rows and can include uncommitted work.
360
- See [browser progress](https://syncular.dev/platform-web/#live-sync-progress) for
360
+ See [browser progress](https://syncular.dev/platform-web-realtime/#sync-progress) for
361
361
  the attempt, phase, failure, and completion contract.
@@ -3,4 +3,4 @@
3
3
  * Vite HMR uses it to replace a worker owner after a Syncular package upgrade
4
4
  * even when the application's generated schema version did not change.
5
5
  */
6
- export declare const SYNCULAR_REACT_RUNTIME_VERSION = "0.30.16";
6
+ export declare const SYNCULAR_REACT_RUNTIME_VERSION = "0.32.0";
@@ -3,4 +3,4 @@
3
3
  * Vite HMR uses it to replace a worker owner after a Syncular package upgrade
4
4
  * even when the application's generated schema version did not change.
5
5
  */
6
- export const SYNCULAR_REACT_RUNTIME_VERSION = '0.30.16';
6
+ export const SYNCULAR_REACT_RUNTIME_VERSION = '0.32.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncular/react",
3
- "version": "0.30.16",
3
+ "version": "0.32.0",
4
4
  "description": "React hooks for Syncular offline-first sync",
5
5
  "license": "Apache-2.0",
6
6
  "author": "Benjamin Kniffler",
@@ -55,15 +55,15 @@
55
55
  "test": "bun test --preload ./test/setup.ts"
56
56
  },
57
57
  "dependencies": {
58
- "@syncular/client": "0.30.16"
58
+ "@syncular/client": "0.32.0"
59
59
  },
60
60
  "peerDependencies": {
61
61
  "react": ">=18.0.0"
62
62
  },
63
63
  "devDependencies": {
64
64
  "@happy-dom/global-registrator": "^20.0.0",
65
- "@syncular/core": "0.30.16",
66
- "@syncular/server": "0.30.16",
65
+ "@syncular/core": "0.32.0",
66
+ "@syncular/server": "0.32.0",
67
67
  "@testing-library/react": "^16.1.0",
68
68
  "@types/react": "^18.3.0",
69
69
  "@types/react-dom": "^18.3.0",
@@ -3,4 +3,4 @@
3
3
  * Vite HMR uses it to replace a worker owner after a Syncular package upgrade
4
4
  * even when the application's generated schema version did not change.
5
5
  */
6
- export const SYNCULAR_REACT_RUNTIME_VERSION = '0.30.16';
6
+ export const SYNCULAR_REACT_RUNTIME_VERSION = '0.32.0';