- Fix default export type
- Fix export types
- Readme fixes
- Added ability to create HTTP server, not only HTTPS
- Change empty request body error response code to
401
- Readme fixes
- Update dependencies
Thanks:
- Add
getStats
,createCheck
,getChecks
,getChecksPaginate
,transfer
,getTransfers
,getTransfersPaginate
,deleteInvoice
anddeleteCheck
methods - Change methods
getInvoices
andgetInvoicesPaginate
to returns array ofInvoice
- Remove
currency
field fromGetInvoicesOptions
andGetInvoicesPaginateOptions
types and addasset
andfiat
fields - Update
Invoice
type to actual API version - Update
createInvoice
method to actual API version, change related options types - Change return type of
getExchangeRate
method and fieldrate
ofExchangeRate
type which returned bygetExchangeRates
method to string - Change
Invoice
typeamount
field type to string - Change
getInvoices
optionsids
field type tonumber[]
- Fix
getInvoices
backend methodinvoice_ids
parameter type - Remove calculating and returning exchange rate for reverse pair of
source
andtarget
bygetExchangeRate
method - Add
isValid
field toExchangeRate
type - Change
getExchangeRate
method to return '0' value for non-valid exchange rate - Change
Balances
type to store available and on hold balances in newBalance
type - Create
BalancesType
type to store available or on hold balances - Remove
isReturnInNanos
andisForce
parameters fromgetBalances
andgetBalance
methods - Add
getBalancesAvailable
,getBalancesOnhold
,getBalanceAvailable
andgetBalanceOnhold
to get balances by type - Create
CurrencyCode
type with known variants - Add
code
field toCurrency
type - Add
unknown
variant forCurrencyType
- Replace
CurrencyType
by enum and store it inClient
class - Rename
CurrencyType
toDetailedCurrencyType
with more detailed variants - Use
CurrencyType
type to main types variants and store it inClient
class - Replace
InvoiceStatus
by enum and store it inClient
class - Fix library connection in examples
- Fix links in
readme.md
- Fix
Client
classsetPageSize
method documentation parameter name - Fix
ClientEmitter.constructor
documentation inheritance - Update dependencies
- Fix
getInvoices
identifiers parameter name
Thanks:
- Using mainnet endpoint for default
- Webhooks request data and check signature changes
- Change backend API authorization process
- Remove methods, structures and fields related with deleted from backend API methods
- Add webhooks receiving in Node.js with Express.js like middleware support
- Increase Client.createInvoice
payload
field max size - Add support any type in createInvoice payload and correct parsing in getInvoices response by JSON
- Add direct backend API call method
- Increase package version to publish on prereserved npm package name
- Initial release