aboutsummaryrefslogtreecommitdiffstats
path: root/lib/invoices.ts
Commit message (Collapse)AuthorAgeFilesLines
* invoices: don't re-list an invoice id on update (dedupe :invoices)stagingAdam Soltys2026-06-181-1/+7
| | | | | | | | | | | | | | | | Port of the master fix (2d2f9856) + cleanup script to staging. generate() unconditionally lPush'd the invoice id to `${aid}:invoices`, but it's also called from update() (tip/webhook changes, repeated bolt12 offer creation) re-using the existing id — so each update re-appended the same id and the user's :invoices accumulated duplicate entries, rendering the same offer/invoice multiple times. Guard the push with LPOS so it only adds the id the first time. Also add scripts/dedup-invoices.ts to scrub already-accumulated dupes (dry-run by default, --apply to write, idempotent). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
* vault wallet fixesAdam Soltys2026-03-031-0/+1
|
* sync vaultAdam Soltys2026-03-031-1/+0
|
* ark refreshAdam Soltys2026-02-151-0/+1
|
* custodial ark sendsAdam Soltys2026-02-141-1/+17
|
* account level currency and autowithdraw settingsAdam Soltys2026-02-131-1/+4
|
* send pending balanceAdam Soltys2026-02-131-1/+1
|
* ark fixesAdam Soltys2026-02-091-0/+2
|
* cross-protocol forwarding with race condition fixesAdam Soltys2026-02-061-0/+1
| | | | Co-Authored-By: Claude Opus 4.6 <[email protected]>
* payment forwardingAdam Soltys2026-02-061-0/+2
|
* zmq logicAdam Soltys2026-02-061-3/+9
|
* custodial ark paymentsAdam Soltys2026-02-061-0/+2
|
* arkAdam Soltys2026-02-061-10/+9
|
* arkAdam Soltys2026-02-061-2/+13
|
* health checkAdam Soltys2026-02-061-10/+1
|
* fix bolt12 invoicesAdam Soltys2025-09-191-1/+1
|
* sendinvoice supportAdam Soltys2025-09-181-10/+19
|
* handle 0 tipAdam Soltys2025-08-261-1/+2
|
* fix invoice updateAdam Soltys2025-08-211-3/+4
|
* add missing make_invoice fields (fixes #78)Adam Soltys2025-07-261-0/+3
|
* respect null tipsAdam Soltys2025-07-191-1/+1
|
* mark self-generated invoicesAdam Soltys2025-06-231-0/+3
|
* use getInvoice helperAdam Soltys2025-03-051-2/+2
|
* payment typesAdam Soltys2025-02-261-8/+9
|
* send zaps for internal paymentsAdam Soltys2025-01-171-3/+2
|
* default to blech32 for liquidAdam Soltys2025-01-151-1/+5
|
* sign endpointAdam Soltys2025-01-151-3/+4
|
* check for duplicate offersAdam Soltys2024-12-221-1/+3
|
* unique offer descriptionAdam Soltys2024-12-211-1/+1
|
* handle offersAdam Soltys2024-12-191-2/+2
|
* printer endpointAdam Soltys2024-12-181-8/+11
|
* ecash receiveAdam Soltys2024-11-221-0/+4
|
* wipAdam Soltys2024-11-211-0/+8
|
* set account idAdam Soltys2024-11-081-0/+1
|
* biome lintAdam Soltys2024-10-311-1/+3
|
* fix type logAdam Soltys2024-10-301-1/+1
|
* dedup locationsAdam Soltys2024-10-301-14/+14
|
* log invalid typeAdam Soltys2024-10-231-1/+1
|
* push to account invoicesAdam Soltys2024-09-251-1/+1
|
* reconcile onchain balanceAdam Soltys2024-09-241-1/+4
|
* reconcile on-chain balanceAdam Soltys2024-09-231-1/+4
|
* rename account idAdam Soltys2024-09-201-7/+7
|
* nwc make_invoiceAdam Soltys2024-09-191-2/+1
|
* add default account if missingAdam Soltys2024-09-131-2/+2
|
* default accountAdam Soltys2024-09-121-0/+2
|
* package rpcAdam Soltys2024-09-081-1/+1
|
* refactor rpc helper, accounts endpointsAdam Soltys2024-09-081-5/+2
|
* return expiryAdam Soltys2024-09-061-3/+5
|
* update sample configAdam Soltys2024-09-051-1/+10
|
* fx endpointAdam Soltys2024-09-041-6/+6
|