emscripten-wasm-loader
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -0,1 +1,10 @@ | ||
## [3.0.3](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.2...v3.0.3) (2019-07-19) | ||
### Bug Fixes | ||
* **getmoduleloader:** raise exception when init timeout occurs ([6169bb3](https://github.com/kwonoj/emscripten-wasm-loader/commit/6169bb3)) | ||
## [3.0.2](https://github.com/kwonoj/emscripten-wasm-loader/compare/v3.0.1...v3.0.2) (2019-06-13) | ||
@@ -2,0 +11,0 @@ |
@@ -25,3 +25,7 @@ "use strict"; | ||
const asmModule = runtimeModule(constructedModule); | ||
await asmModule.initializeRuntime(timeout); | ||
const result = await asmModule.initializeRuntime(timeout); | ||
if (!result) { | ||
logger_1.log(`loadModule: failed to initialize runtime in time`); | ||
throw new Error(`Timeout to initialize runtime`); | ||
} | ||
logger_1.log(`loadModule: initialized wasm binary Runtime`); | ||
@@ -28,0 +32,0 @@ return factoryLoader(asmModule); |
@@ -23,3 +23,7 @@ import { constructModule } from './constructModule'; | ||
const asmModule = runtimeModule(constructedModule); | ||
await asmModule.initializeRuntime(timeout); | ||
const result = await asmModule.initializeRuntime(timeout); | ||
if (!result) { | ||
log(`loadModule: failed to initialize runtime in time`); | ||
throw new Error(`Timeout to initialize runtime`); | ||
} | ||
log(`loadModule: initialized wasm binary Runtime`); | ||
@@ -26,0 +30,0 @@ return factoryLoader(asmModule); |
{ | ||
"name": "emscripten-wasm-loader", | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"description": "Common interface to load wasm module into isomorphic environment", | ||
@@ -5,0 +5,0 @@ "main": "./dist/cjs/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
249739
100
1238