@bloks/link-session-manager
Advanced tools
Comparing version 0.2.640 to 0.2.641
/** | ||
* proton-link-session-manager v0.2.640 | ||
* proton-link-session-manager v0.2.641 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* proton-link-session-manager v0.2.640 | ||
* proton-link-session-manager v0.2.641 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -329,3 +329,3 @@ * | ||
} | ||
this.listeners[type].push(callback); | ||
this.listeners[type].push(callback.bind(this)); | ||
}; | ||
@@ -352,3 +352,3 @@ RobustWebSocket.prototype.removeEventListener = function (type, callback) { | ||
var listener = _c.value; | ||
listener.bind(this)(event); | ||
listener(event); | ||
} | ||
@@ -355,0 +355,0 @@ } |
/** | ||
* proton-link-session-manager v0.2.640 | ||
* proton-link-session-manager v0.2.641 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -273,3 +273,3 @@ * | ||
} | ||
this.listeners[type].push(callback); | ||
this.listeners[type].push(callback.bind(this)); | ||
} | ||
@@ -293,3 +293,3 @@ removeEventListener(type, callback) { | ||
for (const listener of this.listeners[event.type]) { | ||
listener.bind(this)(event); | ||
listener(event); | ||
} | ||
@@ -296,0 +296,0 @@ } |
{ | ||
"name": "@bloks/link-session-manager", | ||
"description": "Session management for signature providers when receiving requests using the Anchor Link protocol", | ||
"version": "0.2.640", | ||
"version": "0.2.641", | ||
"homepage": "https://github.com/greymass/proton-link-session-manager", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
@@ -258,3 +258,3 @@ import NetInfo, {NetInfoState, NetInfoSubscription} from '@react-native-community/netinfo' | ||
this.listeners[type].push(callback) | ||
this.listeners[type].push(callback.bind(this)) | ||
} | ||
@@ -280,5 +280,5 @@ | ||
for (const listener of this.listeners[event.type]) { | ||
listener.bind(this)(event) | ||
listener(event) | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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