Comparing version 2.0.0 to 2.0.1
@@ -49,3 +49,3 @@ "use strict"; | ||
} | ||
this.addConnCommand('init', true); // this is a usless command, just force client to send something to server | ||
this.addConnCommand(null, null); // force client to send something to server | ||
this._responderChannel.updateConnect(); | ||
@@ -52,0 +52,0 @@ this._requesterChannel.updateConnect(); |
@@ -123,4 +123,6 @@ "use strict"; | ||
let reseted = false; | ||
// TODO implement error handling | ||
if (updates != null) { | ||
if (error && !updates) { | ||
updates = [['$disconnectedTs', value_1.ValueUpdate.getTs()]]; | ||
} | ||
if (updates) { | ||
for (let update of updates) { | ||
@@ -127,0 +129,0 @@ let name; |
{ | ||
"name": "dslink", | ||
"license": "Apache-2.0", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"main": "js/node.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -126,3 +126,3 @@ import WebSocket from "ws"; | ||
} | ||
this.addConnCommand('init', true); // this is a usless command, just force client to send something to server | ||
this.addConnCommand(null, null); // force client to send something to server | ||
this._responderChannel.updateConnect(); | ||
@@ -129,0 +129,0 @@ this._requesterChannel.updateConnect(); |
@@ -92,4 +92,6 @@ import {Requester} from "../requester"; | ||
let reseted = false; | ||
// TODO implement error handling | ||
if (updates != null) { | ||
if (error && !updates) { | ||
updates = [['$disconnectedTs', ValueUpdate.getTs()]]; | ||
} | ||
if (updates) { | ||
for (let update of updates) { | ||
@@ -96,0 +98,0 @@ let name: string; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
756684
13911