stacker.news/lib
SatsAllDay 3acaee377b
LUD-18 Service Support (#518)
* first pass of LUD-18 support

* Various LUD-18 updates

* don't cache the well-known response, since it includes randomly generated single use values

* validate k1 from well-known response to pay URL

* only keep k1's for 10 minutes if they go unused

* fix validation logic to make auth object optional

* Various LUD18 updates

* move k1 cache to database

* store payer data in invoice db table

* show payer data in invoices on satistics page

* show comments and payer data on invoice page

* Show lud18 data in invoice notification

* PayerData component for easier display of info in invoice, notification, wallet history

* `payerData` -> `invoicePayerData` in fact schema

* Merge prisma migrations

* lint fixes

* worker job to clear out unused lnurlp requests after 30 minutes

* More linting

* Move migration to older

* WIP review

* enhance lud-18

* refine notification ui

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-10-03 14:35:53 -05:00
..
apollo.js Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
clicks.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
constants.js decrease comment depth to 8 2023-09-28 17:06:07 -05:00
currency.js reuse validation on server 2023-02-08 13:39:53 -06:00
cursor.js fix new freebie bug and first page detection 2021-09-09 11:44:01 -05:00
fancy-names.json Add setting to send diagnostics back to SN (#463) 2023-09-18 18:00:16 -05:00
form.js multiple forwards on a post (#403) 2023-08-23 17:44:17 -05:00
format.js Introduce format option on `numWithUnits` fn, consumed by bounty listing (#496) 2023-09-18 17:49:13 -05:00
item.js Allow zapping, posting and commenting without funds or an account (#336) 2023-08-11 18:50:57 -05:00
lnurl.js check invoice description hash against lnurl pay metadata 2022-05-19 09:22:25 -05:00
md.js fix back button behavior on select navigation 2023-07-25 15:29:45 -05:00
new-comments.js subtle highlight of new comments 2023-08-06 14:18:40 -05:00
nostr.js Notifications with nostr info (#368) 2023-08-08 13:19:31 -05:00
package.json Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
push-notifications.js move push notification calls to their own file 2023-09-26 15:27:55 -05:00
rainbow.js new bolt 2021-12-05 11:37:55 -06:00
rand.js use rand lightning animation when not logged in 2021-07-16 11:47:18 -05:00
remark-mention.js fix mdast find and replace imports 2023-07-24 20:03:56 -05:00
remark-sub.js fix mdast find and replace imports 2023-07-24 20:03:56 -05:00
rss.js Add category tag to RSS feed (#534) 2023-10-02 19:20:13 -05:00
time.js Convert worker to ESM (#500) 2023-09-23 20:19:35 -05:00
url.js Update twitter url regexs to match x.com or twitter.com (#454) 2023-08-30 20:13:43 -05:00
validate.js LUD-18 Service Support (#518) 2023-10-03 14:35:53 -05:00