botframework-directlinejs 0.15.2-master.19bb0c9 → 0.15.2-master.8f2b9c8

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/lib/directLine.js CHANGED
@@ -757,7 +757,7 @@ var DirectLine = /*#__PURE__*/function () {
757
757
  clientAgent += "; ".concat(customAgent);
758
758
  }
759
759
 
760
- return "".concat(DIRECT_LINE_VERSION, " (").concat(clientAgent, " ").concat("0.15.2-master.19bb0c9", ")");
760
+ return "".concat(DIRECT_LINE_VERSION, " (").concat(clientAgent, " ").concat("0.15.2-master.8f2b9c8", ")");
761
761
  }
762
762
  }, {
763
763
  key: "setUserId",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "botframework-directlinejs",
3
- "version": "0.15.2-master.19bb0c9",
3
+ "version": "0.15.2-master.8f2b9c8",
4
4
  "description": "Client library for the Microsoft Bot Framework Direct Line 3.0 protocol",
5
5
  "files": [
6
6
  "dist/**/*",
@@ -62,11 +62,11 @@
62
62
  "nock": "^13.1.1",
63
63
  "node-fetch": "^2.6.7",
64
64
  "on-error-resume-next": "^1.1.0",
65
- "restify": "^8.5.1",
65
+ "restify": "^11.0.0",
66
66
  "rimraf": "^3.0.2",
67
67
  "simple-update-in": "^2.2.0",
68
68
  "typescript": "^4.3.5",
69
- "webpack": "^5.45.1",
69
+ "webpack": "^5.75.0",
70
70
  "webpack-cli": "^4.7.2",
71
71
  "webpack-stats-plugin": "^1.0.3"
72
72
  }
package/CHANGELOG.md DELETED
@@ -1,236 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to this project will be documented in this file.
4
-
5
- The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6
- and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7
-
8
- <!-- CHANGELOG line template
9
- ### Added/Changed/Removed
10
- - Added something, by [@johndoe](https://github.com/johndoe), in PR [#XXX](https://github.com/microsoft/BotFramework-DirectLineJS/pull/XXX)
11
- ### Changed (for dependency bumps)
12
- - `core`: Bumps to [`abc@1.2.3`](https://npmjs.com/package/abc/), in PR [#XXX](https://github.com/microsoft/BotFramework-DirectLineJS/pull/XXX)
13
- ### Fixed
14
- - Fix [#XXX](https://github.com/microsoft/BotFramework-DirectLineJS/issues/XXX). Patched something, by [@johndoe](https://github.com/johndoe) in PR [#XXX](https://github.com/microsoft/BotFramework-DirectLineJS/pull/XXX)
15
- -->
16
-
17
- ## [Unreleased]
18
-
19
- ## [0.15.1] - 2022-02-09
20
-
21
- ### Changed
22
-
23
- - Bumped dependencies, by [@compulim](https://github.com/compulim), in PR [#351](https://github.com/microsoft/BotFramework-DirectLineJS/pull/351) and PR [#366](https://github.com/microsoft/BotFramework-DirectLineJS/pull/366)
24
- - Production dependencies
25
- - [`cross-fetch@3.1.5`](https://npmjs.com/package/cross-fetch)
26
- - Development dependencies
27
- - [`node-fetch@2.6.7`](https://npmjs.com/package/node-fetch)
28
-
29
- ## [0.15.0] - 2021-07-29
30
-
31
- ### Changed
32
-
33
- - Bumped dependencies, by [@compulim](https://github.com/compulim), in PR [#351](https://github.com/microsoft/BotFramework-DirectLineJS/pull/351)
34
- - Production dependencies
35
- - [`@babel/runtime@7.14.8`](https://npmjs.com/package/@babel/runtime)
36
- - [`botframework-streaming@4.14.1`](https://npmjs.com/package/botframework-streaming)
37
- - [`buffer@6.0.3`](https://npmjs.com/package/buffer)
38
- - [`core-js@3.15.2`](https://npmjs.com/package/core-js)
39
- - [`cross-fetch@3.1.4`](https://npmjs.com/package/cross-fetch)
40
- - [`rxjs@5.5.12`](https://npmjs.com/package/rxjs)
41
- - [`url-search-params-polyfill@8.1.1`](https://npmjs.com/package/url-search-params-polyfill)
42
- - Development dependencies
43
- - [`@babel/cli@7.14.8`](https://npmjs.com/package/@babel/cli)
44
- - [`@babel/core@7.14.8`](https://npmjs.com/package/@babel/core)
45
- - [`@babel/plugin-transform-runtime@7.14.5`](https://npmjs.com/package/@babel/plugin-transform-runtime)
46
- - [`@babel/preset-env@7.14.8`](https://npmjs.com/package/@babel/preset-env)
47
- - [`@babel/preset-typescript@7.14.5`](https://npmjs.com/package/@babel/preset-typescript)
48
- - [`@types/jest@26.0.24`](https://npmjs.com/package/@types/jest)
49
- - [`@types/jsonwebtoken@8.5.4`](https://npmjs.com/package/@types/jsonwebtoken)
50
- - [`@types/node@16.4.0`](https://npmjs.com/package/@types/node)
51
- - [`babel-loader@8.2.2`](https://npmjs.com/package/babel-loader)
52
- - [`babel-jest@27.0.6`](https://npmjs.com/package/babel-jest)
53
- - [`babel-plugin-istanbul@6.0.0`](https://npmjs.com/package/babel-plugin-istanbul)
54
- - [`concurrently@6.2.0`](https://npmjs.com/package/concurrently)
55
- - [`dotenv@10.0.0`](https://npmjs.com/package/dotenv)
56
- - [`event-target-shim@6.0.2`](https://npmjs.com/package/event-target-shim)
57
- - [`get-port@5.1.1`](https://npmjs.com/package/get-port)
58
- - [`global-agent@2.2.0`](https://npmjs.com/package/global-agent)
59
- - [`jest@27.0.6`](https://npmjs.com/package/jest)
60
- - [`jest-environment-jsdom@27.0.6`](https://npmjs.com/package/jest-environment-jsdom)
61
- - [`jsdom@16.6.0`](https://npmjs.com/package/jsdom)
62
- - [`nock@13.1.1`](https://npmjs.com/package/nock)
63
- - [`node-fetch@2.6.1`](https://npmjs.com/package/node-fetch)
64
- - [`restify@8.5.1`](https://npmjs.com/package/restify)
65
- - [`rimraf@3.0.2`](https://npmjs.com/package/rimraf)
66
- - [`simple-update-in@2.2.0`](https://npmjs.com/package/simple-update-in)
67
- - [`typescript@4.3.5`](https://npmjs.com/package/typescript)
68
- - [`webpack@5.45.1`](https://npmjs.com/package/webpack)
69
- - [`webpack-cli@4.7.2`](https://npmjs.com/package/webpack-cli)
70
- - [`webpack-stats-plugin@1.0.3`](https://npmjs.com/package/webpack-stats-plugin)
71
-
72
- ## [0.14.1] - 2021-02-10
73
-
74
- ### Changed
75
-
76
- - Bumped [`botframework-streaming@4.11.0`](https://npmjs.com/package/botframework-streaming), by [@stevengum](https://github.com/stevengum), in PR [#323](https://github.com/microsoft/BotFramework-DirectLineJS/pull/323)
77
-
78
- ## [0.14.0] - 2021-02-09
79
-
80
- ### Added
81
-
82
- - Create better handling of Web Socket errors, by [@compulim](https://github.com/compulim), in PR [#324](https://github.com/microsoft/BotFramework-DirectLineJS/pull/324)
83
- - Added `setUserId()` function to set user ID before connection, by [@timenick](https://github.com/timenick), in PR [#316](https://github.com/microsoft/BotFramework-DirectLineJS/pull/316)
84
-
85
- ## [0.13.1] - 2020-09-09
86
-
87
- ### Changed
88
-
89
- - Bumped [`botframework-streaming@4.10.3`](https://npmjs.com/package/botframework-streaming), by [@stevengum](https://github.com/stevengum), in PR [#308](https://github.com/microsoft/BotFramework-DirectLineJS/pull/308)
90
-
91
- ## [0.13.0] - 2020-08-17
92
-
93
- ### Added
94
-
95
- - Added `conversationStartProperties` and `locale`, by [@timenick](https://github.com/timenick), in PR [#293](https://github.com/microsoft/BotFramework-DirectLineJS/pull/293)
96
-
97
- ### Fixed
98
-
99
- - Fixed [#287](https://github.com/microsoft/BotFramework-DirectLineJS/issues/287), removed `x-ms-bot-id` header, by [@swagatmishra2007](https://github.com/swagatmishra2007), in PR [#296](https://github.com/microsoft/BotFramework-DirectLineJS/pull/296)
100
-
101
- ## [0.12.0] - 2020-06-04
102
-
103
- ### Added
104
-
105
- - Added support of Direct Line App Service Extension, by [@ckkashyap](https://github.com/ckkashyap), in PR [#183](https://github.com/microsoft/BotFramework-DirectLineJS/pull/183) and [#274](https://github.com/microsoft/BotFramework-DirectLineJS/pull/274)
106
- - Added support for `Retry-After` header and version information to `x-ms-bot-agent` header, by [@swagatmishra2007](https://github.com/swagatmishra2007), in PR [#247](https://github.com/microsoft/BotFramework-DirectLineJS/pull/247)
107
- - Also improved testability of the package
108
-
109
- ### Changed
110
-
111
- - Lock down on version of dependencies, by [@compulim](https://github.com/compulim), in PR [#280](https://github.com/microsoft/BotFramework-DirectLineJS/pull/280)
112
- - [`rxjs@5.5.10`](https://npmjs.com/package/rxjs)
113
- - This version is selected out of the previous commit of `package-lock.json`
114
- - Bumped [`botframework-streaming@4.9.2`](https://npmjs.com/package/botframework-streaming), by [@compulim](https://github.com/compulim), in PR [#285](https://github.com/microsoft/BotFramework-DirectLineJS/pull/285)
115
-
116
- ## [0.11.6] - 2019-10-25
117
-
118
- ### Fixed
119
-
120
- - Reverting PR [#171](https://github.com/microsoft/BotFramework-DirectLineJS/pull/171) and PR [#172](https://github.com/microsoft/BotFramework-DirectLineJS/pull/172), which caused infinite loop of reconnections, by [@compulim](https://github.com/compulim) in PR [#240](https://github.com/microsoft/BotFramework-DirectLineJS/pull/240)
121
-
122
- ## [0.11.5] - 2019-09-30
123
-
124
- ### Breaking Changes
125
-
126
- - Build folders updated
127
- - `/dist/` contains JavaScript bundle
128
- - `/dist/directline.js` is now in lowercase
129
- - `/lib/` contains ES modules and type definitions
130
- - Build scripts updated
131
- - `npm run build`: Development build, with instrumentation code, one-off
132
- - `npm run start`: Development build, with instrumentation code, with watch
133
- - `npm run prepublishOnly`: Production build, minified, one-off
134
-
135
- ### Changed
136
- - Bumped dependencies, by [@compulim](https://github.com/compulim), in PR [#195](https://github.com/microsoft/BotFramework-DirectLineJS/pull/195)
137
- - [`@babel/runtime@7.6.0`](https://npmjs.com/package/@babel/runtime)
138
- - [`rxjs@5.0.3`](https://npmjs.com/package/rxjs)
139
- - Bumped dev dependencies, by [@compulim](https://github.com/compulim), in PR [#195](https://github.com/microsoft/BotFramework-DirectLineJS/pull/195)
140
- - [`@babel/cli@7.6.0`](https://npmjs.com/package/@babel/cli)
141
- - [`@babel/core@7.6.0`](https://npmjs.com/package/@babel/core)
142
- - [`@babel/plugin-proposal-class-properties@7.5.5`](https://npmjs.com/package/@babel/plugin-proposal-class-properties)
143
- - [`@babel/plugin-proposal-object-rest-spread@7.5.5`](https://npmjs.com/package/@babel/plugin-proposal-object-rest-spread)
144
- - [`@babel/plugin-transform-runtime@7.6.0`](https://npmjs.com/package/@babel/plugin-transform-runtime)
145
- - [`@babel/preset-env@7.6.0`](https://npmjs.com/package/@babel/preset-env)
146
- - [`@babel/preset-typescript@7.6.0`](https://npmjs.com/package/@babel/preset-typescript)
147
- - [`@types/jest@24.0.18`](https://npmjs.com/package/@types/jest)
148
- - [`@types/node@12.7.4`](https://npmjs.com/package/@types/node)
149
- - [`@types/p-defer@2.0.0`](https://npmjs.com/package/@types/p-defer)
150
- - [`babel-jest@24.9.0`](https://npmjs.com/package/babel-jest)
151
- - [`babel-plugin-istanbul@5.2.0`](https://npmjs.com/package/babel-plugin-istanbul)
152
- - [`babel-plugin-transform-inline-environment-variables@0.4.3`](https://npmjs.com/package/babel-plugin-transform-inline-environment-variables)
153
- - [`concurrently@4.1.2`](https://npmjs.com/package/concurrently)
154
- - [`dotenv@8.1.0`](https://npmjs.com/package/dotenv)
155
- - [`get-port@5.0.0`](https://npmjs.com/package/get-port)
156
- - [`global-agent@2.0.2`](https://npmjs.com/package/global-agent)
157
- - [`http-proxy@1.17.0`](https://npmjs.com/package/http-proxy)
158
- - [`jest@24.9.0`](https://npmjs.com/package/jest)
159
- - [`jest-environment-jsdom-fourteen@0.1.0`](https://npmjs.com/package/jest-environment-jsdom-fourteen)
160
- - [`jsdom@14.1.0`](https://npmjs.com/package/jsdom)
161
- - [`node-fetch@2.6.0`](https://npmjs.com/package/node-fetch)
162
- - [`on-error-resume-next@1.1.0`](https://npmjs.com/package/on-error-resume-next)
163
- - [`restify@8.4.0`](https://npmjs.com/package/restify)
164
- - [`rimraf@3.0.0`](https://npmjs.com/package/rimraf)
165
- - [`simple-update-in@2.1.1`](https://npmjs.com/package/simple-update-in)
166
- - [`typescript@3.6.2`](https://npmjs.com/package/typescript)
167
- - [`webpack@4.39.3`](https://npmjs.com/package/webpack)
168
- - [`webpack-cli@3.3.8`](https://npmjs.com/package/webpack-cli)
169
-
170
- ### Added
171
- - Fix [#235](https://github.com/microsoft/BotFramework-DirectLineJS/issues/235). Added metadata when uploading attachments, including `thumbnailUrl`, by [@compulim](https://github.com/compulim), in PR [#236](https://github.com/microsoft/BotFramework-DirectLineJS/pull/236)
172
-
173
- ### Fixed
174
- - Avoid posting an error on intentional end, by [@orgads](https://github.com/orgads) in PR [#172](https://github.com/microsoft/BotFramework-DirectLineJS/pull/172)
175
- - Surface Web Socket errors, by [@orgads](https://github.com/orgads) in PR [#171](https://github.com/microsoft/BotFramework-DirectLineJS/pull/171)
176
-
177
- ## [0.11.4] - 2019-03-04
178
- ### Changed
179
- - Change reconnect delay to be a random amount between 3s and 15s, by [@mingweiw](https://github.com/mingweiw) in PR [#164](https://github.com/microsoft/BotFramework-DirectLineJS/pull/164)
180
-
181
- ### Fixed
182
- - Fix [#160](https://github.com/microsoft/BotFramework-DirectLineJS/issues/160). Removed warning if `pollingInterval` is `undefined`, by [@compulim](https://github.com/compulim) in PR [#161](https://github.com/Microosft/BotFramework-DirectLineJS/pull/161)
183
-
184
- ## [0.11.2] - 2019-02-05
185
- ### Fixed
186
- - Fixed an issue where `pollingInterval` set to `undefined` would cause high polling rate, by [@cwhitten](https://github.com/cwhitten) and [@compulim](https://github.com/compulim), in PR [#157](https://github.com/microsoft/BotFramework-DirectLineJS/pull/157)
187
-
188
- ### Changed
189
- - Used `@babel/preset-typescript` and `webpack@4` to build, in PR [#156](https://github.com/microsoft/BotFramework-DirectLineJS/pull/156)
190
- - Moved to inline source map for pre-bundle
191
- - Added `.editorconfig` and `.vscode` for new line and tab size rules
192
-
193
- ## [0.11.1] - 2019-01-31
194
- ### Fixed
195
- - Fixed an issue causing a header to be incorrectly generated. [#153](https://github.com/microsoft/BotFramework-DirectLineJS/pull/153)
196
-
197
- ## [0.11.0] - 2019-01-28
198
- ### Added
199
- - Added protection against user-given pollingInterval values [#129](https://github.com/microsoft/BotFramework-DirectLineJS/pull/129)
200
- - Added custom user agent and header [#148](https://github.com/microsoft/BotFramework-DirectLineJS/pull/148)
201
-
202
- ### Fixed
203
- - `errorConversationEnded` no longer thrown when calling `DirectLine#end`, by [@orgads](https://github.com/orgads), in PR [#133](https://github.com/microsoft/BotFramework-DirectLineJS/pull/133)
204
-
205
- ## [0.10.2] - 2019-01-09
206
- - Added `messageBack` to `CardActionTypes` and updated `CardAction` fields, by [@corinagum](https://github.com/corinagum), in PR [#138](https://github.com/microsoft/BotFramework-DirectLineJS/pull/138)
207
- - Expand `CardAction`s with specific types, by [@corinagum](https://github.com/corinagum), in PR [#141](https://github.com/microsoft/BotFramework-DirectLineJS/pull/141)
208
-
209
- ## [0.10.1] - 2018-12-21
210
- ### Changed
211
- - Prevents infinite WebSocket reconnection spam on subsequent token expiration signals [#127](https://github.com/microsoft/BotFramework-DirectLineJS/pull/127)
212
-
213
- ## [0.10.0] - 2018-10-30
214
- ### Added
215
- - Add support for watermark in Web Socket, in [#96](https://github.com/microsoft/BotFramework-DirectLineJS/pull/96)
216
-
217
- ### Changed
218
- - Delay before retrying Web Socket, in [#97](https://github.com/microsoft/BotFramework-WebChat/pull/97)
219
- - Slow down polling on congested traffic, in [#98](https://github.com/microsoft/BotFramework-DirectLineJS/pull/98)
220
- - Bump dependencies, in [#100](https://github.com/microsoft/BotFramework-DirectLineJS/pull/100)
221
- - `deep-extend` from `0.4.2` to `0.5.1`
222
- - `randomatic` from `1.1.7` to `3.1.0`
223
-
224
- ## [0.9.17] - 2018-08-31
225
- ### Changed
226
- - Add handling of 403/500 for `getSessionId`, in [#87](https://github.com/microsoft/BotFramework-DirectLineJS/pull/87)
227
-
228
- ## [0.9.16] - 2018-08-14
229
- ### Added
230
- - Added optional `role` to `User` interface, must be either `"bot"`, `"channel"`, or `"user"`, in [#79](https://github.com/microsoft/BotFramework-DirectLineJS/pull/79)
231
-
232
- ## [0.9.15] - 2018-04-24
233
- ### Added
234
- - OAuthCard and `getSessionId` in PR #67
235
- - Add OAuthCard ([`c7b8af7`](https://github.com/microsoft/BotFramework-DirectLineJS/commit/c7b8af7be35685c220f2d777daa96f52d757f53f))
236
- - Add `getSessionId` ([`9c87aa3`](https://github.com/microsoft/BotFramework-DirectLineJS/commit/9c87aa3f54947ea2fee836b41eec8ec45297a57a), [`9a2b2d8`](https://github.com/microsoft/BotFramework-DirectLineJS/commit/9a2b2d889af48e558f563758aa01d498b2b2cf49), [`df84d00`](df84d0054f784ae5eb36784ef07a2aa38ca6c95b), [`92cc331`](92cc33138dfbdd533b4d14f6be275d1c86ef8db4))