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

@testrtc/watchrtc-sdk

Package Overview
Dependencies
Maintainers
2
Versions
127
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testrtc/watchrtc-sdk - npm Package Compare versions

Comparing version 1.30.11-beta.2 to 1.30.11-beta.3

20

lib/interfaces.d.ts

@@ -46,5 +46,20 @@ export interface RTCPeerConnectionInformation {

export interface IHttpService {
trace(url: string, projectId?: string, rtcRoomId?: string, rtcPeerId?: string, ...data: any[]): void;
trace(url: string, projectId?: string, rtcRoomId?: string, rtcPeerId?: string, ...data: any[]): Promise<{
error?: string;
}>;
}
export declare type ISocketTrace = (...data: any[]) => void;
export interface IPromiseFuncs {
resolve: (value: {
error?: string;
}) => void;
reject: () => void;
}
interface ISocketTraceOptions {
promiseFuncs?: IPromiseFuncs;
}
interface ISocketTraceParams {
data: any[];
options?: ISocketTraceOptions;
}
export declare type ISocketTrace = (params: ISocketTraceParams) => void;
export interface ISocketService {

@@ -65,1 +80,2 @@ connection: WebSocket | null;

}
export {};

8

lib/sdk.d.ts

@@ -15,3 +15,5 @@ import { IEvent, IWatchRTCConfiguration, IWatchRTCInitServices, Rating } from "./interfaces";

*/
export declare const setUserRating: (rating: Rating, ratingComment?: string | undefined) => void;
export declare const setUserRating: (rating: Rating, ratingComment?: string | undefined) => Promise<{
error?: string;
}>;
/**

@@ -21,6 +23,6 @@ * Add keys for peer session

*/
export declare const addKeys: (keys: any) => void;
export declare const addKeys: (keys: any) => Promise<unknown> | undefined;
export declare const disableDataCollection: () => void;
export declare const enableDataCollection: () => void;
export declare const addEvent: (event: IEvent) => void;
export declare const addEvent: (event: IEvent) => Promise<unknown> | undefined;
export declare const mapStream: (id: string, name: string) => void;

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

declare const _default: "1.30.11-beta.2";
declare const _default: "1.30.11-beta.3";
export default _default;

@@ -9,4 +9,6 @@ import { IHttpService } from "./interfaces";

constructor(options: IWatchRTCHttpOptions);
trace(url: string, projectId?: string, rtcRoomId?: string, rtcPeerId?: string, ...data: any[]): void;
trace(url: string, projectId?: string, rtcRoomId?: string, rtcPeerId?: string, ...data: any[]): Promise<{} | {
error: any;
}>;
}
export {};

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

import { ISocketService } from "./interfaces";
import { ISocketService, ISocketTrace } from "./interfaces";
interface IWatchRTCSocketOptions {

@@ -14,5 +14,6 @@ debug?: boolean;

private dataCollection;
private sendPromises;
constructor(options: IWatchRTCSocketOptions);
connect(url: string, onData: (data: any) => void, onError: (error: any, errorType?: string) => void, onOpen?: () => void, onClose?: () => void): void;
trace(...data: any[]): void;
trace: ISocketTrace;
close(): void;

@@ -19,0 +20,0 @@ disableDataCollection(): void;

{
"name": "@testrtc/watchrtc-sdk",
"version": "1.30.11-beta.2",
"version": "1.30.11-beta.3",
"description": "Monitor your WebRTC application by collecting WebRTC statistics from end users",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -251,1 +251,7 @@ # watchRTC JS SDK

- We now capture getUserMedia failures as well. These will be collected and reported if a peer connection object is created by the application
### 1.30.9 (TBD, 2022)
#### New features
- The SDK now tries to reconnect if it loses its connection to the watchRTC server

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

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