@napi-rs/wasm-runtime
Advanced tools
+2
-2
@@ -155,3 +155,2 @@ // @ts-check | ||
| const ret = fn.apply(fs, payload) | ||
| Atomics.store(sab, 0, 0) | ||
| const t = getType(ret) | ||
@@ -162,5 +161,5 @@ Atomics.store(sab, 1, t) | ||
| new Uint8Array(sab.buffer).set(v, 16) | ||
| Atomics.store(sab, 0, 0) // success | ||
| } catch (/** @type {any} */ err) { | ||
| Atomics.store(sab, 0, 1) | ||
| const t = getType(err) | ||
@@ -171,2 +170,3 @@ Atomics.store(sab, 1, t) | ||
| new Uint8Array(sab.buffer).set(v, 16) | ||
| Atomics.store(sab, 0, 1) // error | ||
| } finally { | ||
@@ -173,0 +173,0 @@ Atomics.notify(sab, 0) |
+2
-2
| { | ||
| "name": "@napi-rs/wasm-runtime", | ||
| "version": "0.2.10", | ||
| "version": "0.2.11", | ||
| "type": "module", | ||
@@ -60,3 +60,3 @@ "description": "Runtime and polyfill for wasm targets", | ||
| }, | ||
| "gitHead": "c8c073a348308281c9131f2695f92e358ac321b7" | ||
| "gitHead": "984d166275f29e24e4bcf9d6189fe9bbe2e96bfe" | ||
| } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
8021938
-0.05%