@supraio/client-daemon-js 1.0.0-mzscreengeometry.447 → 1.0.0-mzscreengeometry.450
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/daemon.html +1 -1
- package/daemon.js +2 -2
- package/package.json +1 -1
- package/screen/control.d.ts +2 -0
- package/screen.html +1 -1
- package/screen.js +3 -3
- package/screen.js.map +2 -2
- package/sdk.js +5 -5
- package/sdk.js.map +2 -2
- package/supra-client-daemon.js +62 -22
- package/supra-client-daemon.js.map +1 -1
- package/supra-client-daemon.wasm +0 -0
- package/supra-client-screen.js +532 -253
- package/supra-client-screen.js.map +1 -1
- package/supra-client-screen.wasm +0 -0
package/daemon.html
CHANGED
package/daemon.js
CHANGED
|
@@ -20482,7 +20482,7 @@
|
|
|
20482
20482
|
}
|
|
20483
20483
|
|
|
20484
20484
|
// daemon/plain.ts
|
|
20485
|
-
var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-mzscreengeometry.
|
|
20485
|
+
var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-mzscreengeometry.450";
|
|
20486
20486
|
async function startPlainDaemon() {
|
|
20487
20487
|
await initNaClTCP();
|
|
20488
20488
|
await initSamsungWasmTCP();
|
|
@@ -20495,7 +20495,7 @@
|
|
|
20495
20495
|
}
|
|
20496
20496
|
|
|
20497
20497
|
// daemon/wasm.ts
|
|
20498
|
-
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-mzscreengeometry.
|
|
20498
|
+
var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-mzscreengeometry.450";
|
|
20499
20499
|
async function startWasmDaemon() {
|
|
20500
20500
|
await initNaClTCP();
|
|
20501
20501
|
await initSamsungWasmTCP();
|
package/package.json
CHANGED
package/screen/control.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ declare global {
|
|
|
14
14
|
} | null;
|
|
15
15
|
/** Set to true by the Go runtime after stopScreen() was invoked. */
|
|
16
16
|
screenStopped?: boolean;
|
|
17
|
+
/** Set to true by the Go runtime once the whole Close cleanup has finished. */
|
|
18
|
+
screenStopCompleted?: boolean;
|
|
17
19
|
};
|
|
18
20
|
}
|
|
19
21
|
}
|
package/screen.html
CHANGED
package/screen.js
CHANGED
|
@@ -21004,7 +21004,7 @@ self.onmessage = function(event) {
|
|
|
21004
21004
|
}
|
|
21005
21005
|
|
|
21006
21006
|
// screen/plain.ts
|
|
21007
|
-
var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-mzscreengeometry.
|
|
21007
|
+
var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-mzscreengeometry.450";
|
|
21008
21008
|
async function startPlainScreen(options) {
|
|
21009
21009
|
options = options != null ? options : parseQueryOptions();
|
|
21010
21010
|
initNaCLDecoder(options);
|
|
@@ -21020,7 +21020,7 @@ self.onmessage = function(event) {
|
|
|
21020
21020
|
await new Promise((resolve) => {
|
|
21021
21021
|
const interval = setInterval(() => {
|
|
21022
21022
|
var _a;
|
|
21023
|
-
if (((_a = window.__supra) == null ? void 0 : _a.
|
|
21023
|
+
if (((_a = window.__supra) == null ? void 0 : _a.screenStopCompleted) === true) {
|
|
21024
21024
|
clearInterval(interval);
|
|
21025
21025
|
resolve();
|
|
21026
21026
|
}
|
|
@@ -21042,7 +21042,7 @@ self.onmessage = function(event) {
|
|
|
21042
21042
|
}
|
|
21043
21043
|
|
|
21044
21044
|
// screen/wasm.ts
|
|
21045
|
-
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-mzscreengeometry.
|
|
21045
|
+
var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-mzscreengeometry.450";
|
|
21046
21046
|
async function startWasmScreen(options) {
|
|
21047
21047
|
options = options != null ? options : parseQueryOptions();
|
|
21048
21048
|
initWorkerFrameConnection(options.netInWorker === true);
|