@microsoft/applicationinsights-offlinechannel-js 0.3.10-nightly3.2508-05 → 0.3.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/dist/es5/applicationinsights-offlinechannel-js.js +40 -17
- package/dist/es5/applicationinsights-offlinechannel-js.js.map +1 -1
- package/dist/es5/applicationinsights-offlinechannel-js.min.js +2 -2
- package/dist/es5/applicationinsights-offlinechannel-js.min.js.map +1 -1
- package/dist-es5/Helpers/Utils.js +1 -1
- package/dist-es5/InMemoryBatch.js +1 -1
- package/dist-es5/Interfaces/IInMemoryBatch.js +1 -1
- package/dist-es5/Interfaces/IOfflineBatch.js +1 -1
- package/dist-es5/Interfaces/IOfflineIndexDb.js +1 -1
- package/dist-es5/Interfaces/IOfflineProvider.js +1 -1
- package/dist-es5/Interfaces/ISender.js +1 -1
- package/dist-es5/OfflineBatchHandler.js +28 -3
- package/dist-es5/OfflineBatchHandler.js.map +1 -1
- package/dist-es5/OfflineChannel.js +5 -5
- package/dist-es5/OfflineChannel.js.map +1 -1
- package/dist-es5/PayloadHelper.js +1 -1
- package/dist-es5/Providers/IndexDbHelper.js +1 -1
- package/dist-es5/Providers/IndexDbProvider.js +5 -5
- package/dist-es5/Providers/IndexDbProvider.js.map +1 -1
- package/dist-es5/Providers/WebStorageProvider.js +5 -5
- package/dist-es5/Providers/WebStorageProvider.js.map +1 -1
- package/dist-es5/Sender.js +1 -1
- package/dist-es5/__DynamicConstants.js +8 -8
- package/dist-es5/__DynamicConstants.js.map +1 -1
- package/dist-es5/applicationinsights-offlinechannel-js.js +1 -1
- package/package.json +66 -69
- package/types/applicationinsights-offlinechannel-js.d.ts +16 -1
- package/types/applicationinsights-offlinechannel-js.namespaced.d.ts +16 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*
|
|
2
|
-
* Microsoft Application Insights JavaScript SDK Offline Channel, 0.3.10
|
|
2
|
+
* Microsoft Application Insights JavaScript SDK Offline Channel, 0.3.10
|
|
3
3
|
* Copyright (c) Microsoft and contributors. All rights reserved.
|
|
4
4
|
*
|
|
5
5
|
* Microsoft Application Insights Team
|
|
@@ -2029,6 +2029,21 @@ declare namespace ApplicationInsights {
|
|
|
2029
2029
|
* Default: false
|
|
2030
2030
|
*/
|
|
2031
2031
|
splitEvts?: boolean;
|
|
2032
|
+
/**
|
|
2033
|
+
* [Optional] Custom provider that can be used instead of the provided LocalStorage, SessionStorage, IndexedDB.
|
|
2034
|
+
* Default: null
|
|
2035
|
+
* @since 3.9.10
|
|
2036
|
+
*/
|
|
2037
|
+
customProvider?: IOfflineProvider;
|
|
2038
|
+
/**
|
|
2039
|
+
* [Optional] Custom unload provider should be used for handling unload scenarios.
|
|
2040
|
+
* This provider should support synchronous operations (supportsSyncRequests should return true)
|
|
2041
|
+
* If the unload provider is not provided, the provided customProvider will be used if it supports sync requests,
|
|
2042
|
+
* otherwise localStorage will be used by default.
|
|
2043
|
+
* Default: null
|
|
2044
|
+
* @since 3.9.10
|
|
2045
|
+
*/
|
|
2046
|
+
customUnloadProvider?: IOfflineProvider;
|
|
2032
2047
|
}
|
|
2033
2048
|
|
|
2034
2049
|
interface IOfflineDetector {
|