@ferscloud/fers-calculation 0.1.72 → 0.1.74
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/fers_calculations.js
CHANGED
|
@@ -133,5 +133,5 @@ let WASM_VECTOR_LEN = 0;
|
|
|
133
133
|
const wasmPath = `${__dirname}/fers_calculations_bg.wasm`;
|
|
134
134
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
135
135
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
136
|
-
|
|
136
|
+
let wasm = new WebAssembly.Instance(wasmModule, __wbg_get_imports()).exports;
|
|
137
137
|
wasm.__wbindgen_start();
|
|
Binary file
|