@zimo-elektronik/zcan 1.0.12 → 1.0.14
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/@types/models.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ export default class AccessoryCommandGroup {
|
|
|
22
22
|
{ value: nid, length: 2 },
|
|
23
23
|
{ value: pin, length: 1 },
|
|
24
24
|
{ value: state, length: 1 },
|
|
25
|
-
],
|
|
25
|
+
], 0b01);
|
|
26
26
|
}
|
|
27
27
|
parse(size, command, mode, nid, buffer) {
|
|
28
28
|
switch (command) {
|
|
@@ -70,7 +70,7 @@ export default class AccessoryCommandGroup {
|
|
|
70
70
|
if (deviceNID) {
|
|
71
71
|
this.onAccessoryPort.next({
|
|
72
72
|
nid: deviceNID,
|
|
73
|
-
|
|
73
|
+
type,
|
|
74
74
|
port,
|
|
75
75
|
});
|
|
76
76
|
}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "https://github.com/ZIMO-Elektronik/zcan",
|
|
8
|
-
"version": "1.0.
|
|
8
|
+
"version": "1.0.14",
|
|
9
9
|
"scripts": {
|
|
10
10
|
"start": "node dist/main.js",
|
|
11
11
|
"start:dev": "nodemon --ext js,ts,json,env --exec \"node --experimental-specifier-resolution=node --loader ts-node/esm\" src/main.ts",
|
package/src/@types/models.ts
CHANGED
|
@@ -47,7 +47,7 @@ export default class AccessoryCommandGroup {
|
|
|
47
47
|
{value: pin, length: 1},
|
|
48
48
|
{value: state, length: 1},
|
|
49
49
|
],
|
|
50
|
-
|
|
50
|
+
0b01,
|
|
51
51
|
);
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -109,7 +109,7 @@ export default class AccessoryCommandGroup {
|
|
|
109
109
|
if (deviceNID) {
|
|
110
110
|
this.onAccessoryPort.next({
|
|
111
111
|
nid: deviceNID,
|
|
112
|
-
|
|
112
|
+
type,
|
|
113
113
|
port,
|
|
114
114
|
});
|
|
115
115
|
}
|