opensips-js 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts
CHANGED
|
@@ -380,7 +380,12 @@ declare type conferenceStartListener = () => void
|
|
|
380
380
|
|
|
381
381
|
declare type connectionListener = (value: boolean) => void
|
|
382
382
|
|
|
383
|
-
declare type connectionStateChangeListener = (event:
|
|
383
|
+
declare type connectionStateChangeListener = (event: ConnectionStateChangeType) => void
|
|
384
|
+
|
|
385
|
+
declare type ConnectionStateChangeType = {
|
|
386
|
+
session: RTCSessionExtended,
|
|
387
|
+
connectionState: string
|
|
388
|
+
}
|
|
384
389
|
|
|
385
390
|
declare interface ConnectOptions {
|
|
386
391
|
extraHeaders?: Array<string>;
|