@microsoft/1ds-post-js 4.3.7-nightly3.2504-18 → 4.3.7-nightly3.2505-02
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/README.md +1 -0
- package/bundle/es5/{ms.post-4.3.7-nightly3.2504-18.gbl.js → ms.post-4.3.7-nightly3.2505-02.gbl.js} +118 -22
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.gbl.js.map +1 -0
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.gbl.min.js +7 -0
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.gbl.min.js.map +1 -0
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.integrity.json +46 -0
- package/bundle/es5/{ms.post-4.3.7-nightly3.2504-18.js → ms.post-4.3.7-nightly3.2505-02.js} +118 -22
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.js.map +1 -0
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.min.js +7 -0
- package/bundle/es5/ms.post-4.3.7-nightly3.2505-02.min.js.map +1 -0
- package/bundle/es5/ms.post.gbl.js +117 -21
- package/bundle/es5/ms.post.gbl.js.map +1 -1
- package/bundle/es5/ms.post.gbl.min.js +2 -2
- package/bundle/es5/ms.post.gbl.min.js.map +1 -1
- package/bundle/es5/ms.post.integrity.json +17 -17
- package/bundle/es5/ms.post.js +117 -21
- package/bundle/es5/ms.post.js.map +1 -1
- package/bundle/es5/ms.post.min.js +2 -2
- package/bundle/es5/ms.post.min.js.map +1 -1
- package/dist/es5/ms.post.js +115 -19
- package/dist/es5/ms.post.js.map +1 -1
- package/dist/es5/ms.post.min.js +2 -2
- package/dist/es5/ms.post.min.js.map +1 -1
- package/dist-es5/BatchNotificationActions.js +1 -1
- package/dist-es5/ClockSkewManager.js +1 -1
- package/dist-es5/DataModels.js +1 -1
- package/dist-es5/EventBatch.js +1 -1
- package/dist-es5/HttpManager.js +25 -14
- package/dist-es5/HttpManager.js.map +1 -1
- package/dist-es5/Index.js +1 -1
- package/dist-es5/InternalConstants.js +1 -1
- package/dist-es5/KillSwitch.js +1 -1
- package/dist-es5/PostChannel.js +4 -3
- package/dist-es5/PostChannel.js.map +1 -1
- package/dist-es5/RetryPolicy.js +1 -1
- package/dist-es5/Serializer.js +26 -4
- package/dist-es5/Serializer.js.map +1 -1
- package/dist-es5/TimeoutOverrideWrapper.js +1 -1
- package/dist-es5/__DynamicConstants.js +1 -1
- package/dist-es5/typings/XDomainRequest.js +1 -1
- package/package.json +2 -2
- package/types/1ds-post-js.d.ts +21 -1
- package/types/1ds-post-js.namespaced.d.ts +21 -1
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.gbl.js.map +0 -1
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.gbl.min.js +0 -7
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.gbl.min.js.map +0 -1
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.integrity.json +0 -46
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.js.map +0 -1
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.min.js +0 -7
- package/bundle/es5/ms.post-4.3.7-nightly3.2504-18.min.js.map +0 -1
package/types/1ds-post-js.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* 1DS JS SDK Post Channel, 4.3.7-nightly3.
|
|
2
|
+
* 1DS JS SDK Post Channel, 4.3.7-nightly3.2505-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -63,6 +63,13 @@ export declare interface IChannelConfiguration {
|
|
|
63
63
|
* default transmission profile timers, autoFlushEventsLimit and eventsLimitInMem config values.
|
|
64
64
|
*/
|
|
65
65
|
disableAutoBatchFlushLimit?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* [Optional] Sets the record and request size limit in bytes for serializer.
|
|
68
|
+
* Default for record size (sync) is 65000, record size (async) is 2000000.
|
|
69
|
+
* Default for request size (sync) is 65000, request size (async) is 3145728.
|
|
70
|
+
* @since 3.3.7
|
|
71
|
+
*/
|
|
72
|
+
requestLimit?: IRequestSizeLimit;
|
|
66
73
|
/**
|
|
67
74
|
* [Optional] The HTTP override that should be used to send requests, as an IXHROverride object.
|
|
68
75
|
* By default during the unload of a page or if the event specifies that it wants to use sendBeacon() or sync fetch (with keep-alive),
|
|
@@ -266,6 +273,19 @@ export declare interface IPostChannel extends ITelemetryPlugin {
|
|
|
266
273
|
addResponseHandler(responseHandler: (responseText: string) => void): IUnloadHook;
|
|
267
274
|
}
|
|
268
275
|
|
|
276
|
+
export declare interface IRequestSizeLimit {
|
|
277
|
+
/**
|
|
278
|
+
* Request size limit in bytes for serializer.
|
|
279
|
+
* The value should be two numbers array, with format [async request size limit, sync request size limit]
|
|
280
|
+
*/
|
|
281
|
+
requestLimit?: number[];
|
|
282
|
+
/**
|
|
283
|
+
* Record size limit in bytes for serializer.
|
|
284
|
+
* The value should be two numbers array, with format [async record size limit, sync record size limit]
|
|
285
|
+
*/
|
|
286
|
+
recordLimit?: number[];
|
|
287
|
+
}
|
|
288
|
+
|
|
269
289
|
export { IXHROverride }
|
|
270
290
|
|
|
271
291
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* 1DS JS SDK Post Channel, 4.3.7-nightly3.
|
|
2
|
+
* 1DS JS SDK Post Channel, 4.3.7-nightly3.2505-02
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -536,6 +536,13 @@ declare namespace oneDS {
|
|
|
536
536
|
* default transmission profile timers, autoFlushEventsLimit and eventsLimitInMem config values.
|
|
537
537
|
*/
|
|
538
538
|
disableAutoBatchFlushLimit?: boolean;
|
|
539
|
+
/**
|
|
540
|
+
* [Optional] Sets the record and request size limit in bytes for serializer.
|
|
541
|
+
* Default for record size (sync) is 65000, record size (async) is 2000000.
|
|
542
|
+
* Default for request size (sync) is 65000, request size (async) is 3145728.
|
|
543
|
+
* @since 3.3.7
|
|
544
|
+
*/
|
|
545
|
+
requestLimit?: IRequestSizeLimit;
|
|
539
546
|
/**
|
|
540
547
|
* [Optional] The HTTP override that should be used to send requests, as an IXHROverride object.
|
|
541
548
|
* By default during the unload of a page or if the event specifies that it wants to use sendBeacon() or sync fetch (with keep-alive),
|
|
@@ -2084,6 +2091,19 @@ declare namespace oneDS {
|
|
|
2084
2091
|
getProperty: (key: string) => string;
|
|
2085
2092
|
}
|
|
2086
2093
|
|
|
2094
|
+
interface IRequestSizeLimit {
|
|
2095
|
+
/**
|
|
2096
|
+
* Request size limit in bytes for serializer.
|
|
2097
|
+
* The value should be two numbers array, with format [async request size limit, sync request size limit]
|
|
2098
|
+
*/
|
|
2099
|
+
requestLimit?: number[];
|
|
2100
|
+
/**
|
|
2101
|
+
* Record size limit in bytes for serializer.
|
|
2102
|
+
* The value should be two numbers array, with format [async record size limit, sync record size limit]
|
|
2103
|
+
*/
|
|
2104
|
+
recordLimit?: number[];
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2087
2107
|
interface IStatsBeat {
|
|
2088
2108
|
initialize(core: IAppInsightsCore, statsBeatConfig: IStatsBeatConfig): void;
|
|
2089
2109
|
isInitialized(): boolean;
|