@bloks/link-session-manager
Advanced tools
Comparing version 0.2.643 to 0.2.644
/** | ||
* proton-link-session-manager v0.2.643 | ||
* proton-link-session-manager v0.2.644 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -4,0 +4,0 @@ * |
/** | ||
* proton-link-session-manager v0.2.643 | ||
* proton-link-session-manager v0.2.644 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -246,3 +246,3 @@ * | ||
if (this.netInfoState && !this.unsubscribeNetInfo) { | ||
this.unsubscribeNetInfo = this.opts.netInfo.addEventListener(this.onConnectivityUpdate); | ||
this.unsubscribeNetInfo = this.opts.netInfo.addEventListener(this.onConnectivityUpdate.bind(this)); | ||
} | ||
@@ -249,0 +249,0 @@ return [2 /*return*/]; |
/** | ||
* proton-link-session-manager v0.2.643 | ||
* proton-link-session-manager v0.2.644 | ||
* https://github.com/greymass/proton-link-session-manager | ||
@@ -196,3 +196,3 @@ * | ||
if (this.netInfoState && !this.unsubscribeNetInfo) { | ||
this.unsubscribeNetInfo = this.opts.netInfo.addEventListener(this.onConnectivityUpdate); | ||
this.unsubscribeNetInfo = this.opts.netInfo.addEventListener(this.onConnectivityUpdate.bind(this)); | ||
} | ||
@@ -199,0 +199,0 @@ } |
{ | ||
"name": "@bloks/link-session-manager", | ||
"description": "Session management for signature providers when receiving requests using the Anchor Link protocol", | ||
"version": "0.2.643", | ||
"version": "0.2.644", | ||
"homepage": "https://github.com/greymass/proton-link-session-manager", | ||
@@ -6,0 +6,0 @@ "license": "BSD-3-Clause", |
@@ -159,3 +159,5 @@ import NetInfo, {NetInfoState, NetInfoSubscription} from '@react-native-community/netinfo' | ||
if (this.netInfoState && !this.unsubscribeNetInfo) { | ||
this.unsubscribeNetInfo = this.opts.netInfo.addEventListener(this.onConnectivityUpdate) | ||
this.unsubscribeNetInfo = this.opts.netInfo.addEventListener( | ||
this.onConnectivityUpdate.bind(this) | ||
) | ||
} | ||
@@ -162,0 +164,0 @@ } |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
101876
1749