@catalyst-cloud/sdk-replica-node 0.14.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 +9 -0
- package/index.d.ts +1 -0
- package/index.js +1 -0
- package/package.json +43 -0
package/README.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Optional node replica
|
|
2
|
+
|
|
3
|
+
Install this module only when you need local SQL. The default `@catalyst-cloud/sdk` reads the cloud and receives live updates without SQLite. This module installs the schema, shared queries and replication packages. Bun and Node 22 provide built-in SQLite. Install better-sqlite3 only when you choose that injected driver.
|
|
4
|
+
|
|
5
|
+
```ts
|
|
6
|
+
import { CatalystReplica } from "@catalyst-cloud/sdk-replica-node";
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
An optional native cache shares the supervised tenant daemon. Readers use `openReadOnly`; they never start a second writer. No offline-browsing promise.
|
package/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@catalyst-cloud/sdk/replica/node";
|
package/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "@catalyst-cloud/sdk/replica/node";
|
package/package.json
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@catalyst-cloud/sdk-replica-node",
|
|
3
|
+
"version": "0.14.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"description": "Optional node replica for the Catalyst SDK.",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://github.com/coalesce-labs/catalyst-cloud-sdk.git"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./index.d.ts",
|
|
17
|
+
"import": "./index.js",
|
|
18
|
+
"default": "./index.js"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"index.js",
|
|
23
|
+
"index.d.ts",
|
|
24
|
+
"README.md"
|
|
25
|
+
],
|
|
26
|
+
"peerDependencies": {
|
|
27
|
+
"@catalyst-cloud/sdk": "^0.14.0",
|
|
28
|
+
"better-sqlite3": "*"
|
|
29
|
+
},
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@catalyst-cloud/read-model": "^0.13.0",
|
|
32
|
+
"@catalyst-cloud/replicate": "0.13.1",
|
|
33
|
+
"@catalyst-cloud/schema": "0.13.1"
|
|
34
|
+
},
|
|
35
|
+
"engines": {
|
|
36
|
+
"node": ">=22"
|
|
37
|
+
},
|
|
38
|
+
"peerDependenciesMeta": {
|
|
39
|
+
"better-sqlite3": {
|
|
40
|
+
"optional": true
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|