@supraio/client-daemon-js 1.0.0-tsfixstreamgeometrypanic.476 → 1.1.0

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 CHANGED
@@ -4,6 +4,6 @@
4
4
  <title>Supra daemon</title>
5
5
  </head>
6
6
  <body>
7
- <script type="text/javascript" src="daemon.js?v=1.0.0-tsfixstreamgeometrypanic.476"></script>
7
+ <script type="text/javascript" src="daemon.js?v=1.1.0"></script>
8
8
  </body>
9
9
  </html>
package/daemon.js CHANGED
@@ -20787,7 +20787,7 @@
20787
20787
  }
20788
20788
 
20789
20789
  // daemon/plain.ts
20790
- var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-tsfixstreamgeometrypanic.476";
20790
+ var DAEMON_JS_URL = "supra-client-daemon.js?v=1.1.0";
20791
20791
  async function startPlainDaemon() {
20792
20792
  await initNaClTCP();
20793
20793
  await initSamsungWasmTCP();
@@ -20800,7 +20800,7 @@
20800
20800
  }
20801
20801
 
20802
20802
  // daemon/wasm.ts
20803
- var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-tsfixstreamgeometrypanic.476";
20803
+ var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.1.0";
20804
20804
  async function startWasmDaemon() {
20805
20805
  await initNaClTCP();
20806
20806
  await initSamsungWasmTCP();
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supraio/client-daemon-js",
3
- "version": "1.0.0-tsfixstreamgeometrypanic.476",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",
@@ -14,8 +14,8 @@
14
14
  "lint": "eslint \"**/*.ts\""
15
15
  },
