opensips-js 0.1.1 → 0.1.3

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.
@@ -19889,8 +19889,8 @@ class jT extends FT {
19889
19889
  return;
19890
19890
  if (n === De.INVITE ? new Gt.InviteServerTransaction(this, this._transport, t) : n !== De.ACK && n !== De.CANCEL && new Gt.NonInviteServerTransaction(this, this._transport, t), n === De.OPTIONS) {
19891
19891
  if (this.lastOptionsTimestamp = Date.now(), this.optionsInterval || (this.emit("initKeepAliveInterval"), this.optionsInterval = setInterval(() => {
19892
- const g = Date.now();
19893
- this.lastOptionsTimestamp > g - 35e3 && this.lastRegisterTimestamp + this._configuration.register_expires * 1e3 > g && this.emit("keepAliveInterval");
19892
+ const g = Date.now(), T = this.lastOptionsTimestamp > g - 35e3, E = this.lastRegisterTimestamp + this._configuration.register_expires * 1e3 > g;
19893
+ T && E && this.emit("keepAliveInterval");
19894
19894
  }, 35e3)), this.listeners("newOptions").length === 0) {
19895
19895
  t.reply(200);
19896
19896
  return;