isy-nodejs 1.0.3-alpha.2 → 1.0.3-alpha.4
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/ISY.js +1 -1
- package/dist/esm/ISY.js.map +1 -1
- package/dist/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/ISY.ts +1 -1
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.3-alpha.
|
|
5
|
+
"version": "1.0.3-alpha.4",
|
|
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": "9ff779cafd52b778a2e5db16d279bda87889df39"
|
|
77
77
|
}
|
package/src/ISY.ts
CHANGED
|
@@ -405,7 +405,7 @@ export class ISY extends EventEmitter implements Disposable {
|
|
|
405
405
|
let address = `${this.wsprotocol}://${this.address}/rest/subscribe`
|
|
406
406
|
if(this.socketPath)
|
|
407
407
|
{
|
|
408
|
-
address = `ws+unix
|
|
408
|
+
address = `ws+unix:/${this.socketPath}:/rest/subscribe`;
|
|
409
409
|
}
|
|
410
410
|
this.logger.info(`Opening webSocket: ${address}`);
|
|
411
411
|
this.logger.info('Using the following websocket options: ' + JSON.stringify(this.webSocketOptions));
|