@microsoft/ocsdk 0.5.7-main.334b002 → 0.5.7-main.f8207b1

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