5.0.6
What's Changed
- Add body param in delete method by @SushilMallRC in #278
- Fix: Refresh access token if access token is empty in header request by @SushilMallRC in #279
Full Changelog: 5.0.5...5.0.6
⚠️ Breaking Changes
delete method signature changed**: The delete method now supports body params. The signature changed from delete(url, query) to delete(url, body, query). If you were passing query parameters as the second argument, you need to update your code:
Before:
rcsdk.delete('/restapi/v1.0/account//extension/', {...query});
After:
rcsdk.delete('/restapi/v1.0/account//extension/', null, {...query});
// or with body:
rcsdk.delete('/restapi/v1.0/account//extension/', {...body}, {...query});