@loro-dev/flock 2.1.0 → 2.1.2
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.cjs +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/_moon_flock.d.ts +4 -4
- package/src/_moon_flock.ts +306 -281
- package/src/index.ts +3 -4
package/package.json
CHANGED
package/src/_moon_flock.d.ts
CHANGED
|
@@ -18,7 +18,7 @@ export function get_mvr_ffi(self: any,
|
|
|
18
18
|
|
|
19
19
|
export function put_mvr_ffi(self: any,
|
|
20
20
|
key: any,
|
|
21
|
-
value:
|
|
21
|
+
value: MoonBit.String,
|
|
22
22
|
now: any): MoonBit.Unit;
|
|
23
23
|
|
|
24
24
|
export function digest_hex_ffi(self: any): any;
|
|
@@ -35,13 +35,13 @@ export function delete_ffi(self: any,
|
|
|
35
35
|
|
|
36
36
|
export function put_with_meta_ffi(self: any,
|
|
37
37
|
key: any,
|
|
38
|
-
value:
|
|
38
|
+
value: MoonBit.String,
|
|
39
39
|
metadata: any,
|
|
40
40
|
now: any): MoonBit.Unit;
|
|
41
41
|
|
|
42
42
|
export function put_json_ffi(self: any,
|
|
43
43
|
key: any,
|
|
44
|
-
value:
|
|
44
|
+
value: MoonBit.String,
|
|
45
45
|
now: any): MoonBit.Unit;
|
|
46
46
|
|
|
47
47
|
export function check_invariants_ffi(self: any): MoonBit.Unit;
|
|
@@ -63,7 +63,7 @@ export function get_ffi(self: any,
|
|
|
63
63
|
|
|
64
64
|
export function put_ffi(self: any,
|
|
65
65
|
key: any,
|
|
66
|
-
value:
|
|
66
|
+
value: MoonBit.String,
|
|
67
67
|
now: MoonBit.Double): MoonBit.Unit;
|
|
68
68
|
|
|
69
69
|
export function newFlock(peer_id: MoonBit.Bytes): any;
|