SDK you're using (please complete the following information):
Version [e.g. 5.1.0]
Describe the bug
With the latest update of the xero-node package, we've started to encounter a "Converting circular structure to JSON" error when we try to convert the response from an API request into a string using JSON.stringify.
To Reproduce
Steps to reproduce the behavior:
Invoke this.xeroClient.accountingApi.getAccounts from the xero-node package
JSON.stringify the response and log it.
See error
Expected behavior
The response should be stringified.
SDK you're using (please complete the following information):
Describe the bug With the latest update of the xero-node package, we've started to encounter a "Converting circular structure to JSON" error when we try to convert the response from an API request into a string using JSON.stringify.
To Reproduce Steps to reproduce the behavior:
Expected behavior The response should be stringified.