@steerprotocol/app-loader 0.1.0 → 0.1.1
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/lib/index.js +1 -1
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -289,7 +289,7 @@ const loadWasm = (input, imports = {}) => __awaiter(void 0, void 0, void 0, func
|
|
|
289
289
|
return yield globalThis.WebAssembly.compileStreaming(globalThis.fetch(input));
|
|
290
290
|
}
|
|
291
291
|
catch (_a) {
|
|
292
|
-
return globalThis.WebAssembly.compile(yield (yield Promise.resolve().then(() => __importStar(require('
|
|
292
|
+
return globalThis.WebAssembly.compile(yield (yield Promise.resolve().then(() => __importStar(require('fs/promises')))).readFile(input));
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
else {
|