@super-line/collections-pglite 0.1.0 → 0.1.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/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -13,8 +13,8 @@ interface PgliteCollectionsOptions {
|
|
|
13
13
|
db?: PGliteWithLive;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* The self-clustering CollectionStore (ADR-0006, `clustering: 'self'`) —
|
|
17
|
-
*
|
|
16
|
+
* The self-clustering CollectionStore (ADR-0006, `clustering: 'self'`) — central Postgres + a per-node
|
|
17
|
+
* Electric-synced replica. Writes + strong reads hit a central Postgres; each node mirrors the row
|
|
18
18
|
* table into an in-memory PGlite replica via **Electric** (one-way) and turns its `live.changes` feed into
|
|
19
19
|
* {@link CollectionStore.onChange}, which core fans to LOCAL subscribers only. Postgres+Electric is the only
|
|
20
20
|
* fan-out infra — no super-line adapter. A write round-trips central PG → Electric → every node's feed; the
|
package/dist/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ interface PgliteCollectionsOptions {
|
|
|
13
13
|
db?: PGliteWithLive;
|
|
14
14
|
}
|
|
15
15
|
/**
|
|
16
|
-
* The self-clustering CollectionStore (ADR-0006, `clustering: 'self'`) —
|
|
17
|
-
*
|
|
16
|
+
* The self-clustering CollectionStore (ADR-0006, `clustering: 'self'`) — central Postgres + a per-node
|
|
17
|
+
* Electric-synced replica. Writes + strong reads hit a central Postgres; each node mirrors the row
|
|
18
18
|
* table into an in-memory PGlite replica via **Electric** (one-way) and turns its `live.changes` feed into
|
|
19
19
|
* {@link CollectionStore.onChange}, which core fans to LOCAL subscribers only. Postgres+Electric is the only
|
|
20
20
|
* fan-out infra — no super-line adapter. A write round-trips central PG → Electric → every node's feed; the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@super-line/collections-pglite",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Self-clustering CollectionStore for super-line — central Postgres + per-node Electric-synced PGlite replica (live.changes). Postgres is the only fan-out infra; no adapter.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@electric-sql/pglite": "^0.5.3",
|
|
52
52
|
"@electric-sql/pglite-sync": "^0.6.3",
|
|
53
53
|
"postgres": "^3.4.9",
|
|
54
|
-
"@super-line/core": "^0.
|
|
54
|
+
"@super-line/core": "^0.11.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@electric-sql/pglite-socket": "^0.2.6"
|