@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@konemono/nostr-login",
3
- "version": "1.11.13",
3
+ "version": "1.11.14",
4
4
  "description": "",
5
5
  "main": "./dist/index.esm.js",
6
6
  "types": "./dist/index.d.ts",
@@ -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);