libav-wasm 0.5.1 → 0.5.2

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/build/worker.js +1 -1
  2. package/package.json +1 -1
package/build/worker.js CHANGED
@@ -1540,7 +1540,7 @@ const va = Ke, pa = (f, d) => va({
1540
1540
  data: $.data
1541
1541
  })), K.flush();
1542
1542
  const F = await C;
1543
- return H.drawImage(F, 0, 0, 200 * 16 / 9, 200), te.convertToBlob().then((R) => R.arrayBuffer());
1543
+ return H.drawImage(F, 0, 0, 200 * 16 / 9, 200), F.close(), te.convertToBlob().then((R) => R.arrayBuffer());
1544
1544
  }
1545
1545
  };
1546
1546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "libav-wasm",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "main": "build/index.js",
5
5
  "files": [
6
6
  "build"