@php-wasm/universal 2.0.1 → 2.0.3
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/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.js +5 -4
- package/index.js.map +1 -1
- package/package.json +10 -7
package/index.js
CHANGED
|
@@ -3294,10 +3294,11 @@ const throwTransferHandler = transferHandlers.get(
|
|
|
3294
3294
|
},
|
|
3295
3295
|
deserialize: (t) => {
|
|
3296
3296
|
if (t.isError) {
|
|
3297
|
-
const e = deserializeError(t.value);
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3297
|
+
const e = deserializeError(t.value), r = new Error("Comlink method call failed");
|
|
3298
|
+
let s = e;
|
|
3299
|
+
for (; s.cause; )
|
|
3300
|
+
s = s.cause;
|
|
3301
|
+
throw s.cause = r, e;
|
|
3301
3302
|
}
|
|
3302
3303
|
throw t.value;
|
|
3303
3304
|
}
|