@syncbridge/hl7 0.4.16 → 0.4.17
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.
|
@@ -102,9 +102,11 @@ let HL7ClientComponent = class HL7ClientComponent extends ComponentBase {
|
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
104
|
async _start(abortSignal) {
|
|
105
|
+
await super._start(abortSignal);
|
|
105
106
|
this._stopping = false;
|
|
106
107
|
this.client.connect().catch(noOp);
|
|
107
|
-
|
|
108
|
+
if (!this.client.connected)
|
|
109
|
+
this.setStatus(ServiceStatus.unhealthy);
|
|
108
110
|
}
|
|
109
111
|
async _stop() {
|
|
110
112
|
this._stopping = true;
|
|
@@ -114,7 +114,7 @@ let HL7ServerComponent = class HL7ServerComponent extends ComponentBase {
|
|
|
114
114
|
async _start(abortSignal) {
|
|
115
115
|
this._stopping = false;
|
|
116
116
|
await this.server.listen(this.values.port);
|
|
117
|
-
super._start(abortSignal);
|
|
117
|
+
await super._start(abortSignal);
|
|
118
118
|
}
|
|
119
119
|
async _stop() {
|
|
120
120
|
this._stopping = true;
|
package/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncbridge/hl7",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.17",
|
|
4
4
|
"description": "SyncBridge HL7 connection components",
|
|
5
5
|
"author": "Panates Inc",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@syncbridge/common": "^0.5.11",
|
|
16
|
-
"@syncbridge/builtins": "^0.4.
|
|
17
|
-
"@syncbridge/net": "^0.4.
|
|
16
|
+
"@syncbridge/builtins": "^0.4.17",
|
|
17
|
+
"@syncbridge/net": "^0.4.17"
|
|
18
18
|
},
|
|
19
19
|
"exports": {
|
|
20
20
|
".": {
|