New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@scrypted/client

Package Overview
Dependencies
Maintainers
1
Versions
125
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@scrypted/client - npm Package Compare versions

Comparing version 1.1.19 to 1.1.20

2

dist/packages/client/package.json
{
"name": "@scrypted/client",
"version": "1.1.19",
"version": "1.1.20",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js",

@@ -32,2 +32,3 @@ import { ScryptedStatic, RTCConnectionManagement } from "@scrypted/types";

clientName?: string;
transports?: string[];
}

@@ -34,0 +35,0 @@ export declare function logoutScryptedClient(baseUrl?: string): Promise<any>;

@@ -178,2 +178,3 @@ "use strict";

rejectUnauthorized: false,
transports: options?.transports,
};

@@ -192,2 +193,3 @@ const explicitBaseUrl = baseUrl || `${globalThis.location.protocol}//${globalThis.location.host}`;

rejectUnauthorized: false,
transports: options?.transports,
};

@@ -226,2 +228,3 @@ let sockets = [];

rejectUnauthorized: false,
transports: options?.transports,
};

@@ -228,0 +231,0 @@ const check = new eio.Socket(explicitBaseUrl, webrtcEioOptions);

@@ -335,2 +335,7 @@ "use strict";

async function setupPluginRemote(peer, api, pluginId, getSystemState) {
const start = Date.now();
const timeLog = (name) => {
console.log(name, Date.now() - start);
};
timeLog('start');
try {

@@ -344,4 +349,7 @@ // the host/remote connection can be from server to plugin (node to node),

const getRemote = await peer.getParam('getRemote');
timeLog('getRemote');
const remote = await getRemote(api, pluginId);
timeLog('getRemote2');
await remote.setSystemState(getSystemState());
timeLog('setSystemState');
api.listen((id, eventDetails, eventData) => {

@@ -348,0 +356,0 @@ // ScryptedDevice events will be handled specially and repropagated by the remote.

{
"name": "@scrypted/client",
"version": "1.1.19",
"version": "1.1.20",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/packages/client/src/index.js",

@@ -69,2 +69,3 @@ import { ScryptedStatic, RTCConnectionManagement, RTCSignalingSession } from "@scrypted/types";

clientName?: string;
transports?: string[];
}

@@ -202,2 +203,3 @@

rejectUnauthorized: false,
transports: options?.transports,
};

@@ -219,2 +221,3 @@

rejectUnauthorized: false,
transports: options?.transports,
};

@@ -258,2 +261,3 @@

rejectUnauthorized: false,
transports: options?.transports,
};

@@ -260,0 +264,0 @@ const check = new eio.Socket(explicitBaseUrl, webrtcEioOptions);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc