@nsshunt/stsfhirclient 1.1.5 → 1.1.6
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.
|
@@ -3891,9 +3891,7 @@
|
|
|
3891
3891
|
flags: Object.assign({ fromQueue: true }, this.flags)
|
|
3892
3892
|
};
|
|
3893
3893
|
args.push((err, ...responseArgs) => {
|
|
3894
|
-
if (packet !== this._queue[0])
|
|
3895
|
-
return;
|
|
3896
|
-
}
|
|
3894
|
+
if (packet !== this._queue[0]) ;
|
|
3897
3895
|
const hasError = err !== null;
|
|
3898
3896
|
if (hasError) {
|
|
3899
3897
|
if (packet.tryCount > this._opts.retries) {
|
|
@@ -4124,8 +4122,8 @@
|
|
|
4124
4122
|
this._pid = pid;
|
|
4125
4123
|
this.connected = true;
|
|
4126
4124
|
this.emitBuffered();
|
|
4127
|
-
this.emitReserved("connect");
|
|
4128
4125
|
this._drainQueue(true);
|
|
4126
|
+
this.emitReserved("connect");
|
|
4129
4127
|
}
|
|
4130
4128
|
/**
|
|
4131
4129
|
* Emit buffered events (received and emitted).
|