opensips-js-vue 0.1.3 → 0.1.5
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/library/index.d.ts +9 -1
- package/library/super.mjs +5233 -5078
- package/library/super.mjs.map +1 -1
- package/library/super.umd.js +48 -48
- package/library/super.umd.js.map +1 -1
- package/package.json +2 -2
package/library/index.d.ts
CHANGED
|
@@ -96,6 +96,14 @@ export declare type conferenceStartListener = () => void
|
|
|
96
96
|
|
|
97
97
|
export declare type connectionListener = (value: boolean) => void
|
|
98
98
|
|
|
99
|
+
declare interface ConnectOptions {
|
|
100
|
+
domain: string
|
|
101
|
+
username: string
|
|
102
|
+
modules: Array<'audio' | 'video'>
|
|
103
|
+
password?: string
|
|
104
|
+
authorization_jwt?: string
|
|
105
|
+
}
|
|
106
|
+
|
|
99
107
|
export declare interface CustomLoggerType {
|
|
100
108
|
log: CommonLogMethodType
|
|
101
109
|
warn: CommonLogMethodType
|
|
@@ -400,7 +408,7 @@ export declare interface VsipAPI {
|
|
|
400
408
|
export declare const vsipAPI: VsipAPI;
|
|
401
409
|
|
|
402
410
|
declare interface VsipAPIActions {
|
|
403
|
-
init(
|
|
411
|
+
init(credentials: ConnectOptions, pnExtraHeaders?: PNExtraHeaders, opensipsConfiguration?: Partial<InitOpensipsConfiguration>): Promise<unknown>
|
|
404
412
|
unregister: () => void
|
|
405
413
|
register: () => void
|
|
406
414
|
disconnect: () => void
|