-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: validate capabilities in connection secret during setup
- Loading branch information
1 parent
25c3e3a
commit fcf4ad1
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import { Nip47Capability } from "@getalby/sdk/dist/NWCClient"; | ||
|
||
export const NAV_THEME = { | ||
light: { | ||
background: "hsl(210 20% 98%)", // background | ||
|
@@ -26,3 +28,5 @@ export const TRANSACTIONS_PAGE_SIZE = 20; | |
export const DEFAULT_CURRENCY = "USD"; | ||
export const DEFAULT_WALLET_NAME = "Default Wallet"; | ||
export const ALBY_LIGHTNING_ADDRESS = "[email protected]"; | ||
|
||
export const REQUIRED_CAPABILITIES: Nip47Capability[] = ["get_info", "get_balance", "make_invoice", "pay_invoice", "list_transactions"]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters