@syncbridge/serialport 0.4.15 → 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.
|
@@ -45,6 +45,7 @@ __decorate([
|
|
|
45
45
|
enumValues: SerialPort.list()
|
|
46
46
|
.then(ports => ports.map(port => port.path))
|
|
47
47
|
.catch(() => []),
|
|
48
|
+
index: 100,
|
|
48
49
|
}),
|
|
49
50
|
__metadata("design:type", String)
|
|
50
51
|
], SerialClientVariables.prototype, "port", void 0);
|
|
@@ -58,6 +59,7 @@ __decorate([
|
|
|
58
59
|
'is not guaranteed to support the requested baud rate, even if the port itself supports that baud rate.',
|
|
59
60
|
default: 9600,
|
|
60
61
|
required: true,
|
|
62
|
+
index: 101,
|
|
61
63
|
}),
|
|
62
64
|
__metadata("design:type", Number)
|
|
63
65
|
], SerialClientVariables.prototype, "baudRate", void 0);
|
|
@@ -68,6 +70,7 @@ __decorate([
|
|
|
68
70
|
enumValues: ['5', '6', '7', '8', '9'],
|
|
69
71
|
default: '8',
|
|
70
72
|
required: true,
|
|
73
|
+
index: 102,
|
|
71
74
|
}),
|
|
72
75
|
__metadata("design:type", String)
|
|
73
76
|
], SerialClientVariables.prototype, "dataBits", void 0);
|
|
@@ -77,6 +80,7 @@ __decorate([
|
|
|
77
80
|
label: 'Stop bits',
|
|
78
81
|
enumValues: ['1', '1.5', '2'],
|
|
79
82
|
default: '1',
|
|
83
|
+
index: 103,
|
|
80
84
|
}),
|
|
81
85
|
__metadata("design:type", String)
|
|
82
86
|
], SerialClientVariables.prototype, "stopBits", void 0);
|
|
@@ -86,6 +90,7 @@ __decorate([
|
|
|
86
90
|
label: 'Parity flow control',
|
|
87
91
|
enumValues: ['none', 'even', 'mark', 'odd', 'space'],
|
|
88
92
|
default: 'none',
|
|
93
|
+
index: 104,
|
|
89
94
|
}),
|
|
90
95
|
__metadata("design:type", String)
|
|
91
96
|
], SerialClientVariables.prototype, "parity", void 0);
|
|
@@ -94,6 +99,7 @@ __decorate([
|
|
|
94
99
|
label: 'RTS/CTS',
|
|
95
100
|
description: 'RTS/CTS flow control',
|
|
96
101
|
default: false,
|
|
102
|
+
index: 105,
|
|
97
103
|
}),
|
|
98
104
|
__metadata("design:type", Boolean)
|
|
99
105
|
], SerialClientVariables.prototype, "rtscts", void 0);
|
|
@@ -102,6 +108,7 @@ __decorate([
|
|
|
102
108
|
label: 'XON',
|
|
103
109
|
description: 'XON flow control',
|
|
104
110
|
default: false,
|
|
111
|
+
index: 106,
|
|
105
112
|
}),
|
|
106
113
|
__metadata("design:type", Boolean)
|
|
107
114
|
], SerialClientVariables.prototype, "xon", void 0);
|
|
@@ -110,6 +117,7 @@ __decorate([
|
|
|
110
117
|
label: 'XOFF',
|
|
111
118
|
description: 'XOFF flow control',
|
|
112
119
|
default: false,
|
|
120
|
+
index: 107,
|
|
113
121
|
}),
|
|
114
122
|
__metadata("design:type", Boolean)
|
|
115
123
|
], SerialClientVariables.prototype, "xoff", void 0);
|
|
@@ -118,6 +126,7 @@ __decorate([
|
|
|
118
126
|
label: 'XANY',
|
|
119
127
|
description: 'XANY flow control',
|
|
120
128
|
default: false,
|
|
129
|
+
index: 108,
|
|
121
130
|
}),
|
|
122
131
|
__metadata("design:type", Boolean)
|
|
123
132
|
], SerialClientVariables.prototype, "xany", void 0);
|
|
@@ -126,6 +135,7 @@ __decorate([
|
|
|
126
135
|
label: 'HUPCL',
|
|
127
136
|
description: 'Drop DTR on close if enabled',
|
|
128
137
|
default: true,
|
|
138
|
+
index: 109,
|
|
129
139
|
}),
|
|
130
140
|
__metadata("design:type", Boolean)
|
|
131
141
|
], SerialClientVariables.prototype, "hupcl", void 0);
|
package/constants.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syncbridge/serialport",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.16",
|
|
4
4
|
"description": "SyncBridge Serial Port connection component",
|
|
5
5
|
"author": "Panates Inc",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"serialport": "^13.0.0"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@syncbridge/common": "^0.5.
|
|
18
|
-
"@syncbridge/builtins": "^0.4.
|
|
17
|
+
"@syncbridge/common": "^0.5.11",
|
|
18
|
+
"@syncbridge/builtins": "^0.4.16"
|
|
19
19
|
},
|
|
20
20
|
"exports": {
|
|
21
21
|
".": {
|