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,
|
getPublicKey,
|
||||||
nip19
|
nip19
|
||||||
} from 'nostr-tools'
|
} from 'nostr-tools'
|
||||||
import {encrypt, decrypt} from 'nostr-tools/nip04'
|
import {nip04} from 'nostr-tools'
|
||||||
import {Mutex} from 'async-mutex'
|
import {Mutex} from 'async-mutex'
|
||||||
|
|
||||||
import {
|
import {
|
||||||
@@ -16,6 +16,8 @@ import {
|
|||||||
updatePermission
|
updatePermission
|
||||||
} from './common'
|
} from './common'
|
||||||
|
|
||||||
|
const {encrypt, decrypt} = nip04
|
||||||
|
|
||||||
let openPrompt = null
|
let openPrompt = null
|
||||||
let promptMutex = new Mutex()
|
let promptMutex = new Mutex()
|
||||||
let releasePromptMutex = () => {}
|
let releasePromptMutex = () => {}
|
||||||
|
|||||||
Reference in New Issue
Block a user