mirror of
https://github.com/fluencelabs/fluence-js.git
synced 2025-06-14 00:21:20 +00:00
fix(deps): Use published threads package (#369)
Use published threads package
This commit is contained in:
@ -19,7 +19,10 @@ import fs from "fs";
|
||||
import { createRequire } from "module";
|
||||
import path from "path";
|
||||
|
||||
import { Worker, type Worker as WorkerImplementation } from "threads/master";
|
||||
import {
|
||||
Worker,
|
||||
type Worker as WorkerImplementation,
|
||||
} from "@fluencelabs/threads/master";
|
||||
|
||||
import { LazyLoader } from "../interfaces.js";
|
||||
|
||||
|
@ -20,7 +20,7 @@ import {
|
||||
RunParameters,
|
||||
} from "@fluencelabs/avm";
|
||||
import { JSONObject, JSONValue, JSONArray } from "@fluencelabs/interfaces";
|
||||
import type { Worker as WorkerImplementation } from "threads/master";
|
||||
import type { Worker as WorkerImplementation } from "@fluencelabs/threads/master";
|
||||
|
||||
import { IStartable, CallParameters } from "../util/commonTypes.js";
|
||||
|
||||
|
@ -14,7 +14,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Worker, type Worker as WorkerImplementation } from "threads/master";
|
||||
import {
|
||||
Worker,
|
||||
type Worker as WorkerImplementation,
|
||||
} from "@fluencelabs/threads/master";
|
||||
|
||||
import { LazyLoader } from "../interfaces.js";
|
||||
|
||||
|
@ -22,7 +22,7 @@ import type {
|
||||
} from "@fluencelabs/marine-js/dist/types";
|
||||
import { LogFunction, logLevelToEnv } from "@fluencelabs/marine-js/dist/types";
|
||||
import type { MarineBackgroundInterface } from "@fluencelabs/marine-worker";
|
||||
import { ModuleThread, Thread, spawn } from "threads/master";
|
||||
import { ModuleThread, Thread, spawn } from "@fluencelabs/threads/master";
|
||||
|
||||
import { MarineLogger, marineLogger } from "../../util/logger.js";
|
||||
import { IMarineHost, IWasmLoader, IWorkerLoader } from "../interfaces.js";
|
||||
|
Reference in New Issue
Block a user