@microsoft/applicationinsights-core-js 3.4.0-nightlybeta3.2504-05 → 3.4.0-nightlybeta3.2504-17

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 (109) hide show
  1. package/browser/es5/applicationinsights-core-js.cjs.js +393 -281
  2. package/browser/es5/applicationinsights-core-js.cjs.js.map +1 -1
  3. package/browser/es5/applicationinsights-core-js.cjs.min.js +2 -2
  4. package/browser/es5/applicationinsights-core-js.cjs.min.js.map +1 -1
  5. package/browser/es5/applicationinsights-core-js.gbl.js +395 -283
  6. package/browser/es5/applicationinsights-core-js.gbl.js.map +1 -1
  7. package/browser/es5/applicationinsights-core-js.gbl.min.js +2 -2
  8. package/browser/es5/applicationinsights-core-js.gbl.min.js.map +1 -1
  9. package/browser/es5/applicationinsights-core-js.integrity.json +25 -25
  10. package/browser/es5/applicationinsights-core-js.js +395 -283
  11. package/browser/es5/applicationinsights-core-js.js.map +1 -1
  12. package/browser/es5/applicationinsights-core-js.min.js +2 -2
  13. package/browser/es5/applicationinsights-core-js.min.js.map +1 -1
  14. package/dist/es5/applicationinsights-core-js.js +393 -281
  15. package/dist/es5/applicationinsights-core-js.js.map +1 -1
  16. package/dist/es5/applicationinsights-core-js.min.js +2 -2
  17. package/dist/es5/applicationinsights-core-js.min.js.map +1 -1
  18. package/dist-es5/Config/ConfigDefaultHelpers.js +1 -1
  19. package/dist-es5/Config/ConfigDefaults.js +1 -1
  20. package/dist-es5/Config/DynamicConfig.js +1 -1
  21. package/dist-es5/Config/DynamicProperty.js +1 -1
  22. package/dist-es5/Config/DynamicState.js +1 -1
  23. package/dist-es5/Config/DynamicSupport.js +1 -1
  24. package/dist-es5/Config/IConfigDefaults.js +1 -1
  25. package/dist-es5/Config/IDynamicConfigHandler.js +1 -1
  26. package/dist-es5/Config/IDynamicPropertyHandler.js +1 -1
  27. package/dist-es5/Config/IDynamicWatcher.js +1 -1
  28. package/dist-es5/Config/_IDynamicConfigHandlerState.js +1 -1
  29. package/dist-es5/JavaScriptSDK/AggregationError.js +1 -1
  30. package/dist-es5/JavaScriptSDK/AppInsightsCore.js +132 -99
  31. package/dist-es5/JavaScriptSDK/AppInsightsCore.js.map +1 -1
  32. package/dist-es5/JavaScriptSDK/AsyncUtils.js +1 -1
  33. package/dist-es5/JavaScriptSDK/BaseTelemetryPlugin.js +1 -1
  34. package/dist-es5/JavaScriptSDK/Constants.js +1 -1
  35. package/dist-es5/JavaScriptSDK/CookieMgr.js +1 -1
  36. package/dist-es5/JavaScriptSDK/CoreUtils.js +1 -1
  37. package/dist-es5/JavaScriptSDK/DataCacheHelper.js +2 -2
  38. package/dist-es5/JavaScriptSDK/DataCacheHelper.js.map +1 -1
  39. package/dist-es5/JavaScriptSDK/DbgExtensionUtils.js +1 -1
  40. package/dist-es5/JavaScriptSDK/DiagnosticLogger.js +1 -1
  41. package/dist-es5/JavaScriptSDK/EnvUtils.js +1 -1
  42. package/dist-es5/JavaScriptSDK/EventHelpers.js +1 -1
  43. package/dist-es5/JavaScriptSDK/HelperFuncs.js +3 -3
  44. package/dist-es5/JavaScriptSDK/HelperFuncs.js.map +1 -1
  45. package/dist-es5/JavaScriptSDK/InstrumentHooks.js +1 -1
  46. package/dist-es5/JavaScriptSDK/InternalConstants.js +1 -1
  47. package/dist-es5/JavaScriptSDK/NetworkStatsbeat.js +20 -0
  48. package/dist-es5/JavaScriptSDK/NetworkStatsbeat.js.map +1 -0
  49. package/dist-es5/JavaScriptSDK/NotificationManager.js +1 -1
  50. package/dist-es5/JavaScriptSDK/PerfManager.js +1 -1
  51. package/dist-es5/JavaScriptSDK/ProcessTelemetryContext.js +1 -1
  52. package/dist-es5/JavaScriptSDK/RandomHelper.js +1 -1
  53. package/dist-es5/JavaScriptSDK/ResponseHelpers.js +1 -1
  54. package/dist-es5/JavaScriptSDK/SenderPostManager.js +23 -8
  55. package/dist-es5/JavaScriptSDK/SenderPostManager.js.map +1 -1
  56. package/dist-es5/JavaScriptSDK/StatsBeat.js +176 -0
  57. package/dist-es5/JavaScriptSDK/StatsBeat.js.map +1 -0
  58. package/dist-es5/JavaScriptSDK/TelemetryHelpers.js +1 -1
  59. package/dist-es5/JavaScriptSDK/TelemetryInitializerPlugin.js +1 -1
  60. package/dist-es5/JavaScriptSDK/UnloadHandlerContainer.js +1 -1
  61. package/dist-es5/JavaScriptSDK/UnloadHookContainer.js +1 -1
  62. package/dist-es5/JavaScriptSDK/W3cTraceParent.js +3 -3
  63. package/dist-es5/JavaScriptSDK/W3cTraceParent.js.map +1 -1
  64. package/dist-es5/JavaScriptSDK.Enums/EnumHelperFuncs.js +1 -1
  65. package/dist-es5/JavaScriptSDK.Enums/EventsDiscardedReason.js +1 -1
  66. package/dist-es5/JavaScriptSDK.Enums/FeatureOptInEnums.js +1 -1
  67. package/dist-es5/JavaScriptSDK.Enums/InitActiveStatusEnum.js +1 -1
  68. package/dist-es5/JavaScriptSDK.Enums/LoggingEnums.js +1 -1
  69. package/dist-es5/JavaScriptSDK.Enums/SendRequestReason.js +1 -1
  70. package/dist-es5/JavaScriptSDK.Enums/TelemetryUnloadReason.js +1 -1
  71. package/dist-es5/JavaScriptSDK.Enums/TelemetryUpdateReason.js +1 -1
  72. package/dist-es5/JavaScriptSDK.Interfaces/IAppInsightsCore.js +1 -1
  73. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControls.js +1 -1
  74. package/dist-es5/JavaScriptSDK.Interfaces/IChannelControlsHost.js +1 -1
  75. package/dist-es5/JavaScriptSDK.Interfaces/IConfiguration.js +1 -1
  76. package/dist-es5/JavaScriptSDK.Interfaces/ICookieMgr.js +1 -1
  77. package/dist-es5/JavaScriptSDK.Interfaces/IDbgExtension.js +1 -1
  78. package/dist-es5/JavaScriptSDK.Interfaces/IDiagnosticLogger.js +1 -1
  79. package/dist-es5/JavaScriptSDK.Interfaces/IDistributedTraceContext.js +1 -1
  80. package/dist-es5/JavaScriptSDK.Interfaces/IExceptionConfig.js +1 -1
  81. package/dist-es5/JavaScriptSDK.Interfaces/IFeatureOptIn.js +1 -1
  82. package/dist-es5/JavaScriptSDK.Interfaces/IInstrumentHooks.js +1 -1
  83. package/dist-es5/JavaScriptSDK.Interfaces/INotificationListener.js +1 -1
  84. package/dist-es5/JavaScriptSDK.Interfaces/INotificationManager.js +1 -1
  85. package/dist-es5/JavaScriptSDK.Interfaces/IPerfEvent.js +1 -1
  86. package/dist-es5/JavaScriptSDK.Interfaces/IPerfManager.js +1 -1
  87. package/dist-es5/JavaScriptSDK.Interfaces/IProcessTelemetryContext.js +1 -1
  88. package/dist-es5/JavaScriptSDK.Interfaces/ISenderPostManager.js +1 -1
  89. package/dist-es5/JavaScriptSDK.Interfaces/IStatsBeat.js +6 -0
  90. package/dist-es5/JavaScriptSDK.Interfaces/IStatsBeat.js.map +1 -0
  91. package/dist-es5/JavaScriptSDK.Interfaces/IStatsBeatEvent.js +8 -0
  92. package/dist-es5/JavaScriptSDK.Interfaces/IStatsBeatEvent.js.map +1 -0
  93. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryInitializers.js +1 -1
  94. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryItem.js +1 -1
  95. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPlugin.js +1 -1
  96. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryPluginChain.js +1 -1
  97. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUnloadState.js +1 -1
  98. package/dist-es5/JavaScriptSDK.Interfaces/ITelemetryUpdateState.js +1 -1
  99. package/dist-es5/JavaScriptSDK.Interfaces/ITraceParent.js +1 -1
  100. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadHook.js +1 -1
  101. package/dist-es5/JavaScriptSDK.Interfaces/IUnloadableComponent.js +1 -1
  102. package/dist-es5/JavaScriptSDK.Interfaces/IXDomainRequest.js +1 -1
  103. package/dist-es5/JavaScriptSDK.Interfaces/IXHROverride.js +1 -1
  104. package/dist-es5/__DynamicConstants.js +13 -7
  105. package/dist-es5/__DynamicConstants.js.map +1 -1
  106. package/dist-es5/applicationinsights-core-js.js +1 -1
  107. package/package.json +1 -1
  108. package/types/applicationinsights-core-js.d.ts +42 -1
  109. package/types/applicationinsights-core-js.namespaced.d.ts +68 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 3.4.0-nightlybeta3.2504-05
