@microsoft/applicationinsights-channel-js 3.0.0-beta.2303-10 → 3.0.0-beta.2304-07

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.
Files changed (94) hide show
  1. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.js +5768 -0
  2. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.js.map +1 -0
  3. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.min.js +6 -0
  4. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.min.js.map +1 -0
  5. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.js +5772 -0
  6. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.js.map +1 -0
  7. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.min.js +6 -0
  8. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.min.js.map +1 -0
  9. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.integrity.json +66 -0
  10. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.js +5774 -0
  11. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.js.map +1 -0
  12. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.min.js +6 -0
  13. package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.min.js.map +1 -0
  14. package/browser/es5/applicationinsights-channel-js.3.cjs.js +5768 -0
  15. package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -0
  16. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +6 -0
  17. package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -0
  18. package/browser/es5/applicationinsights-channel-js.3.gbl.js +5772 -0
  19. package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -0
  20. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +6 -0
  21. package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -0
  22. package/{dist/applicationinsights-channel-js.js → browser/es5/applicationinsights-channel-js.3.js} +901 -850
  23. package/browser/es5/applicationinsights-channel-js.3.js.map +1 -0
  24. package/browser/es5/applicationinsights-channel-js.3.min.js +6 -0
  25. package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -0
  26. package/{browser → dist/es5}/applicationinsights-channel-js.js +900 -849
  27. package/dist/es5/applicationinsights-channel-js.js.map +1 -0
  28. package/dist/es5/applicationinsights-channel-js.min.js +6 -0
  29. package/dist/es5/applicationinsights-channel-js.min.js.map +1 -0
  30. package/{dist-esm → dist-es5}/EnvelopeCreator.js +2 -2
  31. package/{dist-esm → dist-es5}/EnvelopeCreator.js.map +1 -1
  32. package/{dist-esm → dist-es5}/Interfaces.js +1 -1
  33. package/{dist-esm → dist-es5}/InternalConstants.js +1 -1
  34. package/{dist-esm → dist-es5}/Offline.js +8 -7
  35. package/dist-es5/Offline.js.map +1 -0
  36. package/{dist-esm → dist-es5}/SendBuffer.js +1 -1
  37. package/{dist-esm → dist-es5}/Sender.js +6 -4
  38. package/dist-es5/Sender.js.map +1 -0
  39. package/{dist-esm → dist-es5}/Serializer.js +1 -1
  40. package/{dist-esm → dist-es5}/TelemetryProcessors/Sample.js +1 -1
  41. package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
  42. package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
  43. package/{dist-esm → dist-es5}/__DynamicConstants.js +2 -1
  44. package/dist-es5/__DynamicConstants.js.map +1 -0
  45. package/{dist-esm → dist-es5}/applicationinsights-channel-js.js +1 -1
  46. package/package.json +17 -16
  47. package/tsconfig.json +5 -4
  48. package/types/applicationinsights-channel-js.d.ts +284 -1
  49. package/{dist/applicationinsights-channel-js.d.ts → types/applicationinsights-channel-js.namespaced.d.ts} +1 -1
  50. package/browser/applicationinsights-channel-js.integrity.json +0 -26
  51. package/browser/applicationinsights-channel-js.js.map +0 -1
  52. package/browser/applicationinsights-channel-js.min.js +0 -6
  53. package/browser/applicationinsights-channel-js.min.js.map +0 -1
  54. package/dist/applicationinsights-channel-js.api.json +0 -1357
  55. package/dist/applicationinsights-channel-js.api.md +0 -60
  56. package/dist/applicationinsights-channel-js.js.map +0 -1
  57. package/dist/applicationinsights-channel-js.min.js +0 -6
  58. package/dist/applicationinsights-channel-js.min.js.map +0 -1
  59. package/dist/applicationinsights-channel-js.rollup.d.ts +0 -285
  60. package/dist-esm/Offline.js.map +0 -1
  61. package/dist-esm/Sender.js.map +0 -1
  62. package/dist-esm/__DynamicConstants.js.map +0 -1
  63. package/src/EnvelopeCreator.ts +0 -351
  64. package/src/Interfaces.ts +0 -114
  65. package/src/InternalConstants.ts +0 -11
  66. package/src/Offline.ts +0 -106
  67. package/src/SendBuffer.ts +0 -396
  68. package/src/Sender.ts +0 -1256
  69. package/src/Serializer.ts +0 -177
  70. package/src/TelemetryProcessors/Sample.ts +0 -49
  71. package/src/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.ts +0 -37
  72. package/src/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.ts +0 -35
  73. package/src/__DynamicConstants.ts +0 -64
  74. package/src/applicationinsights-channel-js.ts +0 -1
  75. package/types/EnvelopeCreator.d.ts +0 -12
  76. package/types/Interfaces.d.ts +0 -95
  77. package/types/InternalConstants.d.ts +0 -1
  78. package/types/Offline.d.ts +0 -10
  79. package/types/SendBuffer.d.ts +0 -73
  80. package/types/Sender.d.ts +0 -84
  81. package/types/Serializer.d.ts +0 -9
  82. package/types/TelemetryProcessors/Sample.d.ts +0 -12
  83. package/types/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.d.ts +0 -5
  84. package/types/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.d.ts +0 -5
  85. package/types/__DynamicConstants.d.ts +0 -52
  86. package/types/tsdoc-metadata.json +0 -11
  87. /package/{dist-esm → dist-es5}/Interfaces.js.map +0 -0
  88. /package/{dist-esm → dist-es5}/InternalConstants.js.map +0 -0
  89. /package/{dist-esm → dist-es5}/SendBuffer.js.map +0 -0
  90. /package/{dist-esm → dist-es5}/Serializer.js.map +0 -0
  91. /package/{dist-esm → dist-es5}/TelemetryProcessors/Sample.js.map +0 -0
  92. /package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js.map +0 -0
  93. /package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js.map +0 -0
  94. /package/{dist-esm → dist-es5}/applicationinsights-channel-js.js.map +0 -0
