Skip to content

Commit

Permalink
fix(background): nostr-tools doesn't export nip04 file
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandolguevara authored and fiatjaf committed Feb 28, 2023
1 parent 72c9e51 commit 185ee77
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extension/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
getPublicKey,
nip19
} from 'nostr-tools'
import {encrypt, decrypt} from 'nostr-tools/nip04'
import {nip04} from 'nostr-tools'
import {Mutex} from 'async-mutex'

import {
Expand All @@ -16,6 +16,8 @@ import {
updatePermission
} from './common'

const {encrypt, decrypt} = nip04

let openPrompt = null
let promptMutex = new Mutex()
let releasePromptMutex = () => {}
Expand Down

0 comments on commit 185ee77

Please sign in to comment.