mirror of
https://github.com/PR0M3TH3AN/bitvid.git
synced 2026-10-27 16:02:26 +00:00
Merge pull request #1681 from PR0M3TH3AN/fix-nip07-timeout-125771448135618428
Increase NIP-07 extension detection timeout
This commit is contained in:
1 file changed
+1
-1
@@ -311,7 +311,7 @@ export const __testExports = {
|
||||
normalizePermissionMethod,
|
||||
};
|
||||
|
||||
export function waitForNip07Extension(timeoutMs = 1500) {
|
||||
export function waitForNip07Extension(timeoutMs = 5000) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (typeof window !== "undefined" && window.nostr) {
|
||||
resolve(window.nostr);
|
||||
|
||||
Reference in new issue
Block a user