@bloks/link-session-manager
Advanced tools
Comparing version 0.2.631 to 0.2.632
/** | ||
* proton-link-session-manager v0.2.631 | ||
* proton-link-session-manager v0.2.632 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* proton-link-session-manager v0.2.631 | ||
* proton-link-session-manager v0.2.632 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -115,3 +115,3 @@ * | ||
this.pendingReconnect = undefined; | ||
this.binaryType = 'blob'; | ||
this.binaryType = 'arraybuffer'; | ||
this.listeners = { | ||
@@ -201,6 +201,2 @@ open: [ | ||
this_1.realWs.addEventListener(stdEvent, function (event) { | ||
var args = []; | ||
for (var _i = 1; _i < arguments.length; _i++) { | ||
args[_i - 1] = arguments[_i]; | ||
} | ||
console.log(7); | ||
@@ -212,3 +208,3 @@ _this.dispatchEvent(event); | ||
console.log(9); | ||
return cb.apply(void 0, tslib.__spreadArray([event], tslib.__read(args))); | ||
return cb(event); | ||
} | ||
@@ -215,0 +211,0 @@ }); |
/** | ||
* proton-link-session-manager v0.2.631 | ||
* proton-link-session-manager v0.2.632 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -90,3 +90,3 @@ * | ||
this.pendingReconnect = undefined; | ||
this.binaryType = 'blob'; | ||
this.binaryType = 'arraybuffer'; | ||
this.listeners = { | ||
@@ -173,3 +173,3 @@ open: [ | ||
for (const stdEvent of ['open', 'close', 'message', 'error', 'ping']) { | ||
this.realWs.addEventListener(stdEvent, (event, ...args) => { | ||
this.realWs.addEventListener(stdEvent, (event) => { | ||
console.log(7); | ||
@@ -181,3 +181,3 @@ this.dispatchEvent(event); | ||
console.log(9); | ||
return cb(event, ...args); | ||
return cb(event); | ||
} | ||
@@ -184,0 +184,0 @@ }); |
{ | ||
"name": "@bloks/link-session-manager", | ||
"description": "Session management for signature providers when receiving requests using the Anchor Link protocol", | ||
"version": "0.2.631", | ||
"version": "0.2.632", | ||
"homepage": "https://github.com/greymass/proton-link-session-manager", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
@@ -10,3 +10,3 @@ export default class RobustWebSocket { | ||
connectTimeout?: any | ||
binaryType: BinaryType = 'blob' | ||
binaryType: BinaryType = 'arraybuffer' | ||
@@ -125,3 +125,3 @@ netInfoState?: any | ||
for (const stdEvent of ['open', 'close', 'message', 'error', 'ping']) { | ||
this.realWs.addEventListener(stdEvent, (event, ...args) => { | ||
this.realWs.addEventListener(stdEvent, (event) => { | ||
console.log(7) | ||
@@ -135,3 +135,3 @@ | ||
console.log(9) | ||
return cb(event, ...args) | ||
return cb(event) | ||
} | ||
@@ -138,0 +138,0 @@ }) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
105239
1815