mirror of
https://github.com/DocNR/POWR.git
synced 2025-04-23 01:01:27 +00:00

- Add ultra-early content display after just 500ms with ANY data available - Implement progressive content loading with three-tier timeout system - Reduce timeouts from 5s to 4s on Android and 4s to 3s on iOS - Enhance render state logic to prioritize partial content display - Improve parallel data loading for all profile elements - Add multiple fallback timers to ensure content always displays - Update CHANGELOG.md with detailed performance improvements This commit dramatically improves perceived performance by showing content as soon as it becomes available rather than waiting for complete data load.
19 lines
499 B
TypeScript
19 lines
499 B
TypeScript
/**
|
|
* Auth-related constants used throughout the authentication system
|
|
*/
|
|
|
|
/**
|
|
* SecureStore keys for storing authentication-related data
|
|
* Using constants ensures consistent keys across the app
|
|
*/
|
|
export const SECURE_STORE_KEYS = {
|
|
PRIVATE_KEY: 'nostr_privkey', // Changed to match ndk.ts store key
|
|
EXTERNAL_SIGNER: 'nostr_external_signer',
|
|
PUBKEY: 'nostr_pubkey'
|
|
};
|
|
|
|
/**
|
|
* Authentication methods supported by the app
|
|
*/
|
|
export type AuthMethod = 'private_key' | 'amber' | 'ephemeral';
|