@loro-dev/flock 4.2.0 → 4.4.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": "4.2.0",
3
+ "version": "4.4.0",
4
4
  "description": "TypeScript bindings for the Flock CRDT with mergeable export/import utilities.",
5
5
  "exports": {
6
6
  ".": {
@@ -2,6 +2,14 @@ import type * as MoonBit from "./moonbit.d.ts";
2
2
 
3
3
  export function _int64_helper_for_test(): any;
4
4
 
5
+ export function is_in_txn_ffi(self: any): MoonBit.Bool;
6
+
7
+ export function txn_rollback_ffi(self: any): MoonBit.Unit;
8
+
9
+ export function txn_commit_ffi(self: any): MoonBit.Unit;
10
+
11
+ export function txn_begin_ffi(self: any): MoonBit.Unit;
12
+
5
13
  export function subscribe_ffi(self: any,
6
14
  listener: any): any;
7
15