@microsoft/1ds-post-js 4.3.5-nightly3.2411-13 → 4.3.5-nightly3.2412-01

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 (48) hide show
  1. package/bundle/es5/{ms.post-4.3.5-nightly3.2411-13.gbl.js → ms.post-4.3.5-nightly3.2412-01.gbl.js} +7 -7
  2. package/bundle/es5/ms.post-4.3.5-nightly3.2412-01.gbl.js.map +1 -0
  3. package/bundle/es5/{ms.post-4.3.5-nightly3.2411-13.gbl.min.js → ms.post-4.3.5-nightly3.2412-01.gbl.min.js} +3 -3
  4. package/bundle/es5/ms.post-4.3.5-nightly3.2412-01.gbl.min.js.map +1 -0
  5. package/bundle/es5/ms.post-4.3.5-nightly3.2412-01.integrity.json +46 -0
  6. package/bundle/es5/{ms.post-4.3.5-nightly3.2411-13.js → ms.post-4.3.5-nightly3.2412-01.js} +7 -7
  7. package/bundle/es5/ms.post-4.3.5-nightly3.2412-01.js.map +1 -0
  8. package/bundle/es5/{ms.post-4.3.5-nightly3.2411-13.min.js → ms.post-4.3.5-nightly3.2412-01.min.js} +3 -3
  9. package/bundle/es5/ms.post-4.3.5-nightly3.2412-01.min.js.map +1 -0
  10. package/bundle/es5/ms.post.gbl.js +6 -6
  11. package/bundle/es5/ms.post.gbl.js.map +1 -1
  12. package/bundle/es5/ms.post.gbl.min.js +2 -2
  13. package/bundle/es5/ms.post.gbl.min.js.map +1 -1
  14. package/bundle/es5/ms.post.integrity.json +17 -17
  15. package/bundle/es5/ms.post.js +6 -6
  16. package/bundle/es5/ms.post.js.map +1 -1
  17. package/bundle/es5/ms.post.min.js +2 -2
  18. package/bundle/es5/ms.post.min.js.map +1 -1
  19. package/dist/es5/ms.post.js +4 -4
  20. package/dist/es5/ms.post.js.map +1 -1
  21. package/dist/es5/ms.post.min.js +2 -2
  22. package/dist/es5/ms.post.min.js.map +1 -1
  23. package/dist-es5/BatchNotificationActions.js +1 -1
  24. package/dist-es5/ClockSkewManager.js +1 -1
  25. package/dist-es5/DataModels.js +1 -1
  26. package/dist-es5/EventBatch.js +2 -2
  27. package/dist-es5/EventBatch.js.map +1 -1
  28. package/dist-es5/HttpManager.js +1 -1
  29. package/dist-es5/HttpManager.js.map +1 -1
  30. package/dist-es5/Index.js +1 -1
  31. package/dist-es5/InternalConstants.js +1 -1
  32. package/dist-es5/KillSwitch.js +1 -1
  33. package/dist-es5/PostChannel.js +6 -6
  34. package/dist-es5/PostChannel.js.map +1 -1
  35. package/dist-es5/RetryPolicy.js +1 -1
  36. package/dist-es5/Serializer.js +1 -1
  37. package/dist-es5/Serializer.js.map +1 -1
  38. package/dist-es5/TimeoutOverrideWrapper.js +1 -1
  39. package/dist-es5/__DynamicConstants.js +1 -1
  40. package/dist-es5/typings/XDomainRequest.js +1 -1
  41. package/package.json +2 -2
  42. package/types/1ds-post-js.d.ts +3 -3
  43. package/types/1ds-post-js.namespaced.d.ts +19 -25
  44. package/bundle/es5/ms.post-4.3.5-nightly3.2411-13.gbl.js.map +0 -1
  45. package/bundle/es5/ms.post-4.3.5-nightly3.2411-13.gbl.min.js.map +0 -1
  46. package/bundle/es5/ms.post-4.3.5-nightly3.2411-13.integrity.json +0 -46
  47. package/bundle/es5/ms.post-4.3.5-nightly3.2411-13.js.map +0 -1
  48. package/bundle/es5/ms.post-4.3.5-nightly3.2411-13.min.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  /*
2
- * 1DS JS SDK Post Channel, 4.3.5-nightly3.2411-13
2
+ * 1DS JS SDK Post Channel, 4.3.5-nightly3.2412-01
3
3
  * Copyright (c) Microsoft and contributors. All rights reserved.
4
4
  *
5
5
  * Microsoft Application Insights Team
@@ -370,7 +370,6 @@ declare namespace oneDS {
370
370
  unload(isAsync?: boolean, unloadComplete?: (unloadState: ITelemetryUnloadState) => void, cbTimeout?: number): void | IPromise<ITelemetryUnloadState>;
371
371
  /**
372
372
  * Find and return the (first) plugin with the specified identifier if present
373
- * @param pluginIdentifier
374
373
  */
