All notable changes to this project will be documented in this file.
- Added new initContext property types for push notification
- Adding validator to remove PI.
- Updating exception details telemetry with response data axios field
- Increase of timeout limit time for GetChatConfig, from 30 secs to 120 secs.
- set open ssl to legacy
- logging response errorCode into telemetry logs
- Improve telemetry to uniformly log all errors for reconnectable chat and reconnect availability
- Add
requestId
as optional parameters forgetReconnectableChats()
- Fix error propagation when a call to an endpoint timesout
- Fix unit tests
- Error propagation when getchattoken returns an empty dashboard
- Uptake axios@1.7.4
- added axios-retry library support
- Fix
Authenticated Chat Reconnect
APIs usingsig
as query paramater
- Remove console logs from
LoggingSanitizer.stripRequestHeadersSensitiveProperties()
- Add
livechatconnector/v2/lcwfcsdetails
endpoint - Add
Ms-Oc-User-Agent
as default request headers - Log
RequestHeaders
- Remove telemetry lane, which was duplicating events for GetLWI
- Add configurable wait time between retries componenets, and set to 3 secnds for getLWI, and 1 second for all other requests
- Add
useUnauthReconnectIdSigQueryParam
configuration to usesig
as query parameter to passreconnectId
forUnauthenticated Chat Reconnect
APIs - Add
Oc-Sessionid
as part of request headers if exists - Add configurable wait time between retries componenets, and set to 3 secnds for getLWI, and 1 second for all other requests
- Add
GetChatConfigFailed
telemetry event
- Removal of
recursive call
inLoggingSanitizer
as preventive measure forstack overflow
- including changes to handle new library versions.
- Uptake axios@1.6.1
- Uptake ts-loader@8.4.0
- Uptake typescript@4.9.5
refreshToken
optional query parameter togetchattoken
endpoint
livechatconnector/v3/getchattoken
endpointlivechatconnector/v3/auth/getchattoken
endpoint- Stop retry when the error is related to out of office hours.
- Send and receive
AuthCodeNonce
header in order to be compliant with Omnichannel's OAuth 2.0 requirement - Increasing request timeout and add error handling for OAuth 2.0
- Added
requestTimeoutConfig
anddefaultRequestTimeout
to set timeouts on endpoints. - Throw
ClientHTTPTimeoutError
exception in case of timeouts. - Update
InitContext
to includeisProactiveChat
.
- Update methods to log
RequestPath
,RequestMethod
andResponseStatusCode
- Update
getChatToken
'serror.response
to be optional
- Add
RequestPayload
,RequestPath
,RequestMethod
andResponseStatusCode
as log data - Strip
Geolocation
log data
- Stop
getchattoken
retry calls on429
- Fix
axiosRetry
counter
- Rename
getQueueAvailability
togetAgentAvailability
- Remove sensitive properties from
Error
object - Return
date
field ongetChatConfig
response - Add
customerDisplayName
as optional parameter insendTypingIndicator
- Uptake @babel/runtime@7.15.4
- Uptake @types/node@12.20.26
- Uptake axios@0.21.4
- Uptake @babel/cli@7.15.7
- Uptake @babel/core@7.15.5
- Uptake @babel/plugin-proposal-class-properties@7.14.5
- Uptake @babel/plugin-transform-runtime@7.15.0
- Uptake @babel/preset-env@7.15.6
- Uptake @babel/preset-typescript@7.15.0
- Uptake @types/jasmine@3.9.1
- Uptake @typescript-eslint/eslint-plugin@3.10.1
- Uptake @typescript-eslint/parser@3.10.1
- Uptake eslint@7.32.0
- Uptake jasmine@3.9.0
- Uptake prettier@1.19.1
- Uptake ts-loader@6.2.2
- Uptake typescript@3.9.10
- Uptake webpack@4.46.0
- Uptake webpack-cli@3.3.12
- Uptake webpack-dev-server@3.11.2
livechatconnector/v2/auth/getchattoken
endpointinbound/typingindicator/livechat/sendtypingindicator
endpointlivechatconnector/v2/getchattranscripts
endpointlivechatconnector/v2/auth/getchattranscripts
endpoint
livechatconnector/v2/getchattoken
endpoint
- Uptake @babel/cli@7.12.1
- Uptake karma@5.2.3
- Uptake webpack-dev-server@3.11.0
- Fix eslint errors
- Uptake axios@0.21.1
- Initial release of Omnichannel SDK v0.1.0