@voicenter-team/opensips-js 1.0.78 → 1.0.80
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/README.md +8 -0
- package/dist/index.d.ts +21 -4
- package/dist/opensips-js.cjs.js +21 -21
- package/dist/opensips-js.es.js +532 -532
- package/dist/opensips-js.iife.js +19 -19
- package/dist/opensips-js.umd.js +19 -19
- package/package.json +1 -1
- package/src/types/rtc.d.ts +6 -1
package/package.json
CHANGED
package/src/types/rtc.d.ts
CHANGED
@@ -16,6 +16,8 @@ import { UAConfiguration } from 'jssip/lib/UA'
|
|
16
16
|
|
17
17
|
import { MODULES } from '@/enum/modules'
|
18
18
|
|
19
|
+
import { ExtraContactParams } from 'jssip/lib/Registrator'
|
20
|
+
|
19
21
|
export type IntervalType = ReturnType<typeof setInterval>
|
20
22
|
|
21
23
|
export type ListenerEventType = EndEvent | IncomingEvent | OutgoingEvent | IncomingAckEvent | OutgoingAckEvent
|
@@ -129,8 +131,11 @@ export type MSRPModuleName = typeof MODULES.MSRP
|
|
129
131
|
|
130
132
|
export type Modules = AudioModuleName | VideoModuleName | MSRPModuleName
|
131
133
|
|
134
|
+
export type IOpenSIPSConfiguration = Omit<UAConfiguration, 'sockets'>
|
135
|
+
|
132
136
|
export interface IOpenSIPSJSOptions {
|
133
|
-
configuration:
|
137
|
+
configuration: IOpenSIPSConfiguration
|
138
|
+
pnExtraHeaders: ExtraContactParams
|
134
139
|
socketInterfaces: [ string ]
|
135
140
|
sipDomain: string
|
136
141
|
sipOptions: {
|