@libreaudio/la-call 0.0.1-k → 0.0.1-m

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -264,7 +264,7 @@ const createWasmProcessor = (audioContext) => {
264
264
  reject(event.data.error);
265
265
  }
266
266
  };
267
- processor.port.postMessage({ type: 'init', wasm: mapiWasm, js: mapiJs });
267
+ processor.port.postMessage({ type: 'init', wasm: mapiWasmBlob, js: mapiWasmJs });
268
268
  })
269
269
  .catch(reject);
270
270
  return;
@@ -274,7 +274,7 @@ const createWasmProcessor = (audioContext) => {
274
274
  console.log("Using Script Processor");
275
275
 
276
276
  // execute JS to expose the emscripten load module function
277
- const jsfn_bbba = new Function(mapiJs + 'return mapi_bbba;');
277
+ const jsfn_bbba = new Function(mapiWasmJs + 'return mapi_bbba;');
278
278
  const create_module_bbba = jsfn_bbba.call();
279
279
 
280
280
  const bufferSize = 4096;
@@ -285,7 +285,7 @@ const createWasmProcessor = (audioContext) => {
285
285
  // create the wasm module and instance
286
286
  create_module_bbba({
287
287
  instantiateWasm: (imports, successCallback) => {
288
- WebAssembly.instantiate(mapiWasm, imports)
288
+ WebAssembly.instantiate(mapiWasmBlob, imports)
289
289
  .then(output => {
290
290
  successCallback(output.instance, output.module);
291
291
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@libreaudio/la-call",
3
- "version": "0.0.1k",
3
+ "version": "0.0.1m",
4
4
  "description": "Voice isolation and optimization AudioWorklet/WASM module for web conferencing",
5
5
  "license": "GPL-3.0+",
6
6
  "main": "dist/index.js",