@syncbridge/net 0.4.17 → 0.4.18

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.
@@ -10,6 +10,7 @@ __decorate([
10
10
  DefineVariable({
11
11
  label: 'SNI',
12
12
  description: 'SNI (Server Name Indication)',
13
+ hotPlug: true,
13
14
  }),
14
15
  __metadata("design:type", String)
15
16
  ], TcpClientTlsVariables.prototype, "servername", void 0);
@@ -18,6 +19,7 @@ __decorate([
18
19
  label: 'Key',
19
20
  description: 'Private keys in PEM format',
20
21
  required: true,
22
+ hotPlug: true,
21
23
  }),
22
24
  __metadata("design:type", String)
23
25
  ], TcpClientTlsVariables.prototype, "key", void 0);
@@ -26,6 +28,7 @@ __decorate([
26
28
  label: 'Cert',
27
29
  description: 'Cert chains in PEM format',
28
30
  required: true,
31
+ hotPlug: true,
29
32
  }),
30
33
  __metadata("design:type", String)
31
34
  ], TcpClientTlsVariables.prototype, "cert", void 0);
@@ -36,6 +39,7 @@ __decorate([
36
39
  "curated by Mozilla. Mozilla's CAs are completely replaced when CAs are explicitly specified " +
37
40
  'using this option.',
38
41
  required: true,
42
+ hotPlug: true,
39
43
  }),
40
44
  __metadata("design:type", String)
41
45
  ], TcpClientTlsVariables.prototype, "ca", void 0);
@@ -44,6 +48,7 @@ __decorate([
44
48
  type: VariableType.Secret,
45
49
  label: 'Passphrase',
46
50
  description: 'Passphrase to decrypt the private key',
51
+ hotPlug: true,
47
52
  }),
48
53
  __metadata("design:type", String)
49
54
  ], TcpClientTlsVariables.prototype, "passphrase", void 0);
@@ -52,6 +57,7 @@ __decorate([
52
57
  label: 'Reject unauthorized',
53
58
  description: 'If true will reject any connection which is not authorized with the list of supplied CAs',
54
59
  default: true,
60
+ hotPlug: true,
55
61
  }),
56
62
  __metadata("design:type", Boolean)
57
63
  ], TcpClientTlsVariables.prototype, "rejectUnauthorized", void 0);
@@ -66,6 +72,7 @@ __decorate([
66
72
  label: 'Reconnection strategy',
67
73
  enumValues: ['exponential', 'fibonacci'],
68
74
  default: 'exponential',
75
+ hotPlug: true,
69
76
  }),
70
77
  __metadata("design:type", String)
71
78
  ], TcpClientReconnectVariables.prototype, "strategy", void 0);
@@ -74,6 +81,7 @@ __decorate([
74
81
  label: 'Initial delay',
75
82
  description: 'Initial delay in milliseconds',
76
83
  default: 2000,
84
+ hotPlug: true,
77
85
  }),
78
86
  __metadata("design:type", Number)
79
87
  ], TcpClientReconnectVariables.prototype, "initialDelay", void 0);
@@ -82,6 +90,7 @@ __decorate([
82
90
  label: 'Maximum delay',
83
91
  description: 'Maximum delay in milliseconds',
84
92
  default: 10000,
93
+ hotPlug: true,
85
94
  }),
86
95
  __metadata("design:type", Number)
87
96
  ], TcpClientReconnectVariables.prototype, "maxDelay", void 0);
@@ -96,6 +105,7 @@ __decorate([
96
105
  description: 'Hostname or IP address to be connected to',
97
106
  required: true,
98
107
  index: 100,
108
+ hotPlug: true,
99
109
  }),
100
110
  __metadata("design:type", String)
101
111
  ], TcpClientVariables.prototype, "host", void 0);
@@ -107,6 +117,7 @@ __decorate([
107
117
  minValue: 1,
108
118
  maxValue: 65535,
109
119
  index: 101,
120
+ hotPlug: true,
110
121
  }),
111
122
  __metadata("design:type", Number)
112
123
  ], TcpClientVariables.prototype, "port", void 0);
@@ -116,6 +127,7 @@ __decorate([
116
127
  description: 'Enables keep-alive on the TCP socket',
117
128
  default: false,
118
129
  index: 102,
130
+ hotPlug: true,
119
131
  }),
120
132
  __metadata("design:type", Boolean)
121
133
  ], TcpClientVariables.prototype, "keepAlive", void 0);
@@ -125,6 +137,7 @@ __decorate([
125
137
  description: 'Connection timeout in milliseconds',
126
138
  default: 10000,
127
139
  index: 103,
140
+ hotPlug: true,
128
141
  }),
129
142
  __metadata("design:type", Number)
130
143
  ], TcpClientVariables.prototype, "connectTimeout", void 0);
@@ -132,12 +145,14 @@ __decorate([
132
145
  DefineVariable({
133
146
  label: 'Reconnect',
134
147
  description: 'Reconnect options',
148
+ hotPlug: true,
135
149
  }),
136
150
  __metadata("design:type", TcpClientReconnectVariables)
137
151
  ], TcpClientVariables.prototype, "reconnect", void 0);
138
152
  __decorate([
139
153
  DefineVariable({
140
154
  label: 'TLS Enabled',
155
+ hotPlug: true,
141
156
  }),
142
157
  __metadata("design:type", Boolean)
143
158
  ], TcpClientVariables.prototype, "tls_enabled", void 0);
@@ -145,6 +160,7 @@ __decorate([
145
160
  DefineVariable({
146
161
  label: 'TLS',
147
162
  description: 'TLS options',
163
+ hotPlug: true,
148
164
  }),
149
165
  __metadata("design:type", TcpClientTlsVariables)
150
166
  ], TcpClientVariables.prototype, "tls", void 0);
package/constants.js CHANGED
@@ -1,4 +1,4 @@
1
- export const version = '0.4.17';
1
+ export const version = '0.4.18';
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/net",
3
- "version": "0.4.17",
3
+ "version": "0.4.18",
4
4
  "description": "SyncBridge builtin net (socket) extensions",
5
5
  "author": "Panates Inc",
6
6
  "license": "UNLICENSED",
@@ -27,8 +27,8 @@
27
27
  "serialport": "^13.0.0"
28
28
  },
29
29
  "peerDependencies": {
30
- "@syncbridge/common": "^0.5.11",
31
- "@syncbridge/builtins": "^0.4.17",
30
+ "@syncbridge/common": "^0.5.12",
31
+ "@syncbridge/builtins": "^0.4.18",
32
32
  "@sqb/builder": ">=4.19.6 <5",
33
33
  "@sqb/connect": ">=4.19.6 <5"
34
34
  },