This commit is contained in:
parent
45a0ef4445
commit
64d64b29c3
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system-react",
|
"name": "@snort/system-react",
|
||||||
"version": "1.0.10",
|
"version": "1.0.11",
|
||||||
"description": "React hooks for @snort/system",
|
"description": "React hooks for @snort/system",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
@ -16,8 +16,8 @@
|
|||||||
"dist"
|
"dist"
|
||||||
],
|
],
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@snort/system": "^1.0.15",
|
"react": "^18.2.0",
|
||||||
"@snort/shared": "^1.0.4",
|
"@snort/system": "^1.0.16",
|
||||||
"react": "^18.2.0"
|
"@snort/shared": "^1.0.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@snort/system",
|
"name": "@snort/system",
|
||||||
"version": "1.0.15",
|
"version": "1.0.16",
|
||||||
"description": "Snort nostr system package",
|
"description": "Snort nostr system package",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"types": "dist/index.d.ts",
|
"types": "dist/index.d.ts",
|
||||||
|
@ -30,7 +30,7 @@ export class Nip7Signer implements EventSigner {
|
|||||||
if (!window.nostr) {
|
if (!window.nostr) {
|
||||||
throw new Error("Cannot use NIP-07 signer, not found!");
|
throw new Error("Cannot use NIP-07 signer, not found!");
|
||||||
}
|
}
|
||||||
return await window.nostr.getPublicKey();
|
return await barrierQueue(Nip7Queue, () => unwrap(window.nostr).getPublicKey());
|
||||||
}
|
}
|
||||||
|
|
||||||
async nip4Encrypt(content: string, key: string): Promise<string> {
|
async nip4Encrypt(content: string, key: string): Promise<string> {
|
||||||
|
Loading…
Reference in New Issue
Block a user