375
374
  getPlugin<T extends IPlugin = IPlugin>(pluginIdentifier: string): ILoadedPlugin<T>;
376
375
  /**
@@ -425,7 +424,6 @@ declare namespace oneDS {
425
424
  /**
426
425
  * Watches and tracks changes for accesses to the current config, and if the accessed config changes the
427
426
  * handler will be recalled.
428
- * @param handler
429
427
  * @returns A watcher handler instance that can be used to remove itself when being unloaded
430
428
  */
431
429
  onCfgChange(handler: WatcherFunction<CfgType>): IUnloadHook;
@@ -862,8 +860,8 @@ declare namespace oneDS {
862
860
  * be logged to console if their severity meets the configured loggingConsoleLevel
863
861
  *
864
862
  * 0: ALL console logging off
865
- * 1: logs to console: severity >= CRITICAL
866
- * 2: logs to console: severity >= WARNING
863
+ * 1: logs to console: severity \>= CRITICAL
864
+ * 2: logs to console: severity \>= WARNING
867
865
  */
868
866
  loggingLevelConsole?: number;
869
867
  /**
@@ -872,8 +870,8 @@ declare namespace oneDS {
872
870
  * the configured instrumentation key.
873
871
  *
874
872
  * 0: ALL iKey logging off
875
- * 1: logs to iKey: severity >= CRITICAL
876
- * 2: logs to iKey: severity >= WARNING
873
+ * 1: logs to iKey: severity \>= CRITICAL
874
+ * 2: logs to iKey: severity \>= WARNING
877
875
  */
878
876
  loggingLevelTelemetry?: number;
879
877
  /**
@@ -900,7 +898,6 @@ declare namespace oneDS {
900
898
  */
901
899
  readonly channels?: IChannelControls[][];
902
900
  /**
903
- * @type {boolean}
904
901
  * Flag that disables the Instrumentation Key validation.
905
902
  */
906
903
  disableInstrumentationKeyValidation?: boolean;
@@ -931,14 +928,12 @@ declare namespace oneDS {
931
928
  /**
932
929
  * @description Custom cookie domain. This is helpful if you want to share Application Insights cookies across subdomains. It
933
930
  * can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
934
- * @type {string}
935
931
  * @defaultValue ""
936
932
  */
937
933
  cookieDomain?: string;
938
934
  /**
939
935
  * @description Custom cookie path. This is helpful if you want to share Application Insights cookies behind an application
940
936
  * gateway. It can be set here or as part of the cookieCfg.domain, the cookieCfg takes precedence if both are specified.
941
- * @type {string}
942
937
  * @defaultValue ""
943
938
  */
944
939
  cookiePath?: string;
@@ -1050,7 +1045,7 @@ declare namespace oneDS {
1050
1045
  /**
1051
1046
  * Optional Callback hook to allow the cookie manager to update it's configuration, not generally implemented now that
1052
1047
  * dynamic configuration is supported
1053
- * @param updateState
1048
+ * @param updateState - The new configuration state to apply to the cookie manager
1054
1049
  */
1055
1050
  update?(updateState: ITelemetryUpdateState): void;
1056
1051
  /**
@@ -1164,7 +1159,7 @@ declare namespace oneDS {
1164
1159
  logInternalMessage?(severity: LoggingSeverity, message: _InternalLogMessage): void;
1165
1160
  /**
1166
1161
  * Optional Callback hook to allow the diagnostic logger to update it's configuration
1167
- * @param updateState
1162
+ * @param updateState - The new configuration state to apply to the diagnostic logger
1168
1163
  */
1169
1164
  update?(updateState: ITelemetryUpdateState): void;
1170
1165
  /**
@@ -1185,7 +1180,7 @@ declare namespace oneDS {
1185
1180
  getName(): string;
1186
1181
  /**
1187
1182
  * Sets the current name of the page
1188
- * @param pageName
1183
+ * @param pageName - The name of the page
1189
1184
  */
1190
1185
  setName(pageName: string): void;
1191
1186
  /**
@@ -1217,7 +1212,7 @@ declare namespace oneDS {
1217
1212
  getTraceFlags(): number | undefined;
1218
1213
  /**
1219
1214
  * https://www.w3.org/TR/trace-context/#trace-flags
1220
- * @param newValue
1215
+ * @param newValue - An integer representation of the W3C TraceContext trace-flags.
1221
1216
  */
1222
1217
  setTraceFlags(newValue?: number): void;
1223
1218
  }
@@ -1279,10 +1274,10 @@ declare namespace oneDS {
1279
1274
  *
1280
1275
  * This callback is called before telemetry data is sent, allowing for dynamic customization of the logs.
1281
1276
  *
1282
- * @returns {Object} An object with the following property:
1277
+ * @returns An object with the following property:
1283
1278
  * - logs: An array of strings, where each string represents a log entry to be included in the telemetry.
1284
1279
  *
1285
- * @property {number} maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1280
+ * @property maxLogs - Specifies the maximum number of logs that can be generated. If not explicitly set, it defaults to 50.
1286
1281
  */
1287
1282
  expLog?: () => {
1288
1283
  logs: string[];
@@ -1430,32 +1425,31 @@ declare namespace oneDS {
1430
1425
  getUrl: () => string;
1431
1426
  /**
1432
1427
  * Create payload data
1433
- * @param data data
1434
1428
  * @returns IPayloadData
1435
1429
  */
1436
1430
  createPayload: (data: string | Uint8Array) => IPayloadData;
1437
1431
  /**
1438
1432
  * Serialize an item into a string
1439
- * @param input telemetry item
1440
- * @param convertUndefined convert undefined to a custom-defined object
1433
+ * @param input - telemetry item
1434
+ * @param convertUndefined - convert undefined to a custom-defined object
1441
1435
  * @returns Serialized string
1442
1436
  */
1443
1437
  serialize?: (input: ITelemetryItem, convertUndefined?: any) => string;
1444
1438
  /**
1445
1439
  * Batch an array of strings into one string
1446
- * @param arr array of strings
1440
+ * @param arr - array of strings
1447
1441
  * @returns a string represent all items in the given array
1448
1442
  */
1449
1443
  batch?: (arr: string[]) => string;
1450
1444
  /**
1451
1445
  * If the item should be processed by offline channel
1452
- * @param evt telemetry item
1446
+ * @param evt - telemetry item
1453
1447
  * @returns should process or not
1454
1448
  */
1455
1449
  shouldProcess?: (evt: ITelemetryItem) => boolean;
1456
1450
  /**
1457
1451
  * Create 1ds payload data
1458
- * @param evts ITelemetryItems
1452
+ * @param evts - ITelemetryItems
1459
1453
  * @returns IPayloadData
1460
1454
  */
1461
1455
  createOneDSPayload?: (evts: ITelemetryItem[]) => IPayloadData;
@@ -1515,7 +1509,7 @@ declare namespace oneDS {
1515
1509
  /**
1516
1510
  * [Optional] This event is sent if you have enabled perf events, they are primarily used to track internal performance testing and debugging
1517
1511
  * the event can be displayed via the debug plugin extension.
1518
- * @param perfEvent
1512
+ * @param perfEvent - The performance event object
1519
1513
  */
1520
1514
  perfEvent?: (perfEvent: IPerfEvent) => void;
1521
1515
  /**
@@ -2502,9 +2496,9 @@ declare namespace oneDS {
2502
2496
  /**
2503
2497
  * Sets the event queue limits at runtime (after initialization), if the number of queued events is greater than the
2504
2498
  * eventLimit or autoFlushLimit then a flush() operation will be scheduled.
2505
- * @param eventLimit The number of events that can be kept in memory before the SDK starts to drop events. If the value passed is less than or
2499
+ * @param eventLimit - The number of events that can be kept in memory before the SDK starts to drop events. If the value passed is less than or
2506
2500
  * equal to zero the value will be reset to the default (10,000).
2507
- * @param autoFlushLimit When defined, once this number of events has been queued the system perform a flush() to send the queued events
2501
+ * @param autoFlushLimit - When defined, once this number of events has been queued the system perform a flush() to send the queued events
2508
2502
  * without waiting for the normal schedule timers. Passing undefined, null or a value less than or equal to zero will disable the auto flush.
2509
2503
  */
2510
2504
  setEventQueueLimits(eventLimit: number, autoFlushLimit?: number): void;