@pi-oxide/extension-js 0.7.0 → 0.8.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.
package/extension_js.d.ts CHANGED
@@ -332,6 +332,8 @@ export class ExtensionSession {
332
332
  stopWith(): void;
333
333
  }
334
334
 
335
+ export function clearVfsWriteCache(): void;
336
+
335
337
  export function collect_document(options: CollectOptions): TreeSnapshot;
336
338
 
337
339
  export function collect_element(root: Element, options: CollectOptions): TreeSnapshot;
@@ -355,6 +357,8 @@ export function registerSharedDispatch(callback: Function): void;
355
357
  */
356
358
  export function setLogLevel(level: number): void;
357
359
 
360
+ export function takeCachedVfsWriteBase64(path: string): string | undefined;
361
+
358
362
  export type InitInput = RequestInfo | URL | Response | BufferSource | WebAssembly.Module;
359
363
 
360
364
  export interface InitOutput {
@@ -389,12 +393,14 @@ export interface InitOutput {
389
393
  readonly extensionsession_setAborted: (a: number, b: number) => void;
390
394
  readonly extensionsession_set_fuel_limit: (a: number, b: number) => void;
391
395
  readonly extensionsession_stopWith: (a: number) => void;
396
+ readonly clearVfsWriteCache: () => void;
392
397
  readonly freezeManifest: () => [number, number];
393
398
  readonly importManifestEntries: (a: any) => [number, number];
394
399
  readonly main: () => void;
395
400
  readonly registerJsCall: (a: any, b: any) => [number, number];
396
401
  readonly registerJsCallBatch: (a: any) => [number, number];
397
402
  readonly registerSharedDispatch: (a: any) => [number, number];
403
+ readonly takeCachedVfsWriteBase64: (a: number, b: number) => [number, number];
398
404
  readonly setLogLevel: (a: number) => void;
399
405
  readonly collect_document: (a: any) => any;
400
406
  readonly collect_element: (a: any, b: any) => any;