diff --git a/src/extensions/NostrExtension.ts b/src/extensions/NostrExtension.ts index b6817a2..befec47 100644 --- a/src/extensions/NostrExtension.ts +++ b/src/extensions/NostrExtension.ts @@ -63,7 +63,6 @@ export interface NostrOptions { export interface NostrStorage { imeta: IMetaTags | null - pending: boolean setImeta: (imeta: IMetaTags) => void getTags: () => TagAttributes[] getNprofiles: () => NProfileAttributes[] @@ -124,7 +123,6 @@ export const NostrExtension = Extension.create({ addStorage() { return { imeta: null, - pending: false, setImeta: () => {}, getTags: () => [], getNaddress: () => [], diff --git a/src/uploaders/blossom.ts b/src/uploaders/blossom.ts index 8541fa8..727c320 100644 --- a/src/uploaders/blossom.ts +++ b/src/uploaders/blossom.ts @@ -39,7 +39,6 @@ export async function uploadBlossom(options: BlossomOptions) { ['expiration', (now + (options.expiration || 60000)).toString()], ], }) - await new Promise((r) => setTimeout(() => r(), 1000)) const data = JSON.stringify(event) const base64 = btoa(data) const authorization = `Nostr ${base64}`