getlago / lago-javascript-client

Lago Javascript Client
MIT License
21 stars 2 forks source link

[BUG]: Missing wallet_transactions.transaction_status. It's present in DOCS but NOT present in Javascript Client #42

Closed amiranvarov closed 1 month ago

amiranvarov commented 4 months ago

Describe the bug First of all, not a complain. I love what you guys are doing. Just pointing some thing minor, that would be nice to fix.

While creating wallet transaction I discovered that my Typescript is complaining that there is no transaction_status with Available options: purchased, granted, voided, invoiced. I saw on the Docs, saying that it is present, but in JS SDK it is actually not. PS: status and transaction_status are confusing names, it may be good idea to separate them with some more meaningful names.

To Reproduce

  1. check the docs
  2. check the SDK typings

Expected behavior SDK has exact typings listed docs for wallet transaction or any other path

Screenshots

image image

Support Not applicable

vincent-pochet commented 3 months ago

Hello @amiranvarov, thank you for reaching us about it. Do you still have this issue? If so, what is your version of Lago and lago-javascript-client?