@voicenter-team/opensips-js 1.0.93 → 1.0.95

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voicenter-team/opensips-js",
3
- "version": "1.0.93",
3
+ "version": "1.0.95",
4
4
  "description": "The JS package for opensips",
5
5
  "default": "src/index.ts",
6
6
  "jsdelivr": "dist/opensips-js.umd.js",
@@ -17,6 +17,7 @@ export type ChangeVolumeEventType = {
17
17
  }
18
18
 
19
19
  export type readyListener = (value: boolean) => void
20
+ export type connectionListener = (value: boolean) => void
20
21
  export type changeActiveCallsListener = (event: { [key: string]: ICall }) => void
21
22
  export type changeActiveMessagesListener = (event: { [key: string]: IMessage }) => void
22
23
  export type TestEventListener = (event: { test: string }) => void
@@ -48,6 +49,7 @@ export type memberHangupListener = (event: object) => void
48
49
 
49
50
  export interface OpenSIPSEventMap extends UAEventMap {
50
51
  ready: readyListener
52
+ connection: connectionListener
51
53
  changeActiveCalls: changeActiveCallsListener
52
54
  changeActiveMessages: changeActiveMessagesListener
53
55
  callConfirmed: TestEventListener