fix(background): nostr-tools doesn't export nip04 file
This commit is contained in:
committed by
fiatjaf_
parent
72c9e516e3
commit
185ee772e1
@@ -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 {
|
||||
@@ -16,6 +16,8 @@ import {
|
||||
updatePermission
|
||||
} from './common'
|
||||
|
||||
const {encrypt, decrypt} = nip04
|
||||
|
||||
let openPrompt = null
|
||||
let promptMutex = new Mutex()
|
||||
let releasePromptMutex = () => {}
|
||||
|
||||
Reference in New Issue
Block a user