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
0
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.41.1 to 1.41.2-beta.3

11

lib/interfaces.d.ts

@@ -5,3 +5,3 @@ export interface RTCPeerConnectionInformation {

prev?: any;
nailUpRef?: any;
statsRef?: any;
validConnection: boolean;

@@ -88,2 +88,3 @@ }

}) => void;
onNewReference?: (refStats: any) => void;
options?: {

@@ -131,2 +132,4 @@ cleanOldTraces?: boolean;

flushRawStats: (keepId: number) => any;
pickupNewReference: () => any;
rewriteBuffer: (referenceStats: any) => any;
readonly referenceStats: any;

@@ -139,2 +142,8 @@ readonly stashedStats: any;

}
export type Protection = "alphanumeric" | "hacking";
export interface ISanitize {
propertyName: string;
maxLength: number;
protectionType: Protection;
}
export interface TestRTCCompanionInfo {

@@ -141,0 +150,0 @@ name: string;

@@ -12,2 +12,4 @@ import { IStorage } from "./interfaces";

reset(): void;
pickupNewReference(): any;
rewriteBuffer(referenceStats: any): any;
}

3

lib/utils.d.ts

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

import { IEvent, ISocketTrace, IWatchRTCConfiguration, IWatchrtcIdentifiers, Rating, RTCPeerConnectionInformation, TestRTCCompanionInfo, TestRTCCompanionStats } from "./interfaces";
import { IEvent, ISocketTrace, IWatchRTCConfiguration, IWatchrtcIdentifiers, Rating, RTCPeerConnectionInformation, TestRTCCompanionInfo, TestRTCCompanionStats, ISanitize } from "./interfaces";
export declare const TESTRTC_COMPANION_STATS_TIMEOUT = 2000;

@@ -51,2 +51,3 @@ type ConfigLogLevel = Required<IWatchRTCConfiguration>["logLevel"];

};
export declare const sanitize: (propertyValue: string, sanitizeOptions: ISanitize) => string;
export {};

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

declare const _default: "1.41.1";
declare const _default: "1.41.2-beta.3";
export default _default;

@@ -16,3 +16,3 @@ import { ISocketService, ISocketTrace, ISocketConnectOptions, IStorage } from "./interfaces";

constructor();
connect({ url, onData, onError, onOpen, onClose, options }: ISocketConnectOptions): void;
connect({ url, onData, onError, onOpen, onClose, onNewReference, options }: ISocketConnectOptions): void;
trace: ISocketTrace;

@@ -19,0 +19,0 @@ close(nailUpCallEnd?: boolean): void;

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

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

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

### 1.41.2-beta.3 (Jan 6, 2025)
- Sanitize inputs from public methods
### 1.41.2-beta.2 (December 9, 2024)
- Resolve the initial spike observed in charts caused by metrics being incorrectly reported when the WebSocket connection is not yet established at the start of the call.
### 1.41.2-beta.1 (November 30, 2024)
- Always send decompressed statistics when reconnecting to the server
### 1.41.1 (November 27, 2024)

@@ -341,0 +353,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