opensips-js 0.1.30 → 0.1.32
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 +9 -2
- package/dist/opensips-js.cjs.js +97 -97
- package/dist/opensips-js.es.js +6331 -6156
- package/dist/opensips-js.iife.js +100 -100
- package/dist/opensips-js.umd.js +100 -100
- package/package.json +1 -1
- package/src/types/listeners.d.ts +7 -2
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>;
|
|
@@ -529,9 +534,11 @@ declare type ListenerEventType = EndEvent | IncomingEvent | OutgoingEvent | Inco
|
|
|
529
534
|
declare type ListenersKeyType = keyof OpenSIPSEventMap
|
|
530
535
|
|
|
531
536
|
declare class ManagedAudioContext {
|
|
532
|
-
private
|
|
537
|
+
private context;
|
|
533
538
|
private resumePromise;
|
|
534
539
|
constructor();
|
|
540
|
+
private setupErrorHandling;
|
|
541
|
+
private createNewContext;
|
|
535
542
|
getContext(): Promise<AudioContext>;
|
|
536
543
|
}
|
|
537
544
|
|