@remix_labs/machine-starter 2.2053.0-dev → 2.2055.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 -4
- package/groovebox_build.js +1 -1
- package/machine-wasm.worker.js +1 -1
- package/package.json +2 -2
package/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GROOVEBOX_BUILD } from "./groovebox_build.js";
|
|
2
|
-
import {
|
|
2
|
+
import { mixcoreFromConfig } from "./mixcore.js";
|
|
3
3
|
import { nanoid } from "nanoid";
|
|
4
4
|
|
|
5
5
|
let workers = {};
|
|
@@ -70,10 +70,12 @@ async function StartWASM2(hub, config) {
|
|
|
70
70
|
let localFFIkind = {};
|
|
71
71
|
let localFFIfuns = {};
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
if (mixcoreConfig && mixcoreConfig.kind == "mixcore") {
|
|
74
|
+
// this is the only mixcore kind that has to be realized in the starter,
|
|
75
|
+
// because it cannot be sent to the worker
|
|
76
|
+
let mixcore = await mixcoreFromConfig(mixcoreConfig);
|
|
75
77
|
localFFIs = {...localFFIs, ...mixcore.localFFIs()};
|
|
76
|
-
mixcoreConfig = null;
|
|
78
|
+
mixcoreConfig = null; // this gets passed on to the worker
|
|
77
79
|
}
|
|
78
80
|
if (localFFIs) {
|
|
79
81
|
for (const [k, v] of Object.entries(localFFIs)) {
|
package/groovebox_build.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var GROOVEBOX_BUILD = "
|
|
1
|
+
var GROOVEBOX_BUILD = "2200";
|
|
2
2
|
export { GROOVEBOX_BUILD }
|