You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,14 @@ All notable changes to the ordercloud-javascript-sdk will be documented in this
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [4.7.8] - 2022-05-04
9
+
### Added
10
+
- Added an optional `customRoles` array to the authentication methods to support authenticating with custom roles, in addition to standard ApiRoles.
8
11
## [4.6.8] - 2022-05-02
9
12
### Fixed
10
13
- Docs now up to date with API v1.0.235 and previous changes to DecodedToken.role
14
+
### Removed
15
+
- The ApiRole `InventoryAdmin` was removed from the OrderCloud API and is now considered a custom role. This role was removed from the `ApiRole` type definition. This could be a breaking change if your application uses the role `InventoryAdmin`. In this case, we recommend making this role a custom role.
11
16
## [4.6.7] - 2022-04-27
12
17
### Fixed
13
18
- DecodedToken.role was not properly typed. It is now (ApiRole[] | ApiRole | undefined)
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
36
37
* @param requestOptions.requestType Provide a value that can be used to identify the type of request. Useful for error logs.
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
85
94
* @param reportProgress flag to report request and response progress.
86
95
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
136
153
* @param reportProgress flag to report request and response progress.
137
154
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
* @param requestOptions.cancelToken Provide an [axios cancelToken](https://github.com/axios/axios#cancellation) that can be used to cancel the request.
221
246
* @param requestOptions.requestType Provide a value that can be used to identify the type of request. Useful for error logs.
0 commit comments