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.8 to 1.1.9

dist/packages/client/package.json

4

dist/packages/client/src/index.js

@@ -213,3 +213,3 @@ "use strict";

const any = Promise.any(promises);
const { ready, id, webrtc, address } = await (0, promise_utils_1.timeoutPromise)(1000, any);
const { ready, id, webrtc, address } = await (0, promise_utils_1.timeoutPromise)(10000, any);
if (!webrtc) {

@@ -271,3 +271,5 @@ connectionType = 'http-local';

const pc = await pcPromise;
console.log('peer connection received');
await (0, rtc_signaling_1.waitPeerConnectionIceConnected)(pc);
console.log('waiting for data channel');
const dc = await dcDeferred.promise;

@@ -274,0 +276,0 @@ console.log('datachannel received', Date.now() - start);

{
"name": "@scrypted/client",
"version": "1.1.8",
"version": "1.1.9",
"description": "",

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

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

import type { MediaObjectRemote } from '../../../server/src/plugin/plugin-api'
import packageJson from '../package.json';

@@ -156,2 +157,4 @@ type IOClientSocket = eio.Socket & IOSocket;

console.log('@scrypted/client', packageJson.version);
if (username && password) {

@@ -247,3 +250,3 @@ const loginResult = await loginScryptedClient(options as ScryptedLoginOptions);

const any = Promise.any(promises);
const { ready, id, webrtc, address } = await timeoutPromise(1000, any);
const { ready, id, webrtc, address } = await timeoutPromise(10000, any);

@@ -314,4 +317,6 @@ if (!webrtc) {

const pc = await pcPromise;
console.log('peer connection received');
await waitPeerConnectionIceConnected(pc);
console.log('waiting for data channel');

@@ -437,6 +442,6 @@ const dc = await dcDeferred.promise;

mediaManager.createMediaObject = async (data, mimeType, options) => {
const mo: MediaObjectRemote & {
const mo: MediaObjectRemote & {
[RpcPeer.PROPERTY_PROXY_PROPERTIES]: any,
[RpcPeer.PROPERTY_JSON_DISABLE_SERIALIZATION]: true,
} = {
} = {
[RpcPeer.PROPERTY_JSON_DISABLE_SERIALIZATION]: true,

@@ -443,0 +448,0 @@ [RpcPeer.PROPERTY_PROXY_PROPERTIES]: {

@@ -10,3 +10,4 @@ {

"inlineSources": true,
"declaration": true
"declaration": true,
"resolveJsonModule": true,
},

@@ -13,0 +14,0 @@ "include": [

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