@remix_labs/machine-starter 2.2815.0-dev → 2.2817.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 +4 -2
- package/groovebox_build.js +1 -1
- package/package.json +2 -2
package/common.js
CHANGED
|
@@ -66,8 +66,8 @@ async function StartWASM2(hub, config) {
|
|
|
66
66
|
let localFFIs = config.localFFIs || {};
|
|
67
67
|
let mixcore = await getMixcore(config.mixcore);
|
|
68
68
|
if (mixcore) {
|
|
69
|
+
Object.assign(localFFIs, await mixcoreLocalFFIs(mixcore));
|
|
69
70
|
delete config.mixcore;
|
|
70
|
-
await assignMixcoreLocalFFIs(localFFIs, mixcore);
|
|
71
71
|
}
|
|
72
72
|
let localFFIkind = {};
|
|
73
73
|
let localFFIfuns = {};
|
|
@@ -358,14 +358,16 @@ async function getMixcore(config) {
|
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
360
|
|
|
361
|
-
async function
|
|
361
|
+
async function mixcoreLocalFFIs(mixcore) {
|
|
362
362
|
let names = await mixcore.ffiNames();
|
|
363
|
+
let localFFIs = {};
|
|
363
364
|
for (let name of names) {
|
|
364
365
|
localFFIs[name] = {
|
|
365
366
|
isRaw: true,
|
|
366
367
|
run: (conn, argsBuf) => mixcore.ffiDispatch(conn.call_id, name, argsBuf),
|
|
367
368
|
};
|
|
368
369
|
}
|
|
370
|
+
return localFFIs;
|
|
369
371
|
}
|
|
370
372
|
|
|
371
373
|
// use worker.terminate() to shut a worker down!
|
package/groovebox_build.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
var GROOVEBOX_BUILD = "
|
|
1
|
+
var GROOVEBOX_BUILD = "3093";
|
|
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.2817.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.2817.0-dev",
|
|
15
15
|
"nanoid": "^5.0.2",
|
|
16
16
|
"web-worker": "^1.2.0"
|
|
17
17
|
},
|