stacker.news/lib
SatsAllDay 362f95add9
LUD-18 Wallet implementation (#531)
* LUD-18 Wallet implementation

Query the lightning address provider client-side to learn of capabilities

Conditionally render LUD-12 and LUD-18 fields based on what the remote
server says is supported

Allow identifier, name, and email to be sent from the SN side during the withdrawal flow. Auth seems too complicated for our use case, and idk about pubkey?

* Clear inputs if the new ln addr provier doesn't support those fields

* various ux improvements

* dynamic client-side validation for required payer data

* don't re-init form state on error

* correct min and max amount values

* only send applicable data to graphql api based on payerdata schema

* input type for numeric values (amount, max fee)

* update step for amount and max fee

* Fix identifier optional and field blur

* reuse more code

---------

Co-authored-by: Keyan <34140557+huumn@users.noreply.github.com>
Co-authored-by: keyan <keyan.kousha+huumn@gmail.com>
2023-10-03 18:22:56 -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 LUD-18 Wallet implementation (#531) 2023-10-03 18:22:56 -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 Wallet implementation (#531) 2023-10-03 18:22:56 -05:00