opensips-js-vue 0.1.18 → 0.1.20
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 +1 -1
- package/library/super.mjs +1 -1
- package/library/super.mjs.map +1 -1
- package/library/super.umd.js +1 -1
- package/library/super.umd.js.map +1 -1
- package/package.json +2 -2
package/library/index.d.ts
CHANGED
|
@@ -268,7 +268,7 @@ export declare interface OpensipsConnectOptions {
|
|
|
268
268
|
msrpDomain: string
|
|
269
269
|
msrpWs: boolean
|
|
270
270
|
username: string
|
|
271
|
-
modules: Array<'audio' | 'video'>
|
|
271
|
+
modules: Array<'audio' | 'video' | 'msrp'>
|
|
272
272
|
password?: string
|
|
273
273
|
authorization_jwt?: string
|
|
274
274
|
}
|
package/library/super.mjs
CHANGED
|
@@ -19657,7 +19657,7 @@ class b1 {
|
|
|
19657
19657
|
this._ua.clearKeepAliveInterval(), this._ua.setLastRegisterTimestamp();
|
|
19658
19658
|
let g = f.getParam("expires");
|
|
19659
19659
|
!g && c.hasHeader("expires") && (g = c.getHeader("expires")), g || (g = this._expires), g = Number(g), g < Tu && (g = Tu);
|
|
19660
|
-
const d = g > 64 ? g * 1e3 / 2 + Math.floor((g / 2 - 32) * 1e3 * Math.random()) : g * 1e3
|
|
19660
|
+
const d = g > 64 ? g * 1e3 / 2 + Math.floor((g / 2 - 32) * 1e3 * Math.random()) : Math.floor(g * 1e3 / 2);
|
|
19661
19661
|
this._registrationTimer = setTimeout(() => {
|
|
19662
19662
|
this._registrationTimer = null, this._ua.listeners("registrationExpiring").length === 0 ? this.register() : this._ua.emit("registrationExpiring");
|
|
19663
19663
|
}, d), f.hasParam("temp-gruu") && (this._ua.contact.temp_gruu = f.getParam("temp-gruu").replace(/"/g, "")), f.hasParam("pub-gruu") && (this._ua.contact.pub_gruu = f.getParam("pub-gruu").replace(/"/g, "")), this._registered || (this._registered = !0, this._ua.registered({ response: c }));
|