File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -195,6 +195,7 @@ SDK.settings.features = { 'split_x': 'on' }; // Browser
195195// Client and Manager
196196client = SDK . client ( ) ;
197197manager = SDK . manager ( ) ;
198+ manager = BrowserSDK . manager ( ) ;
198199// Today async clients are only possible on Node. Shared client creation not available here.
199200asyncClient = AsyncSDK . client ( ) ;
200201asyncManager = AsyncSDK . manager ( ) ;
Original file line number Diff line number Diff line change @@ -1120,6 +1120,10 @@ declare namespace SplitIO {
11201120 */
11211121 prefix ?: string
11221122 } ,
1123+ /**
1124+ * @TODO Add description. Should be inside storage?
1125+ */
1126+ preloadedData ?: SplitIO . PreloadedData ,
11231127 /**
11241128 * List of URLs that the SDK will use as base for it's synchronization functionalities, applicable only when running as standalone.
11251129 * Do not change these settings unless you're working an advanced use case, like connecting to the Split proxy.
@@ -1394,7 +1398,7 @@ declare namespace SplitIO {
13941398 /**
13951399 * @TODO add description
13961400 */
1397- getState ( ) : PreloadedData ,
1401+ getState ( keys ?: SplitKey [ ] ) : PreloadedData ,
13981402 }
13991403 /**
14001404 * This represents the interface for the SDK instance with synchronous storage.
@@ -1416,6 +1420,12 @@ declare namespace SplitIO {
14161420 * @returns {IBrowserClient } The client instance.
14171421 */
14181422 client ( key : SplitKey , trafficType ?: string ) : IBrowserClient
1423+ /**
1424+ * Returns a manager instance of the SDK to explore available information.
1425+ * @function manager
1426+ * @returns {IManager } The manager instance.
1427+ */
1428+ manager ( ) : IManager ,
14191429 /**
14201430 * User consent API.
14211431 * @property UserConsent
You can’t perform that action at this time.
0 commit comments