@remix_labs/machine-starter 2.1896.0-dev → 2.1917.0-dev
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/groovebox_build.js +1 -1
- package/machine-wasm.worker.js +1 -1
- package/node.js +3 -3
- package/package.json +2 -2
package/node.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Process from "process";
|
|
2
|
-
|
|
2
|
+
globalThis.Process = Process;
|
|
3
3
|
|
|
4
4
|
// NB: The only way I've made this work in node+webpack is if:
|
|
5
5
|
//
|
|
@@ -19,13 +19,13 @@ import { Worker } from "worker_threads";
|
|
|
19
19
|
function GetMachineWASMWorker() {
|
|
20
20
|
return new Worker(new URL("./machine-wasm.node.mjs", import.meta.url));
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
globalThis.GetMachineWASMWorker = GetMachineWASMWorker;
|
|
23
23
|
|
|
24
24
|
// Can't just `export *` because we need hub-client below in common.js
|
|
25
25
|
import * as Hub from "@remix_labs/hub-client";
|
|
26
26
|
export { Hub };
|
|
27
27
|
|
|
28
28
|
import { fileURLToPath } from 'url';
|
|
29
|
-
|
|
29
|
+
globalThis.__filename = fileURLToPath(import.meta.url);
|
|
30
30
|
|
|
31
31
|
export * from "./common.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix_labs/machine-starter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1917.0-dev",
|
|
4
4
|
"description": "start the groove",
|
|
5
5
|
"main": "node.js",
|
|
6
6
|
"browser": "index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"author": "Remixlabs staff",
|
|
12
12
|
"license": "ISC",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@remix_labs/hub-client": "2.
|
|
14
|
+
"@remix_labs/hub-client": "2.1917.0-dev",
|
|
15
15
|
"nanoid": "^3.1.12",
|
|
16
16
|
"web-worker": "^1.2.0"
|
|
17
17
|
},
|