@@ -62,12 +62,14 @@ export default navigationStateKey => {
return {
backButtonHandler,
- getNavigationState,
- topOfNavigationStack,
- resetRoutes,
- isRoute,
- isTopRoute,
- goBackFrom,
+ api: {
+ getNavigationState,
+ topOfNavigationStack,
+ resetRoutes,
+ isRoute,
+ isTopRoute,
+ goBackFrom
+ },
createConnectedNavigatorPieces
};
@@ -1,6 +1,6 @@
{
"name": "react-navigation-redux-sac",
- "version": "0.1.0",
+ "version": "0.2.0",
"description": "Wire `react-navigation` into redux state under specified key with help of `redux-sac`",
"main": "index.js",
"scripts": {