@konemono/nostr-login 1.7.48 → 1.7.49
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 +37 -36
- package/dist/index.esm.js.map +1 -1
- package/dist/unpkg.js +37 -36
- package/package.json +1 -1
- package/src/modules/AuthNostrService.ts +1 -1
- package/src/modules/Nip46.ts +3 -0
package/package.json
CHANGED
package/src/modules/Nip46.ts
CHANGED
|
@@ -146,6 +146,9 @@ class NostrRpc extends NDKNostrRpc {
|
|
|
146
146
|
// 1. Promiseを変数に格納
|
|
147
147
|
const responsePromise = this.setResponseHandler(id, cb);
|
|
148
148
|
|
|
149
|
+
//ちょっと待つ
|
|
150
|
+
await new Promise(r => setTimeout(r, 100));
|
|
151
|
+
|
|
149
152
|
const event = await this.createRequestEvent(id, remotePubkey, method, params, kind);
|
|
150
153
|
|
|
151
154
|
// 2. 送信
|