@txnlab/use-wallet 3.11.0 → 3.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -4409,6 +4409,10 @@ var DeflyWallet = class extends BaseWallet {
|
|
|
4409
4409
|
this.logger.info("No session to resume");
|
|
4410
4410
|
return;
|
|
4411
4411
|
}
|
|
4412
|
+
if (state.activeWallet === "pera" /* PERA */) {
|
|
4413
|
+
this.logger.info("Skipping reconnectSession for Defly (inactive)");
|
|
4414
|
+
return;
|
|
4415
|
+
}
|
|
4412
4416
|
this.logger.info("Resuming session...");
|
|
4413
4417
|
const client = this.client || await this.initializeClient();
|
|
4414
4418
|
const accounts = await client.reconnectSession();
|
|
@@ -6024,6 +6028,10 @@ var PeraWallet = class extends BaseWallet {
|
|
|
6024
6028
|
this.logger.info("No session to resume");
|
|
6025
6029
|
return;
|
|
6026
6030
|
}
|
|
6031
|
+
if (state.activeWallet === "defly" /* DEFLY */) {
|
|
6032
|
+
this.logger.info("Skipping reconnectSession for Pera (inactive)");
|
|
6033
|
+
return;
|
|
6034
|
+
}
|
|
6027
6035
|
this.logger.info("Resuming session...");
|
|
6028
6036
|
const client = this.client || await this.initializeClient();
|
|
6029
6037
|
const accounts = await client.reconnectSession();
|