@quereus/sync 0.3.4 → 0.3.6

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.
@@ -65,7 +65,7 @@ export interface CreateSyncModuleOptions extends Partial<SyncConfig> {
65
65
  * @example
66
66
  * ```typescript
67
67
  * import { LevelDBStore, StoreEventEmitter } from '@quereus/store';
68
- * import { createSyncModule } from '@quereus/plugin-sync';
68
+ * import { createSyncModule } from '@quereus/sync';
69
69
  *
70
70
  * const storeEvents = new StoreEventEmitter();
71
71
  * const kv = await LevelDBStore.open({ path: './data' });
@@ -22,7 +22,7 @@ import { DEFAULT_SYNC_CONFIG } from './sync/protocol.js';
22
22
  * @example
23
23
  * ```typescript
24
24
  * import { LevelDBStore, StoreEventEmitter } from '@quereus/store';
25
- * import { createSyncModule } from '@quereus/plugin-sync';
25
+ * import { createSyncModule } from '@quereus/sync';
26
26
  *
27
27
  * const storeEvents = new StoreEventEmitter();
28
28
  * const kv = await LevelDBStore.open({ path: './data' });
@@ -11,7 +11,7 @@
11
11
  * - Offline-first: Works with local changes that sync later
12
12
  *
13
13
  * Usage:
14
- * import { createSyncModule } from '@quereus/plugin-sync';
14
+ * import { createSyncModule } from '@quereus/sync';
15
15
  * import { LevelDBModule, StoreEventEmitter } from '@quereus/store';
16
16
  *
17
17
  * const storeEvents = new StoreEventEmitter();
package/dist/src/index.js CHANGED
@@ -11,7 +11,7 @@
11
11
  * - Offline-first: Works with local changes that sync later
12
12
  *
13
13
  * Usage:
14
- * import { createSyncModule } from '@quereus/plugin-sync';
14
+ * import { createSyncModule } from '@quereus/sync';
15
15
  * import { LevelDBModule, StoreEventEmitter } from '@quereus/store';
16
16
  *
17
17
  * const storeEvents = new StoreEventEmitter();
package/package.json CHANGED
@@ -1,64 +1,64 @@
1
- {
2
- "name": "@quereus/sync",
3
- "version": "0.3.4",
4
- "type": "module",
5
- "description": "Multi-master CRDT replication for Quereus - automatic sync with conflict resolution",
6
- "keywords": [
7
- "quereus",
8
- "sql",
9
- "database",
10
- "sync",
11
- "crdt",
12
- "replication",
13
- "offline-first",
14
- "multi-master",
15
- "conflict-resolution",
16
- "plugin"
17
- ],
18
- "publisher": "Got Choices Foundation",
19
- "repository": {
20
- "type": "git",
21
- "url": "https://github.com/gotchoices/quereus.git",
22
- "directory": "packages/quereus-sync"
23
- },
24
- "license": "MIT",
25
- "main": "dist/src/index.js",
26
- "types": "./dist/src/index.d.ts",
27
- "files": [
28
- "dist",
29
- "!**/*.tsbuildinfo"
30
- ],
31
- "exports": {
32
- ".": {
33
- "types": "./dist/src/index.d.ts",
34
- "import": "./dist/src/index.js"
35
- }
36
- },
37
- "scripts": {
38
- "clean": "rimraf dist",
39
- "build": "tsc",
40
- "typecheck": "tsc --noEmit",
41
- "test": "cd ../.. && node --import ./packages/quereus-sync/register.mjs node_modules/mocha/bin/mocha.js \"packages/quereus-sync/test/**/*.spec.ts\" --colors",
42
- "test:single": "cd ../.. && node --import ./packages/quereus-sync/register.mjs node_modules/mocha/bin/mocha.js --bail"
43
- },
44
- "peerDependencies": {
45
- "@quereus/quereus": "*",
46
- "@quereus/store": "*"
47
- },
48
- "devDependencies": {
49
- "@quereus/quereus": "*",
50
- "@quereus/store": "*",
51
- "@types/mocha": "^10.0.10",
52
- "@types/node": "^22.15.29",
53
- "chai": "^5.2.0",
54
- "mocha": "^11.5.0",
55
- "rimraf": "^6.1.2",
56
- "ts-node": "^10.9.2",
57
- "typescript": "^5.8.3"
58
- },
59
- "quereus": {
60
- "provides": {
61
- "sync": true
62
- }
63
- }
64
- }
1
+ {
2
+ "name": "@quereus/sync",
3
+ "version": "0.3.6",
4
+ "type": "module",
5
+ "description": "Multi-master CRDT replication for Quereus - automatic sync with conflict resolution",
6
+ "keywords": [
7
+ "quereus",
8
+ "sql",
9
+ "database",
10
+ "sync",
11
+ "crdt",
12
+ "replication",
13
+ "offline-first",
14
+ "multi-master",
15
+ "conflict-resolution",
16
+ "plugin"
17
+ ],
18
+ "publisher": "Got Choices Foundation",
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/gotchoices/quereus.git",
22
+ "directory": "packages/quereus-sync"
23
+ },
24
+ "license": "MIT",
25
+ "main": "dist/src/index.js",
26
+ "types": "./dist/src/index.d.ts",
27
+ "files": [
28
+ "dist",
29
+ "!**/*.tsbuildinfo"
30
+ ],
31
+ "exports": {
32
+ ".": {
33
+ "types": "./dist/src/index.d.ts",
34
+ "import": "./dist/src/index.js"
35
+ }
36
+ },
37
+ "scripts": {
38
+ "clean": "rimraf dist",
39
+ "build": "tsc",
40
+ "typecheck": "tsc --noEmit",
41
+ "test": "cd ../.. && node --import ./packages/quereus-sync/register.mjs node_modules/mocha/bin/mocha.js \"packages/quereus-sync/test/**/*.spec.ts\" --colors",
42
+ "test:single": "cd ../.. && node --import ./packages/quereus-sync/register.mjs node_modules/mocha/bin/mocha.js --bail"
43
+ },
44
+ "peerDependencies": {
45
+ "@quereus/quereus": "^0.8.8",
46
+ "@quereus/store": "^0.3.9"
47
+ },
48
+ "devDependencies": {
49
+ "@quereus/quereus": "*",
50
+ "@quereus/store": "*",
51
+ "@types/mocha": "^10.0.10",
52
+ "@types/node": "^22.15.29",
53
+ "chai": "^5.2.0",
54
+ "mocha": "^11.5.0",
55
+ "rimraf": "^6.1.2",
56
+ "ts-node": "^10.9.2",
57
+ "typescript": "^5.8.3"
58
+ },
59
+ "quereus": {
60
+ "provides": {
61
+ "sync": true
62
+ }
63
+ }
64
+ }