@loro-dev/flock 2.1.2 → 3.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": "2.1.2",
3
+ "version": "3.0.0",
4
4
  "description": "TypeScript bindings for the Flock CRDT with mergeable export/import utilities.",
5
5
  "exports": {
6
6
  ".": {
@@ -66,10 +66,10 @@ export function put_ffi(self: any,
66
66
  value: MoonBit.String,
67
67
  now: MoonBit.Double): MoonBit.Unit;
68
68
 
69
- export function newFlock(peer_id: MoonBit.Bytes): any;
69
+ export function newFlock(peer_id: MoonBit.String): any;
70
70
 
71
71
  export function from_json(json: any,
72
- peer_id: MoonBit.Bytes): MoonBit.Result<any, any>;
72
+ peer_id: MoonBit.String): MoonBit.Result<any, any>;
73
73
 
74
74
  export function merge(self: any,
75
75
  other: any): MoonBit.Unit;
@@ -85,4 +85,4 @@ export function export_json(self: any,
85
85
  export function version(self: any): any;
86
86
 
87
87
  export function set_peer_id(self: any,
88
- peer_id: MoonBit.Bytes): MoonBit.Unit;
88
+ peer_id: MoonBit.String): MoonBit.Unit;