@supraio/client-daemon-js 0.0.0-jvmaster.367 → 0.0.0-jvmaster.371

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/sdk.js CHANGED
@@ -18081,7 +18081,7 @@ async function initGoEnvironment() {
18081
18081
  }
18082
18082
 
18083
18083
  // daemon/plain.ts
18084
- var DAEMON_JS_URL = "supra-client-daemon.js?v=0.0.0-jvmaster.367";
18084
+ var DAEMON_JS_URL = "supra-client-daemon.js?v=0.0.0-jvmaster.371";
18085
18085
  async function startPlainDaemon() {
18086
18086
  const fs = await initBrowserFS();
18087
18087
  window.fs = fs;
@@ -18092,7 +18092,7 @@ async function startPlainDaemon() {
18092
18092
  }
18093
18093
 
18094
18094
  // daemon/wasm.ts
18095
- var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=0.0.0-jvmaster.367";
18095
+ var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=0.0.0-jvmaster.371";
18096
18096
  async function startWasmDaemon() {
18097
18097
  await initGoEnvironment();
18098
18098
  await startGoDaemon();
@@ -18161,7 +18161,7 @@ function getGoArgv2(binFile, options) {
18161
18161
  }
18162
18162
 
18163
18163
  // screen/plain.ts
18164
- var SCREEN_JS_URL = "supra-client-screen.js?v=0.0.0-jvmaster.367";
18164
+ var SCREEN_JS_URL = "supra-client-screen.js?v=0.0.0-jvmaster.371";
18165
18165
  async function startPlainScreen(options) {
18166
18166
  options = options != null ? options : parseQueryOptions();
18167
18167
  initNaCLDecoder();
@@ -18179,16 +18179,15 @@ async function initH264Decoder() {
18179
18179
  console.log("ASDF[TS] initH264Decoder done, window.h264Decoder: " + window.h264Decoder);
18180
18180
  }
18181
18181
  async function createH264Decoder() {
18182
- const { H264Decoder: H264Decoder2 } = (init_dist(), __toCommonJS(dist_exports));
18182
+ const { H264Decoder: H264Decoder2 } = await Promise.resolve().then(() => (init_dist(), dist_exports));
18183
18183
  if (!H264Decoder2.isReady) {
18184
18184
  await H264Decoder2.readyPromise;
18185
18185
  }
18186
- const h264Decoder = new H264Decoder2();
18187
- return h264Decoder;
18186
+ return new H264Decoder2();
18188
18187
  }
18189
18188
 
18190
18189
  // screen/wasm.ts
18191
- var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-jvmaster.367";
18190
+ var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-jvmaster.371";
18192
18191
  async function startWasmScreen(options) {
18193
18192
  options = options != null ? options : parseQueryOptions();
18194
18193
  console.log("ASDF[TS] startWasmScreen, options: " + options);