@remix_labs/machine-starter 2.3169.0 → 2.3171.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/common.js +6 -1
- package/groovebox_build.js +1 -1
- package/package.json +2 -2
package/common.js
CHANGED
|
@@ -2,6 +2,8 @@ import { GROOVEBOX_BUILD } from "./groovebox_build.js";
|
|
|
2
2
|
import { nanoid } from "nanoid";
|
|
3
3
|
import { MixcoreTauri, filterFFINames } from "./mixcore.lib.mjs";
|
|
4
4
|
|
|
5
|
+
let last_hub = nuLL;
|
|
6
|
+
|
|
5
7
|
let workers = {};
|
|
6
8
|
let children = {};
|
|
7
9
|
let ffiLoops = {};
|
|
@@ -76,7 +78,9 @@ globalThis.MixSetMask = (m => {
|
|
|
76
78
|
worker.postMessage({ "_rmx_type": "msg_vm_logMask",
|
|
77
79
|
"mask": m
|
|
78
80
|
})
|
|
79
|
-
}
|
|
81
|
+
};
|
|
82
|
+
if (last_hub)
|
|
83
|
+
last_hub.logMask(m);
|
|
80
84
|
});
|
|
81
85
|
|
|
82
86
|
function StartWASM(hub, baseURL, org, workspace, vmID, user, token, noOutputViaMQTT) {
|
|
@@ -92,6 +96,7 @@ function StartWASM(hub, baseURL, org, workspace, vmID, user, token, noOutputViaM
|
|
|
92
96
|
|
|
93
97
|
async function StartWASM2(hub, config) {
|
|
94
98
|
console.log("[groovebox-starter] start VM", GROOVEBOX_BUILD, config.vmID, config.mixcore);
|
|
99
|
+
last_hub = hub;
|
|
95
100
|
let channel = await hub.newChannel();
|
|
96
101
|
// injected by either index.js or node.js
|
|
97
102
|
let worker = globalThis.GetMachineWASMWorker();
|
package/groovebox_build.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var GROOVEBOX_BUILD = "
|
|
1
|
+
var GROOVEBOX_BUILD = "3532";
|
|
2
2
|
export { GROOVEBOX_BUILD }
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remix_labs/machine-starter",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.3171.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.3171.0-dev",
|
|
15
15
|
"nanoid": "^5.0.2",
|
|
16
16
|
"web-worker": "^1.2.0"
|
|
17
17
|
},
|