@remix_labs/machine-starter 2.3364.0-dev → 2.3366.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 CHANGED
@@ -192,8 +192,12 @@ async function StartWASM2(hub, config) {
192
192
  }
193
193
 
194
194
  async function mixcoreStarterFFIs(mixcore) {
195
- let names = await mixcore.ffiNames();
196
- return Object.fromEntries(names.map(name => [name, {isRaw: true, run}]));
195
+ let res = {};
196
+ for (let name of await mixcore.ffiNames()) {
197
+ let run = (conn, argsBuf) => mixcore.ffiDispatch(conn.call_id, name, argsBuf);
198
+ res[name] = {isRaw: true, run}
199
+ }
200
+ return res;
197
201
  }
198
202
 
199
203
  async function ffi_vm_start(conn, args) {
@@ -1,2 +1,2 @@
1
- var GROOVEBOX_BUILD = "3364";
1
+ var GROOVEBOX_BUILD = "3366";
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.3364.0-dev",
3
+ "version": "2.3366.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.3364.0-dev",
14
+ "@remix_labs/hub-client": "2.3366.0-dev",
15
15
  "nanoid": "^5.0.2",
16
16
  "web-worker": "^1.2.0"
17
17
  },