You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: types/splitio.d.ts
+25-1Lines changed: 25 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -906,6 +906,18 @@ declare namespace SplitIO {
906
906
* @defaultValue `'SPLITIO'`
907
907
*/
908
908
prefix?: string;
909
+
/**
910
+
* Number of days before cached data expires if it was not updated. If cache expires, it is cleared on initialization.
911
+
*
912
+
* @defaultValue `10`
913
+
*/
914
+
expirationDays?: number;
915
+
/**
916
+
* Optional settings to clear the cache. If set to `true`, the SDK clears the cached data on initialization, unless the cache was cleared within the last 24 hours.
* Optional prefix to prevent any kind of data collision between SDK versions.
1244
+
* Optional prefix to prevent any kind of data collision between SDK versions when using 'LOCALSTORAGE'.
1233
1245
*
1234
1246
* @defaultValue `'SPLITIO'`
1235
1247
*/
1236
1248
prefix?: string;
1249
+
/**
1250
+
* Optional settings for the 'LOCALSTORAGE' storage type. It specifies the number of days before cached data expires if it was not updated. If cache expires, it is cleared on initialization.
1251
+
*
1252
+
* @defaultValue `10`
1253
+
*/
1254
+
expirationDays?: number;
1255
+
/**
1256
+
* Optional settings for the 'LOCALSTORAGE' storage type. If set to `true`, the SDK clears the cached data on initialization, unless the cache was cleared within the last 24 hours.
0 commit comments