@microsoft/ocsdk 0.5.6 → 0.5.7-0

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