Skip to content

Commit

Permalink
fix: make functionality work
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanjoshi914 authored and Jon Staab committed Feb 12, 2024
1 parent d11c201 commit 0664062
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/extension/background-script/actions/nostr/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import getPrivateKey from "./getPrivateKey";
import getPublicKeyOrPrompt from "./getPublicKeyOrPrompt";
import getRelays from "./getRelays";
import isEnabled from "./isEnabled";
import nip44DecryptOrPrompt from "./nip44DecryptOrPrompt";
import nip44EncryptOrPrompt from "./nip44EncryptOrPrompt";
import removePrivateKey from "./removePrivateKey";
import setPrivateKey from "./setPrivateKey";
import signEventOrPrompt from "./signEventOrPrompt";
Expand All @@ -23,6 +25,8 @@ export {
getPublicKeyOrPrompt,
getRelays,
isEnabled,
nip44DecryptOrPrompt,
nip44EncryptOrPrompt,
removePrivateKey,
setPrivateKey,
signEventOrPrompt,
Expand Down
2 changes: 2 additions & 0 deletions src/extension/background-script/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ const routes = {
getRelays: nostr.getRelays,
encryptOrPrompt: nostr.encryptOrPrompt,
decryptOrPrompt: nostr.decryptOrPrompt,
nip44EncryptOrPrompt: nostr.nip44EncryptOrPrompt,
nip44DecryptOrPrompt: nostr.nip44DecryptOrPrompt,
},
},
};
Expand Down

0 comments on commit 0664062

Please sign in to comment.