@testrtc/watchrtc-sdk
Advanced tools
Comparing version 1.40.1 to 1.41.1-beta.1
@@ -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 {}; |
@@ -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; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
625406
16
1539
687
2