@remix_labs/machine-starter 1.1884.0-dev → 1.1888.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.
@@ -1,2 +1,2 @@
1
- var GROOVEBOX_BUILD = "1884";
1
+ var GROOVEBOX_BUILD = "1888";
2
2
  export { GROOVEBOX_BUILD }
package/index.js CHANGED
@@ -38,23 +38,20 @@ function StartWASM2(hub, config) {
38
38
  return hub.newChannel().then(channel => {
39
39
  let worker;
40
40
  if (globalThis.ThisIsNode) {
41
- console.log("loading node bundle")
42
- //bundle = new URL("file:///Users/verm/remix/harmony/components/groovebox/machine-wasm/dist/node-bundle.js");
43
41
  worker = globalThis.getMachineWasmWorker();
44
42
  } else {
45
- console.log("non-node bundle");
46
43
  let bundle;
47
44
  if (globalThis.GROOVEBOX_URL_PREFIX) {
48
45
  // FIXME: Stopgap solution until we figure out a way to bundle groovebox correctly
49
46
  // already fire off the download of the wasm code:
50
47
  let code_url = new URL(`${globalThis.GROOVEBOX_URL_PREFIX}/machine-wasm-code.wasm`, window.location.href);
51
48
  fetch(code_url, {cache:"default"}).then(resp => { return resp.arrayBuffer() });
52
- bundle = new URL(`${globalThis.GROOVEBOX_URL_PREFIX}/machine-wasm.js`, window.location.href);
49
+ bundle = new URL(`${globalThis.GROOVEBOX_URL_PREFIX}/machine-wasm-core.js`, window.location.href);
53
50
  } else {
54
51
  // already fire off the download of the wasm code:
55
52
  let code_url = new URL("/g/machine-wasm-code.wasm", window.location.href);
56
53
  fetch(code_url, {cache:"default"}).then(resp => { return resp.arrayBuffer() });
57
- bundle = new URL("/g/machine-wasm.js", window.location.href);
54
+ bundle = new URL("/g/machine-wasm-core.js", window.location.href);
58
55
  }
59
56
  worker = new Worker(bundle);
60
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remix_labs/machine-starter",
3
- "version": "1.1884.0-dev",
3
+ "version": "1.1888.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": "1.1884.0-dev",
14
+ "@remix_labs/hub-client": "1.1888.0-dev",
15
15
  "nanoid": "^3.1.12",
16
16
  "web-worker": "^1.2.0"
17
17
  },