Skip to content

Commit

Permalink
Removed some deadcode
Browse files Browse the repository at this point in the history
  • Loading branch information
cesardeazevedo committed Oct 25, 2024
1 parent 1655d08 commit 13d4e16
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/extensions/NostrExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ export interface NostrOptions {

export interface NostrStorage {
imeta: IMetaTags | null
pending: boolean
setImeta: (imeta: IMetaTags) => void
getTags: () => TagAttributes[]
getNprofiles: () => NProfileAttributes[]
Expand Down Expand Up @@ -124,7 +123,6 @@ export const NostrExtension = Extension.create<NostrOptions, NostrStorage>({
addStorage() {
return {
imeta: null,
pending: false,
setImeta: () => {},
getTags: () => [],
getNaddress: () => [],
Expand Down
1 change: 0 additions & 1 deletion src/uploaders/blossom.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export async function uploadBlossom(options: BlossomOptions) {
['expiration', (now + (options.expiration || 60000)).toString()],
],
})
await new Promise<void>((r) => setTimeout(() => r(), 1000))
const data = JSON.stringify(event)
const base64 = btoa(data)
const authorization = `Nostr ${base64}`
Expand Down

0 comments on commit 13d4e16

Please sign in to comment.