bitcoinjs / bolt11

A library for encoding and decoding lightning network payment requests as defined in BOLT #11.
MIT License
92 stars 64 forks source link

feat: add tagsObject to PaymentRequestObject #62

Closed dylancom closed 2 years ago

junderw commented 2 years ago

Get rid of yarn.lock

junderw commented 2 years ago

Also, tagsObject needs to be optional, since PaymentRequestObject is also the input to encode.

junderw commented 2 years ago

I updated the PR with a getter that works. I tried it in TypeScript and it seems to work as well.