@voicenter-team/opensips-js 1.0.141 → 1.0.143
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 +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/opensips-js.cjs.js +1 -1
- package/dist/opensips-js.es.js +29 -9
- package/dist/opensips-js.iife.js +20 -20
- package/dist/opensips-js.umd.js +21 -21
- package/package.json +1 -1
- package/src/types/rtc.d.ts +5 -0
package/package.json
CHANGED
package/src/types/rtc.d.ts
CHANGED
@@ -113,6 +113,7 @@ export interface ICallStatus {
|
|
113
113
|
isMoving: boolean
|
114
114
|
isTransferring: boolean
|
115
115
|
isMerging: boolean
|
116
|
+
isTransferred: boolean
|
116
117
|
}
|
117
118
|
|
118
119
|
export interface ICallStatusUpdate {
|
@@ -120,6 +121,7 @@ export interface ICallStatusUpdate {
|
|
120
121
|
isMoving?: boolean
|
121
122
|
isTransferring?: boolean
|
122
123
|
isMerging?: boolean
|
124
|
+
isTransferred?: boolean
|
123
125
|
}
|
124
126
|
|
125
127
|
export type IRoomUpdate = Omit<IRoom, 'started'> & {
|
@@ -132,8 +134,11 @@ export type MSRPModuleName = typeof MODULES.MSRP
|
|
132
134
|
|
133
135
|
export type Modules = AudioModuleName | VideoModuleName | MSRPModuleName
|
134
136
|
|
137
|
+
export type OnTransportCallback = (parsed: object, message: string) => void
|
138
|
+
|
135
139
|
type UAConfigurationExtended = UAConfiguration & {
|
136
140
|
overrideUserAgent?: (userAgent: string) => string
|
141
|
+
onTransportCallback?: OnTransportCallback
|
137
142
|
}
|
138
143
|
|
139
144
|
export type IOpenSIPSConfiguration = Omit<UAConfigurationExtended, 'sockets'>
|