16
16
  "devDependencies": {
17
- "@signageos/nacl-decoder": "0.1.1-mz-screen-geometry.14",
18
- "@signageos/samsung-wasm-decoder": "0.1.1-mz-screen-geometry.12",
17
+ "@signageos/nacl-decoder": "0.2.0",
18
+ "@signageos/samsung-wasm-decoder": "0.2.0",
19
19
  "@types/dropboxjs": "0.0.29",
20
20
  "@types/filesystem": "0.0.29",
21
21
  "@types/node": "14.14.34",
package/screen.html CHANGED
@@ -5,6 +5,6 @@
5
5
  <link rel="stylesheet" href="screen.css"></link>
6
6
  </head>
7
7
  <body>
8
- <script type="text/javascript" src="screen.js?v=1.0.0-tsfixstreamgeometrypanic.476"></script>
8
+ <script type="text/javascript" src="screen.js?v=1.1.0"></script>
9
9
  </body>
10
10
  </html>
package/screen.js CHANGED
@@ -21190,7 +21190,7 @@ self.onmessage = function(event) {
21190
21190
  }
21191
21191
 
21192
21192
  // screen/plain.ts
21193
- var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-tsfixstreamgeometrypanic.476";
21193
+ var SCREEN_JS_URL = "supra-client-screen.js?v=1.1.0";
21194
21194
  async function startPlainScreen(options) {
21195
21195
  console.log("[Supra screen plain] initialization begin");
21196
21196
  options = options != null ? options : parseQueryOptions();
@@ -21220,7 +21220,7 @@ self.onmessage = function(event) {
21220
21220
  }
21221
21221
 
21222
21222
  // screen/h264decoder.ts
21223
- var H264_DECODER_URL = "h264decoder.js?v=1.0.0-tsfixstreamgeometrypanic.476";
21223
+ var H264_DECODER_URL = "h264decoder.js?v=1.1.0";
21224
21224
  async function initH264Decoder() {
21225
21225
  if (window.VideoDecoder !== void 0) {
21226
21226
  return void 0;
@@ -21259,7 +21259,7 @@ self.onmessage = function(event) {
21259
21259
  }
21260
21260
 
21261
21261
  // screen/wasm.ts
21262
- var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-tsfixstreamgeometrypanic.476";
21262
+ var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.1.0";
21263
21263
  async function initializePhase(name, initialize) {
21264
21264
  const startedAt = Date.now();
21265
21265
  console.log(`[Supra screen WASM] ${name} begin`);
package/sdk.js CHANGED
@@ -20800,7 +20800,7 @@ async function initSamsungWasmTCP() {
20800
20800
  }
20801
20801
 
20802
20802
  // daemon/plain.ts
20803
- var DAEMON_JS_URL = "supra-client-daemon.js?v=1.0.0-tsfixstreamgeometrypanic.476";
20803
+ var DAEMON_JS_URL = "supra-client-daemon.js?v=1.1.0";
20804
20804
  async function startPlainDaemon() {
20805
20805
  await initNaClTCP();
20806
20806
  await initSamsungWasmTCP();
@@ -20813,7 +20813,7 @@ async function startPlainDaemon() {
20813
20813
  }
20814
20814
 
20815
20815
  // daemon/wasm.ts
20816
- var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.0.0-tsfixstreamgeometrypanic.476";
20816
+ var DAEMON_WASM_URL = "supra-client-daemon.wasm?v=1.1.0";
20817
20817
  async function startWasmDaemon() {
20818
20818
  await initNaClTCP();
20819
20819
  await initSamsungWasmTCP();
@@ -21237,7 +21237,7 @@ function getGoArgv2(binFile, options) {
21237
21237
  }
21238
21238
 
21239
21239
  // screen/plain.ts
21240
- var SCREEN_JS_URL = "supra-client-screen.js?v=1.0.0-tsfixstreamgeometrypanic.476";
21240
+ var SCREEN_JS_URL = "supra-client-screen.js?v=1.1.0";
21241
21241
  async function startPlainScreen(options) {
21242
21242
  console.log("[Supra screen plain] initialization begin");
21243
21243
  options = options != null ? options : parseQueryOptions();
@@ -21267,7 +21267,7 @@ async function startPlainScreen(options) {
21267
21267
  }
21268
21268
 
21269
21269
  // screen/h264decoder.ts
21270
- var H264_DECODER_URL = "h264decoder.js?v=1.0.0-tsfixstreamgeometrypanic.476";
21270
+ var H264_DECODER_URL = "h264decoder.js?v=1.1.0";
21271
21271
  async function initH264Decoder() {
21272
21272
  if (window.VideoDecoder !== void 0) {
21273
21273
  return void 0;
@@ -21306,7 +21306,7 @@ function getProperty(value, property) {
21306
21306
  }
21307
21307
 
21308
21308
  // screen/wasm.ts
21309
- var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.0.0-tsfixstreamgeometrypanic.476";
21309
+ var SCREEN_WASM_URL = "supra-client-screen.wasm?v=1.1.0";
21310
21310
  async function initializePhase(name, initialize) {
21311
21311
  const startedAt = Date.now();
21312
21312
  console.log(`[Supra screen WASM] ${name} begin`);
@@ -193276,13 +193276,9 @@ $packages["github.com/supraio/client-daemon/pkg/decoder/sosstream"] = (function(
193276
193276
  };
193277
193277
  SOSVideoStreamer.prototype.Stop = function() { return this.$val.Stop(); };
193278
193278
  getStreamGeometry = function() {
193279
- var configuredGeometry, geometry, supra;
193279
+ var configuredGeometry, geometry;
193280
193280
  geometry = new streamGeometry.ptr(0, 0, $clone($clone($clone(js.Global(), js.Value).Get("screen"), js.Value).Get("width"), js.Value).Int(), $clone($clone($clone(js.Global(), js.Value).Get("screen"), js.Value).Get("height"), js.Value).Int());
193281
- supra = $clone($clone(js.Global(), js.Value).Get("__supra"), js.Value);
193282
- if ($clone(supra, js.Value).IsUndefined() || $clone(supra, js.Value).IsNull()) {
193283
- return geometry;
193284
- }
193285
- configuredGeometry = $clone($clone(supra, js.Value).Get("geometry"), js.Value);
193281
+ configuredGeometry = $clone($clone($clone(js.Global(), js.Value).Get("__supra"), js.Value).Get("geometry"), js.Value);
193286
193282
  if ($clone(configuredGeometry, js.Value).IsUndefined() || $clone(configuredGeometry, js.Value).IsNull()) {
193287
193283
  return geometry;
193288
193284
  }