stacker.news/api/resolvers
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
..
admin.js snl live banner 2023-06-20 09:57:06 -05:00
blockHeight.js Add block height to price carousel (#484) 2023-09-12 10:56:02 -05:00
growth.js add average comments per post to items analytics 2023-08-14 15:36:54 -05:00
index.js Add block height to price carousel (#484) 2023-09-12 10:56:02 -05:00
invite.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
item.js Images v2 (#513) 2023-10-01 18:03:52 -05:00
lnurl.js remove slashtags completely 2023-08-17 13:40:21 -05:00
message.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
notifications.js 50% speed up in notifications query with many items 2023-09-29 19:12:23 -05:00
price.js require sub selection, allow editting 2023-05-10 19:30:51 -05:00
referrals.js upgrade to prisma 4 2023-07-26 19:18:42 -05:00
rewards.js reduce duplication of invoicable code 2023-09-26 15:15:09 -05:00
search.js use match_phrase_prefix instead 2023-10-02 19:56:54 -05:00
serial.js reduce duplication of invoicable code 2023-09-26 15:15:09 -05:00
sub.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
upload.js Revert "Revert "shield your eyes; massive, squashed refactor; nextjs/react/react-dom/apollo upgrades"" 2023-07-23 10:08:43 -05:00
user.js fix top user stack amount to only include tips 2023-09-28 16:26:06 -05:00
wallet.js LUD-18 Wallet implementation (#531) 2023-10-03 18:22:56 -05:00