@inappstory/react-sdk 1.8.0-rc.9 → 1.8.0
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/index.esm.mjs +1735 -655
- package/dist/index.esm.mjs.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/types/storyManager.d.ts +36 -1
- package/package.json +2 -2
- package/plugins/banners/index.esm.mjs +1 -1
- package/plugins/banners/types/{bannerPlaceAppearance.d.ts → bannerCarouselAppearance.d.ts} +6 -2
- package/plugins/banners/types/bannerListAppearance.d.ts +13 -0
- package/plugins/banners/types/iasBannerCarousel.d.ts +115 -0
- package/plugins/banners/types/iasBannerList.d.ts +97 -0
- package/plugins/banners/types/iasBannerPlace.d.ts +6 -5
- package/plugins/banners/types/iasBannersProvider.d.ts +67 -4
- package/plugins/banners/types/index.d.ts +3 -1
|
@@ -56,7 +56,7 @@ export type StoryManagerConfig = {
|
|
|
56
56
|
/**
|
|
57
57
|
* Use anonymous session. Warning: not all functionality will be available.
|
|
58
58
|
*/
|
|
59
|
-
anonymous?: boolean
|
|
59
|
+
anonymous?: boolean;
|
|
60
60
|
|
|
61
61
|
/**
|
|
62
62
|
* The field is responsible for passing user variables and widget variables (for example, the "products" widget)
|
|
@@ -67,6 +67,41 @@ export type StoryManagerConfig = {
|
|
|
67
67
|
*/
|
|
68
68
|
pos?: string;
|
|
69
69
|
} & Record<string, any>;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* A local BLOB-based cache used to prefetch data or as a fallback when the standard HTTP cache is unavailable (e.g., in environments with limited WebView).
|
|
73
|
+
* */
|
|
74
|
+
cache?: {
|
|
75
|
+
/** Cache type: 'memory' — fast but temporary; 'indexeddb' — persistent
|
|
76
|
+
* @default "indexeddb"
|
|
77
|
+
*/
|
|
78
|
+
type: "memory" | "indexeddb";
|
|
79
|
+
|
|
80
|
+
/** Maximum cache size (e.g., in bytes or number of elements)
|
|
81
|
+
* @default 20
|
|
82
|
+
*/
|
|
83
|
+
maxSize?: number;
|
|
84
|
+
|
|
85
|
+
/** Resource lifetime in the cache (in seconds).
|
|
86
|
+
* @default 0 (infinite)
|
|
87
|
+
*/
|
|
88
|
+
ttl?: number;
|
|
89
|
+
|
|
90
|
+
/** Cache operation logging (for debugging)
|
|
91
|
+
* @default false
|
|
92
|
+
*/
|
|
93
|
+
debug?: boolean;
|
|
94
|
+
|
|
95
|
+
/** Maximum number of parallel requests
|
|
96
|
+
* @default 5
|
|
97
|
+
*/
|
|
98
|
+
concurrency?: number;
|
|
99
|
+
|
|
100
|
+
/** Prefetch resources
|
|
101
|
+
* @default false
|
|
102
|
+
*/
|
|
103
|
+
prefetch?: boolean;
|
|
104
|
+
};
|
|
70
105
|
};
|
|
71
106
|
|
|
72
107
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inappstory/react-sdk",
|
|
3
|
-
"version": "1.8.0
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "React SDK",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"stories",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"Samsung >= 5"
|
|
59
59
|
],
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@inappstory/slide-api": "^0.1.
|
|
61
|
+
"@inappstory/slide-api": "^0.1.25",
|
|
62
62
|
"async-mutex": "^0.5.0",
|
|
63
63
|
"bowser": "^2.11.0",
|
|
64
64
|
"classnames": "^2.5.1",
|