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.25 to 1.1.26

2

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

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

@@ -263,5 +263,6 @@ "use strict";

const session = new rtc_signaling_1.BrowserSignalingSession();
const droppedMessages = [];
session.onPeerConnection = async (pc) => {
pc.ondatachannel = e => {
e.channel.onmessage = () => console.log('dropped mesage');
e.channel.onmessage = message => droppedMessages.push(message);
e.channel.binaryType = 'arraybuffer';

@@ -311,2 +312,6 @@ dcDeferred.resolve(e.channel);

});
while (droppedMessages.length) {
const message = droppedMessages.shift();
dc.dispatchEvent(message);
}
const ret = new rpc_1.RpcPeer('webrtc-client', "api", (message, reject, serializationContext) => {

@@ -313,0 +318,0 @@ try {

{
"name": "@scrypted/client",
"version": "1.1.25",
"version": "1.1.26",
"description": "",

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

@@ -301,5 +301,6 @@ import { RTCConnectionManagement, RTCSignalingSession, ScryptedStatic } from "@scrypted/types";

const session = new BrowserSignalingSession();
const droppedMessages: any[] = [];
session.onPeerConnection = async pc => {
pc.ondatachannel = e => {
e.channel.onmessage = () => console.log('dropped mesage');
e.channel.onmessage = message => droppedMessages.push(message);
e.channel.binaryType = 'arraybuffer';

@@ -358,2 +359,7 @@ dcDeferred.resolve(e.channel)

while (droppedMessages.length) {
const message = droppedMessages.shift();
dc.dispatchEvent(message);
}
const ret = new RpcPeer('webrtc-client', "api", (message, reject, serializationContext) => {

@@ -360,0 +366,0 @@ try {

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