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