@@ -1,1357 +0,0 @@
1
- {
2
- "metadata": {
3
- "toolPackage": "@microsoft/api-extractor",
4
- "toolVersion": "7.34.4",
5
- "schemaVersion": 1011,
6
- "oldestForwardsCompatibleVersion": 1001,
7
- "tsdocConfig": {
8
- "$schema": "https://developer.microsoft.com/json-schemas/tsdoc/v0/tsdoc.schema.json",
9
- "noStandardTags": true,
10
- "tagDefinitions": [
11
- {
12
- "tagName": "@alpha",
13
- "syntaxKind": "modifier"
14
- },
15
- {
16
- "tagName": "@beta",
17
- "syntaxKind": "modifier"
18
- },
19
- {
20
- "tagName": "@defaultValue",
21
- "syntaxKind": "block"
22
- },
23
- {
24
- "tagName": "@decorator",
25
- "syntaxKind": "block",
26
- "allowMultiple": true
27
- },
28
- {
29
- "tagName": "@deprecated",
30
- "syntaxKind": "block"
31
- },
32
- {
33
- "tagName": "@eventProperty",
34
- "syntaxKind": "modifier"
35
- },
36
- {
37
- "tagName": "@example",
38
- "syntaxKind": "block",
39
- "allowMultiple": true
40
- },
41
- {
42
- "tagName": "@experimental",
43
- "syntaxKind": "modifier"
44
- },
45
- {
46
- "tagName": "@inheritDoc",
47
- "syntaxKind": "inline"
48
- },
49
- {
50
- "tagName": "@internal",
51
- "syntaxKind": "modifier"
52
- },
53
- {
54
- "tagName": "@label",
55
- "syntaxKind": "inline"
56
- },
57
- {
58
- "tagName": "@link",
59
- "syntaxKind": "inline",
60
- "allowMultiple": true
61
- },
62
- {
63
- "tagName": "@override",
64
- "syntaxKind": "modifier"
65
- },
66
- {
67
- "tagName": "@packageDocumentation",
68
- "syntaxKind": "modifier"
69
- },
70
- {
71
- "tagName": "@param",
72
- "syntaxKind": "block",
73
- "allowMultiple": true
74
- },
75
- {
76
- "tagName": "@privateRemarks",
77
- "syntaxKind": "block"
78
- },
79
- {
80
- "tagName": "@public",
81
- "syntaxKind": "modifier"
82
- },
83
- {
84
- "tagName": "@readonly",
85
- "syntaxKind": "modifier"
86
- },
87
- {
88
- "tagName": "@remarks",
89
- "syntaxKind": "block"
90
- },
91
- {
92
- "tagName": "@returns",
93
- "syntaxKind": "block"
94
- },
95
- {
96
- "tagName": "@sealed",
97
- "syntaxKind": "modifier"
98
- },
99
- {
100
- "tagName": "@see",
101
- "syntaxKind": "block"
102
- },
103
- {
104
- "tagName": "@throws",
105
- "syntaxKind": "block",
106
- "allowMultiple": true
107
- },
108
- {
109
- "tagName": "@typeParam",
110
- "syntaxKind": "block",
111
- "allowMultiple": true
112
- },
113
- {
114
- "tagName": "@virtual",
115
- "syntaxKind": "modifier"
116
- },
117
- {
118
- "tagName": "@betaDocumentation",
119
- "syntaxKind": "modifier"
120
- },
121
- {
122
- "tagName": "@internalRemarks",
123
- "syntaxKind": "block"
124
- },
125
- {
126
- "tagName": "@preapproved",
127
- "syntaxKind": "modifier"
128
- }
129
- ],
130
- "supportForTags": {
131
- "@alpha": true,
132
- "@beta": true,
133
- "@defaultValue": true,
134
- "@decorator": true,
135
- "@deprecated": true,
136
- "@eventProperty": true,
137
- "@example": true,
138
- "@experimental": true,
139
- "@inheritDoc": true,
140
- "@internal": true,
141
- "@label": true,
142
- "@link": true,
143
- "@override": true,
144
- "@packageDocumentation": true,
145
- "@param": true,
146
- "@privateRemarks": true,
147
- "@public": true,
148
- "@readonly": true,
149
- "@remarks": true,
150
- "@returns": true,
151
- "@sealed": true,
152
- "@see": true,
153
- "@throws": true,
154
- "@typeParam": true,
155
- "@virtual": true,
156
- "@betaDocumentation": true,
157
- "@internalRemarks": true,
158
- "@preapproved": true
159
- },
160
- "reportUnsupportedHtmlElements": false
161
- }
162
- },
163
- "kind": "Package",
164
- "canonicalReference": "@microsoft/applicationinsights-channel-js!",
165
- "docComment": "",
166
- "name": "@microsoft/applicationinsights-channel-js",
167
- "preserveMemberOrder": false,
168
- "members": [
169
- {
170
- "kind": "EntryPoint",
171
- "canonicalReference": "@microsoft/applicationinsights-channel-js!",
172
- "name": "",
173
- "preserveMemberOrder": false,
174
- "members": [
175
- {
176
- "kind": "Class",
177
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender:class",
178
- "docComment": "",
179
- "excerptTokens": [
180
- {
181
- "kind": "Content",
182
- "text": "export declare class Sender extends "
183
- },
184
- {
185
- "kind": "Reference",
186
- "text": "BaseTelemetryPlugin",
187
- "canonicalReference": "@microsoft/applicationinsights-core-js!BaseTelemetryPlugin:class"
188
- },
189
- {
190
- "kind": "Content",
191
- "text": " implements "
192
- },
193
- {
194
- "kind": "Reference",
195
- "text": "IChannelControls",
196
- "canonicalReference": "@microsoft/applicationinsights-core-js!IChannelControls:interface"
197
- },
198
- {
199
- "kind": "Content",
200
- "text": " "
201
- }
202
- ],
203
- "fileUrlPath": "types/Sender.d.ts",
204
- "releaseTag": "Public",
205
- "isAbstract": false,
206
- "name": "Sender",
207
- "preserveMemberOrder": false,
208
- "members": [
209
- {
210
- "kind": "Property",
211
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_appId:member",
212
- "docComment": "/**\n * AppId of this component parsed from some backend response.\n */\n",
213
- "excerptTokens": [
214
- {
215
- "kind": "Content",
216
- "text": "_appId: "
217
- },
218
- {
219
- "kind": "Content",
220
- "text": "string"
221
- },
222
- {
223
- "kind": "Content",
224
- "text": ";"
225
- }
226
- ],
227
- "isReadonly": false,
228
- "isOptional": false,
229
- "releaseTag": "Public",
230
- "name": "_appId",
231
- "propertyTypeTokenRange": {
232
- "startIndex": 1,
233
- "endIndex": 2
234
- },
235
- "isStatic": false,
236
- "isProtected": false,
237
- "isAbstract": false
238
- },
239
- {
240
- "kind": "Property",
241
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_buffer:member",
242
- "docComment": "/**\n * A send buffer object\n */\n",
243
- "excerptTokens": [
244
- {
245
- "kind": "Content",
246
- "text": "_buffer: "
247
- },
248
- {
249
- "kind": "Reference",
250
- "text": "ISendBuffer",
251
- "canonicalReference": "@microsoft/applicationinsights-channel-js!~ISendBuffer:interface"
252
- },
253
- {
254
- "kind": "Content",
255
- "text": ";"
256
- }
257
- ],
258
- "isReadonly": false,
259
- "isOptional": false,
260
- "releaseTag": "Public",
261
- "name": "_buffer",
262
- "propertyTypeTokenRange": {
263
- "startIndex": 1,
264
- "endIndex": 2
265
- },
266
- "isStatic": false,
267
- "isProtected": false,
268
- "isAbstract": false
269
- },
270
- {
271
- "kind": "Method",
272
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_onError:member(1)",
273
- "docComment": "/**\n * error handler\n */\n",
274
- "excerptTokens": [
275
- {
276
- "kind": "Content",
277
- "text": "_onError(payload: "
278
- },
279
- {
280
- "kind": "Content",
281
- "text": "string[]"
282
- },
283
- {
284
- "kind": "Content",
285
- "text": ", message: "
286
- },
287
- {
288
- "kind": "Content",
289
- "text": "string"
290
- },
291
- {
292
- "kind": "Content",
293
- "text": ", event?: "
294
- },
295
- {
296
- "kind": "Reference",
297
- "text": "ErrorEvent",
298
- "canonicalReference": "!ErrorEvent:interface"
299
- },
300
- {
301
- "kind": "Content",
302
- "text": "): "
303
- },
304
- {
305
- "kind": "Content",
306
- "text": "void"
307
- },
308
- {
309
- "kind": "Content",
310
- "text": ";"
311
- }
312
- ],
313
- "isStatic": false,
314
- "returnTypeTokenRange": {
315
- "startIndex": 7,
316
- "endIndex": 8
317
- },
318
- "releaseTag": "Public",
319
- "isProtected": false,
320
- "overloadIndex": 1,
321
- "parameters": [
322
- {
323
- "parameterName": "payload",
324
- "parameterTypeTokenRange": {
325
- "startIndex": 1,
326
- "endIndex": 2
327
- },
328
- "isOptional": false
329
- },
330
- {
331
- "parameterName": "message",
332
- "parameterTypeTokenRange": {
333
- "startIndex": 3,
334
- "endIndex": 4
335
- },
336
- "isOptional": false
337
- },
338
- {
339
- "parameterName": "event",
340
- "parameterTypeTokenRange": {
341
- "startIndex": 5,
342
- "endIndex": 6
343
- },
344
- "isOptional": true
345
- }
346
- ],
347
- "isOptional": false,
348
- "isAbstract": false,
349
- "name": "_onError"
350
- },
351
- {
352
- "kind": "Method",
353
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_onPartialSuccess:member(1)",
354
- "docComment": "/**\n * partial success handler\n */\n",
355
- "excerptTokens": [
356
- {
357
- "kind": "Content",
358
- "text": "_onPartialSuccess(payload: "
359
- },
360
- {
361
- "kind": "Content",
362
- "text": "string[]"
363
- },
364
- {
365
- "kind": "Content",
366
- "text": ", results: "
367
- },
368
- {
369
- "kind": "Reference",
370
- "text": "IBackendResponse",
371
- "canonicalReference": "@microsoft/applicationinsights-channel-js!~IBackendResponse:interface"
372
- },
373
- {
374
- "kind": "Content",
375
- "text": "): "
376
- },
377
- {
378
- "kind": "Content",
379
- "text": "void"
380
- },
381
- {
382
- "kind": "Content",
383
- "text": ";"
384
- }
385
- ],
386
- "isStatic": false,
387
- "returnTypeTokenRange": {
388
- "startIndex": 5,
389
- "endIndex": 6
390
- },
391
- "releaseTag": "Public",
392
- "isProtected": false,
393
- "overloadIndex": 1,
394
- "parameters": [
395
- {
396
- "parameterName": "payload",
397
- "parameterTypeTokenRange": {
398
- "startIndex": 1,
399
- "endIndex": 2
400
- },
401
- "isOptional": false
402
- },
403
- {
404
- "parameterName": "results",
405
- "parameterTypeTokenRange": {
406
- "startIndex": 3,
407
- "endIndex": 4
408
- },
409
- "isOptional": false
410
- }
411
- ],
412
- "isOptional": false,
413
- "isAbstract": false,
414
- "name": "_onPartialSuccess"
415
- },
416
- {
417
- "kind": "Method",
418
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_onSuccess:member(1)",
419
- "docComment": "/**\n * success handler\n */\n",
420
- "excerptTokens": [
421
- {
422
- "kind": "Content",
423
- "text": "_onSuccess(payload: "
424
- },
425
- {
426
- "kind": "Content",
427
- "text": "string[]"
428
- },
429
- {
430
- "kind": "Content",
431
- "text": ", countOfItemsInPayload: "
432
- },
433
- {
434
- "kind": "Content",
435
- "text": "number"
436
- },
437
- {
438
- "kind": "Content",
439
- "text": "): "
440
- },
441
- {
442
- "kind": "Content",
443
- "text": "void"
444
- },
445
- {
446
- "kind": "Content",
447
- "text": ";"
448
- }
449
- ],
450
- "isStatic": false,
451
- "returnTypeTokenRange": {
452
- "startIndex": 5,
453
- "endIndex": 6
454
- },
455
- "releaseTag": "Public",
456
- "isProtected": false,
457
- "overloadIndex": 1,
458
- "parameters": [
459
- {
460
- "parameterName": "payload",
461
- "parameterTypeTokenRange": {
462
- "startIndex": 1,
463
- "endIndex": 2
464
- },
465
- "isOptional": false
466
- },
467
- {
468
- "parameterName": "countOfItemsInPayload",
469
- "parameterTypeTokenRange": {
470
- "startIndex": 3,
471
- "endIndex": 4
472
- },
473
- "isOptional": false
474
- }
475
- ],
476
- "isOptional": false,
477
- "isAbstract": false,
478
- "name": "_onSuccess"
479
- },
480
- {
481
- "kind": "Property",
482
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_sample:member",
483
- "docComment": "",
484
- "excerptTokens": [
485
- {
486
- "kind": "Content",
487
- "text": "protected _sample: "
488
- },
489
- {
490
- "kind": "Reference",
491
- "text": "ISample",
492
- "canonicalReference": "@microsoft/applicationinsights-common!ISample:interface"
493
- },
494
- {
495
- "kind": "Content",
496
- "text": ";"
497
- }
498
- ],
499
- "isReadonly": false,
500
- "isOptional": false,
501
- "releaseTag": "Public",
502
- "name": "_sample",
503
- "propertyTypeTokenRange": {
504
- "startIndex": 1,
505
- "endIndex": 2
506
- },
507
- "isStatic": false,
508
- "isProtected": true,
509
- "isAbstract": false
510
- },
511
- {
512
- "kind": "Property",
513
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_sender:member",
514
- "docComment": "/**\n * A method which will cause data to be send to the url\n */\n",
515
- "excerptTokens": [
516
- {
517
- "kind": "Content",
518
- "text": "_sender: "
519
- },
520
- {
521
- "kind": "Reference",
522
- "text": "SenderFunction",
523
- "canonicalReference": "@microsoft/applicationinsights-channel-js!~SenderFunction:type"
524
- },
525
- {
526
- "kind": "Content",
527
- "text": ";"
528
- }
529
- ],
530
- "isReadonly": false,
531
- "isOptional": false,
532
- "releaseTag": "Public",
533
- "name": "_sender",
534
- "propertyTypeTokenRange": {
535
- "startIndex": 1,
536
- "endIndex": 2
537
- },
538
- "isStatic": false,
539
- "isProtected": false,
540
- "isAbstract": false
541
- },
542
- {
543
- "kind": "Property",
544
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_senderConfig:member",
545
- "docComment": "/**\n * The configuration for this sender instance\n */\n",
546
- "excerptTokens": [
547
- {
548
- "kind": "Content",
549
- "text": "readonly _senderConfig: "
550
- },
551
- {
552
- "kind": "Reference",
553
- "text": "ISenderConfig",
554
- "canonicalReference": "@microsoft/applicationinsights-channel-js!~ISenderConfig:interface"
555
- },
556
- {
557
- "kind": "Content",
558
- "text": ";"
559
- }
560
- ],
561
- "isReadonly": true,
562
- "isOptional": false,
563
- "releaseTag": "Public",
564
- "name": "_senderConfig",
565
- "propertyTypeTokenRange": {
566
- "startIndex": 1,
567
- "endIndex": 2
568
- },
569
- "isStatic": false,
570
- "isProtected": false,
571
- "isAbstract": false
572
- },
573
- {
574
- "kind": "Method",
575
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_xdrOnLoad:member(1)",
576
- "docComment": "/**\n * xdr state changes\n */\n",
577
- "excerptTokens": [
578
- {
579
- "kind": "Content",
580
- "text": "_xdrOnLoad(xdr: "
581
- },
582
- {
583
- "kind": "Reference",
584
- "text": "IXDomainRequest",
585
- "canonicalReference": "@microsoft/applicationinsights-channel-js!~XDomainRequest:interface"
586
- },
587
- {
588
- "kind": "Content",
589
- "text": ", payload: "
590
- },
591
- {
592
- "kind": "Content",
593
- "text": "string[]"
594
- },
595
- {
596
- "kind": "Content",
597
- "text": "): "
598
- },
599
- {
600
- "kind": "Content",
601
- "text": "void"
602
- },
603
- {
604
- "kind": "Content",
605
- "text": ";"
606
- }
607
- ],
608
- "isStatic": false,
609
- "returnTypeTokenRange": {
610
- "startIndex": 5,
611
- "endIndex": 6
612
- },
613
- "releaseTag": "Public",
614
- "isProtected": false,
615
- "overloadIndex": 1,
616
- "parameters": [
617
- {
618
- "parameterName": "xdr",
619
- "parameterTypeTokenRange": {
620
- "startIndex": 1,
621
- "endIndex": 2
622
- },
623
- "isOptional": false
624
- },
625
- {
626
- "parameterName": "payload",
627
- "parameterTypeTokenRange": {
628
- "startIndex": 3,
629
- "endIndex": 4
630
- },
631
- "isOptional": false
632
- }
633
- ],
634
- "isOptional": false,
635
- "isAbstract": false,
636
- "name": "_xdrOnLoad"
637
- },
638
- {
639
- "kind": "Method",
640
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#_xhrReadyStateChange:member(1)",
641
- "docComment": "/**\n * xhr state changes\n */\n",
642
- "excerptTokens": [
643
- {
644
- "kind": "Content",
645
- "text": "_xhrReadyStateChange(xhr: "
646
- },
647
- {
648
- "kind": "Reference",
649
- "text": "XMLHttpRequest",
650
- "canonicalReference": "!XMLHttpRequest:interface"
651
- },
652
- {
653
- "kind": "Content",
654
- "text": ", payload: "
655
- },
656
- {
657
- "kind": "Content",
658
- "text": "string[]"
659
- },
660
- {
661
- "kind": "Content",
662
- "text": ", countOfItemsInPayload: "
663
- },
664
- {
665
- "kind": "Content",
666
- "text": "number"
667
- },
668
- {
669
- "kind": "Content",
670
- "text": "): "
671
- },
672
- {
673
- "kind": "Content",
674
- "text": "void"
675
- },
676
- {
677
- "kind": "Content",
678
- "text": ";"
679
- }
680
- ],
681
- "isStatic": false,
682
- "returnTypeTokenRange": {
683
- "startIndex": 7,
684
- "endIndex": 8
685
- },
686
- "releaseTag": "Public",
687
- "isProtected": false,
688
- "overloadIndex": 1,
689
- "parameters": [
690
- {
691
- "parameterName": "xhr",
692
- "parameterTypeTokenRange": {
693
- "startIndex": 1,
694
- "endIndex": 2
695
- },
696
- "isOptional": false
697
- },
698
- {
699
- "parameterName": "payload",
700
- "parameterTypeTokenRange": {
701
- "startIndex": 3,
702
- "endIndex": 4
703
- },
704
- "isOptional": false
705
- },
706
- {
707
- "parameterName": "countOfItemsInPayload",
708
- "parameterTypeTokenRange": {
709
- "startIndex": 5,
710
- "endIndex": 6
711
- },
712
- "isOptional": false
713
- }
714
- ],
715
- "isOptional": false,
716
- "isAbstract": false,
717
- "name": "_xhrReadyStateChange"
718
- },
719
- {
720
- "kind": "Constructor",
721
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender:constructor(1)",
722
- "docComment": "/**\n * Constructs a new instance of the `Sender` class\n */\n",
723
- "excerptTokens": [
724
- {
725
- "kind": "Content",
726
- "text": "constructor();"
727
- }
728
- ],
729
- "releaseTag": "Public",
730
- "isProtected": false,
731
- "overloadIndex": 1,
732
- "parameters": []
733
- },
734
- {
735
- "kind": "Method",
736
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#addHeader:member(1)",
737
- "docComment": "/**\n * Add header to request\n *\n * @param name - Header name.\n *\n * @param value - Header value.\n */\n",
738
- "excerptTokens": [
739
- {
740
- "kind": "Content",
741
- "text": "addHeader(name: "
742
- },
743
- {
744
- "kind": "Content",
745
- "text": "string"
746
- },
747
- {
748
- "kind": "Content",
749
- "text": ", value: "
750
- },
751
- {
752
- "kind": "Content",
753
- "text": "string"
754
- },
755
- {
756
- "kind": "Content",
757
- "text": "): "
758
- },
759
- {
760
- "kind": "Content",
761
- "text": "void"
762
- },
763
- {
764
- "kind": "Content",
765
- "text": ";"
766
- }
767
- ],
768
- "isStatic": false,
769
- "returnTypeTokenRange": {
770
- "startIndex": 5,
771
- "endIndex": 6
772
- },
773
- "releaseTag": "Public",
774
- "isProtected": false,
775
- "overloadIndex": 1,
776
- "parameters": [
777
- {
778
- "parameterName": "name",
779
- "parameterTypeTokenRange": {
780
- "startIndex": 1,
781
- "endIndex": 2
782
- },
783
- "isOptional": false
784
- },
785
- {
786
- "parameterName": "value",
787
- "parameterTypeTokenRange": {
788
- "startIndex": 3,
789
- "endIndex": 4
790
- },
791
- "isOptional": false
792
- }
793
- ],
794
- "isOptional": false,
795
- "isAbstract": false,
796
- "name": "addHeader"
797
- },
798
- {
799
- "kind": "Method",
800
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender.constructEnvelope:member(1)",
801
- "docComment": "",
802
- "excerptTokens": [
803
- {
804
- "kind": "Content",
805
- "text": "static constructEnvelope(orig: "
806
- },
807
- {
808
- "kind": "Reference",
809
- "text": "ITelemetryItem",
810
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
811
- },
812
- {
813
- "kind": "Content",
814
- "text": ", iKey: "
815
- },
816
- {
817
- "kind": "Content",
818
- "text": "string"
819
- },
820
- {
821
- "kind": "Content",
822
- "text": ", logger: "
823
- },
824
- {
825
- "kind": "Reference",
826
- "text": "IDiagnosticLogger",
827
- "canonicalReference": "@microsoft/applicationinsights-core-js!IDiagnosticLogger:interface"
828
- },
829
- {
830
- "kind": "Content",
831
- "text": ", convertUndefined?: "
832
- },
833
- {
834
- "kind": "Content",
835
- "text": "any"
836
- },
837
- {
838
- "kind": "Content",
839
- "text": "): "
840
- },
841
- {
842
- "kind": "Reference",
843
- "text": "IEnvelope",
844
- "canonicalReference": "@microsoft/applicationinsights-common!IEnvelope:interface"
845
- },
846
- {
847
- "kind": "Content",
848
- "text": ";"
849
- }
850
- ],
851
- "isStatic": true,
852
- "returnTypeTokenRange": {
853
- "startIndex": 9,
854
- "endIndex": 10
855
- },
856
- "releaseTag": "Public",
857
- "isProtected": false,
858
- "overloadIndex": 1,
859
- "parameters": [
860
- {
861
- "parameterName": "orig",
862
- "parameterTypeTokenRange": {
863
- "startIndex": 1,
864
- "endIndex": 2
865
- },
866
- "isOptional": false
867
- },
868
- {
869
- "parameterName": "iKey",
870
- "parameterTypeTokenRange": {
871
- "startIndex": 3,
872
- "endIndex": 4
873
- },
874
- "isOptional": false
875
- },
876
- {
877
- "parameterName": "logger",
878
- "parameterTypeTokenRange": {
879
- "startIndex": 5,
880
- "endIndex": 6
881
- },
882
- "isOptional": false
883
- },
884
- {
885
- "parameterName": "convertUndefined",
886
- "parameterTypeTokenRange": {
887
- "startIndex": 7,
888
- "endIndex": 8
889
- },
890
- "isOptional": true
891
- }
892
- ],
893
- "isOptional": false,
894
- "isAbstract": false,
895
- "name": "constructEnvelope"
896
- },
897
- {
898
- "kind": "Method",
899
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#flush:member(1)",
900
- "docComment": "/**\n * Flush the batched events immediately (not synchronously). Will not flush if the Sender has been paused.\n */\n",
901
- "excerptTokens": [
902
- {
903
- "kind": "Content",
904
- "text": "flush(): "
905
- },
906
- {
907
- "kind": "Content",
908
- "text": "void"
909
- },
910
- {
911
- "kind": "Content",
912
- "text": ";"
913
- }
914
- ],
915
- "isStatic": false,
916
- "returnTypeTokenRange": {
917
- "startIndex": 1,
918
- "endIndex": 2
919
- },
920
- "releaseTag": "Public",
921
- "isProtected": false,
922
- "overloadIndex": 1,
923
- "parameters": [],
924
- "isOptional": false,
925
- "isAbstract": false,
926
- "name": "flush"
927
- },
928
- {
929
- "kind": "Property",
930
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#identifier:member",
931
- "docComment": "",
932
- "excerptTokens": [
933
- {
934
- "kind": "Content",
935
- "text": "readonly identifier: "
936
- },
937
- {
938
- "kind": "Content",
939
- "text": "string"
940
- },
941
- {
942
- "kind": "Content",
943
- "text": ";"
944
- }
945
- ],
946
- "isReadonly": true,
947
- "isOptional": false,
948
- "releaseTag": "Public",
949
- "name": "identifier",
950
- "propertyTypeTokenRange": {
951
- "startIndex": 1,
952
- "endIndex": 2
953
- },
954
- "isStatic": false,
955
- "isProtected": false,
956
- "isAbstract": false
957
- },
958
- {
959
- "kind": "Method",
960
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#initialize:member(1)",
961
- "docComment": "",
962
- "excerptTokens": [
963
- {
964
- "kind": "Content",
965
- "text": "initialize(config: "
966
- },
967
- {
968
- "kind": "Reference",
969
- "text": "IConfiguration",
970
- "canonicalReference": "@microsoft/applicationinsights-core-js!IConfiguration:interface"
971
- },
972
- {
973
- "kind": "Content",
974
- "text": " & "
975
- },
976
- {
977
- "kind": "Reference",
978
- "text": "IConfig",
979
- "canonicalReference": "@microsoft/applicationinsights-common!IConfig:interface"
980
- },
981
- {
982
- "kind": "Content",
983
- "text": ", core: "
984
- },
985
- {
986
- "kind": "Reference",
987
- "text": "IAppInsightsCore",
988
- "canonicalReference": "@microsoft/applicationinsights-core-js!IAppInsightsCore:interface"
989
- },
990
- {
991
- "kind": "Content",
992
- "text": ", extensions: "
993
- },
994
- {
995
- "kind": "Reference",
996
- "text": "IPlugin",
997
- "canonicalReference": "@microsoft/applicationinsights-core-js!IPlugin:interface"
998
- },
999
- {
1000
- "kind": "Content",
1001
- "text": "[]"
1002
- },
1003
- {
1004
- "kind": "Content",
1005
- "text": ", pluginChain?: "
1006
- },
1007
- {
1008
- "kind": "Reference",
1009
- "text": "ITelemetryPluginChain",
1010
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryPluginChain:interface"
1011
- },
1012
- {
1013
- "kind": "Content",
1014
- "text": "): "
1015
- },
1016
- {
1017
- "kind": "Content",
1018
- "text": "void"
1019
- },
1020
- {
1021
- "kind": "Content",
1022
- "text": ";"
1023
- }
1024
- ],
1025
- "isStatic": false,
1026
- "returnTypeTokenRange": {
1027
- "startIndex": 12,
1028
- "endIndex": 13
1029
- },
1030
- "releaseTag": "Public",
1031
- "isProtected": false,
1032
- "overloadIndex": 1,
1033
- "parameters": [
1034
- {
1035
- "parameterName": "config",
1036
- "parameterTypeTokenRange": {
1037
- "startIndex": 1,
1038
- "endIndex": 4
1039
- },
1040
- "isOptional": false
1041
- },
1042
- {
1043
- "parameterName": "core",
1044
- "parameterTypeTokenRange": {
1045
- "startIndex": 5,
1046
- "endIndex": 6
1047
- },
1048
- "isOptional": false
1049
- },
1050
- {
1051
- "parameterName": "extensions",
1052
- "parameterTypeTokenRange": {
1053
- "startIndex": 7,
1054
- "endIndex": 9
1055
- },
1056
- "isOptional": false
1057
- },
1058
- {
1059
- "parameterName": "pluginChain",
1060
- "parameterTypeTokenRange": {
1061
- "startIndex": 10,
1062
- "endIndex": 11
1063
- },
1064
- "isOptional": true
1065
- }
1066
- ],
1067
- "isOptional": false,
1068
- "isAbstract": false,
1069
- "name": "initialize"
1070
- },
1071
- {
1072
- "kind": "Method",
1073
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#onunloadFlush:member(1)",
1074
- "docComment": "/**\n * Flush the batched events synchronously (if possible -- based on configuration). Will not flush if the Send has been paused.\n */\n",
1075
- "excerptTokens": [
1076
- {
1077
- "kind": "Content",
1078
- "text": "onunloadFlush(): "
1079
- },
1080
- {
1081
- "kind": "Content",
1082
- "text": "void"
1083
- },
1084
- {
1085
- "kind": "Content",
1086
- "text": ";"
1087
- }
1088
- ],
1089
- "isStatic": false,
1090
- "returnTypeTokenRange": {
1091
- "startIndex": 1,
1092
- "endIndex": 2
1093
- },
1094
- "releaseTag": "Public",
1095
- "isProtected": false,
1096
- "overloadIndex": 1,
1097
- "parameters": [],
1098
- "isOptional": false,
1099
- "isAbstract": false,
1100
- "name": "onunloadFlush"
1101
- },
1102
- {
1103
- "kind": "Method",
1104
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#pause:member(1)",
1105
- "docComment": "/**\n * Pause the sending (transmission) of events, this will cause all events to be batched only until the maximum limits are hit at which point new events are dropped. Will also cause events to NOT be sent during page unload, so if Session storage is disabled events will be lost. SessionStorage Limit is 2000 events, In-Memory (Array) Storage is 10,000 events (can be configured via the eventsLimitInMem).\n */\n",
1106
- "excerptTokens": [
1107
- {
1108
- "kind": "Content",
1109
- "text": "pause(): "
1110
- },
1111
- {
1112
- "kind": "Content",
1113
- "text": "void"
1114
- },
1115
- {
1116
- "kind": "Content",
1117
- "text": ";"
1118
- }
1119
- ],
1120
- "isStatic": false,
1121
- "returnTypeTokenRange": {
1122
- "startIndex": 1,
1123
- "endIndex": 2
1124
- },
1125
- "releaseTag": "Public",
1126
- "isProtected": false,
1127
- "overloadIndex": 1,
1128
- "parameters": [],
1129
- "isOptional": false,
1130
- "isAbstract": false,
1131
- "name": "pause"
1132
- },
1133
- {
1134
- "kind": "Property",
1135
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#priority:member",
1136
- "docComment": "",
1137
- "excerptTokens": [
1138
- {
1139
- "kind": "Content",
1140
- "text": "readonly priority: "
1141
- },
1142
- {
1143
- "kind": "Content",
1144
- "text": "number"
1145
- },
1146
- {
1147
- "kind": "Content",
1148
- "text": ";"
1149
- }
1150
- ],
1151
- "isReadonly": true,
1152
- "isOptional": false,
1153
- "releaseTag": "Public",
1154
- "name": "priority",
1155
- "propertyTypeTokenRange": {
1156
- "startIndex": 1,
1157
- "endIndex": 2
1158
- },
1159
- "isStatic": false,
1160
- "isProtected": false,
1161
- "isAbstract": false
1162
- },
1163
- {
1164
- "kind": "Method",
1165
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#processTelemetry:member(1)",
1166
- "docComment": "",
1167
- "excerptTokens": [
1168
- {
1169
- "kind": "Content",
1170
- "text": "processTelemetry(telemetryItem: "
1171
- },
1172
- {
1173
- "kind": "Reference",
1174
- "text": "ITelemetryItem",
1175
- "canonicalReference": "@microsoft/applicationinsights-core-js!ITelemetryItem:interface"
1176
- },
1177
- {
1178
- "kind": "Content",
1179
- "text": ", itemCtx?: "
1180
- },
1181
- {
1182
- "kind": "Reference",
1183
- "text": "IProcessTelemetryContext",
1184
- "canonicalReference": "@microsoft/applicationinsights-core-js!IProcessTelemetryContext:interface"
1185
- },
1186
- {
1187
- "kind": "Content",
1188
- "text": "): "
1189
- },
1190
- {
1191
- "kind": "Content",
1192
- "text": "void"
1193
- },
1194
- {
1195
- "kind": "Content",
1196
- "text": ";"
1197
- }
1198
- ],
1199
- "isStatic": false,
1200
- "returnTypeTokenRange": {
1201
- "startIndex": 5,
1202
- "endIndex": 6
1203
- },
1204
- "releaseTag": "Public",
1205
- "isProtected": false,
1206
- "overloadIndex": 1,
1207
- "parameters": [
1208
- {
1209
- "parameterName": "telemetryItem",
1210
- "parameterTypeTokenRange": {
1211
- "startIndex": 1,
1212
- "endIndex": 2
1213
- },
1214
- "isOptional": false
1215
- },
1216
- {
1217
- "parameterName": "itemCtx",
1218
- "parameterTypeTokenRange": {
1219
- "startIndex": 3,
1220
- "endIndex": 4
1221
- },
1222
- "isOptional": true
1223
- }
1224
- ],
1225
- "isOptional": false,
1226
- "isAbstract": false,
1227
- "name": "processTelemetry"
1228
- },
1229
- {
1230
- "kind": "Method",
1231
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#resume:member(1)",
1232
- "docComment": "/**\n * Resume the sending (transmission) of events, this will restart the timer and any batched events will be sent using the normal send interval.\n */\n",
1233
- "excerptTokens": [
1234
- {
1235
- "kind": "Content",
1236
- "text": "resume(): "
1237
- },
1238
- {
1239
- "kind": "Content",
1240
- "text": "void"
1241
- },
1242
- {
1243
- "kind": "Content",
1244
- "text": ";"
1245
- }
1246
- ],
1247
- "isStatic": false,
1248
- "returnTypeTokenRange": {
1249
- "startIndex": 1,
1250
- "endIndex": 2
1251
- },
1252
- "releaseTag": "Public",
1253
- "isProtected": false,
1254
- "overloadIndex": 1,
1255
- "parameters": [],
1256
- "isOptional": false,
1257
- "isAbstract": false,
1258
- "name": "resume"
1259
- },
1260
- {
1261
- "kind": "Method",
1262
- "canonicalReference": "@microsoft/applicationinsights-channel-js!Sender#triggerSend:member(1)",
1263
- "docComment": "/**\n * Immediately send buffered data\n *\n * @param async - - Indicates if the events should be sent asynchronously\n *\n * @param forcedSender - - Indicates the forcedSender, undefined if not passed\n */\n",
1264
- "excerptTokens": [
1265
- {
1266
- "kind": "Content",
1267
- "text": "triggerSend(async?: "
1268
- },
1269
- {
1270
- "kind": "Content",
1271
- "text": "boolean"
1272
- },
1273
- {
1274
- "kind": "Content",
1275
- "text": ", forcedSender?: "
1276
- },
1277
- {
1278
- "kind": "Reference",
1279
- "text": "SenderFunction",
1280
- "canonicalReference": "@microsoft/applicationinsights-channel-js!~SenderFunction:type"
1281
- },
1282
- {
1283
- "kind": "Content",
1284
- "text": ", sendReason?: "
1285
- },
1286
- {
1287
- "kind": "Reference",
1288
- "text": "SendRequestReason",
1289
- "canonicalReference": "@microsoft/applicationinsights-core-js!SendRequestReason:enum"
1290
- },
1291
- {
1292
- "kind": "Content",
1293
- "text": "): "
1294
- },
1295
- {
1296
- "kind": "Content",
1297
- "text": "void"
1298
- },
1299
- {
1300
- "kind": "Content",
1301
- "text": ";"
1302
- }
1303
- ],
1304
- "isStatic": false,
1305
- "returnTypeTokenRange": {
1306
- "startIndex": 7,
1307
- "endIndex": 8
1308
- },
1309
- "releaseTag": "Public",
1310
- "isProtected": false,
1311
- "overloadIndex": 1,
1312
- "parameters": [
1313
- {
1314
- "parameterName": "async",
1315
- "parameterTypeTokenRange": {
1316
- "startIndex": 1,
1317
- "endIndex": 2
1318
- },
1319
- "isOptional": true
1320
- },
1321
- {
1322
- "parameterName": "forcedSender",
1323
- "parameterTypeTokenRange": {
1324
- "startIndex": 3,
1325
- "endIndex": 4
1326
- },
1327
- "isOptional": true
1328
- },
1329
- {
1330
- "parameterName": "sendReason",
1331
- "parameterTypeTokenRange": {
1332
- "startIndex": 5,
1333
- "endIndex": 6
1334
- },
1335
- "isOptional": true
1336
- }
1337
- ],
1338
- "isOptional": false,
1339
- "isAbstract": false,
1340
- "name": "triggerSend"
1341
- }
1342
- ],
1343
- "extendsTokenRange": {
1344
- "startIndex": 1,
1345
- "endIndex": 2
1346
- },
1347
- "implementsTokenRanges": [
1348
- {
1349
- "startIndex": 3,
1350
- "endIndex": 4
1351
- }
1352
- ]
1353
- }
1354
- ]
1355
- }
1356
- ]
1357
- }