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

@testrtc/watchrtc-sdk

Package Overview
Dependencies
Maintainers
4
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.40.1 to 1.41.1-beta.1

lib/storage.d.ts

9

lib/interfaces.d.ts

@@ -101,2 +101,3 @@ export interface RTCPeerConnectionInformation {

isDisabledDataCollection: () => boolean;
setStatsStorage: (storage: IStorage) => void;
}

@@ -125,2 +126,10 @@ export interface IWatchRTCInitServices {

}
export interface IStorage {
stash: (stats: any) => void;
storeRawStats: (stats: any) => void;
flushRawStats: (keepId: number) => any;
readonly referenceStats: any;
readonly stashedStats: any;
reset: () => void;
}
export {};

4

lib/utils.d.ts

@@ -5,2 +5,6 @@ import { IEvent, ISocketTrace, IWatchRTCConfiguration, IWatchrtcIdentifiers, Rating, RTCPeerConnectionInformation } from "./interfaces";

export declare const logPrefix: (level?: LogLevel) => string[];
export declare const sdkLogger: (getLogger: (() => {
(...data: any[]): void;
(message?: any, ...optionalParams: any[]): void;
}) | undefined, getLogLevel: () => ConfigLogLevel) => (level: LogLevel, message: string, object?: Object) => void;
export declare const getSdkLogger: (getLogLevel: () => ConfigLogLevel) => (level: LogLevel, message: string, object?: Object) => void;

@@ -7,0 +11,0 @@ export declare const getSdkLogWithoutTrace: (getLogLevel: () => ConfigLogLevel) => (level: LogLevel, message: string, object?: Object) => void;

2

lib/version.d.ts

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

declare const _default: "1.40.1";
declare const _default: "1.41.1-beta.1";
export default _default;

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

import { ISocketService, ISocketTrace, ISocketConnectOptions } from "./interfaces";
import { ISocketService, ISocketTrace, ISocketConnectOptions, IStorage } from "./interfaces";
export default class WatchRTCSocket implements ISocketService {

@@ -13,2 +13,3 @@ static _instance: WatchRTCSocket;

private timeouted;
private rawStatsStore;
private reconnectId;

@@ -22,2 +23,3 @@ constructor();

isDisabledDataCollection(): boolean;
setStatsStorage(store: IStorage): void;
}
{
"name": "@testrtc/watchrtc-sdk",
"version": "1.40.1",
"version": "1.41.1-beta.1",
"description": "Monitor your WebRTC application by collecting WebRTC statistics from end users",

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

@@ -339,2 +339,9 @@ # watchRTC JS SDK

### 1.41.1.beta-1 (Sept 07, 2024)
- Keep a full raw stats when the initial connection to TestRTC can't be done during more than 10 minutes.
- Fix console logs override that prevented the SDK from collecting and sending internal logs
- Remove the Chrome colored syntax from the logs sent to the server. Traces displayed in TestRTC should be more readable.
- Rephrase the console logs to better distinguish error cases and to improve readability.
### 1.40.1 (August 26, 2024)

@@ -341,0 +348,0 @@

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