Releases: ordercloud-api/ordercloud-javascript-sdk
Releases · ordercloud-api/ordercloud-javascript-sdk
5.0.4
- Update axios peer dependency version from ^1.0.0 to ^1.1.3
- A bug in axios was causing a filtering issue in our sdk
5.0.3
- Add new optional param anonuserid to Auth.Anonymous (part of new tracking events feature)
5.0.2
- Additional updates from regen to API v1.0.267
5.0.1
SDK up to date with API v1.0.267
5.0.0
:bookmark: 5.0.0
5.0.0-beta.5
SDK up to date with API v1.0.265
5.0.0-beta.4
- SDK up to date with API v1.0.263
5.0.0-beta.3
Added
- new types for order returns
- OrderReturnCalculatePayload
- OrderReturnCalculateResponse
- LineItemReturnCalculation
5.0.0-beta.2
Fixed
-
OrderCloudError was not serializing errors correctly (breaking change). There was a bug where ordercloud errors were incorrectly nested under an additional
Errorsproperty. This has been fixed to match the typescript typeBefore:
catch(exception) { const ordercloudErrors = exception.errors.Errors; }
After:
catch(exception) { const ordercloudErrors = exception.errors; }
5.0.0-beta.1
Added
- Added support for axios ^1.0.0, version less than 1.0.0 no longer supported (breaking change)
- Updated OrderCloudError (breaking change more details in MIGRATION_GUIDE.md)