@microsoft/applicationinsights-channel-js 2.7.2-nightly.2111-09 → 2.7.2-nightly.2111-10
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/browser/applicationinsights-channel-js.integrity.json +9 -9
- package/browser/applicationinsights-channel-js.js +5 -5
- package/browser/applicationinsights-channel-js.js.map +1 -1
- package/browser/applicationinsights-channel-js.min.js +2 -2
- package/browser/applicationinsights-channel-js.min.js.map +1 -1
- package/dist/applicationinsights-channel-js.d.ts +1 -1
- package/dist/applicationinsights-channel-js.js +5 -5
- package/dist/applicationinsights-channel-js.js.map +1 -1
- package/dist/applicationinsights-channel-js.min.js +2 -2
- package/dist/applicationinsights-channel-js.min.js.map +1 -1
- package/dist/applicationinsights-channel-js.rollup.d.ts +1 -1
- package/dist-esm/EnvelopeCreator.js +3 -3
- package/dist-esm/EnvelopeCreator.js.map +1 -1
- package/dist-esm/Interfaces.js +1 -1
- package/dist-esm/Offline.js +1 -1
- package/dist-esm/SendBuffer.js +1 -1
- package/dist-esm/Sender.js +2 -2
- package/dist-esm/Sender.js.map +1 -1
- package/dist-esm/Serializer.js +1 -1
- package/dist-esm/TelemetryProcessors/Sample.js +1 -1
- package/dist-esm/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
- package/dist-esm/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/dist-esm/applicationinsights-channel-js.js +1 -1
- package/package.json +3 -3
- package/src/EnvelopeCreator.ts +1 -1
- package/Tests/Unit/src/Sample.tests.ts +0 -154
- package/Tests/Unit/src/Sender.tests.ts +0 -1578
- package/Tests/Unit/src/aichannel.tests.ts +0 -7
- package/Tests/UnitTests.html +0 -53
- package/Tests/tsconfig.json +0 -17
- package/api-extractor.json +0 -361
- package/applicationinsights-channel-js.build.error.log +0 -20
- package/applicationinsights-channel-js.build.log +0 -265
- package/microsoft-applicationinsights-channel-js-2.7.2-nightly.2111-09.tgz +0 -0
- package/rollup.config.js +0 -139
- package/temp/applicationinsights-channel-js.api.md +0 -62
- package/tslint.json +0 -8
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK Channel, 2.7.2-nightly.2111-
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Channel, 2.7.2-nightly.2111-10
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* Application Insights JavaScript SDK - Channel, 2.7.2-nightly.2111-
|
|
2
|
+
* Application Insights JavaScript SDK - Channel, 2.7.2-nightly.2111-10
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*/
|
|
5
5
|
(function (global, factory) {
|
|
@@ -2328,7 +2328,7 @@
|
|
|
2328
2328
|
_this.data = dataSanitizeUrl(logger, commandName) || dependencyFields.data;
|
|
2329
2329
|
_this.target = dataSanitizeString(logger, dependencyFields.target);
|
|
2330
2330
|
if (correlationContext) {
|
|
2331
|
-
_this.target = _this.target
|
|
2331
|
+
_this.target = "".concat(_this.target, " | ").concat(correlationContext);
|
|
2332
2332
|
}
|
|
2333
2333
|
_this.name = dataSanitizeString(logger, dependencyFields.name);
|
|
2334
2334
|
_this.properties = dataSanitizeProperties(logger, properties);
|
|
@@ -2752,7 +2752,7 @@
|
|
|
2752
2752
|
});
|
|
2753
2753
|
var theTags = __assignFn(__assignFn({}, envTags), tgs);
|
|
2754
2754
|
if (!theTags[CtxTagKeys.internalSdkVersion]) {
|
|
2755
|
-
theTags[CtxTagKeys.internalSdkVersion] = "javascript:"
|
|
2755
|
+
theTags[CtxTagKeys.internalSdkVersion] = "javascript:".concat(EnvelopeCreator.Version);
|
|
2756
2756
|
}
|
|
2757
2757
|
env.tags = optimizeObject(theTags);
|
|
2758
2758
|
}
|
|
@@ -2797,7 +2797,7 @@
|
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
2799
|
var EnvelopeCreator = {
|
|
2800
|
-
Version: "2.7.2-nightly.2111-
|
|
2800
|
+
Version: "2.7.2-nightly.2111-10"
|
|
2801
2801
|
};
|
|
2802
2802
|
function DependencyEnvelopeCreator(logger, telemetryItem, customUndefinedValue) {
|
|
2803
2803
|
EnvelopeCreatorInit(logger, telemetryItem);
|
|
@@ -3581,7 +3581,7 @@
|
|
|
3581
3581
|
if (!_self._senderConfig.isRetryDisabled()) {
|
|
3582
3582
|
var offlineBackOffMultiplier = 10;
|
|
3583
3583
|
_resendPayload(payload, offlineBackOffMultiplier);
|
|
3584
|
-
_self.diagLog().throwInternal(LoggingSeverity.WARNING, _InternalMessageId.TransmissionFailed, ". Offline - Response Code: "
|
|
3584
|
+
_self.diagLog().throwInternal(LoggingSeverity.WARNING, _InternalMessageId.TransmissionFailed, ". Offline - Response Code: ".concat(status, ". Offline status: ").concat(Offline.isOffline(), ". Will retry to send ").concat(payload.length, " items."));
|
|
3585
3585
|
}
|
|
3586
3586
|
}
|
|
3587
3587
|
else {
|