isy-nodejs 1.0.3-alpha.2 → 1.0.3-alpha.3

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 CHANGED
@@ -328,7 +328,7 @@ export class ISY extends EventEmitter {
328
328
  //const auth = `Basic ${Buffer.from(`${this.credentials.username}:${this.credentials.password}`).toString('base64')}`;
329
329
  let address = `${this.wsprotocol}://${this.address}/rest/subscribe`;
330
330
  if (this.socketPath) {
331
- address = `ws+unix://${this.socketPath}/rest/subscribe`;
331
+ address = `ws+unix://${this.socketPath}:rest/subscribe`;
332
332
  }
333
333
  this.logger.info(`Opening webSocket: ${address}`);
334
334
  this.logger.info('Using the following websocket options: ' + JSON.stringify(this.webSocketOptions));