scanbot-web-sdk 2.7.0-beta1 → 2.7.0-beta2

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.
@@ -0,0 +1,12 @@
1
+ export class WorkerBridge {
2
+ constructor(worker: Worker);
3
+ post(command: string, args: any[], copyArgs: boolean): Promise<any>;
4
+
5
+ // Create a copy and pass it to the worker
6
+ postByCopyingArgs(command: string, args: any[]): Promise<any>;
7
+
8
+ // Directly transfer the args to the worker
9
+ postByTransferringArgs(command: string, args: any[]): Promise<any>;
10
+
11
+ destroy(): void;
12
+ }
@@ -1,4 +1,4 @@
1
- import { WorkerBridge as CoreWorkerBridge } from "../../lib/core/wrappers/websdk/src/worker-bridge";
1
+ import { WorkerBridge as CoreWorkerBridge } from "../core/worker-bridge";
2
2
  export declare class WorkerBridge {
3
3
  static ASM_JS: string;
4
4
  core: CoreWorkerBridge;