@konemono/nostr-login 1.11.13 → 1.11.14
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.esm.js +7 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/unpkg.js +2 -2
- package/package.json +1 -1
- package/src/modules/AuthNostrService.ts +6 -0
package/package.json
CHANGED
|
@@ -773,6 +773,12 @@ class AuthNostrService extends EventEmitter implements Signer {
|
|
|
773
773
|
return;
|
|
774
774
|
}
|
|
775
775
|
|
|
776
|
+
// ログイン処理中はpingをスキップ
|
|
777
|
+
if (this.isAuthing()) {
|
|
778
|
+
console.log('Skipping ping during authentication');
|
|
779
|
+
return;
|
|
780
|
+
}
|
|
781
|
+
|
|
776
782
|
// ping確認
|
|
777
783
|
if (this.signer.remotePubkey) {
|
|
778
784
|
await this.signer['_rpc'].pingWithTimeout(this.signer.remotePubkey, 2000);
|