aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'nip17dm' into ark2Adam Soltys2026-02-118-0/+650
|\ | | | | | | | | | | | | | | | | # Conflicts: # .env.sample # .gitignore # src/locales/en.json # src/locales/fr.json # src/routes/(app)/settings/nostr/+page.svelte
| * Fix NIP-17 DM signer integration and relay authAdam Soltys2026-01-281-21/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | - Add ensureSigner() to trigger signer modal when no valid key available - Add NIP-42 relay auth support for publishing DMs via publishWithAuth() - Validate signer sk length (64 hex chars) before use - Clear invalid signer state to ensure modal shows correctly - Include default relays when fetching messages for better coverage - Add try/catch around decrypt to handle failures gracefully - Fix variable declaration in for loop (const event) - Fall back to default DM relays when user has no 10050 event Co-Authored-By: Claude Opus 4.5 <[email protected]>
| * Add doc comments to my exported $lib methodsAdrien Hopkins2026-01-284-0/+7
| |
| * Unexport decryptNIP17MessageNIP07Adrien Hopkins2026-01-281-1/+1
| | | | | | | | | | This is a helper method & isn't used anywhere else. It should have never been exported.
| * Encrypt mute listsAdrien Hopkins2026-01-092-7/+51
| |
| * Preserve non-'p' tags in mute listsAdrien Hopkins2026-01-091-25/+15
| |
| * Add button to mute/unmute accountAdrien Hopkins2026-01-093-10/+38
| |
| * Hide muted chatsAdrien Hopkins2026-01-091-0/+47
| |
| * Use coinos username in DM homepage if availableAdrien Hopkins2025-12-171-3/+3
| |
| * Get NIP-05 usernamesAdrien Hopkins2025-12-131-0/+18
| |
| * Create initial DM selection pageAdrien Hopkins2025-12-051-0/+11
| |
| * Move some DM code to $libAdrien Hopkins2025-12-053-0/+136
| | | | | | | | I will be using some of this elsewhere, so it really should be there.
| * Add expiration timestamps to kind 13 sealsAdrien Hopkins2025-11-131-12/+24
| | | | | | | | | | | | In case these leak, they will expire automatically. Currently, they use the same method as the gift wrap expirations: expiration + 2 days after the creation timestamp.
| * Add DM expiration functionalityAdrien Hopkins2025-10-181-7/+16
| |
| * Send copy of messages to senderAdrien Hopkins2025-10-021-6/+12
| |
| * Fetch & display received DMs from relaysAdrien Hopkins2025-10-011-4/+2
| |
| * Add message decryptionAdrien Hopkins2025-09-131-0/+11
| | | | | | | | | | | | | | | | | | Currently, this just takes a message from the text box and returns its decrypted version, but next I will make it decrypt messages it gets from relays. This code works with both NIP-07 (window.nostr) and getPrivateKey(). If both are available, it chooses NIP-07 like the encryption code.
| * upgrade dependenciesAdam Soltys2025-09-101-22/+40
| |
| * prevent redirect while navigatingAdam Soltys2025-09-101-2/+1
| |
| * Remove need for explicit key entryAdrien Hopkins2025-09-051-14/+16
| | | | | | | | | | | | | | | | | | If window.nostr is available, I don't need the sender's SK, I can do everything with its functions. Otherwise, I'll ask for the SK using getPrivateKey(). The override public key was only for testing, but I still don't need it because I can get the users' private keys from the settings tab.
| * Seal with NIP-07 if availableAdrien Hopkins2025-09-051-2/+21
| | | | | | | | This makes the system work with any nostr extensions you might be using.
| * Add improved NIP-17 codeAdrien Hopkins2025-08-262-0/+194
| | | | | | | | This is based on an audited NIP-44 implementation.
* | ark testsAdam Soltys2026-02-111-9/+39
| |
* | ark fixesAdam Soltys2026-02-111-0/+25
| |
* | ark fixesAdam Soltys2026-02-111-10/+38
| |
* | payment forwardingAdam Soltys2026-02-112-1/+30
| |
* | fix ark handlingAdam Soltys2026-02-112-1/+34
| |
* | fix ark payment notificationsAdam Soltys2026-02-111-0/+61
| |
* | rename account routeAdam Soltys2026-02-111-1/+0
| |
* | accounts redesignAdam Soltys2026-02-111-5/+14
| |
* | fix ark postAdam Soltys2026-02-111-1/+1
| |
* | cleanupAdam Soltys2026-02-114-10/+44
| |
* | custodial ark paymentsAdam Soltys2026-02-111-0/+7
| |
* | sync and settleAdam Soltys2026-02-111-0/+28
| |
* | ark stuffAdam Soltys2026-02-112-94/+7
| |
* | ark balanceAdam Soltys2026-02-111-10/+106
| |
* | arkAdam Soltys2026-02-113-0/+17
| |
* | ark routeAdam Soltys2026-02-112-2/+7
| |
* | fix importsAdam Soltys2026-02-092-2/+2
| |
* | skip captcha for fundsAdam Soltys2026-02-061-3/+10
| |
* | forward host headerAdam Soltys2026-02-061-1/+1
| |
* | fix tor loginAdam Soltys2026-02-061-9/+16
| |
* | fix importAdam Soltys2026-01-271-7/+6
| |
* | forward ip to backendAdam Soltys2026-01-272-2/+17
| |
* | redirect on invalid tokenAdam Soltys2026-01-211-0/+14
| |
* | captchaAdam Soltys2026-01-211-1/+7
| |
* | login challengeAdam Soltys2025-10-011-2/+0
| |
* | fix nostr cancel buttonAdam Soltys2025-09-301-2/+8
| |
* | register captchaAdam Soltys2025-09-281-0/+2
| |
* | pass cookies to parseAdam Soltys2025-09-181-3/+3
| |