@swmansion/popcorn 0.3.0-rc2 → 0.3.0-rc4
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/dist/AtomVM.mjs +4 -4
- package/dist/AtomVM.wasm +0 -0
- package/package.json +1 -1
package/dist/AtomVM.mjs
CHANGED
|
@@ -56,7 +56,7 @@ if (ENVIRONMENT_IS_PTHREAD) {
|
|
|
56
56
|
|
|
57
57
|
// --pre-jses are emitted after the Module integration code, so that they can
|
|
58
58
|
// refer to Module (if they choose; they can also define Module)
|
|
59
|
-
// include: /tmp/atomvm-build-swm.
|
|
59
|
+
// include: /tmp/atomvm-build-swm.uZpbzAG/atomvm/src/platforms/emscripten/src/atomvm.pre.js
|
|
60
60
|
/*
|
|
61
61
|
* This file is part of AtomVM.
|
|
62
62
|
*
|
|
@@ -128,7 +128,7 @@ function ensureValidResult(result) {
|
|
|
128
128
|
throw new Error(message);
|
|
129
129
|
}
|
|
130
130
|
|
|
131
|
-
// end include: /tmp/atomvm-build-swm.
|
|
131
|
+
// end include: /tmp/atomvm-build-swm.uZpbzAG/atomvm/src/platforms/emscripten/src/atomvm.pre.js
|
|
132
132
|
var arguments_ = [];
|
|
133
133
|
|
|
134
134
|
var thisProgram = "./this.program";
|
|
@@ -968,8 +968,8 @@ async function createWasm() {
|
|
|
968
968
|
wasmBinaryFile ??= findWasmBinary();
|
|
969
969
|
try {
|
|
970
970
|
var result = await instantiateAsync(wasmBinary, wasmBinaryFile, info);
|
|
971
|
-
var exports
|
|
972
|
-
return exports
|
|
971
|
+
var exports = receiveInstantiationResult(result);
|
|
972
|
+
return exports;
|
|
973
973
|
} catch (e) {
|
|
974
974
|
// If instantiation fails, reject the module ready promise.
|
|
975
975
|
readyPromiseReject(e);
|
package/dist/AtomVM.wasm
CHANGED
|
Binary file
|