@microsoft/ocsdk 0.4.4-main.ff97813 → 0.4.5-main.0a96d19

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 CHANGED
@@ -1,35 +1,58 @@
1
1
  # Changelog
2
+
2
3
  All notable changes to this project will be documented in this file.
3
4
 
4
5
  ## [Unreleased]
6
+ ## Changes
7
+ - Remove telemetry lane, which was duplicating events for GetLWI
8
+
9
+ ## [0.4.4] - 2024-03-18
10
+
11
+ ### Added
12
+
13
+ - Add configurable wait time between retries componenets, and set to 3 secnds for getLWI, and 1 second for all other requests
5
14
 
6
15
  ## [0.4.3] - 2024-02-28
16
+
7
17
  ### Added
18
+
8
19
  - Add `useUnauthReconnectIdSigQueryParam` configuration to use `sig` as query parameter to pass `reconnectId` for `Unauthenticated Chat Reconnect` APIs
9
20
  - Add `Oc-Sessionid` as part of request headers if exists
21
+ - Add configurable wait time between retries componenets, and set to 3 secnds for getLWI, and 1 second for all other requests
22
+
10
23
 
11
24
  ## [0.4.2] - 2023-12-06
25
+
12
26
  ### Added
27
+
13
28
  - Add `GetChatConfigFailed` telemetry event
14
29
 
15
30
  ### Changed
31
+
16
32
  - Removal of `recursive call` in `LoggingSanitizer` as preventive measure for `stack overflow`
17
33
 
18
34
  ## [0.4.1] - 2023-11-10
35
+
19
36
  ### Added
37
+
20
38
  - including changes to handle new library versions.
21
39
 
22
40
  ### Security
41
+
23
42
  - Uptake [axios@1.6.1](https://www.npmjs.com/package/axios/v/1.6.1)
24
43
  - Uptake [ts-loader@8.4.0](https://www.npmjs.com/package/ts-loader/v/8.4.0)
25
44
  - Uptake [typescript@4.9.5](https://www.npmjs.com/package/typescript/v/4.9.5)
26
45
 
27
46
  ## [0.4.0] - 2023-07-05
47
+
28
48
  ### Added
49
+
29
50
  - `refreshToken` optional query parameter to `getchattoken` endpoint
30
51
 
31
52
  ## [0.3.4] - 2023-03-24
53
+
32
54
  ### Added
55
+
33
56
  - `livechatconnector/v3/getchattoken` endpoint
34
57
  - `livechatconnector/v3/auth/getchattoken` endpoint
35
58
  - Stop retry when the error is related to out of office hours.
@@ -37,39 +60,51 @@ All notable changes to this project will be documented in this file.
37
60
  - Increasing request timeout and add error handling for OAuth 2.0
38
61
 
39
62
  ## [0.3.3] - 2023-01-09
63
+
40
64
  ### Fix
65
+
41
66
  - Added `requestTimeoutConfig` and `defaultRequestTimeout` to set timeouts on endpoints.
42
67
  - Throw `ClientHTTPTimeoutError` exception in case of timeouts.
43
68
  - Update `InitContext` to include `isProactiveChat`.
44
69
 
45
70
  ## [0.3.2] - 2022-11-03
71
+
46
72
  ### Changed
73
+
47
74
  - Update methods to log `RequestPath`, `RequestMethod` and `ResponseStatusCode`
48
75
 
49
76
  ### Fix
77
+
50
78
  - Update `getChatToken`'s `error.response` to be optional
51
79
 
52
80
  ### Security
53
81
 
54
82
  ## [0.3.1] - 2022-07-06
83
+
55
84
  ### Added
85
+
56
86
  - Add `RequestPayload`, `RequestPath`, `RequestMethod` and `ResponseStatusCode` as log data
57
87
  - Strip `Geolocation` log data
58
88
 
59
89
  ### Fix
90
+
60
91
  - Stop `getchattoken` retry calls on `429`
61
92
  - Fix `axiosRetry` counter
62
93
 
63
94
  ### Changed
95
+
64
96
  - Rename `getQueueAvailability` to `getAgentAvailability`
65
97
 
66
98
  ## [0.3.0] - 2021-09-23
99
+
67
100
  ### Added
101
+
68
102
  - Remove sensitive properties from `Error` object
69
103
  - Return `date` field on `getChatConfig` response
70
104
  - Add `customerDisplayName` as optional parameter in `sendTypingIndicator`
71
105
 
72
106
  ### Security
107
+
73
108
  - Uptake [@babel/runtime@7.15.4](https://www.npmjs.com/package/@babel/runtime/v/7.15.4)
74
109
  - Uptake [@types/node@12.20.26](https://www.npmjs.com/package/@types/node/v/12.20.26)
75
110
  - Uptake [axios@0.21.4](https://www.npmjs.com/package/axios/v/0.21.4)
@@ -92,17 +127,22 @@ All notable changes to this project will be documented in this file.
92
127
  - Uptake [webpack-dev-server@3.11.2](https://www.npmjs.com/package/webpack-dev-server/v/3.11.2)
93
128
 
94
129
  ## [0.2.0] - 2021-05-05
130
+
95
131
  ### Added
132
+
96
133
  - `livechatconnector/v2/auth/getchattoken` endpoint
97
134
  - `inbound/typingindicator/livechat/sendtypingindicator` endpoint
98
135
  - `livechatconnector/v2/getchattranscripts` endpoint
99
136
  - `livechatconnector/v2/auth/getchattranscripts` endpoint
100
137
 
101
138
  ## [0.1.1] - 2021-02-16
139
+
102
140
  ### Added
141
+
103
142
  - `livechatconnector/v2/getchattoken` endpoint
104
143
 
105
144
  ### Security
145
+
106
146
  - Uptake [@babel/cli@7.12.1](https://www.npmjs.com/package/@babel/cli/v/7.12.1)
107
147
  - Uptake [karma@5.2.3](https://www.npmjs.com/package/karma/v/5.2.3)
108
148
  - Uptake [webpack-dev-server@3.11.0](https://www.npmjs.com/package/webpack-dev-server/v/3.11.0)
@@ -110,5 +150,7 @@ All notable changes to this project will be documented in this file.
110
150
  - Uptake [axios@0.21.1](https://www.npmjs.com/package/axios/v/0.21.1)
111
151
 
112
152
  ## [0.1.0] - 2020-09-21
153
+
113
154
  ### Added
155
+
114
156
  - Initial release of Omnichannel SDK v0.1.0