@revealui/sync 0.2.0 → 0.2.1

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
@@ -1,9 +1,5 @@
1
1
  # @revealui/sync
2
2
 
3
- **Status:** 🟡 Active Development | ⚠️ NOT Production Ready
4
-
5
- See [Project Status](../../docs/PROJECT_STATUS.md) for framework readiness.
6
-
7
3
  ElectricSQL sync utilities for RevealUI - real-time data synchronization with local-first architecture.
8
4
 
9
5
  ## Features
@@ -208,9 +204,7 @@ pnpm --filter @revealui/sync test:coverage
208
204
  - ElectricSQL integration exists but requires testing
209
205
  - API endpoints based on assumptions
210
206
  - No integration tests performed yet
211
- - Not recommended for production until verified
212
-
213
- See [Project Roadmap](../../docs/PROJECT_ROADMAP.md) and [Production Readiness](../../docs/PRODUCTION_READINESS.md) for details.
207
+ - Verify against your deployment before relying on sync in production
214
208
 
215
209
  ## Related Documentation
216
210
 
package/dist/index.d.ts CHANGED
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @experimental ElectricSQL sync is not yet functional.
3
+ * The ElectricProvider is currently a passthrough that renders children without
4
+ * establishing any sync connection. Do not use in production.
5
+ */
1
6
  export type { CollabDocumentState, UseCollaborationOptions, UseCollaborationResult, } from './collab/index.js';
2
7
  export { CollabProvider, useCollabDocument, useCollaboration, } from './collab/index.js';
3
8
  export { useConversations } from './hooks/useConversations.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,YAAY,EACV,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,GACvB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,gBAAgB,GACjB,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAC9D,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAA"}
package/dist/index.js CHANGED
@@ -1,3 +1,8 @@
1
+ /**
2
+ * @experimental ElectricSQL sync is not yet functional.
3
+ * The ElectricProvider is currently a passthrough that renders children without
4
+ * establishing any sync connection. Do not use in production.
5
+ */
1
6
  export { CollabProvider, useCollabDocument, useCollaboration, } from './collab/index.js';
2
7
  export { useConversations } from './hooks/useConversations.js';
3
8
  export { ElectricProvider } from './provider/index.js';
@@ -1,4 +1,8 @@
1
1
  import type { ReactNode } from 'react';
2
+ /**
3
+ * @experimental This provider is a passthrough — ElectricSQL integration is not yet implemented.
4
+ * Children are rendered without any sync functionality.
5
+ */
2
6
  export declare function ElectricProvider({ children, }: {
3
7
  children: ReactNode;
4
8
  serviceUrl?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/provider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAGtC,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CAIA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/provider/index.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAA;AAEtC;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,GACT,EAAE;IACD,QAAQ,EAAE,SAAS,CAAA;IACnB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,KAAK,CAAC,EAAE,OAAO,CAAA;CAChB,2CAIA"}
@@ -1,6 +1,9 @@
1
1
  'use client';
2
2
  import { Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
3
- // ElectricProvider placeholder - useShape works with proxy API
3
+ /**
4
+ * @experimental This provider is a passthrough — ElectricSQL integration is not yet implemented.
5
+ * Children are rendered without any sync functionality.
6
+ */
4
7
  export function ElectricProvider({ children, }) {
5
8
  // For now, just pass through children
6
9
  // useShape hooks work directly with proxy API endpoints
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@revealui/sync",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
+ "experimental": true,
4
5
  "license": "MIT",
5
6
  "files": [
6
7
  "dist"
@@ -12,8 +13,8 @@
12
13
  "ws": "^8.18.0",
13
14
  "y-protocols": "^1.0.7",
14
15
  "yjs": "^13.6.29",
15
- "@revealui/contracts": "1.0.0",
16
- "@revealui/db": "0.2.0"
16
+ "@revealui/contracts": "1.1.0",
17
+ "@revealui/db": "0.2.1"
17
18
  },
18
19
  "devDependencies": {
19
20
  "@testing-library/jest-dom": "^6.6.4",