opensips-js-vue 0.1.0 → 0.1.2
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/super.mjs +2 -2
- 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/super.mjs
CHANGED
|
@@ -19931,8 +19931,8 @@ class Nv extends Ov {
|
|
|
19931
19931
|
return;
|
|
19932
19932
|
if (d === Oe.INVITE ? new Kt.InviteServerTransaction(this, this._transport, s) : d !== Oe.ACK && d !== Oe.CANCEL && new Kt.NonInviteServerTransaction(this, this._transport, s), d === Oe.OPTIONS) {
|
|
19933
19933
|
if (this.lastOptionsTimestamp = Date.now(), this.optionsInterval || (this.emit("initKeepAliveInterval"), this.optionsInterval = setInterval(() => {
|
|
19934
|
-
const g = Date.now();
|
|
19935
|
-
|
|
19934
|
+
const g = Date.now(), p = this.lastOptionsTimestamp > g - 35e3, T = this.lastRegisterTimestamp + this._configuration.register_expires * 1e3 > g;
|
|
19935
|
+
p && T && this.emit("keepAliveInterval");
|
|
19936
19936
|
}, 35e3)), this.listeners("newOptions").length === 0) {
|
|
19937
19937
|
s.reply(200);
|
|
19938
19938
|
return;
|