opensips-js-vue 0.1.0 → 0.1.1

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 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
- this.lastOptionsTimestamp > g - 35e3 && this.lastRegisterTimestamp + this._configuration.register_expires * 1e3 > g && this.emit("keepAliveInterval");
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;