@supraio/client-daemon-js 0.0.0-mznacl.249 → 0.0.0-mznacl.256

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
@@ -17306,7 +17306,7 @@ async function initGoEnvironment() {
17306
17306
  }
17307
17307
 
17308
17308
  // daemon/plain.ts
17309
- var DAEMON_JS_URL = "supra-client-daemon.js?v=0.0.0-mznacl.249";
17309
+ var DAEMON_JS_URL = "supra-client-daemon.js?v=0.0.0-mznacl.256";
17310
17310
  async function startPlainDaemon() {
17311
17311
  const fs = await initBrowserFS();
17312
17312
  window.fs = fs;
@@ -17317,7 +17317,7 @@ async function startPlainDaemon() {
17317
17317
  }
17318
17318
 
17319
17319
  // daemon/wasm.ts
17320
- var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=0.0.0-mznacl.249";
17320
+ var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=0.0.0-mznacl.256";
17321
17321
  async function startWasmDaemon() {
17322
17322
  await initGoEnvironment();
17323
17323
  await startGoDaemon();
@@ -17378,7 +17378,7 @@ function getGoArgv2(binFile, options) {
17378
17378
  }
17379
17379
 
17380
17380
  // screen/plain.ts
17381
- var SCREEN_JS_URL = "supra-client-screen.js?v=0.0.0-mznacl.249";
17381
+ var SCREEN_JS_URL = "supra-client-screen.js?v=0.0.0-mznacl.256";
17382
17382
  async function startPlainScreen(options) {
17383
17383
  const screenOptions = options != null ? options : parseQueryOptions();
17384
17384
  const fs = await initBrowserFS();
@@ -17390,11 +17390,11 @@ async function startPlainScreen(options) {
17390
17390
  await new Promise(() => void 0);
17391
17391
  }
17392
17392
  function createNaClDecoder() {
17393
- if (!("NaClDecoder" in window)) {
17394
- return void 0;
17393
+ if ("NaClDecoder" in window && window.NaClDecoder) {
17394
+ const naclDecoder = new NaClDecoder();
17395
+ return naclDecoder;
17395
17396
  }
17396
- const naclDecoder = new NaClDecoder();
17397
- return naclDecoder;
17397
+ return void 0;
17398
17398
  }
17399
17399
 
17400
17400
  // node_modules/h264decoder/dist/b64.js
@@ -17532,7 +17532,7 @@ if (typeof window !== void 0) {
17532
17532
  }
17533
17533
 
17534
17534
  // screen/wasm.ts
17535
- var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-mznacl.249";
17535
+ var SCREEN_WASM_URL = "supra-client-screen.wasm?v=0.0.0-mznacl.256";
17536
17536
  async function startWasmScreen(options) {
17537
17537
  const screenOptions = options != null ? options : parseQueryOptions();
17538
17538
  const h264Decoder = await createH264Decoder();