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

@signalwire/js

Package Overview
Dependencies
Maintainers
1
Versions
377
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@signalwire/js - npm Package Compare versions

Comparing version

to
1.3.0-alpha.7.3

18

dist/esm/common/src/webrtc/Conference.js

@@ -242,3 +242,6 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

infoChannelHandler(params) {
const { eventData } = params;
const { eventData = null } = params;
if (!eventData) {
return logger.warn('Unknown conference info event', params);
}
switch (eventData.contentType) {

@@ -251,3 +254,3 @@ case 'layout-info':

default:
logger.error('Conference info unknown contentType', params);
logger.warn('Unknown conference info event', params);
}

@@ -273,7 +276,5 @@ }

updateLayouts(params) {
const { contentType, callID, canvasType, canvasInfo = null, currentLayerIdx = null } = params, rest = __rest(params, ["contentType", "callID", "canvasType", "canvasInfo", "currentLayerIdx"]);
const { contentType, callID, canvasType, canvasInfo = null, currentLayerIdx = -1 } = params, rest = __rest(params, ["contentType", "callID", "canvasType", "canvasInfo", "currentLayerIdx"]);
this.canvasType = canvasType;
if (currentLayerIdx !== null) {
this.participantLayerIndex = currentLayerIdx;
}
this.participantLayerIndex = currentLayerIdx;
if (canvasInfo !== null) {

@@ -350,4 +351,7 @@ this.canvasInfo = mutateCanvasInfoData(canvasInfo);

_dispatchConferenceUpdate(params) {
this.session.calls[this.callId]._dispatchNotification(Object.assign({ type: Notification.ConferenceUpdate }, params));
const call = this.session.calls[this.callId];
if (call) {
call._dispatchNotification(Object.assign({ type: Notification.ConferenceUpdate }, params));
}
}
}

@@ -42,3 +42,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

if (!callID || !session.calls.hasOwnProperty(callID)) {
return logger.warn('Unhandled session event:', eventData);
return logger.debug('Unhandled session event:', eventData);
}

@@ -45,0 +45,0 @@ const call = session.calls[callID];

import Relay from './src/SignalWire';
import Verto from './src/Verto';
import CantinaAuth from '../common/src/webrtc/CantinaAuth';
export declare const VERSION = "1.3.0-alpha.7.2";
export declare const VERSION = "1.3.0-alpha.7.3";
export { Relay, Verto, CantinaAuth };
export * from '../common/src/util/interfaces';
export * from '../common/src/webrtc/interfaces';

@@ -5,4 +5,4 @@ import Relay from './src/SignalWire';

import CantinaAuth from '../common/src/webrtc/CantinaAuth';
export const VERSION = '1.3.0-alpha.7.2';
export const VERSION = '1.3.0-alpha.7.3';
setAgentName(`JavaScript SDK/${VERSION}`);
export { Relay, Verto, CantinaAuth };
{
"name": "@signalwire/js",
"version": "1.3.0-alpha.7.2",
"version": "1.3.0-alpha.7.3",
"description": "Relay SDK for JavaScript to connect to SignalWire.",

@@ -5,0 +5,0 @@ "author": "SignalWire Team <open.source@signalwire.com>",

Sorry, the diff of this file is too big to display