Commit Graph

25 Commits

Author SHA1 Message Date
bumi f6d089c194
lowercase sats 2022-05-13 11:06:13 +02:00
bumi 5fd10bc647 Add icon assets 2022-05-07 11:36:42 +02:00
Aaron Dewes a9a3e8b073
Fix typo
clipboad -> clipboard
2022-04-18 17:24:43 +02:00
Christoph Jerolimov cffdded688 Add icon to readme and favicon to generated code, fixes #28 2021-12-03 12:55:56 +01:00
bumi aeb1ffc669 Less opacity for placeholders to make it look less like prefilled text 2021-08-27 11:24:51 +02:00
bumi d3a3bf287b Slightly nicer webln integration 2021-08-27 11:24:51 +02:00
bumi 38b7e6ed3e Disable button if now amount is provided 2021-08-27 11:24:51 +02:00
bumi 3c97f31e03
Merge pull request #8 from mbarkhau/patch-1
Improve scanability fo QR code
2021-08-26 11:02:47 +02:00
mbarkhau a75497103c
Improve scanability fo QR code
My camera had issues with the colored background. Adding this css helped.
2021-07-13 11:27:48 +00:00
bumi 2c0b3b7ee1 Make URLs configurable
pass in `createInvoiceUrl`, `watchPaymentUrl`, `newAddressUrl` functions. Those must return the URL as string that is used for the API calls
2021-07-11 12:01:30 +02:00
bumi f066978374 Use a default font and not a font from google
No need to load data from google. If someone wants a special font a custom
website can be used.
2020-10-26 10:59:56 +01:00
Carlos Garcia Ortiz karliatto e7acaf7821 fix: when widget closed stop watching payment 2020-10-25 12:47:35 +01:00
bumi ad6f109c95 Fix widget usage 2020-10-24 18:03:10 +02:00
bumi 986b8d3aa4 Disable arrow buttons on number input fileds 2020-10-24 13:40:30 +02:00
bumi 37ebaf3834 Fix webln usage 2020-10-24 10:48:12 +02:00
bumi c0171c0e81 Formatting 2020-10-23 18:53:18 +02:00
bumi 9472f3edb0 moar 2020-10-22 23:15:52 +02:00
bumi ff35c727d4 Optional constructor parameter
this makes the interface easier when we only want to get a new address:

new LnMe().newAddress().then(console.log)
2020-10-22 20:44:11 +02:00
bumi e1882b8fcf Add support to get an onchain Address 2020-10-22 20:36:27 +02:00
bumi 01460b2c5c Disable inputs after submit
otherwise the user might change the values but the invoice does not get updated.
2020-10-22 20:14:14 +02:00
bumi f30bb63bad Support form prefilling with query params 2020-10-18 22:28:46 +02:00
bumi 8eb49fc460 Fix JS for mobile/iOS
seems static class variables are not supported
2020-10-18 19:45:09 +02:00
bumi 71ed7e8c97 Display loading spinner on send click 2020-10-18 18:58:09 +02:00
bumi 664ae2b921 Add loading spinner 2020-10-18 18:54:57 +02:00
bumi 49e79d9c9c Refactorings
Refactor JS and embed assets using rice.go
2020-10-18 02:31:56 +02:00