mirror of
https://github.com/getAlby/hub.git
synced 2026-08-13 12:33:39 +02:00
* fix: return optional total balance in list apps response for subwallets * chore: add error handling to subwallet balance query * chore: add METADATA_APPSTORE_APP_ID_KEY constant * chore: add MAX_FREE_SUBWALLETS constant * chore: use subwallet query and total count for limit check
27 lines
950 B
TypeScript
27 lines
950 B
TypeScript
export const localStorageKeys = {
|
|
returnTo: "returnTo",
|
|
setupReturnTo: "setupReturnTo",
|
|
channelOrder: "channelOrder",
|
|
authToken: "authToken",
|
|
supportAlbySidebarHintHiddenUntil: "supportAlbySidebarHintHiddenUntil",
|
|
};
|
|
|
|
export const ONCHAIN_DUST_SATS = 1000;
|
|
export const ALBY_HIDE_HOSTED_BALANCE_BELOW = 100;
|
|
export const ALBY_MIN_HOSTED_BALANCE_FOR_FIRST_CHANNEL = 10_000;
|
|
|
|
export const LIST_TRANSACTIONS_LIMIT = 20;
|
|
export const LIST_APPS_LIMIT = 20;
|
|
export const MAX_FREE_SUBWALLETS = 3;
|
|
|
|
export const SUPPORT_ALBY_CONNECTION_NAME = `ZapPlanner - Alby Hub`;
|
|
export const SUPPORT_ALBY_LIGHTNING_ADDRESS = "hub@getalby.com";
|
|
|
|
export const SUBWALLET_APPSTORE_APP_ID = "uncle-jim";
|
|
export const ALBY_ACCOUNT_APP_NAME = "getalby.com";
|
|
|
|
export const DEFAULT_APP_BUDGET_SATS = 10_000;
|
|
export const DEFAULT_APP_BUDGET_RENEWAL = "monthly";
|
|
|
|
export const BITCOIN_DISPLAY_FORMAT_BIP177 = "bip177";
|
|
export const BITCOIN_DISPLAY_FORMAT_SATS = "sats";
|