isy-nodejs 1.0.3-y.0 → 1.0.4-alpha.0
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/esm/ISYNode.js.map +1 -1
- package/dist/esm/types/Devices/EndpointFor.d.ts +1 -1
- package/dist/esm/types/Devices/Insteon/InsteonDevice.d.ts +2 -2
- package/dist/esm/types/ISYNode.d.ts +1 -1
- package/dist/esm/types/ISYNode.d.ts.map +1 -1
- package/dist/esm/types/Model/EnumDefinition.d.ts +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/ISYNode.ts +1 -3
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "isy-nodejs",
|
|
3
3
|
"description": "Node.js wrapper for ISY interface including websockets for change notifications. Fork of isy-js by Rod Toll. Designed to be used in a node.js application.",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "1.0.
|
|
5
|
+
"version": "1.0.4-alpha.0",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Pradeep Mouli"
|
|
8
8
|
},
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "8da35866f66bd125721c45a1583d5a3f00066c47"
|
|
77
77
|
}
|
package/src/ISYNode.ts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
import { Logger } from 'winston';
|
|
3
2
|
import { Driver } from './Definitions/Global/Drivers.js';
|
|
4
3
|
import { Family } from './Definitions/Global/Families.js';
|
|
@@ -52,7 +51,7 @@ export class ISYNode<
|
|
|
52
51
|
public drivers: Driver.ForAll<D> = {} as Driver.ForAll<D>;
|
|
53
52
|
public enabled: boolean;
|
|
54
53
|
//TODO: add signature for non-command/non-driver events
|
|
55
|
-
public events: Merge<Event.NodeEventEmitter<this>,Event.FunctionSigFor<E, Event.NodeEventEmitter<this>>>;
|
|
54
|
+
public events: Merge<Event.NodeEventEmitter<this>, Event.FunctionSigFor<E, Event.NodeEventEmitter<this>>>;
|
|
56
55
|
//Event.FunctionSigFor<Event.ForAll<E,typeof this>> & Omit<EventEmitter,'on'>
|
|
57
56
|
/*{
|
|
58
57
|
[x in E]: x extends keyof D ? {name:`${D[x]["name"]}Changed`, driver: x, value: D[x]["value"], formatted: string, uom: UnitOfMeasure}
|
|
@@ -127,7 +126,6 @@ export class ISYNode<
|
|
|
127
126
|
}
|
|
128
127
|
this.events = Event.createEmitter(this);
|
|
129
128
|
|
|
130
|
-
|
|
131
129
|
//this.logger(this.nodeDefId);
|
|
132
130
|
this.lastChanged = new Date();
|
|
133
131
|
}
|