@remix_labs/machine-starter 2.2043.0 → 2.2048.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
@@ -62,10 +62,12 @@ function StartWASM2(hub, config) {
62
62
  // injected by either index.js or node.js
63
63
  let worker = globalThis.GetMachineWASMWorker();
64
64
  workers[config.vmID] = worker;
65
+ let mixcoreConfig = config.mixcore;
66
+ let localFFIs = config.localFFIs;
65
67
  let localFFIkind = {};
66
68
  let localFFIfuns = {};
67
- if (config.localFFIs) {
68
- for (const [k, v] of Object.entries(config.localFFIs)) {
69
+ if (localFFIs) {
70
+ for (const [k, v] of Object.entries(localFFIs)) {
69
71
  localFFIfuns[k] = {...v};
70
72
  if (v.isRaw && (v.canFail || v.useJsonDecoder)) {
71
73
  console.error("A raw, local FFI must neither be failing nor use the JSON decoder: " + k);
@@ -96,9 +98,10 @@ function StartWASM2(hub, config) {
96
98
  "allowInsecureHttp": globalThis.GROOVEBOX_ALLOW_INSECURE_HTTP,
97
99
  "interceptFFI": config.interceptFFI,
98
100
  "interceptDynloadFFI": config.interceptDynloadFFI,
101
+ "mixcore": mixcoreConfig,
99
102
  };
100
103
  worker.postMessage(config_msg, [ channel.port ]);
101
- if (config.localFFIs)
104
+ if (localFFIs)
102
105
  setupLocalFFIs(hub, config, localFFIfuns); // don't await!
103
106
  return worker;
104
107
  })
@@ -1,2 +1,2 @@
1
- var GROOVEBOX_BUILD = "2185";
1
+ var GROOVEBOX_BUILD = "2192";
2
2
  export { GROOVEBOX_BUILD }