@syncbridge/hl7 0.4.14 → 0.4.16

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.
@@ -1,15 +1,7 @@
1
- import { TransmitLogger } from '@syncbridge/builtins';
2
1
  import { TcpClientComponent } from '@syncbridge/net';
3
2
  /**
4
3
  * Variables
5
4
  */
6
- export declare class HL7ClientVariables {
7
- host: string;
8
- port: number;
9
- keepAlive: boolean;
10
- connectTimeout: number;
5
+ export declare class HL7ClientVariables extends TcpClientComponent.Variables {
11
6
  responseTimeout: number;
12
- tls: TcpClientComponent.TlsVariables;
13
- reconnect: TcpClientComponent.ReconnectVariables;
14
- communicationLogs?: TransmitLogger.Variables;
15
7
  }
@@ -1,72 +1,17 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
- import { TransmitLogger } from '@syncbridge/builtins';
3
2
  import { DefineVariable } from '@syncbridge/common';
4
3
  import { TcpClientComponent } from '@syncbridge/net';
5
4
  /**
6
5
  * Variables
7
6
  */
8
- export class HL7ClientVariables {
7
+ export class HL7ClientVariables extends TcpClientComponent.Variables {
9
8
  }
10
- __decorate([
11
- DefineVariable({
12
- label: 'Host',
13
- description: 'Hostname or IP address to be connected to',
14
- required: true,
15
- }),
16
- __metadata("design:type", String)
17
- ], HL7ClientVariables.prototype, "host", void 0);
18
- __decorate([
19
- DefineVariable({
20
- label: 'Port',
21
- description: 'Port number of target listener',
22
- required: true,
23
- minValue: 1,
24
- maxValue: 65535,
25
- }),
26
- __metadata("design:type", Number)
27
- ], HL7ClientVariables.prototype, "port", void 0);
28
- __decorate([
29
- DefineVariable({
30
- label: 'Keep alive',
31
- description: 'Enables keep-alive on the TCP socket',
32
- default: false,
33
- }),
34
- __metadata("design:type", Boolean)
35
- ], HL7ClientVariables.prototype, "keepAlive", void 0);
36
- __decorate([
37
- DefineVariable({
38
- label: 'Connect timeout',
39
- description: 'Connection timeout in milliseconds',
40
- default: 10000,
41
- }),
42
- __metadata("design:type", Number)
43
- ], HL7ClientVariables.prototype, "connectTimeout", void 0);
44
9
  __decorate([
45
10
  DefineVariable({
46
11
  label: 'Response timeout',
47
12
  description: 'Response timeout in milliseconds',
48
13
  default: 30000,
14
+ index: 110,
49
15
  }),
50
16
  __metadata("design:type", Number)
51
17
  ], HL7ClientVariables.prototype, "responseTimeout", void 0);
52
- __decorate([
53
- DefineVariable({
54
- label: 'TLS',
55
- description: 'TLS options',
56
- }),
57
- __metadata("design:type", TcpClientComponent.TlsVariables)
58
- ], HL7ClientVariables.prototype, "tls", void 0);
59
- __decorate([
60
- DefineVariable({
61
- label: 'Reconnect',
62
- description: 'Reconnect options',
63
- }),
64
- __metadata("design:type", TcpClientComponent.ReconnectVariables)
65
- ], HL7ClientVariables.prototype, "reconnect", void 0);
66
- __decorate([
67
- DefineVariable({
68
- label: 'Communication Logs',
69
- description: 'Stores communication logs if enabled',
70
- }),
71
- __metadata("design:type", TransmitLogger.Variables)
72
- ], HL7ClientVariables.prototype, "communicationLogs", void 0);
package/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- export const version = '0.4.14';
1
+ export const version = '0.4.16';
2
2
  export const noOp = () => undefined;
3
3
  export const panatesAuthor = {
4
4
  name: 'Panates Technology AS',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@syncbridge/hl7",
3
- "version": "0.4.14",
3
+ "version": "0.4.16",
4
4
  "description": "SyncBridge HL7 connection components",
5
5
  "author": "Panates Inc",
6
6
  "license": "UNLICENSED",
@@ -12,9 +12,9 @@
12
12
  "node-events-async": "^1.5.0"
13
13
  },
14
14
  "peerDependencies": {
15
- "@syncbridge/common": "^0.5.9",
16
- "@syncbridge/builtins": "^0.4.14",
17
- "@syncbridge/net": "^0.4.14"
15
+ "@syncbridge/common": "^0.5.11",
16
+ "@syncbridge/builtins": "^0.4.16",
17
+ "@syncbridge/net": "^0.4.16"
18
18
  },
19
19
  "exports": {
20
20
  ".": {