@testrtc/watchrtc-sdk
Advanced tools
Comparing version 1.38.0-beta.6 to 1.38.1-beta.1
@@ -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; |
@@ -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
563759
0
1404
519
11
3
- Removed@eslint-community/eslint-utils@4.4.1(transitive)
- Removed@eslint-community/regexpp@4.12.1(transitive)
- Removed@eslint/eslintrc@2.1.4(transitive)
- Removed@eslint/js@8.57.1(transitive)
- Removed@humanwhocodes/config-array@0.13.0(transitive)
- Removed@humanwhocodes/module-importer@1.0.1(transitive)
- Removed@humanwhocodes/object-schema@2.0.3(transitive)
- Removed@nodelib/fs.scandir@2.1.5(transitive)
- Removed@nodelib/fs.stat@2.0.5(transitive)
- Removed@nodelib/fs.walk@1.2.8(transitive)
- Removed@types/json-schema@7.0.15(transitive)
- Removed@types/semver@7.5.8(transitive)
- Removed@typescript-eslint/eslint-plugin@6.21.0(transitive)
- Removed@typescript-eslint/parser@6.21.0(transitive)
- Removed@typescript-eslint/scope-manager@6.21.0(transitive)
- Removed@typescript-eslint/type-utils@6.21.0(transitive)
- Removed@typescript-eslint/types@6.21.0(transitive)
- Removed@typescript-eslint/typescript-estree@6.21.0(transitive)
- Removed@typescript-eslint/utils@6.21.0(transitive)
- Removed@typescript-eslint/visitor-keys@6.21.0(transitive)
- Removed@ungap/structured-clone@1.3.0(transitive)
- Removedacorn@8.14.0(transitive)
- Removedacorn-jsx@5.3.2(transitive)
- Removedajv@6.12.6(transitive)
- Removedansi-regex@5.0.1(transitive)
- Removedansi-styles@4.3.0(transitive)
- Removedargparse@2.0.1(transitive)
- Removedarray-union@2.1.0(transitive)
- Removedbalanced-match@1.0.2(transitive)
- Removedbrace-expansion@1.1.112.0.1(transitive)
- Removedbraces@3.0.3(transitive)
- Removedcallsites@3.1.0(transitive)
- Removedchalk@4.1.2(transitive)
- Removedcolor-convert@2.0.1(transitive)
- Removedcolor-name@1.1.4(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedcross-spawn@7.0.6(transitive)
- Removeddebug@4.4.0(transitive)
- Removeddeep-is@0.1.4(transitive)
- Removeddir-glob@3.0.1(transitive)
- Removeddoctrine@3.0.0(transitive)
- Removedescape-string-regexp@4.0.0(transitive)
- Removedeslint@8.57.1(transitive)
- Removedeslint-scope@7.2.2(transitive)
- Removedeslint-visitor-keys@3.4.3(transitive)
- Removedespree@9.6.1(transitive)
- Removedesquery@1.6.0(transitive)
- Removedesrecurse@4.3.0(transitive)
- Removedestraverse@5.3.0(transitive)
- Removedesutils@2.0.3(transitive)
- Removedfast-deep-equal@3.1.3(transitive)
- Removedfast-glob@3.3.3(transitive)
- Removedfast-json-stable-stringify@2.1.0(transitive)
- Removedfast-levenshtein@2.0.6(transitive)
- Removedfastq@1.18.0(transitive)
- Removedfile-entry-cache@6.0.1(transitive)
- Removedfill-range@7.1.1(transitive)
- Removedfind-up@5.0.0(transitive)
- Removedflat-cache@3.2.0(transitive)
- Removedflatted@3.3.2(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.2.3(transitive)
- Removedglob-parent@5.1.26.0.2(transitive)
- Removedglobals@13.24.0(transitive)
- Removedglobby@11.1.0(transitive)
- Removedgraphemer@1.4.0(transitive)
- Removedhas-flag@4.0.0(transitive)
- Removedignore@5.3.2(transitive)
- Removedimport-fresh@3.3.0(transitive)
- Removedimurmurhash@0.1.4(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedis-extglob@2.1.1(transitive)
- Removedis-glob@4.0.3(transitive)
- Removedis-number@7.0.0(transitive)
- Removedis-path-inside@3.0.3(transitive)
- Removedisexe@2.0.0(transitive)
- Removedjs-yaml@4.1.0(transitive)
- Removedjson-buffer@3.0.1(transitive)
- Removedjson-schema-traverse@0.4.1(transitive)
- Removedjson-stable-stringify-without-jsonify@1.0.1(transitive)
- Removedkeyv@4.5.4(transitive)
- Removedlevn@0.4.1(transitive)
- Removedlocate-path@6.0.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedmerge2@1.4.1(transitive)
- Removedmicromatch@4.0.8(transitive)
- Removedminimatch@3.1.29.0.3(transitive)
- Removedms@2.1.3(transitive)
- Removednatural-compare@1.4.0(transitive)
- Removedonce@1.4.0(transitive)
- Removedoptionator@0.9.4(transitive)
- Removedp-limit@3.1.0(transitive)
- Removedp-locate@5.0.0(transitive)
- Removedparent-module@1.0.1(transitive)
- Removedpath-exists@4.0.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedpath-key@3.1.1(transitive)
- Removedpath-type@4.0.0(transitive)
- Removedpicomatch@2.3.1(transitive)
- Removedprelude-ls@1.2.1(transitive)
- Removedpunycode@2.3.1(transitive)
- Removedqueue-microtask@1.2.3(transitive)
- Removedresolve-from@4.0.0(transitive)
- Removedreusify@1.0.4(transitive)
- Removedrimraf@3.0.2(transitive)
- Removedrun-parallel@1.2.0(transitive)
- Removedsemver@7.7.0(transitive)
- Removedshebang-command@2.0.0(transitive)
- Removedshebang-regex@3.0.0(transitive)
- Removedslash@3.0.0(transitive)
- Removedstrip-ansi@6.0.1(transitive)
- Removedstrip-json-comments@3.1.1(transitive)
- Removedsupports-color@7.2.0(transitive)
- Removedtext-table@0.2.0(transitive)
- Removedto-regex-range@5.0.1(transitive)
- Removedts-api-utils@1.4.3(transitive)
- Removedtype-check@0.4.0(transitive)
- Removedtype-fest@0.20.2(transitive)
- Removedtypescript@5.7.3(transitive)
- Removeduri-js@4.4.1(transitive)
- Removedwhich@2.0.2(transitive)
- Removedword-wrap@1.2.5(transitive)
- Removedwrappy@1.0.2(transitive)
- Removedyocto-queue@0.1.0(transitive)