optionality around what messaging nips can be used

This commit is contained in:
sam committed 2025-10-18 21:37:09 +07:00
1 parent d8e2e62736
commit 67658eb446
4 files changed
+77 -35

No files matched your search

+12
View File
@@ -12,6 +12,18 @@ export const MESSAGE_PROTOCOL = {
export type MessageProtocol = typeof MESSAGE_PROTOCOL[keyof typeof MESSAGE_PROTOCOL];
// ============================================================================
// Protocol Mode (for user selection)
// ============================================================================
export const PROTOCOL_MODE = {
NIP04_ONLY: 'nip04_only',
NIP17_ONLY: 'nip17_only',
NIP04_OR_NIP17: 'nip04_or_nip17',
} as const;
export type ProtocolMode = typeof PROTOCOL_MODE[keyof typeof PROTOCOL_MODE];
// ============================================================================
// Loading Phases
// ============================================================================