@syncot/connection
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -73,4 +73,4 @@ import { SyncOtEmitter } from '@syncot/util'; | ||
? 0 | ||
: Math.min(this.maxDelay, this.minDelay * | ||
Math.pow(this.delayFactor, this.attempt++)); | ||
: Math.min(this.maxDelay, this.minDelay * Math.pow(this.delayFactor, this.attempt)); | ||
this.attempt++; | ||
this.scheduledConnect = setTimeout(() => { | ||
@@ -77,0 +77,0 @@ this.scheduledConnect = undefined; |
{ | ||
"name": "@syncot/connection", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "An RPC library for communication over Duplex object streams.", | ||
@@ -36,3 +36,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "8de3f7bbee6695ec65937da8b8bbdbe9c867b996" | ||
"gitHead": "10a2aa8510e10b1ed034fa61a75d30dc1613e932" | ||
} |
37578