@microsoft/ocsdk 0.3.4-main.d3c62fe → 0.3.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist/SDK.js +32 -8
- package/dist/SDK.min.js +4 -4
- package/lib/Common/Constants.d.ts +2 -0
- package/lib/Common/Constants.js +3 -1
- package/lib/Common/Constants.js.map +1 -1
- package/lib/Common/Enums.d.ts +2 -1
- package/lib/Common/Enums.js +2 -1
- package/lib/Common/Enums.js.map +1 -1
- package/lib/Common/OmnichannelEndpoints.d.ts +2 -0
- package/lib/Common/OmnichannelEndpoints.js +3 -1
- package/lib/Common/OmnichannelEndpoints.js.map +1 -1
- package/lib/Common/OmnichannelHTTPHeaders.d.ts +1 -0
- package/lib/Common/OmnichannelHTTPHeaders.js +2 -1
- package/lib/Common/OmnichannelHTTPHeaders.js.map +1 -1
- package/lib/Interfaces/IAxiosRetryOptions.d.ts +9 -0
- package/lib/Interfaces/ISDKConfiguration.d.ts +4 -0
- package/lib/SDK.d.ts +1 -0
- package/lib/SDK.js +546 -414
- package/lib/SDK.js.map +1 -1
- package/lib/Utils/LoggingSanitizer.js +25 -19
- package/lib/Utils/LoggingSanitizer.js.map +1 -1
- package/lib/Utils/SessionInitRetryHandler.d.ts +4 -0
- package/lib/Utils/SessionInitRetryHandler.js +41 -0
- package/lib/Utils/SessionInitRetryHandler.js.map +1 -0
- package/lib/Utils/axiosRetry.js +45 -5
- package/lib/Utils/axiosRetry.js.map +1 -1
- package/lib/Utils/endpointsCreators.d.ts +3 -0
- package/lib/Utils/endpointsCreators.js +30 -0
- package/lib/Utils/endpointsCreators.js.map +1 -0
- package/lib/Utils/setAuthCodeNonce.d.ts +0 -0
- package/lib/Utils/setAuthCodeNonce.js +2 -0
- package/lib/Utils/setAuthCodeNonce.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [0.3.4] - 2023-03-24
|
|
5
|
+
### Added
|
|
6
|
+
- `livechatconnector/v3/getchattoken` endpoint
|
|
7
|
+
- `livechatconnector/v3/auth/getchattoken` endpoint
|
|
8
|
+
- Stop retry when the error is related to out of office hours.
|
|
9
|
+
- Send and receive `AuthCodeNonce` header in order to be compliant with Omnichannel's OAuth 2.0 requirement
|
|
10
|
+
- Increasing request timeout and add error handling for OAuth 2.0
|
|
11
|
+
|
|
4
12
|
## [0.3.3] - 2023-01-09
|
|
5
13
|
### Fix
|
|
6
14
|
- Added `requestTimeoutConfig` and `defaultRequestTimeout` to set timeouts on endpoints.
|