Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@andyet/simplewebrtc

Package Overview
Dependencies
Maintainers
9
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@andyet/simplewebrtc - npm Package Compare versions

Comparing version 1.15.6 to 1.15.7

5

actions/API.d.ts
import { ThunkAction } from 'redux-thunk';
import { State } from '../reducers';
import { SignalingClient } from '../signaling';
import { CONNECTION_STATE_CHANGE, QUEUE_TELEMETRY, RECEIVED_CONFIG, RECEIVED_CONFIG_ERROR, SIGNALING_CLIENT, TELEMETRY_SUCCESS } from '../Constants';
import { CONNECTION_STATE_CHANGE, QUEUE_TELEMETRY, RECEIVED_CONFIG, RECEIVED_CONFIG_ERROR, SIGNALING_CLIENT, SIGNALING_CLIENT_SHUTDOWN, TELEMETRY_SUCCESS } from '../Constants';
import { APIConfig } from '../Definitions';

@@ -22,2 +22,5 @@ export declare function sleep<T>(timeout: number, throwError?: boolean): Promise<T>;

}
export interface ShutdownSignalingClient {
type: typeof SIGNALING_CLIENT_SHUTDOWN;
}
export interface ConnectionStateChange {

@@ -24,0 +27,0 @@ payload: string;

2

Constants.d.ts

@@ -43,4 +43,4 @@ export declare const SET_USER_PREFERENCE = "@andyet/SET_USER_PREFERENCE";

export declare const SET_VIDEO_RESOLUTION_TIERS = "@andyet/SET_VIDEO_RESOLUTION_TIERS";
export declare const SDK_VERSION = "1.15.6";
export declare const SDK_VERSION = "1.15.7";
export declare const DIRECTION_INCOMING = "incoming";
export declare const DIRECTION_OUTGOING = "outgoing";

@@ -49,4 +49,4 @@ "use strict";

// ====================================================================
exports.SDK_VERSION = '1.15.6';
exports.SDK_VERSION = '1.15.7';
exports.DIRECTION_INCOMING = 'incoming';
exports.DIRECTION_OUTGOING = 'outgoing';

@@ -21,2 +21,3 @@ import Hark from './lib/Hark';

readonly iceServers: ICEServer[];
readonly displayName?: string;
readonly screensharingExtensions: {

@@ -23,0 +24,0 @@ readonly chrome: string;

{
"name": "@andyet/simplewebrtc",
"version": "1.15.6",
"version": "1.15.7",
"dependencies": {

@@ -5,0 +5,0 @@ "@types/node": "^12.6.8",

@@ -1,3 +0,2 @@

import { AnyAction } from 'redux';
import { TelemetryEvent } from '../actions';
import { ConnectionStateChange, CreateSignalingClient, QueueTelemetry, ReceivedConfig, SetVideoResolutionTiers, ShutdownSignalingClient, TelemetryEvent, TelemetrySuccess } from '../actions';
import { APIConfig, VideoResolutionTier } from '../Definitions';

@@ -15,2 +14,2 @@ import { SignalingClient } from '../signaling';

}
export default function (state: ServiceState | undefined, action: AnyAction): ServiceState;
export default function (state: ServiceState | undefined, action: ConnectionStateChange | CreateSignalingClient | QueueTelemetry | ReceivedConfig | SetVideoResolutionTiers | ShutdownSignalingClient | TelemetrySuccess): ServiceState;

@@ -1,2 +0,2 @@

import { AnyAction } from 'redux';
import { JoinCall, JoinRoomSuccess, LeaveCall, LeaveRoom, SetCallPreference } from '../actions';
import { Call } from '../Definitions';

@@ -6,2 +6,2 @@ export interface CallState {

}
export default function (state: CallState | undefined, action: AnyAction): CallState;
export default function (state: CallState | undefined, action: JoinCall | LeaveCall | LeaveRoom | JoinRoomSuccess | SetCallPreference): CallState;

@@ -1,2 +0,2 @@

import { AnyAction } from 'redux';
import { ChatIncoming, ChatOutgoing } from '../actions';
import { Chat } from '../Definitions';

@@ -6,2 +6,2 @@ export interface ChatState {

}
export default function (state: ChatState | undefined, action: AnyAction): ChatState;
export default function (state: ChatState | undefined, action: ChatIncoming | ChatOutgoing): ChatState;

@@ -1,2 +0,2 @@

import { AnyAction } from 'redux';
import { AddConnection, RemoveConnection, UpdateConnection } from '../actions';
import { PeerConnection } from '../Definitions';

@@ -6,2 +6,2 @@ export interface PeerConnectionState {

}
export default function (state: PeerConnectionState | undefined, action: AnyAction): PeerConnectionState;
export default function (state: PeerConnectionState | undefined, action: AddConnection | RemoveConnection | UpdateConnection): PeerConnectionState;

@@ -1,2 +0,2 @@

import { AnyAction } from 'redux';
import { ConnectionStateChange, LeaveRoom, PeerOffline, PeerOnline, PeerUpdated } from '../actions';
import { Peer } from '../Definitions';

@@ -6,2 +6,2 @@ export interface PeerState {

}
export default function (state: PeerState | undefined, action: AnyAction): PeerState;
export default function (state: PeerState | undefined, action: ConnectionStateChange | PeerOnline | PeerOffline | PeerUpdated | LeaveRoom): PeerState;

@@ -1,3 +0,3 @@

import { AnyAction } from 'redux';
import * as Actions from '../actions';
import { User } from '../Definitions';
export default function (state: User | undefined, action: AnyAction): User;
export default function (state: User | undefined, action: Actions.SetUserPreference | Actions.ReceivedConfig | Actions.Devices): User;

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

for (const device of action.payload) {
if (device.id === outputDevice) {
if (device.deviceId === outputDevice) {
return state;

@@ -36,0 +36,0 @@ }

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

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

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

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