Comparing version 0.0.60 to 0.0.61
@@ -227,3 +227,3 @@ 'use strict' | ||
for (const connectionKey in connections) { | ||
if(connections[connectionKey].status === ConnectionStatus.connected) { | ||
if(connections[connectionKey].status === ConnectionStatus.connected && connections[connectionKey].isSending === false) { | ||
connection = connections[connectionKey]; | ||
@@ -263,3 +263,3 @@ try { | ||
for (const connectionKey in connections) { | ||
if(connections[connectionKey].status === ConnectionStatus.connected) { | ||
if(connections[connectionKey].status === ConnectionStatus.connected && connections[connectionKey].isSending === false) { | ||
let connection = connections[connectionKey]; | ||
@@ -566,8 +566,9 @@ try { | ||
} catch (e) { | ||
connection.status = ConnectionStatus.error; | ||
this.data.send.push(data); | ||
this.data.failed.push(data); | ||
console.log('failed',this.data.failed.length, e); | ||
connection.Destroy(e); | ||
// await this.InitConnection({initiator: true}, false); | ||
// await Util.Sleep(5000); | ||
connection.status = ConnectionStatus.error; | ||
break; | ||
@@ -757,3 +758,3 @@ } | ||
} | ||
}, 1000); | ||
}, 200); | ||
} catch (e) { | ||
@@ -760,0 +761,0 @@ if(interval) clearInterval(interval); |
{ | ||
"name": "guardee", | ||
"version": "0.0.60", | ||
"version": "0.0.61", | ||
@@ -5,0 +5,0 @@ "description": "Guardee Wallet API", |
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
48686
1277