@takumi-rs/wasm 0.49.0 → 0.50.0

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/bundlers/next.js CHANGED
@@ -1,3 +1,7 @@
1
1
  import module from "../pkg/takumi_wasm_bg.wasm?module";
2
2
 
3
+ // typeof module says its Module { } but instanceof WebAssembly.Module is false
4
+ // Have to force override the prototype to be WebAssembly.Module
5
+ Object.setPrototypeOf(module, WebAssembly.Module.prototype);
6
+
3
7
  export default module;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@takumi-rs/wasm",
3
- "version": "0.49.0",
3
+ "version": "0.50.0",
4
4
  "keywords": [
5
5
  "image",
6
6
  "rendering",
Binary file