2
+ * Microsoft Application Insights Core Javascript SDK, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -195,6 +195,7 @@ export declare class AppInsightsCore<CfgType extends IConfiguration = IConfigura
195
195
  */
196
196
  setCookieMgr(cookieMgr: ICookieMgr): void;
197
197
  getPerfMgr(): IPerfManager;
198
+ getStatsBeat(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
198
199
  setPerfMgr(perfMgr: IPerfManager): void;
199
200
  eventCnt(): number;
200
201
  /**
@@ -1200,6 +1201,7 @@ export declare interface IAppInsightsCore<CfgType extends IConfiguration = IConf
1200
1201
  */
1201
1202
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
1202
1203
  pollInternalLogs?(eventName?: string): ITimerHandler;
1204
+ getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
1203
1205
  stopPollingInternalLogs?(): void;
1204
1206
  /**
1205
1207
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -1681,6 +1683,11 @@ export declare interface IConfiguration {
1681
1683
  * @since 3.3.2
1682
1684
  */
1683
1685
  expCfg?: IExceptionConfig;
1686
+ /**
1687
+ * [Optional] Internal SDK configuration for developers
1688
+ * @internal
1689
+ */
1690
+ _sdk?: IInternalSdkConfiguration;
1684
1691
  }
1685
1692
 
