ln-paywall v0.5.2 Release Notes
Release Date: 2018-10-07 // over 6 years ago-
- ๐ Fixed: When using the Echo middleware the invoice response status code was 200 OK instead of 402 Payment Required (issue #30)
- ๐ Fixed: When using the Echo middleware error responses (including the invoice) were wrapped in JSON instead of just text (issue #30)
- ๐ Fixed: GoDoc for
storage.NewBoltClient(...)
contained usage suggestions that would lead to the possibility of clients cheating with reusing preimages
Previous changes from v0.5.1
-
- ๐ Fixed: Performance decreased when using Lightning Charge and the amount of invoices in the Lightning Charge server increased (issue #28)
- ๐ Fixed: Since the introduction of the
ln.Invoice
struct the whole struct was logged instead of just the invoice string
๐ฅ Breaking changes
๐ฆ > Note: The following breaking changes don't affect normal users of the package, but only those who use their own implementations of our interfaces.
- ๐ Changed: The struct
ln.Invoice
now has a fieldImplDepID string
which is required by the middlewares. It's an LN node implementation dependent ID (e.g. payment hash for lnd, some random string for Lightning Charge). (Required for issue #28.) - ๐ Changed:
wall.LNclient
now requires the methodCheckInvoice(string) (bool, error)
to accept the LN node implementation dependent ID instead of the preimage hash as parameter. (Required for issue #28.)