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