@loro-dev/flock 3.1.0 → 4.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@loro-dev/flock",
3
- "version": "3.1.0",
3
+ "version": "4.0.0",
4
4
  "description": "TypeScript bindings for the Flock CRDT with mergeable export/import utilities.",
5
5
  "exports": {
6
6
  ".": {
@@ -48,7 +48,7 @@
48
48
  "dev": "tsdown --watch",
49
49
  "test": "vitest run",
50
50
  "typecheck": "tsc -p tsconfig.json --noEmit",
51
- "check": "pnpm typecheck && pnpm test",
51
+ "check": "pnpm build && pnpm typecheck && pnpm test",
52
52
  "coverage": "vitest run --coverage"
53
53
  }
54
54
  }
@@ -51,6 +51,9 @@ export function check_consistency_ffi(a: any,
51
51
 
52
52
  export function version_ffi(self: any): any;
53
53
 
54
+ export function import_json_str_ffi(self: any,
55
+ json_str: any): any;
56
+
54
57
  export function import_json_ffi(self: any,
55
58
  json: any): any;
56
59
 
@@ -59,6 +62,9 @@ export function export_json_ffi(self: any,
59
62
  prune_tombstones_before: any,
60
63
  peer_id: any): any;
61
64
 
65
+ export function get_entry_ffi(self: any,
66
+ key: any): any;
67
+
62
68
  export function get_ffi(self: any,
63
69
  key: any): any;
64
70