@bloks/link-session-manager
Advanced tools
Comparing version 0.2.622 to 0.2.623
/** | ||
* proton-link-session-manager v0.2.622 | ||
* proton-link-session-manager v0.2.623 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* proton-link-session-manager v0.2.622 | ||
* proton-link-session-manager v0.2.623 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -164,6 +164,7 @@ * | ||
this.attempts++; | ||
this.dispatchEvent(Object.assign(new CustomEvent('connecting'), { | ||
this.dispatchEvent({ | ||
type: 'connecting', | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
})); | ||
}); | ||
console.log(4); | ||
@@ -174,6 +175,7 @@ this.connectTimeout = setTimeout(function () { | ||
console.log(5); | ||
_this.dispatchEvent(Object.assign(new CustomEvent('timeout'), { | ||
_this.dispatchEvent({ | ||
type: 'timeout', | ||
attempts: _this.attempts, | ||
reconnects: _this.reconnects, | ||
})); | ||
}); | ||
console.log(6); | ||
@@ -180,0 +182,0 @@ }, this.opts.timeout); |
/** | ||
* proton-link-session-manager v0.2.622 | ||
* proton-link-session-manager v0.2.623 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -138,6 +138,7 @@ * | ||
this.attempts++; | ||
this.dispatchEvent(Object.assign(new CustomEvent('connecting'), { | ||
this.dispatchEvent({ | ||
type: 'connecting', | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
})); | ||
}); | ||
console.log(4); | ||
@@ -148,6 +149,7 @@ this.connectTimeout = setTimeout(() => { | ||
console.log(5); | ||
this.dispatchEvent(Object.assign(new CustomEvent('timeout'), { | ||
this.dispatchEvent({ | ||
type: 'timeout', | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
})); | ||
}); | ||
console.log(6); | ||
@@ -154,0 +156,0 @@ }, this.opts.timeout); |
{ | ||
"name": "@bloks/link-session-manager", | ||
"description": "Session management for signature providers when receiving requests using the Anchor Link protocol", | ||
"version": "0.2.622", | ||
"version": "0.2.623", | ||
"homepage": "https://github.com/greymass/proton-link-session-manager", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
@@ -77,8 +77,7 @@ export default class RobustWebSocket { | ||
this.attempts++ | ||
this.dispatchEvent( | ||
Object.assign(new CustomEvent('connecting'), { | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
}) | ||
) | ||
this.dispatchEvent({ | ||
type: 'connecting', | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
}) | ||
console.log(4) | ||
@@ -91,8 +90,7 @@ | ||
this.dispatchEvent( | ||
Object.assign(new CustomEvent('timeout'), { | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
}) | ||
) | ||
this.dispatchEvent({ | ||
type: 'timeout', | ||
attempts: this.attempts, | ||
reconnects: this.reconnects, | ||
}) | ||
console.log(6) | ||
@@ -99,0 +97,0 @@ }, this.opts.timeout) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1756
102685