botframework-directlinejs 0.15.3-master.fb239fe → 0.15.3
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/dist/directline.js +1 -1
- package/dist/stats.json +182 -37
- package/lib/createDeferred.d.ts +8 -0
- package/lib/createDeferred.js +19 -0
- package/lib/directLine.js +1 -1
- package/lib/directLineStreaming.d.ts +2 -1
- package/lib/directLineStreaming.js +202 -188
- package/package.json +15 -8
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"hash": "
|
|
2
|
+
"hash": "8129023a06c80f3fdb44",
|
|
3
3
|
"version": "5.76.2",
|
|
4
4
|
"time": null,
|
|
5
5
|
"publicPath": "auto",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
{
|
|
14
14
|
"type": "asset",
|
|
15
15
|
"name": "directline.js",
|
|
16
|
-
"size":
|
|
16
|
+
"size": 303080,
|
|
17
17
|
"emitted": false,
|
|
18
18
|
"comparedForEmit": false,
|
|
19
19
|
"cached": true,
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"initial": true,
|
|
66
66
|
"entry": true,
|
|
67
67
|
"recorded": false,
|
|
68
|
-
"size":
|
|
68
|
+
"size": 1056880,
|
|
69
69
|
"sizes": {
|
|
70
|
-
"javascript":
|
|
70
|
+
"javascript": 1055964,
|
|
71
71
|
"runtime": 916
|
|
72
72
|
},
|
|
73
73
|
"names": [
|
|
@@ -81,13 +81,86 @@
|
|
|
81
81
|
"directline.js"
|
|
82
82
|
],
|
|
83
83
|
"auxiliaryFiles": [],
|
|
84
|
-
"hash": "
|
|
84
|
+
"hash": "887971b93a25f5174e80",
|
|
85
85
|
"childrenByOrder": {},
|
|
86
86
|
"id": 884,
|
|
87
87
|
"siblings": [],
|
|
88
88
|
"parents": [],
|
|
89
89
|
"children": [],
|
|
90
90
|
"modules": [
|
|
91
|
+
{
|
|
92
|
+
"type": "module",
|
|
93
|
+
"moduleType": "javascript/auto",
|
|
94
|
+
"layer": null,
|
|
95
|
+
"size": 1621,
|
|
96
|
+
"sizes": {
|
|
97
|
+
"javascript": 1621
|
|
98
|
+
},
|
|
99
|
+
"built": true,
|
|
100
|
+
"codeGenerated": true,
|
|
101
|
+
"buildTimeExecuted": false,
|
|
102
|
+
"cached": false,
|
|
103
|
+
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/createDeferred.js",
|
|
104
|
+
"name": "./lib/createDeferred.js",
|
|
105
|
+
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/createDeferred.js",
|
|
106
|
+
"index": 237,
|
|
107
|
+
"preOrderIndex": 237,
|
|
108
|
+
"index2": 235,
|
|
109
|
+
"postOrderIndex": 235,
|
|
110
|
+
"cacheable": true,
|
|
111
|
+
"optional": false,
|
|
112
|
+
"orphan": false,
|
|
113
|
+
"dependent": true,
|
|
114
|
+
"issuer": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
115
|
+
"issuerName": "./lib/directLineStreaming.js",
|
|
116
|
+
"issuerPath": [
|
|
117
|
+
{
|
|
118
|
+
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLine.js",
|
|
119
|
+
"name": "./lib/directLine.js",
|
|
120
|
+
"id": 88
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
124
|
+
"name": "./lib/directLineStreaming.js",
|
|
125
|
+
"id": 9815
|
|
126
|
+
}
|
|
127
|
+
],
|
|
128
|
+
"failed": false,
|
|
129
|
+
"errors": 0,
|
|
130
|
+
"warnings": 0,
|
|
131
|
+
"id": 7436,
|
|
132
|
+
"issuerId": 9815,
|
|
133
|
+
"chunks": [
|
|
134
|
+
884
|
|
135
|
+
],
|
|
136
|
+
"assets": [],
|
|
137
|
+
"reasons": [
|
|
138
|
+
{
|
|
139
|
+
"moduleIdentifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
140
|
+
"module": "./lib/directLineStreaming.js",
|
|
141
|
+
"moduleName": "./lib/directLineStreaming.js",
|
|
142
|
+
"resolvedModuleIdentifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
143
|
+
"resolvedModule": "./lib/directLineStreaming.js",
|
|
144
|
+
"type": "cjs require",
|
|
145
|
+
"active": true,
|
|
146
|
+
"explanation": "",
|
|
147
|
+
"userRequest": "./createDeferred",
|
|
148
|
+
"loc": "34:45-72",
|
|
149
|
+
"moduleId": 9815,
|
|
150
|
+
"resolvedModuleId": 9815
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
"usedExports": true,
|
|
154
|
+
"providedExports": [
|
|
155
|
+
"__esModule",
|
|
156
|
+
"default"
|
|
157
|
+
],
|
|
158
|
+
"optimizationBailout": [
|
|
159
|
+
"Statement (ExpressionStatement) with side effects in source code at 3:0-5:3",
|
|
160
|
+
"ModuleConcatenation bailout: Module is not an ECMAScript module"
|
|
161
|
+
],
|
|
162
|
+
"depth": 2
|
|
163
|
+
},
|
|
91
164
|
{
|
|
92
165
|
"type": "module",
|
|
93
166
|
"moduleType": "javascript/auto",
|
|
@@ -160,9 +233,9 @@
|
|
|
160
233
|
"type": "module",
|
|
161
234
|
"moduleType": "javascript/auto",
|
|
162
235
|
"layer": null,
|
|
163
|
-
"size":
|
|
236
|
+
"size": 117717,
|
|
164
237
|
"sizes": {
|
|
165
|
-
"javascript":
|
|
238
|
+
"javascript": 117717
|
|
166
239
|
},
|
|
167
240
|
"built": true,
|
|
168
241
|
"codeGenerated": true,
|
|
@@ -173,8 +246,8 @@
|
|
|
173
246
|
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLine.js",
|
|
174
247
|
"index": 0,
|
|
175
248
|
"preOrderIndex": 0,
|
|
176
|
-
"index2":
|
|
177
|
-
"postOrderIndex":
|
|
249
|
+
"index2": 238,
|
|
250
|
+
"postOrderIndex": 238,
|
|
178
251
|
"cacheable": true,
|
|
179
252
|
"optional": false,
|
|
180
253
|
"orphan": false,
|
|
@@ -202,7 +275,7 @@
|
|
|
202
275
|
"active": true,
|
|
203
276
|
"explanation": "",
|
|
204
277
|
"userRequest": "./directLine",
|
|
205
|
-
"loc": "
|
|
278
|
+
"loc": "38:18-41",
|
|
206
279
|
"moduleId": 9815,
|
|
207
280
|
"resolvedModuleId": 9815
|
|
208
281
|
},
|
|
@@ -251,9 +324,9 @@
|
|
|
251
324
|
"type": "module",
|
|
252
325
|
"moduleType": "javascript/auto",
|
|
253
326
|
"layer": null,
|
|
254
|
-
"size":
|
|
327
|
+
"size": 70153,
|
|
255
328
|
"sizes": {
|
|
256
|
-
"javascript":
|
|
329
|
+
"javascript": 70153
|
|
257
330
|
},
|
|
258
331
|
"built": true,
|
|
259
332
|
"codeGenerated": true,
|
|
@@ -264,8 +337,8 @@
|
|
|
264
337
|
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
265
338
|
"index": 221,
|
|
266
339
|
"preOrderIndex": 221,
|
|
267
|
-
"index2":
|
|
268
|
-
"postOrderIndex":
|
|
340
|
+
"index2": 237,
|
|
341
|
+
"postOrderIndex": 237,
|
|
269
342
|
"cacheable": true,
|
|
270
343
|
"optional": false,
|
|
271
344
|
"orphan": false,
|
|
@@ -3182,9 +3255,9 @@
|
|
|
3182
3255
|
"type": "module",
|
|
3183
3256
|
"moduleType": "javascript/auto",
|
|
3184
3257
|
"layer": null,
|
|
3185
|
-
"size":
|
|
3258
|
+
"size": 430339,
|
|
3186
3259
|
"sizes": {
|
|
3187
|
-
"javascript":
|
|
3260
|
+
"javascript": 430339
|
|
3188
3261
|
},
|
|
3189
3262
|
"built": true,
|
|
3190
3263
|
"codeGenerated": true,
|
|
@@ -15879,10 +15952,10 @@
|
|
|
15879
15952
|
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/node_modules/cross-fetch/dist/browser-ponyfill.js",
|
|
15880
15953
|
"name": "./node_modules/cross-fetch/dist/browser-ponyfill.js",
|
|
15881
15954
|
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/node_modules/cross-fetch/dist/browser-ponyfill.js",
|
|
15882
|
-
"index":
|
|
15883
|
-
"preOrderIndex":
|
|
15884
|
-
"index2":
|
|
15885
|
-
"postOrderIndex":
|
|
15955
|
+
"index": 238,
|
|
15956
|
+
"preOrderIndex": 238,
|
|
15957
|
+
"index2": 236,
|
|
15958
|
+
"postOrderIndex": 236,
|
|
15886
15959
|
"cacheable": true,
|
|
15887
15960
|
"optional": false,
|
|
15888
15961
|
"orphan": false,
|
|
@@ -15921,7 +15994,7 @@
|
|
|
15921
15994
|
"active": true,
|
|
15922
15995
|
"explanation": "",
|
|
15923
15996
|
"userRequest": "cross-fetch",
|
|
15924
|
-
"loc": "
|
|
15997
|
+
"loc": "36:41-63",
|
|
15925
15998
|
"moduleId": 9815,
|
|
15926
15999
|
"resolvedModuleId": 9815
|
|
15927
16000
|
},
|
|
@@ -26183,9 +26256,9 @@
|
|
|
26183
26256
|
"type": "module",
|
|
26184
26257
|
"moduleType": "javascript/auto",
|
|
26185
26258
|
"layer": null,
|
|
26186
|
-
"size":
|
|
26259
|
+
"size": 117717,
|
|
26187
26260
|
"sizes": {
|
|
26188
|
-
"javascript":
|
|
26261
|
+
"javascript": 117717
|
|
26189
26262
|
},
|
|
26190
26263
|
"built": true,
|
|
26191
26264
|
"codeGenerated": true,
|
|
@@ -26196,8 +26269,8 @@
|
|
|
26196
26269
|
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLine.js",
|
|
26197
26270
|
"index": 0,
|
|
26198
26271
|
"preOrderIndex": 0,
|
|
26199
|
-
"index2":
|
|
26200
|
-
"postOrderIndex":
|
|
26272
|
+
"index2": 238,
|
|
26273
|
+
"postOrderIndex": 238,
|
|
26201
26274
|
"cacheable": true,
|
|
26202
26275
|
"optional": false,
|
|
26203
26276
|
"orphan": false,
|
|
@@ -26224,7 +26297,7 @@
|
|
|
26224
26297
|
"active": true,
|
|
26225
26298
|
"explanation": "",
|
|
26226
26299
|
"userRequest": "./directLine",
|
|
26227
|
-
"loc": "
|
|
26300
|
+
"loc": "38:18-41",
|
|
26228
26301
|
"moduleId": 9815,
|
|
26229
26302
|
"resolvedModuleId": 9815
|
|
26230
26303
|
},
|
|
@@ -29293,9 +29366,9 @@
|
|
|
29293
29366
|
"type": "module",
|
|
29294
29367
|
"moduleType": "javascript/auto",
|
|
29295
29368
|
"layer": null,
|
|
29296
|
-
"size":
|
|
29369
|
+
"size": 70153,
|
|
29297
29370
|
"sizes": {
|
|
29298
|
-
"javascript":
|
|
29371
|
+
"javascript": 70153
|
|
29299
29372
|
},
|
|
29300
29373
|
"built": true,
|
|
29301
29374
|
"codeGenerated": true,
|
|
@@ -29306,8 +29379,8 @@
|
|
|
29306
29379
|
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
29307
29380
|
"index": 221,
|
|
29308
29381
|
"preOrderIndex": 221,
|
|
29309
|
-
"index2":
|
|
29310
|
-
"postOrderIndex":
|
|
29382
|
+
"index2": 237,
|
|
29383
|
+
"postOrderIndex": 237,
|
|
29311
29384
|
"cacheable": true,
|
|
29312
29385
|
"optional": false,
|
|
29313
29386
|
"orphan": false,
|
|
@@ -32413,9 +32486,9 @@
|
|
|
32413
32486
|
"type": "module",
|
|
32414
32487
|
"moduleType": "javascript/auto",
|
|
32415
32488
|
"layer": null,
|
|
32416
|
-
"size":
|
|
32489
|
+
"size": 430339,
|
|
32417
32490
|
"sizes": {
|
|
32418
|
-
"javascript":
|
|
32491
|
+
"javascript": 430339
|
|
32419
32492
|
},
|
|
32420
32493
|
"built": true,
|
|
32421
32494
|
"codeGenerated": true,
|
|
@@ -32508,6 +32581,78 @@
|
|
|
32508
32581
|
],
|
|
32509
32582
|
"depth": 2
|
|
32510
32583
|
},
|
|
32584
|
+
{
|
|
32585
|
+
"type": "module",
|
|
32586
|
+
"moduleType": "javascript/auto",
|
|
32587
|
+
"layer": null,
|
|
32588
|
+
"size": 1621,
|
|
32589
|
+
"sizes": {
|
|
32590
|
+
"javascript": 1621
|
|
32591
|
+
},
|
|
32592
|
+
"built": true,
|
|
32593
|
+
"codeGenerated": true,
|
|
32594
|
+
"buildTimeExecuted": false,
|
|
32595
|
+
"cached": false,
|
|
32596
|
+
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/createDeferred.js",
|
|
32597
|
+
"name": "./lib/createDeferred.js",
|
|
32598
|
+
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/createDeferred.js",
|
|
32599
|
+
"index": 237,
|
|
32600
|
+
"preOrderIndex": 237,
|
|
32601
|
+
"index2": 235,
|
|
32602
|
+
"postOrderIndex": 235,
|
|
32603
|
+
"cacheable": true,
|
|
32604
|
+
"optional": false,
|
|
32605
|
+
"orphan": false,
|
|
32606
|
+
"issuer": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
32607
|
+
"issuerName": "./lib/directLineStreaming.js",
|
|
32608
|
+
"issuerPath": [
|
|
32609
|
+
{
|
|
32610
|
+
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLine.js",
|
|
32611
|
+
"name": "./lib/directLine.js",
|
|
32612
|
+
"id": 88
|
|
32613
|
+
},
|
|
32614
|
+
{
|
|
32615
|
+
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
32616
|
+
"name": "./lib/directLineStreaming.js",
|
|
32617
|
+
"id": 9815
|
|
32618
|
+
}
|
|
32619
|
+
],
|
|
32620
|
+
"failed": false,
|
|
32621
|
+
"errors": 0,
|
|
32622
|
+
"warnings": 0,
|
|
32623
|
+
"id": 7436,
|
|
32624
|
+
"issuerId": 9815,
|
|
32625
|
+
"chunks": [
|
|
32626
|
+
884
|
|
32627
|
+
],
|
|
32628
|
+
"assets": [],
|
|
32629
|
+
"reasons": [
|
|
32630
|
+
{
|
|
32631
|
+
"moduleIdentifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
32632
|
+
"module": "./lib/directLineStreaming.js",
|
|
32633
|
+
"moduleName": "./lib/directLineStreaming.js",
|
|
32634
|
+
"resolvedModuleIdentifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/lib/directLineStreaming.js",
|
|
32635
|
+
"resolvedModule": "./lib/directLineStreaming.js",
|
|
32636
|
+
"type": "cjs require",
|
|
32637
|
+
"active": true,
|
|
32638
|
+
"explanation": "",
|
|
32639
|
+
"userRequest": "./createDeferred",
|
|
32640
|
+
"loc": "34:45-72",
|
|
32641
|
+
"moduleId": 9815,
|
|
32642
|
+
"resolvedModuleId": 9815
|
|
32643
|
+
}
|
|
32644
|
+
],
|
|
32645
|
+
"usedExports": true,
|
|
32646
|
+
"providedExports": [
|
|
32647
|
+
"__esModule",
|
|
32648
|
+
"default"
|
|
32649
|
+
],
|
|
32650
|
+
"optimizationBailout": [
|
|
32651
|
+
"Statement (ExpressionStatement) with side effects in source code at 3:0-5:3",
|
|
32652
|
+
"ModuleConcatenation bailout: Module is not an ECMAScript module"
|
|
32653
|
+
],
|
|
32654
|
+
"depth": 2
|
|
32655
|
+
},
|
|
32511
32656
|
{
|
|
32512
32657
|
"type": "module",
|
|
32513
32658
|
"moduleType": "javascript/auto",
|
|
@@ -32523,10 +32668,10 @@
|
|
|
32523
32668
|
"identifier": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/node_modules/cross-fetch/dist/browser-ponyfill.js",
|
|
32524
32669
|
"name": "./node_modules/cross-fetch/dist/browser-ponyfill.js",
|
|
32525
32670
|
"nameForCondition": "/home/runner/work/BotFramework-DirectLineJS/BotFramework-DirectLineJS/node_modules/cross-fetch/dist/browser-ponyfill.js",
|
|
32526
|
-
"index":
|
|
32527
|
-
"preOrderIndex":
|
|
32528
|
-
"index2":
|
|
32529
|
-
"postOrderIndex":
|
|
32671
|
+
"index": 238,
|
|
32672
|
+
"preOrderIndex": 238,
|
|
32673
|
+
"index2": 236,
|
|
32674
|
+
"postOrderIndex": 236,
|
|
32530
32675
|
"cacheable": true,
|
|
32531
32676
|
"optional": false,
|
|
32532
32677
|
"orphan": false,
|
|
@@ -32564,7 +32709,7 @@
|
|
|
32564
32709
|
"active": true,
|
|
32565
32710
|
"explanation": "",
|
|
32566
32711
|
"userRequest": "cross-fetch",
|
|
32567
|
-
"loc": "
|
|
32712
|
+
"loc": "36:41-63",
|
|
32568
32713
|
"moduleId": 9815,
|
|
32569
32714
|
"resolvedModuleId": 9815
|
|
32570
32715
|
},
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
|
|
8
|
+
function createDeferred() {
|
|
9
|
+
var deferred = {};
|
|
10
|
+
deferred.promise = new Promise(function (resolve, reject) {
|
|
11
|
+
deferred.reject = reject;
|
|
12
|
+
deferred.resolve = resolve;
|
|
13
|
+
});
|
|
14
|
+
return deferred;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
var _default = createDeferred;
|
|
18
|
+
exports["default"] = _default;
|
|
19
|
+
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9jcmVhdGVEZWZlcnJlZC50cyJdLCJuYW1lcyI6WyJjcmVhdGVEZWZlcnJlZCIsImRlZmVycmVkIiwicHJvbWlzZSIsIlByb21pc2UiLCJyZXNvbHZlIiwicmVqZWN0Il0sIm1hcHBpbmdzIjoiOzs7Ozs7O0FBTUEsU0FBU0EsY0FBVCxHQUEwQztBQUN4QyxNQUFNQyxRQUE4QixHQUFHLEVBQXZDO0FBRUFBLEVBQUFBLFFBQVEsQ0FBQ0MsT0FBVCxHQUFtQixJQUFJQyxPQUFKLENBQVksVUFBQ0MsT0FBRCxFQUFVQyxNQUFWLEVBQXFCO0FBQ2xESixJQUFBQSxRQUFRLENBQUNJLE1BQVQsR0FBa0JBLE1BQWxCO0FBQ0FKLElBQUFBLFFBQVEsQ0FBQ0csT0FBVCxHQUFtQkEsT0FBbkI7QUFDRCxHQUhrQixDQUFuQjtBQUtBLFNBQU9ILFFBQVA7QUFDRDs7ZUFFY0QsYyIsInNvdXJjZXNDb250ZW50IjpbInR5cGUgRGVmZXJyZWQ8VD4gPSB7XG4gIHByb21pc2U6IFByb21pc2U8VD47XG4gIHJlamVjdDogKHJlYXNvbj86IGFueSkgPT4gdm9pZDtcbiAgcmVzb2x2ZTogKHZhbHVlOiBUIHwgUHJvbWlzZUxpa2U8VD4pID0+IHZvaWQ7XG59O1xuXG5mdW5jdGlvbiBjcmVhdGVEZWZlcnJlZDxUPigpOiBEZWZlcnJlZDxUPiB7XG4gIGNvbnN0IGRlZmVycmVkOiBQYXJ0aWFsPERlZmVycmVkPFQ+PiA9IHt9O1xuXG4gIGRlZmVycmVkLnByb21pc2UgPSBuZXcgUHJvbWlzZSgocmVzb2x2ZSwgcmVqZWN0KSA9PiB7XG4gICAgZGVmZXJyZWQucmVqZWN0ID0gcmVqZWN0O1xuICAgIGRlZmVycmVkLnJlc29sdmUgPSByZXNvbHZlO1xuICB9KTtcblxuICByZXR1cm4gZGVmZXJyZWQgYXMgRGVmZXJyZWQ8VD47XG59XG5cbmV4cG9ydCBkZWZhdWx0IGNyZWF0ZURlZmVycmVkO1xuZXhwb3J0IHR5cGUgeyBEZWZlcnJlZCB9O1xuIl19
|
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.3
|
|
760
|
+
return "".concat(DIRECT_LINE_VERSION, " (").concat(clientAgent, " ").concat("0.15.3", ")");
|
|
761
761
|
}
|
|
762
762
|
}, {
|
|
763
763
|
key: "setUserId",
|
|
@@ -11,6 +11,7 @@ export declare class DirectLineStreaming implements IBotConnection {
|
|
|
11
11
|
connectionStatus$: BehaviorSubject<ConnectionStatus>;
|
|
12
12
|
activity$: Observable<Activity>;
|
|
13
13
|
private activitySubscriber;
|
|
14
|
+
private connectDeferred;
|
|
14
15
|
private theStreamHandler;
|
|
15
16
|
private domain;
|
|
16
17
|
private conversationId;
|
|
@@ -19,7 +20,7 @@ export declare class DirectLineStreaming implements IBotConnection {
|
|
|
19
20
|
private queueActivities;
|
|
20
21
|
private _botAgent;
|
|
21
22
|
constructor(options: DirectLineStreamingOptions);
|
|
22
|
-
reconnect({ conversationId, token }: Conversation):
|
|
23
|
+
reconnect({ conversationId, token }: Conversation): void;
|
|
23
24
|
end(): void;
|
|
24
25
|
private commonHeaders;
|
|
25
26
|
private getBotAgent;
|