@perspective-dev/client 5.3.1 → 5.5.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.
@@ -1 +1,7 @@
1
- export {};
1
+ /**
2
+ * Provided by `@perspective-dev/esbuild-plugin/worker`, which replaces this
3
+ * module with a stub when it is imported (rather than built as an entry
4
+ * point). Constructs a `Worker` from the bundled source, or falls back to
5
+ * running it on the main thread and returns a `MessagePort` to it.
6
+ */
7
+ export declare function initialize(opts?: WorkerOptions): Promise<Worker | MessagePort>;
@@ -74,7 +74,7 @@ export declare function init_client(wasm: PerspectiveWasm, disable_stage_0?: boo
74
74
  */
75
75
  export declare function getCompiledClientWasm(): Promise<WebAssembly.Module>;
76
76
  export declare function websocket(url: string | URL): Promise<psp.Client>;
77
- export declare function worker(worker?: Promise<SharedWorker | ServiceWorker | Worker | MessagePort>): Promise<psp.Client>;
77
+ export declare function worker(worker?: Promise<SharedWorker | Worker | MessagePort>): Promise<psp.Client>;
78
78
  declare const _default: {
79
79
  websocket: typeof websocket;
80
80
  worker: typeof worker;