@scntix/animate 0.0.1 → 0.0.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.
- package/_runtime/bundler/scntix_animate_wasm.js +1 -1
- package/_runtime/node/scntix_animate_wasm.cjs +1 -1
- package/_runtime/node/scntix_animate_wasm_bg.wasm +0 -0
- package/_runtime/web/scntix_animate_wasm.js +1 -1
- package/_runtime/web/scntix_animate_wasm_bg.wasm +0 -0
- package/package.json +1 -1
- /package/_runtime/{wasm → bundler}/scntix_animate_wasm_bg.wasm +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/* @ts-self-types="../types/bundler.d.ts" */
|
|
2
2
|
|
|
3
|
-
import * as wasm from "
|
|
3
|
+
import * as wasm from "./scntix_animate_wasm_bg.wasm";
|
|
4
4
|
import { __wbg_set_wasm } from "./scntix_animate_wasm_bg.js";
|
|
5
5
|
__wbg_set_wasm(wasm);
|
|
6
6
|
wasm.__wbindgen_start();
|
|
@@ -5915,7 +5915,7 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
|
|
5915
5915
|
|
|
5916
5916
|
let WASM_VECTOR_LEN = 0;
|
|
5917
5917
|
|
|
5918
|
-
const wasmPath =
|
|
5918
|
+
const wasmPath = `${__dirname}/scntix_animate_wasm_bg.wasm`;
|
|
5919
5919
|
const wasmBytes = require('fs').readFileSync(wasmPath);
|
|
5920
5920
|
const wasmModule = new WebAssembly.Module(wasmBytes);
|
|
5921
5921
|
let wasm = new WebAssembly.Instance(wasmModule, __wbg_get_imports()).exports;
|
|
Binary file
|
|
@@ -5934,7 +5934,7 @@ async function __wbg_init(module_or_path) {
|
|
|
5934
5934
|
}
|
|
5935
5935
|
|
|
5936
5936
|
if (module_or_path === undefined) {
|
|
5937
|
-
module_or_path = new URL('
|
|
5937
|
+
module_or_path = new URL('scntix_animate_wasm_bg.wasm', import.meta.url);
|
|
5938
5938
|
}
|
|
5939
5939
|
const imports = __wbg_get_imports();
|
|
5940
5940
|
|
|
Binary file
|
package/package.json
CHANGED
|
File without changes
|