@supraio/client-daemon-js 1.0.0-mzupdateexptouch.470 → 1.0.0-tsfixstreamgeometrypanic.474

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/go/go.d.ts CHANGED
@@ -3,7 +3,7 @@ import type nodeFs from 'fs';
3
3
  declare global {
4
4
  class Go {
5
5
  /** Accessed by x264/decode_wasm.go directly to optimize memory usage */
6
- h264?: import('../screen/h264decoder').H264DecoderMemory;
6
+ h264: WebAssembly.Memory;
7
7
  env: {
8
8
  [name: string]: string;
9
9
  };
package/package.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "name": "@supraio/client-daemon-js",
3
- "version": "1.0.0-mzupdateexptouch.470",
3
+ "version": "1.0.0-tsfixstreamgeometrypanic.474",
4
4
  "description": "",
5
5
  "main": "sdk.js",
6
6
  "types": "sdk.d.ts",
7
7
  "scripts": {
8
8
  "build-daemon": "esbuild --bundle --sourcemap --define:'process.env.VERSION'=\\\"$VERSION\\\" --target=chrome79,firefox86,edge89 --outfile=dist/daemon.js daemon.ts",
9
- "build-screen": "esbuild --bundle --sourcemap --define:'process.env.VERSION'=\\\"$VERSION\\\" --target=chrome79,firefox86,edge89 --outfile=dist/screen.js screen.ts && esbuild --bundle --sourcemap --target=chrome79,firefox86,edge89 --outfile=dist/h264decoder.js screen/h264decoder-library.ts",
9
+ "build-screen": "esbuild --bundle --sourcemap --define:'process.env.VERSION'=\\\"$VERSION\\\" --target=chrome79,firefox86,edge89 --outfile=dist/screen.js screen.ts",
10
10
  "build-sdk": "esbuild --bundle --sourcemap --define:'process.env.VERSION'=\\\"$VERSION\\\" --target=chrome79,firefox86,edge89 --outfile=dist/sdk.js --format=cjs sdk.ts",
11
11
  "build-types": "tsc --declaration --emitDeclarationOnly",
12
12
  "clean": "rm -rf dist/*",
13
- "check": "node --test fs/browserfs_test.js screen/control_test.js screen/h264decoder_test.js screen/options_test.js && tsc --noEmit",
13
+ "check": "node --test fs/browserfs_test.js screen/control_test.js screen/options_test.js && tsc --noEmit",
14
14
  "lint": "eslint \"**/*.ts\""
15
15
  },
16
16
  "devDependencies": {
@@ -1,13 +1,8 @@
1
1
  import type { H264Decoder } from 'h264decoder';
2
- export interface H264DecoderMemory {
3
- HEAPU8: Uint8Array;
4
- HEAP32: Int32Array;
5
- }
6
2
  declare global {
7
3
  interface Window {
8
- VideoDecoder?: unknown;
9
4
  /** Make it global accessible for x264/decode_wasm.go */
10
- h264Decoder?: H264Decoder;
5
+ h264Decoder: H264Decoder;
11
6
  }
12
7
  }
13
- export declare function initH264Decoder(): Promise<H264DecoderMemory | undefined>;
8
+ export declare function initH264Decoder(): Promise<void>;
@@ -1,5 +1,4 @@
1
1
  import { NaClTCPPacket, NaClTCPStream } from '@signageos/nacl-decoder';
2
- import { IScreenOptions } from './options';
3
2
  declare global {
4
3
  interface Window {
5
4
  /** Make it global accessible for pkg/netpacket/nacl_tcp.go */
@@ -7,4 +6,4 @@ declare global {
7
6
  naclTCPStream?: NaClTCPStream;
8
7
  }
9
8
  }
10
- export declare function initNaClTCP(options?: IScreenOptions): Promise<void>;
9
+ export declare function initNaClTCP(): Promise<void>;
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-mzupdateexptouch.470"></script>
8
+ <script type="text/javascript" src="screen.js?v=1.0.0-tsfixstreamgeometrypanic.474"></script>
9
9
  </body>
10
10
  </html>