(module)
| 66 | } |
| 67 | |
| 68 | async function init(module) { |
| 69 | const imports = {}; |
| 70 | imports.wbg = {}; |
| 71 | imports.wbg.__wbindgen_throw = function (arg0, arg1) { |
| 72 | throw new Error(getStringFromWasm(arg0, arg1)); |
| 73 | }; |
| 74 | |
| 75 | const compiled = await WebAssembly.compile(module); |
| 76 | wasm = await WebAssembly.instantiate(compiled, imports); |
| 77 | return wasm; |
| 78 | } |
| 79 | |
| 80 | export default init; |
no test coverage detected