1686
1693
  export declare interface ICookieMgr {
@@ -2207,6 +2214,18 @@ export declare interface IInternalOfflineSupport {
2207
2214
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
2208
2215
  }
2209
2216
 
2217
+ /**
2218
+ * Internal SDK configuration options
2219
+ * @internal
2220
+ */
2221
+ declare interface IInternalSdkConfiguration {
2222
+ /**
2223
+ * [Optional] Enable Internal StatsBeat
2224
+ * @internal
2225
+ */
2226
+ stats?: boolean;
2227
+ }
2228
+
2210
2229
  /**
2211
2230
  * Internal interface
2212
2231
  * internal sendpost interface
@@ -2861,6 +2880,28 @@ export { isString }
2861
2880
 
2862
2881
  export { isSymbol }
2863
2882
 
2883
+ export declare interface IStatsBeat {
2884
+ initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
2885
+ isInitialized(): boolean;
2886
+ count(status: number, payloadData: IPayloadData, endpoint: string): void;
2887
+ countException(endpoint: string, exceptionType: string): void;
2888
+ getEndpoint(): string;
2889
+ }
2890
+
2891
+ export declare interface IStatsBeatConfig {
2892
+ ikey: string;
2893
+ endpoint: string;
2894
+ version?: string;
2895
+ }
2896
+
2897
+ /**
2898
+ * This interface identifies the details of stats beat event
2899
+ */
2900
+ export declare interface IStatsBeatEvent {
2901
+ startTime: number;
2902
+ duration?: number;
2903
+ }
2904
+
2864
2905
  export { isTruthy }
2865
2906
 
2866
2907
  export { isTypeof }
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Microsoft Application Insights Core Javascript SDK, 3.4.0-nightlybeta3.2504-05
2
+ * Microsoft Application Insights Core Javascript SDK, 3.4.0-nightlybeta3.2504-17
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -137,6 +137,7 @@ declare namespace ApplicationInsights {
137
137
  */
138
138
  setCookieMgr(cookieMgr: ICookieMgr): void;
139
139
  getPerfMgr(): IPerfManager;
140
+ getStatsBeat(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
140
141
  setPerfMgr(perfMgr: IPerfManager): void;
141
142
  eventCnt(): number;
142
143
  /**
@@ -305,6 +306,7 @@ declare namespace ApplicationInsights {
305
306
  * or -1 if it is not present.
306
307
  * `arrIndexOf()` compares searchElement to elements of the Array using strict equality (the same
307
308
  * method used by the === or triple-equals operator).
309
+ * @function
308
310
  * @group Array
309
311
  * @group ArrayLike
310
312
  * @typeParam T - Identifies the type of array elements
@@ -381,6 +383,7 @@ declare namespace ApplicationInsights {
381
383
  * - indexes that have never been set;
382
384
  * - indexes which have been deleted.
383
385
  *
386
+ * @function
384
387
  * @since 0.3.3
385
388
  * @group Array
386
389
  * @group ArrayLike
@@ -444,6 +447,7 @@ declare namespace ApplicationInsights {
444
447
  * The first time that the callback is run there is no "return value of the previous calculation". If supplied,
445
448
  * an initial value may be used in its place. Otherwise the array element at index 0 is used as the initial
446
449
  * value and iteration starts from the next element (index 1 instead of index 0).
450
+ * @function
447
451
  * @group Array
448
452
  * @group ArrayLike
449
453
  * @typeParam T - Identifies the type of array elements
@@ -502,6 +506,7 @@ declare namespace ApplicationInsights {
502
506
  * The asString() method returns a string representing the value by
503
507
  * explicitly using `String(`value`)`.
504
508
  *
509
+ * @function
505
510
  * @since 0.4.3
506
511
  * @group String
507
512
  * @group Conversion
@@ -860,6 +865,7 @@ declare namespace ApplicationInsights {
860
865
  /**
861
866
  * Perform a deep freeze on the object and all of it's contained values / properties by recursively calling
862
867
  * `objFreeze()` on all enumerable properties of the object and on each property returned.
868
+ * This implementation handles recursive objects (objects that reference themselves) by tracking visited objects.
863
869
  * @group Object
864
870
  * @param value - the object to be completly frozen.
865
871
  * @returns The originally passed in object.
@@ -1352,6 +1358,7 @@ declare namespace ApplicationInsights {
1352
1358
 
1353
1359
  /**
1354
1360
  * Return the global `document` instance.
1361
+ * @function
1355
1362
  * @group Environment
1356
1363
  * @returns
1357
1364
  */
@@ -1418,6 +1425,7 @@ declare namespace ApplicationInsights {
1418
1425
 
1419
1426
  /**
1420
1427
  * Returns the global `history` instance
1428
+ * @function
1421
1429
  * @group Environment
1422
1430
  * @returns
1423
1431
  */
@@ -1451,6 +1459,7 @@ declare namespace ApplicationInsights {
1451
1459
 
1452
1460
  /**
1453
1461
  * Returns the global `navigator` instance
1462
+ * @function
1454
1463
  * @group Environment
1455
1464
  * @returns
1456
1465
  */
@@ -1480,6 +1489,7 @@ declare namespace ApplicationInsights {
1480
1489
 
1481
1490
  /**
1482
1491
  * Return the global `window` instance.
1492
+ * @function
1483
1493
  * @group Environment
1484
1494
  * @returns
1485
1495
  */
@@ -1609,6 +1619,7 @@ declare namespace ApplicationInsights {
1609
1619
  */
1610
1620
  addTelemetryInitializer(telemetryInitializer: TelemetryInitializerFunction): ITelemetryInitializerHandler;
1611
1621
  pollInternalLogs?(eventName?: string): ITimerHandler;
1622
+ getStatsBeat?(statsBeatConfig?: IStatsBeatConfig): IStatsBeat;
1612
1623
  stopPollingInternalLogs?(): void;
1613
1624
  /**
1614
1625
  * Return a new instance of the IProcessTelemetryContext for processing events
@@ -2090,6 +2101,11 @@ declare namespace ApplicationInsights {
2090
2101
  * @since 3.3.2
2091
2102
  */
2092
2103
  expCfg?: IExceptionConfig;
2104
+ /**
2105
+ * [Optional] Internal SDK configuration for developers
2106
+ * @internal
2107
+ */
2108
+ _sdk?: IInternalSdkConfiguration;
2093
2109
  }
2094
2110
 
2095
2111
  interface ICookieMgr {
@@ -2616,6 +2632,18 @@ declare namespace ApplicationInsights {
2616
2632
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
2617
2633
  }
2618
2634
 
2635
+ /**
2636
+ * Internal SDK configuration options
2637
+ * @internal
2638
+ */
2639
+ interface IInternalSdkConfiguration {
2640
+ /**
2641
+ * [Optional] Enable Internal StatsBeat
2642
+ * @internal
2643
+ */
2644
+ stats?: boolean;
2645
+ }
2646
+
2619
2647
  /**
2620
2648
  * Internal interface
2621
2649
  * internal sendpost interface
@@ -3268,6 +3296,7 @@ declare namespace ApplicationInsights {
3268
3296
  /**
3269
3297
  * Checks if the type of value is an Array.
3270
3298
  *
3299
+ * @function
3271
3300
  * @group Type Identity
3272
3301
  * @group Array
3273
3302
  * @param arg - Value to be checked.
@@ -3297,6 +3326,7 @@ declare namespace ApplicationInsights {
3297
3326
 
3298
3327
  /**
3299
3328
  * Checks if the type of value is a boolean.
3329
+ * @function
3300
3330
  * @group Type Identity
3301
3331
  * @param value - Value to be checked.
3302
3332
  * @return True if the value is a boolean, false otherwise.
@@ -3305,6 +3335,7 @@ declare namespace ApplicationInsights {
3305
3335
 
3306
3336
  /**
3307
3337
  * Check if an object is of type Date
3338
+ * @function
3308
3339
  * @group Type Identity
3309
3340
  * @example
3310
3341
  * ```ts
@@ -3447,6 +3478,7 @@ declare namespace ApplicationInsights {
3447
3478
 
3448
3479
  /**
3449
3480
  * Checks if the type of value is a Error object.
3481
+ * @function
3450
3482
  * @group Type Identity
3451
3483
  * @group Error
3452
3484
  * @param value - Value to be checked.
@@ -3465,6 +3497,7 @@ declare namespace ApplicationInsights {
3465
3497
 
3466
3498
  /**
3467
3499
  * Checks to see if the past value is a function value
3500
+ * @function
3468
3501
  * @group Type Identity
3469
3502
  * @param value - The value to check
3470
3503
  * @returns
@@ -3533,6 +3566,7 @@ declare namespace ApplicationInsights {
3533
3566
 
3534
3567
  /**
3535
3568
  * Checks if the type of value is a number.
3569
+ * @function
3536
3570
  * @group Type Identity
3537
3571
  * @param value - Value to be checked.
3538
3572
  * @return True if the value is a number, false otherwise.
@@ -3541,6 +3575,7 @@ declare namespace ApplicationInsights {
3541
3575
 
3542
3576
  /**
3543
3577
  * Checks to see if the past value is an object value
3578
+ * @function
3544
3579
  * @group Type Identity
3545
3580
  * @group Object
3546
3581
  * @typeParam T - The object type, defaults to any
@@ -3565,6 +3600,7 @@ declare namespace ApplicationInsights {
3565
3600
 
3566
3601
  /**
3567
3602
  * Checks to see if the past value is a string value
3603
+ * @function
3568
3604
  * @group Type Identity
3569
3605
  * @group String
3570
3606
  * @param value - The value to check
@@ -3585,12 +3621,36 @@ declare namespace ApplicationInsights {
3585
3621
 
3586
3622
  /**
3587
3623
  * Checks if the type of value is a symbol.
3624
+ *
3625
+ * @function
3588
3626
  * @group Symbol
3589
3627
  * @param value - Value to be checked.
3590
3628
  * @return True if the value is a symbol, false otherwise.
3591
3629
  */
3592
3630
  const isSymbol: (value: any) => value is symbol;
3593
3631
 
3632
+ interface IStatsBeat {
3633
+ initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
3634
+ isInitialized(): boolean;
3635
+ count(status: number, payloadData: IPayloadData, endpoint: string): void;
3636
+ countException(endpoint: string, exceptionType: string): void;
3637
+ getEndpoint(): string;
3638
+ }
3639
+
3640
+ interface IStatsBeatConfig {
3641
+ ikey: string;
3642
+ endpoint: string;
3643
+ version?: string;
3644
+ }
3645
+
3646
+ /**
3647
+ * This interface identifies the details of stats beat event
3648
+ */
3649
+ interface IStatsBeatEvent {
3650
+ startTime: number;
3651
+ duration?: number;
3652
+ }
3653
+
3594
3654
  /**
3595
3655
  * Checks if the type of value evaluates to true value, handling some special
3596
3656
  * case usages of Boolean(true/false) and new Boolean(true/false).
@@ -4284,6 +4344,7 @@ declare namespace ApplicationInsights {
4284
4344
  * to or removed from the array.
4285
4345
  *
4286
4346
  * `objFreeze()` returns the same object that was passed into the function. It does not create a frozen copy.
4347
+ * @function
4287
4348
  * @group Object
4288
4349
  * @param value - The object to freeze.
4289
4350
  * @returns The object that was passed to the function.
@@ -4297,6 +4358,7 @@ declare namespace ApplicationInsights {
4297
4358
  * objKeys() returns an array whose elements are strings corresponding to the enumerable properties found
4298
4359
  * directly upon object. The ordering of the properties is the same as that given by looping over the
4299
4360
  * properties of the object manually.
4361
+ * @function
4300
4362
  * @group Object
4301
4363
  * @param value - The object to obtain a copy of the keys from
4302
4364
  * @returns An array of the properties names for the value object.
@@ -4330,6 +4392,7 @@ declare namespace ApplicationInsights {
4330
4392
  * The `objSeal()` method seals an object, preventing new properties from being added to it and marking all
4331
4393
  * existing properties as non-configurable. Values of present properties can still be changed as long as they
4332
4394
  * are writable.
4395
+ * @function
4333
4396
  * @group Object
4334
4397
  * @param value - The object which should be sealed.
4335
4398
  * @returns The object being sealed.
@@ -4832,6 +4895,7 @@ declare namespace ApplicationInsights {
4832
4895
 
4833
4896
  /**
4834
4897
  * This method lets you determine whether or not a string ends with another string. This method is case-sensitive.
4898
+ * @function
4835
4899
  * @group String
4836
4900
  * @param value - The value to be checked
4837
4901
  * @param searchString - The characters to be searched for at the end of `value` string.
@@ -4847,6 +4911,7 @@ declare namespace ApplicationInsights {
4847
4911
 
4848
4912
  /**
4849
4913
  * This method lets you determine whether or not a string begins with another string. This method is case-sensitive.
4914
+ * @function
4850
4915
  * @group String
4851
4916
  * @param value - The value to be checked
4852
4917
  * @param searchString - The characters to be searched for at the start of the string
@@ -4861,6 +4926,8 @@ declare namespace ApplicationInsights {
4861
4926
  * without modifying the original string. Whitespace in this context is all the whitespace
4862
4927
  * characters (space, tab, no-break space, etc.) and all the line terminator characters
4863
4928
  * (LF, CR, etc.).
4929
+ *
4930
+ * @function
4864
4931
  * @group String
4865
4932
  * @param value - The string value to be trimmed.
4866
4933
  * @returns A new string representing str stripped of whitespace from both its beginning and end.