@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.
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.js +5768 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.cjs.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.js +5772 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.gbl.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.integrity.json +66 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.js +5774 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.0.0-beta.2304-07.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.js +5768 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.cjs.min.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.gbl.js +5772 -0
- package/browser/es5/applicationinsights-channel-js.3.gbl.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.gbl.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.gbl.min.js.map +1 -0
- package/{dist/applicationinsights-channel-js.js → browser/es5/applicationinsights-channel-js.3.js} +901 -850
- package/browser/es5/applicationinsights-channel-js.3.js.map +1 -0
- package/browser/es5/applicationinsights-channel-js.3.min.js +6 -0
- package/browser/es5/applicationinsights-channel-js.3.min.js.map +1 -0
- package/{browser → dist/es5}/applicationinsights-channel-js.js +900 -849
- package/dist/es5/applicationinsights-channel-js.js.map +1 -0
- package/dist/es5/applicationinsights-channel-js.min.js +6 -0
- package/dist/es5/applicationinsights-channel-js.min.js.map +1 -0
- package/{dist-esm → dist-es5}/EnvelopeCreator.js +2 -2
- package/{dist-esm → dist-es5}/EnvelopeCreator.js.map +1 -1
- package/{dist-esm → dist-es5}/Interfaces.js +1 -1
- package/{dist-esm → dist-es5}/InternalConstants.js +1 -1
- package/{dist-esm → dist-es5}/Offline.js +8 -7
- package/dist-es5/Offline.js.map +1 -0
- package/{dist-esm → dist-es5}/SendBuffer.js +1 -1
- package/{dist-esm → dist-es5}/Sender.js +6 -4
- package/dist-es5/Sender.js.map +1 -0
- package/{dist-esm → dist-es5}/Serializer.js +1 -1
- package/{dist-esm → dist-es5}/TelemetryProcessors/Sample.js +1 -1
- package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js +1 -1
- package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js +1 -1
- package/{dist-esm → dist-es5}/__DynamicConstants.js +2 -1
- package/dist-es5/__DynamicConstants.js.map +1 -0
- package/{dist-esm → dist-es5}/applicationinsights-channel-js.js +1 -1
- package/package.json +17 -16
- package/tsconfig.json +5 -4
- package/types/applicationinsights-channel-js.d.ts +284 -1
- package/{dist/applicationinsights-channel-js.d.ts → types/applicationinsights-channel-js.namespaced.d.ts} +1 -1
- package/browser/applicationinsights-channel-js.integrity.json +0 -26
- package/browser/applicationinsights-channel-js.js.map +0 -1
- package/browser/applicationinsights-channel-js.min.js +0 -6
- package/browser/applicationinsights-channel-js.min.js.map +0 -1
- package/dist/applicationinsights-channel-js.api.json +0 -1357
- package/dist/applicationinsights-channel-js.api.md +0 -60
- package/dist/applicationinsights-channel-js.js.map +0 -1
- package/dist/applicationinsights-channel-js.min.js +0 -6
- package/dist/applicationinsights-channel-js.min.js.map +0 -1
- package/dist/applicationinsights-channel-js.rollup.d.ts +0 -285
- package/dist-esm/Offline.js.map +0 -1
- package/dist-esm/Sender.js.map +0 -1
- package/dist-esm/__DynamicConstants.js.map +0 -1
- package/src/EnvelopeCreator.ts +0 -351
- package/src/Interfaces.ts +0 -114
- package/src/InternalConstants.ts +0 -11
- package/src/Offline.ts +0 -106
- package/src/SendBuffer.ts +0 -396
- package/src/Sender.ts +0 -1256
- package/src/Serializer.ts +0 -177
- package/src/TelemetryProcessors/Sample.ts +0 -49
- package/src/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.ts +0 -37
- package/src/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.ts +0 -35
- package/src/__DynamicConstants.ts +0 -64
- package/src/applicationinsights-channel-js.ts +0 -1
- package/types/EnvelopeCreator.d.ts +0 -12
- package/types/Interfaces.d.ts +0 -95
- package/types/InternalConstants.d.ts +0 -1
- package/types/Offline.d.ts +0 -10
- package/types/SendBuffer.d.ts +0 -73
- package/types/Sender.d.ts +0 -84
- package/types/Serializer.d.ts +0 -9
- package/types/TelemetryProcessors/Sample.d.ts +0 -12
- package/types/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.d.ts +0 -5
- package/types/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.d.ts +0 -5
- package/types/__DynamicConstants.d.ts +0 -52
- package/types/tsdoc-metadata.json +0 -11
- /package/{dist-esm → dist-es5}/Interfaces.js.map +0 -0
- /package/{dist-esm → dist-es5}/InternalConstants.js.map +0 -0
- /package/{dist-esm → dist-es5}/SendBuffer.js.map +0 -0
- /package/{dist-esm → dist-es5}/Serializer.js.map +0 -0
- /package/{dist-esm → dist-es5}/TelemetryProcessors/Sample.js.map +0 -0
- /package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/HashCodeScoreGenerator.js.map +0 -0
- /package/{dist-esm → dist-es5}/TelemetryProcessors/SamplingScoreGenerators/SamplingScoreGenerator.js.map +0 -0
- /package/{dist-esm → dist-es5}/applicationinsights-channel-js.js.map +0 -0
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ISample } from "@microsoft/applicationinsights-common";
|
|
2
|
-
import { IDiagnosticLogger, ITelemetryItem } from "@microsoft/applicationinsights-core-js";
|
|
3
|
-
export declare class Sample implements ISample {
|
|
4
|
-
sampleRate: number;
|
|
5
|
-
INT_MAX_VALUE: number;
|
|
6
|
-
private samplingScoreGenerator;
|
|
7
|
-
constructor(sampleRate: number, logger?: IDiagnosticLogger);
|
|
8
|
-
/**
|
|
9
|
-
* Determines if an envelope is sampled in (i.e. will be sent) or not (i.e. will be dropped).
|
|
10
|
-
*/
|
|
11
|
-
isSampledIn(envelope: ITelemetryItem): boolean;
|
|
12
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
export declare const _DYN_TAGS = "tags";
|
|
2
|
-
export declare const _DYN_DEVICE_TYPE = "deviceType";
|
|
3
|
-
export declare const _DYN_DATA = "data";
|
|
4
|
-
export declare const _DYN_NAME = "name";
|
|
5
|
-
export declare const _DYN_TRACE_ID = "traceID";
|
|
6
|
-
export declare const _DYN_LENGTH = "length";
|
|
7
|
-
export declare const _DYN_STRINGIFY = "stringify";
|
|
8
|
-
export declare const _DYN_MEASUREMENTS = "measurements";
|
|
9
|
-
export declare const _DYN_DATA_TYPE = "dataType";
|
|
10
|
-
export declare const _DYN_ENVELOPE_TYPE = "envelopeType";
|
|
11
|
-
export declare const _DYN_TO_STRING = "toString";
|
|
12
|
-
export declare const _DYN_ON_LINE = "onLine";
|
|
13
|
-
export declare const _DYN__GET = "_get";
|
|
14
|
-
export declare const _DYN_ENQUEUE = "enqueue";
|
|
15
|
-
export declare const _DYN_COUNT = "count";
|
|
16
|
-
export declare const _DYN_EVENTS_LIMIT_IN_MEM = "eventsLimitInMem";
|
|
17
|
-
export declare const _DYN_PUSH = "push";
|
|
18
|
-
export declare const _DYN_EMIT_LINE_DELIMITED_0 = "emitLineDelimitedJson";
|
|
19
|
-
export declare const _DYN_CLEAR = "clear";
|
|
20
|
-
export declare const _DYN_BATCH_PAYLOADS = "batchPayloads";
|
|
21
|
-
export declare const _DYN_CREATE_NEW = "createNew";
|
|
22
|
-
export declare const _DYN_MARK_AS_SENT = "markAsSent";
|
|
23
|
-
export declare const _DYN_CLEAR_SENT = "clearSent";
|
|
24
|
-
export declare const _DYN__BUFFER__KEY = "BUFFER_KEY";
|
|
25
|
-
export declare const _DYN__SENT__BUFFER__KEY = "SENT_BUFFER_KEY";
|
|
26
|
-
export declare const _DYN__MAX__BUFFER__SIZE = "MAX_BUFFER_SIZE";
|
|
27
|
-
export declare const _DYN_TRIGGER_SEND = "triggerSend";
|
|
28
|
-
export declare const _DYN_DIAG_LOG = "diagLog";
|
|
29
|
-
export declare const _DYN__SENDER = "_sender";
|
|
30
|
-
export declare const _DYN_CUSTOM_HEADERS = "customHeaders";
|
|
31
|
-
export declare const _DYN_MAX_BATCH_SIZE_IN_BY1 = "maxBatchSizeInBytes";
|
|
32
|
-
export declare const _DYN_ONUNLOAD_DISABLE_BEA2 = "onunloadDisableBeacon";
|
|
33
|
-
export declare const _DYN_IS_BEACON_API_DISABL3 = "isBeaconApiDisabled";
|
|
34
|
-
export declare const _DYN_ENABLE_SESSION_STORA4 = "enableSessionStorageBuffer";
|
|
35
|
-
export declare const _DYN__BUFFER = "_buffer";
|
|
36
|
-
export declare const _DYN_INSTRUMENTATION_KEY = "instrumentationKey";
|
|
37
|
-
export declare const _DYN_DISABLE_XHR = "disableXhr";
|
|
38
|
-
export declare const _DYN_ONUNLOAD_DISABLE_FET5 = "onunloadDisableFetch";
|
|
39
|
-
export declare const _DYN_CONVERT_UNDEFINED = "convertUndefined";
|
|
40
|
-
export declare const _DYN_MAX_BATCH_INTERVAL = "maxBatchInterval";
|
|
41
|
-
export declare const _DYN_BASE_TYPE = "baseType";
|
|
42
|
-
export declare const _DYN_SAMPLE_RATE = "sampleRate";
|
|
43
|
-
export declare const _DYN__XHR_READY_STATE_CHA6 = "_xhrReadyStateChange";
|
|
44
|
-
export declare const _DYN__ON_ERROR = "_onError";
|
|
45
|
-
export declare const _DYN__ON_PARTIAL_SUCCESS = "_onPartialSuccess";
|
|
46
|
-
export declare const _DYN__ON_SUCCESS = "_onSuccess";
|
|
47
|
-
export declare const _DYN_ITEMS_ACCEPTED = "itemsAccepted";
|
|
48
|
-
export declare const _DYN_ITEMS_RECEIVED = "itemsReceived";
|
|
49
|
-
export declare const _DYN_SET_REQUEST_HEADER = "setRequestHeader";
|
|
50
|
-
export declare const _DYN_EVENTS_SEND_REQUEST = "eventsSendRequest";
|
|
51
|
-
export declare const _DYN_GET_SAMPLING_SCORE = "getSamplingScore";
|
|
52
|
-
export declare const _DYN_GET_HASH_CODE_SCORE = "getHashCodeScore";
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// This file is read by tools that parse documentation comments conforming to the TSDoc standard.
|
|
2
|
-
// It should be published with your NPM package. It should not be tracked by Git.
|
|
3
|
-
{
|
|
4
|
-
"tsdocVersion": "0.12",
|
|
5
|
-
"toolPackages": [
|
|
6
|
-
{
|
|
7
|
-
"packageName": "@microsoft/api-extractor",
|
|
8
|
-
"packageVersion": "7.34.4"
|
|
9
|
-
}
|
|
10
|
-
]
|
|
11
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|