client: update

This commit is contained in:
Koushik Dutta
2023-02-28 11:10:47 -08:00
parent fed1cf2a0d
commit 255e426e2d
3 changed files with 5 additions and 3 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/client",
"version": "1.1.39",
"version": "1.1.40",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@scrypted/client",
"version": "1.1.39",
"version": "1.1.40",
"license": "ISC",
"dependencies": {
"@scrypted/types": "^0.2.65",

View File

@@ -1,6 +1,6 @@
{
"name": "@scrypted/client",
"version": "1.1.39",
"version": "1.1.40",
"description": "",
"main": "dist/packages/client/src/index.js",
"scripts": {

View File

@@ -49,6 +49,7 @@ export interface ScryptedClientStatic extends ScryptedStatic {
connectionType: ScryptedClientConnectionType;
authorization?: string;
queryToken?: { [parameter: string]: string };
rpcPeer: RpcPeer,
}
export interface ScryptedConnectionOptions {
@@ -587,6 +588,7 @@ export async function connectScryptedClient(options: ScryptedClientOptions): Pro
browserSignalingSession,
authorization,
queryToken,
rpcPeer,
}
socket.on('close', () => {