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.38.0-beta.6 to 1.38.1-beta.1

11

lib/index.d.ts

@@ -57,3 +57,3 @@ import "./types";

export declare const disconnect: () => void;
export declare const addStatsListener: (listener: IStatsCallback) => void;
export declare const addStatsListener: (listener: IStatsCallback | null) => void;
export declare const persistentEnd: (nailUpCallEnd?: boolean) => void;

@@ -116,7 +116,14 @@ export declare const persistentStart: (roomId: string, peerId: string) => void;

disconnect: () => void;
addStatsListener: (listener: IStatsCallback) => void;
addStatsListener: (listener: IStatsCallback | null) => void;
persistentEnd: (nailUpCallEnd?: boolean | undefined) => void;
persistentStart: (roomId: string, peerId: string) => void;
addStateListener: (listener: StateListener | null) => void;
qualityrtc: {
run: ({ options, progressCallback, }: {
options?: Record<string, any> | undefined;
progressCallback: (progress: number) => void;
}) => Promise<any>;
stop: () => void;
};
};
export default _default;

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

enableDataCollection: () => void;
isDisabledDataCollection: () => boolean;
}

@@ -96,0 +97,0 @@ export interface IWatchRTCInitServices {

@@ -32,5 +32,10 @@ import { IEvent, IStatsCallback, IWatchRTCConfiguration, IWatchRTCInitServices, Rating, StateListener } from "./interfaces";

export declare const disconnect: () => void;
export declare const registerOnStatsListener: (listener: IStatsCallback) => void;
export declare const registerOnStatsListener: (listener: IStatsCallback | null) => void;
export declare const registerStateListener: (listener: StateListener | null) => void;
export declare const persistentEnd: (nailUpCallEnd?: boolean) => void;
export declare const persistentStart: (roomId: string, peerId: string) => void;
export declare const qrtcRun: ({ options, progressCallback, }: {
options?: Record<string, any> | undefined;
progressCallback: (progress: number) => void;
}) => Promise<any>;
export declare const qrtcStop: () => void;

2

lib/version.d.ts

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

declare const _default: "1.38.0-beta.6";
declare const _default: "1.38.1-beta.1";
export default _default;

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

enableDataCollection(): void;
isDisabledDataCollection(): boolean;
}
{
"name": "@testrtc/watchrtc-sdk",
"version": "1.38.0-beta.6",
"version": "1.38.1-beta.1",
"description": "Monitor your WebRTC application by collecting WebRTC statistics from end users",

@@ -16,9 +16,8 @@ "main": "lib/index.js",

"prepare": "yarn run build-prod",
"publish-qrtc": "npm run build-dev && (cd qualityrtc-sdk && npm run build-dev && npm run publish-beta)",
"publish-npm": "npm publish",
"publish-beta": "npm publish --tag beta"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^6.9.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",

@@ -28,4 +27,5 @@ "eslint": "^7.8.0",

"eslint-plugin-prettier": "^3.3.0",
"eslint-plugin-react-hooks": "^4.3.0",
"prettier": "^3.0.3",
"ts-loader": "8.0.16",
"ts-node": "^10.9.1",
"typescript": "^5.2.2",

@@ -32,0 +32,0 @@ "webpack": "5.21.2",

@@ -300,4 +300,5 @@ # watchRTC JS SDK

- **connectionStatus**: String value. Can be one of `connected` or `disconnected`,
_Note_: To stop listening, pass `null` to the `addStateListener()` function. The existing listener will be unsubscribed and removed.
_Note_: To stop listening, pass `null` to the `addStateListener()` function. The existing listener will be unsubscribed and removed.
## Samples

@@ -310,2 +311,13 @@

### 1.38.0 (unreleased)
- fixed statsListener to allow passing `null` to remove the callback
### 1.38.1.beta-1 (Nov 9,2023)
#### Add more debug logs
- added debug logs which makes it easier to track down issues related peer connection override, missing getStats API data and websocket reconnection.
- added timestamp prefix when collecting console logs.
### 1.38.0.beta-5 (Oct 18, 2023)

@@ -312,0 +324,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