@microsoft/ocsdk 0.5.7-main.8725895 → 0.5.7
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/dist/SDK.js +8 -8
- package/dist/SDK.min.js +3 -3
- package/lib/Common/Constants.d.ts +1 -0
- package/lib/Common/Constants.js +2 -1
- package/lib/Common/Constants.js.map +1 -1
- package/lib/Interfaces/IReconnectableChatsParams.d.ts +1 -0
- package/lib/Model/IOCSDKLogData.d.ts +1 -0
- package/lib/SDK.js +8 -6
- package/lib/SDK.js.map +1 -1
- package/lib/Utils/TelemetryHelper.js +3 -2
- package/lib/Utils/TelemetryHelper.js.map +1 -1
- package/lib/Utils/axiosRetryHandler.d.ts +6 -5
- package/lib/Utils/axiosRetryHandler.js +41 -16
- package/lib/Utils/axiosRetryHandler.js.map +1 -1
- package/package.json +3 -3
- package/CHANGELOG.md +0 -207
package/CHANGELOG.md
DELETED
|
@@ -1,207 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
|
|
3
|
-
All notable changes to this project will be documented in this file.
|
|
4
|
-
|
|
5
|
-
## [Unreleased]
|
|
6
|
-
|
|
7
|
-
### Added
|
|
8
|
-
|
|
9
|
-
- Improve telemetry to uniformly log all errors for reconnectable chat and reconnect availability
|
|
10
|
-
|
|
11
|
-
## [0.5.6]
|
|
12
|
-
|
|
13
|
-
### Fixed
|
|
14
|
-
|
|
15
|
-
- Fix error propagation when a call to an endpoint timesout
|
|
16
|
-
- Fix unit tests
|
|
17
|
-
|
|
18
|
-
### Added
|
|
19
|
-
|
|
20
|
-
- Error propagation when getchattoken returns an empty dashboard
|
|
21
|
-
|
|
22
|
-
## [0.5.5]
|
|
23
|
-
|
|
24
|
-
### Security
|
|
25
|
-
|
|
26
|
-
- Uptake [axios@1.7.4](https://www.npmjs.com/package/axios/v/1.7.4)
|
|
27
|
-
|
|
28
|
-
## [0.5.3] - 2024-06-18
|
|
29
|
-
|
|
30
|
-
### Added
|
|
31
|
-
|
|
32
|
-
- added axios-retry library support
|
|
33
|
-
|
|
34
|
-
## [0.5.2] - 2024-05-20
|
|
35
|
-
|
|
36
|
-
### Fixed
|
|
37
|
-
|
|
38
|
-
- Fix `Authenticated Chat Reconnect` APIs using `sig` as query paramater
|
|
39
|
-
|
|
40
|
-
## [0.5.1] - 2024-05-15
|
|
41
|
-
|
|
42
|
-
### Fixed
|
|
43
|
-
|
|
44
|
-
- Remove console logs from `LoggingSanitizer.stripRequestHeadersSensitiveProperties()`
|
|
45
|
-
|
|
46
|
-
## [0.5.0] - 2024-05-14
|
|
47
|
-
|
|
48
|
-
### Added
|
|
49
|
-
|
|
50
|
-
- Add `livechatconnector/v2/lcwfcsdetails` endpoint
|
|
51
|
-
- Add `Ms-Oc-User-Agent` as default request headers
|
|
52
|
-
- Log `RequestHeaders`
|
|
53
|
-
|
|
54
|
-
## [0.4.5] - 2024-03-18
|
|
55
|
-
|
|
56
|
-
### Changed
|
|
57
|
-
|
|
58
|
-
- Remove telemetry lane, which was duplicating events for GetLWI
|
|
59
|
-
|
|
60
|
-
## [0.4.4] - 2024-03-18
|
|
61
|
-
|
|
62
|
-
### Added
|
|
63
|
-
|
|
64
|
-
- Add configurable wait time between retries componenets, and set to 3 secnds for getLWI, and 1 second for all other requests
|
|
65
|
-
|
|
66
|
-
## [0.4.3] - 2024-02-28
|
|
67
|
-
|
|
68
|
-
### Added
|
|
69
|
-
|
|
70
|
-
- Add `useUnauthReconnectIdSigQueryParam` configuration to use `sig` as query parameter to pass `reconnectId` for `Unauthenticated Chat Reconnect` APIs
|
|
71
|
-
- Add `Oc-Sessionid` as part of request headers if exists
|
|
72
|
-
- Add configurable wait time between retries componenets, and set to 3 secnds for getLWI, and 1 second for all other requests
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
## [0.4.2] - 2023-12-06
|
|
76
|
-
|
|
77
|
-
### Added
|
|
78
|
-
|
|
79
|
-
- Add `GetChatConfigFailed` telemetry event
|
|
80
|
-
|
|
81
|
-
### Changed
|
|
82
|
-
|
|
83
|
-
- Removal of `recursive call` in `LoggingSanitizer` as preventive measure for `stack overflow`
|
|
84
|
-
|
|
85
|
-
## [0.4.1] - 2023-11-10
|
|
86
|
-
|
|
87
|
-
### Added
|
|
88
|
-
|
|
89
|
-
- including changes to handle new library versions.
|
|
90
|
-
|
|
91
|
-
### Security
|
|
92
|
-
|
|
93
|
-
- Uptake [axios@1.6.1](https://www.npmjs.com/package/axios/v/1.6.1)
|
|
94
|
-
- Uptake [ts-loader@8.4.0](https://www.npmjs.com/package/ts-loader/v/8.4.0)
|
|
95
|
-
- Uptake [typescript@4.9.5](https://www.npmjs.com/package/typescript/v/4.9.5)
|
|
96
|
-
|
|
97
|
-
## [0.4.0] - 2023-07-05
|
|
98
|
-
|
|
99
|
-
### Added
|
|
100
|
-
|
|
101
|
-
- `refreshToken` optional query parameter to `getchattoken` endpoint
|
|
102
|
-
|
|
103
|
-
## [0.3.4] - 2023-03-24
|
|
104
|
-
|
|
105
|
-
### Added
|
|
106
|
-
|
|
107
|
-
- `livechatconnector/v3/getchattoken` endpoint
|
|
108
|
-
- `livechatconnector/v3/auth/getchattoken` endpoint
|
|
109
|
-
- Stop retry when the error is related to out of office hours.
|
|
110
|
-
- Send and receive `AuthCodeNonce` header in order to be compliant with Omnichannel's OAuth 2.0 requirement
|
|
111
|
-
- Increasing request timeout and add error handling for OAuth 2.0
|
|
112
|
-
|
|
113
|
-
## [0.3.3] - 2023-01-09
|
|
114
|
-
|
|
115
|
-
### Fix
|
|
116
|
-
|
|
117
|
-
- Added `requestTimeoutConfig` and `defaultRequestTimeout` to set timeouts on endpoints.
|
|
118
|
-
- Throw `ClientHTTPTimeoutError` exception in case of timeouts.
|
|
119
|
-
- Update `InitContext` to include `isProactiveChat`.
|
|
120
|
-
|
|
121
|
-
## [0.3.2] - 2022-11-03
|
|
122
|
-
|
|
123
|
-
### Changed
|
|
124
|
-
|
|
125
|
-
- Update methods to log `RequestPath`, `RequestMethod` and `ResponseStatusCode`
|
|
126
|
-
|
|
127
|
-
### Fix
|
|
128
|
-
|
|
129
|
-
- Update `getChatToken`'s `error.response` to be optional
|
|
130
|
-
|
|
131
|
-
### Security
|
|
132
|
-
|
|
133
|
-
## [0.3.1] - 2022-07-06
|
|
134
|
-
|
|
135
|
-
### Added
|
|
136
|
-
|
|
137
|
-
- Add `RequestPayload`, `RequestPath`, `RequestMethod` and `ResponseStatusCode` as log data
|
|
138
|
-
- Strip `Geolocation` log data
|
|
139
|
-
|
|
140
|
-
### Fix
|
|
141
|
-
|
|
142
|
-
- Stop `getchattoken` retry calls on `429`
|
|
143
|
-
- Fix `axiosRetry` counter
|
|
144
|
-
|
|
145
|
-
### Changed
|
|
146
|
-
|
|
147
|
-
- Rename `getQueueAvailability` to `getAgentAvailability`
|
|
148
|
-
|
|
149
|
-
## [0.3.0] - 2021-09-23
|
|
150
|
-
|
|
151
|
-
### Added
|
|
152
|
-
|
|
153
|
-
- Remove sensitive properties from `Error` object
|
|
154
|
-
- Return `date` field on `getChatConfig` response
|
|
155
|
-
- Add `customerDisplayName` as optional parameter in `sendTypingIndicator`
|
|
156
|
-
|
|
157
|
-
### Security
|
|
158
|
-
|
|
159
|
-
- Uptake [@babel/runtime@7.15.4](https://www.npmjs.com/package/@babel/runtime/v/7.15.4)
|
|
160
|
-
- Uptake [@types/node@12.20.26](https://www.npmjs.com/package/@types/node/v/12.20.26)
|
|
161
|
-
- Uptake [axios@0.21.4](https://www.npmjs.com/package/axios/v/0.21.4)
|
|
162
|
-
- Uptake [@babel/cli@7.15.7](https://www.npmjs.com/package/@babel/cli/v/7.15.7)
|
|
163
|
-
- Uptake [@babel/core@7.15.5](https://www.npmjs.com/package/@babel/core/v/7.15.5)
|
|
164
|
-
- Uptake [@babel/plugin-proposal-class-properties@7.14.5](https://www.npmjs.com/package/@babel/plugin-proposal-class-properties/v/7.14.5)
|
|
165
|
-
- Uptake [@babel/plugin-transform-runtime@7.15.0](https://www.npmjs.com/package/@babel/plugin-transform-runtime/v/7.15.0)
|
|
166
|
-
- Uptake [@babel/preset-env@7.15.6](https://www.npmjs.com/package/@babel/preset-env/v/7.15.6)
|
|
167
|
-
- Uptake [@babel/preset-typescript@7.15.0](https://www.npmjs.com/package/@babel/preset-typescript/v/7.15.0)
|
|
168
|
-
- Uptake [@types/jasmine@3.9.1](https://www.npmjs.com/package/@types/jasmine/v/3.9.1)
|
|
169
|
-
- Uptake [@typescript-eslint/eslint-plugin@3.10.1](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/3.10.1)
|
|
170
|
-
- Uptake [@typescript-eslint/parser@3.10.1](https://www.npmjs.com/package/@typescript-eslint/parser/v/3.10.1)
|
|
171
|
-
- Uptake [eslint@7.32.0](https://www.npmjs.com/package/eslint/v/7.32.0)
|
|
172
|
-
- Uptake [jasmine@3.9.0](https://www.npmjs.com/package/jasmine/v/3.9.0)
|
|
173
|
-
- Uptake [prettier@1.19.1](https://www.npmjs.com/package/prettier/v/1.19.1)
|
|
174
|
-
- Uptake [ts-loader@6.2.2](https://www.npmjs.com/package/ts-loader/v/6.2.2)
|
|
175
|
-
- Uptake [typescript@3.9.10](https://www.npmjs.com/package/typescript/v/3.9.10)
|
|
176
|
-
- Uptake [webpack@4.46.0](https://www.npmjs.com/package/webpack/v/4.46.0)
|
|
177
|
-
- Uptake [webpack-cli@3.3.12](https://www.npmjs.com/package/webpack-cli/v/3.3.12)
|
|
178
|
-
- Uptake [webpack-dev-server@3.11.2](https://www.npmjs.com/package/webpack-dev-server/v/3.11.2)
|
|
179
|
-
|
|
180
|
-
## [0.2.0] - 2021-05-05
|
|
181
|
-
|
|
182
|
-
### Added
|
|
183
|
-
|
|
184
|
-
- `livechatconnector/v2/auth/getchattoken` endpoint
|
|
185
|
-
- `inbound/typingindicator/livechat/sendtypingindicator` endpoint
|
|
186
|
-
- `livechatconnector/v2/getchattranscripts` endpoint
|
|
187
|
-
- `livechatconnector/v2/auth/getchattranscripts` endpoint
|
|
188
|
-
|
|
189
|
-
## [0.1.1] - 2021-02-16
|
|
190
|
-
|
|
191
|
-
### Added
|
|
192
|
-
|
|
193
|
-
- `livechatconnector/v2/getchattoken` endpoint
|
|
194
|
-
|
|
195
|
-
### Security
|
|
196
|
-
|
|
197
|
-
- Uptake [@babel/cli@7.12.1](https://www.npmjs.com/package/@babel/cli/v/7.12.1)
|
|
198
|
-
- Uptake [karma@5.2.3](https://www.npmjs.com/package/karma/v/5.2.3)
|
|
199
|
-
- Uptake [webpack-dev-server@3.11.0](https://www.npmjs.com/package/webpack-dev-server/v/3.11.0)
|
|
200
|
-
- Fix eslint errors
|
|
201
|
-
- Uptake [axios@0.21.1](https://www.npmjs.com/package/axios/v/0.21.1)
|
|
202
|
-
|
|
203
|
-
## [0.1.0] - 2020-09-21
|
|
204
|
-
|
|
205
|
-
### Added
|
|
206
|
-
|
|
207
|
-
- Initial release of Omnichannel SDK v0.1.0
|