Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -270,4 +270,8 @@ ai.tests.d.ts
/index.html

# Generated Constant File
**/__DynamicConstants.ts
**/__DynamicConstants.ts

# Generated Docs
docs/webSdk/applicationinsights*/**
docs/webSdk/1ds*/**
4 changes: 2 additions & 2 deletions AISKU/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
"@microsoft/applicationinsights-core-js": "3.3.4",
"@microsoft/applicationinsights-dependencies-js": "3.3.4",
"@microsoft/applicationinsights-properties-js": "3.3.4",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
},
"license": "MIT"
}
2 changes: 1 addition & 1 deletion AISKU/src/AISku.ts
Original file line number Diff line number Diff line change
Expand Up @@ -758,7 +758,7 @@ export class AppInsightsSku implements IApplicationInsights {

/**
* Log a dependency call (e.g. ajax)
* @param dependencyData dependency data object
* @param dependencyData - dependency data object
*/
public trackDependencyData(dependency: IDependencyTelemetry): void {
// @DynamicProtoStub -- DO NOT add any code as this will be removed during packaging
Expand Down
4 changes: 2 additions & 2 deletions AISKULight/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@
"@microsoft/applicationinsights-common": "3.3.4",
"@microsoft/applicationinsights-channel-js": "3.3.4",
"@microsoft/applicationinsights-core-js": "3.3.4",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
},
"license": "MIT"
}
1 change: 0 additions & 1 deletion AISKULight/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ function _chkDiagLevel(value: number) {

/**
* @export
* @class ApplicationInsights
*/
export class ApplicationInsights {
public readonly config: IConfiguration & IConfig;
Expand Down
4 changes: 2 additions & 2 deletions channels/1ds-post-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/dynamicproto-js": "^2.0.3",
"@microsoft/1ds-core-js": "4.3.4",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
},
"devDependencies": {
"@microsoft/ai-test-framework": "0.0.1",
Expand Down
6 changes: 3 additions & 3 deletions channels/1ds-post-js/src/Serializer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ export class Serializer {

/**
* Append the batched events into the payload
* @param payload The serialized payload detail object
* @param theBatch The batched events to append to the payload
* @param maxEventsPerBatch The maximum number of events to allow in the payload
* @param payload - The serialized payload detail object
* @param theBatch - The batched events to append to the payload
* @param maxEventsPerBatch - The maximum number of events to allow in the payload
* @returns True if the events from the new batch where attempted to be added to the payload otherwise false
*/
public appendPayload(payload: ISerializedPayload, theBatch: EventBatch, maxEventsPerBatch: number): boolean {
Expand Down
4 changes: 2 additions & 2 deletions channels/applicationinsights-channel-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-core-js": "3.3.4",
"@microsoft/applicationinsights-common": "3.3.4",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
},
"license": "MIT"
}
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export interface ISenderConfig {
isBeaconApiDisabled: boolean;

/**
* Don't use XMLHttpRequest or XDomainRequest (for IE < 9) by default instead attempt to use fetch() or sendBeacon.
* Don't use XMLHttpRequest or XDomainRequest (for IE \< 9) by default instead attempt to use fetch() or sendBeacon.
* If no other transport is available it will still use XMLHttpRequest
*/
disableXhr: boolean;
Expand Down
6 changes: 3 additions & 3 deletions channels/applicationinsights-channel-js/src/Sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -521,8 +521,8 @@ export class Sender extends BaseTelemetryPlugin implements IChannelControls {

/**
* Immediately send buffered data
* @param async - {boolean} - Indicates if the events should be sent asynchronously
* @param forcedSender - {SenderFunction} - Indicates the forcedSender, undefined if not passed
* @param async - Indicates if the events should be sent asynchronously
* @param forcedSender - Indicates the forcedSender, undefined if not passed
*/
_self.triggerSend = (async = true, forcedSender?: SenderFunction, sendReason?: SendRequestReason) => {
let result: void | IPromise<boolean>;
Expand Down Expand Up @@ -1399,7 +1399,7 @@ export class Sender extends BaseTelemetryPlugin implements IChannelControls {
* send is complete. The actual implementation of the `IPromise` will be a native Promise (if supported) or the default
* as supplied by [ts-async library](https://github.com/nevware21/ts-async)
* @param async - Indicates if the events should be sent asynchronously
* @param forcedSender - {SenderFunction} - Indicates the forcedSender, undefined if not passed
* @param forcedSender - Indicates the forcedSender, undefined if not passed
* @returns - Nothing or optionally, if occurring asynchronously a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
* which will be resolved (or reject) once the send is complete, the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
* should only be returned when async is true.
Expand Down
4 changes: 2 additions & 2 deletions channels/offline-channel-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-core-js": "3.3.4",
"@microsoft/applicationinsights-common": "3.3.4",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
},
"peerDependencies": {
"tslib": ">= 1.0.0"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@ export class WebStorageProvider implements IOfflineProvider {

/**
* Initializes the provider using the config
* @param providerContext The provider context that should be used to initialize the provider
* @param providerContext - The provider context that should be used to initialize the provider
* @returns True if the provider is initialized and available for use otherwise false
*/
public initialize(providerContext: ILocalStorageProviderContext): boolean {
Expand Down
2 changes: 1 addition & 1 deletion channels/offline-channel-js/src/Sender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ export class Sender {
* send is complete. The actual implementation of the `IPromise` will be a native Promise (if supported) or the default
* as supplied by [ts-async library](https://github.com/nevware21/ts-async)
* @param async - Indicates if the events should be sent asynchronously
* @param forcedSender - {SenderFunction} - Indicates the forcedSender, undefined if not passed
* @param forcedSender - Indicates the forcedSender, undefined if not passed
* @returns - Nothing or optionally, if occurring asynchronously a [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
* which will be resolved (or reject) once the send is complete, the [IPromise](https://nevware21.github.io/ts-async/typedoc/interfaces/IPromise.html)
* should only be returned when async is true.
Expand Down
4 changes: 2 additions & 2 deletions channels/tee-channel-js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
"@microsoft/applicationinsights-shims": "3.0.1",
"@microsoft/applicationinsights-core-js": "3.3.4",
"@microsoft/applicationinsights-common": "3.3.4",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
},
"license": "MIT"
}
4 changes: 2 additions & 2 deletions common/Tests/Framework/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
},
"dependencies": {
"@microsoft/dynamicproto-js": "^2.0.3",
"@nevware21/ts-utils": ">= 0.11.3 < 2.x",
"@nevware21/ts-async": ">= 0.5.2 < 2.x"
"@nevware21/ts-utils": ">= 0.11.6 < 2.x",
"@nevware21/ts-async": ">= 0.5.4 < 2.x"
}
}
Loading
Loading