@simplito/privmx-webendpoint 2.6.0 → 2.6.1

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.
@@ -30,6 +30,7 @@ export declare class StoreApiNative extends BaseNative {
30
30
  readFromFile(ptr: number, args: [number, number]): Promise<Uint8Array>;
31
31
  seekInFile(ptr: number, args: [number, number]): Promise<void>;
32
32
  closeFile(ptr: number, args: [number]): Promise<string>;
33
+ syncFile(ptr: number, args: [number]): Promise<void>;
33
34
  subscribeFor(ptr: number, args: [string[]]): Promise<string[]>;
34
35
  unsubscribeFrom(ptr: number, args: [string[]]): Promise<void>;
35
36
  buildSubscriptionQuery(ptr: number, args: [StoreEventType, StoreEventSelectorType, string]): Promise<string>;
@@ -71,6 +71,9 @@ class StoreApiNative extends BaseNative_1.BaseNative {
71
71
  async closeFile(ptr, args) {
72
72
  return this.runAsync((taskId) => this.api.lib.StoreApi_closeFile(taskId, ptr, args));
73
73
  }
74
+ async syncFile(ptr, args) {
75
+ return this.runAsync((taskId) => this.api.lib.StoreApi_syncFile(taskId, ptr, args));
76
+ }
74
77
  async subscribeFor(ptr, args) {
75
78
  return this.runAsync((taskId) => this.api.lib.StoreApi_subscribeFor(taskId, ptr, args));
76
79
  }