Refactor sendDirectMessage to use strategy pattern for NIP-04/17

Extracted NIP-17 and NIP-04 logic into separate private methods `_sendNip17DirectMessage` and `_sendNip04DirectMessage` to reduce complexity and improve readability of `sendDirectMessage`.

Co-authored-by: PR0M3TH3AN <[email protected]>
This commit is contained in:
google-labs-jules[bot]andPR0M3TH3AN committed 2026-02-11 10:46:17 +00:00
1 parent 5d43bf8fa7
commit 8027ec9b2b
1 file changed
+542 -496
+542 -496
View File
File diff suppressed because it is too large. Load diff