@district01/ng-redux-router
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -0,1 +1,7 @@ | ||
<a name="2.0.7"></a> | ||
# [2.0.7](https://bitbucket.org/tom_opdebeeck/ng-redux-router/commits/tag/v2.0.7) (2018-01-31) | ||
### Bugfixes | ||
* **BUGFIX:** fix path ([0cc797b](https://bitbucket.org/tom_opdebeeck/ng-redux-router/commits/0cc797bd7359c7279434989887c85038c6a5d7f7)) | ||
<a name="2.0.6"></a> | ||
@@ -2,0 +8,0 @@ # [2.0.6](https://bitbucket.org/tom_opdebeeck/ng-redux-router/commits/tag/v2.0.6) (2018-01-31) |
import { ROUTE_PENDING, ROUTE_UPDATE, ROUTE_CANCEL, } from "./redux-router.actiontypes"; | ||
import { rebuildStateTree, getFragment, } from "./redux-router.helpers"; | ||
import { rebuildStateTree, getFragment, getPath, } from "./redux-router.helpers"; | ||
export var initRouteChange = function (route) { | ||
@@ -8,2 +8,3 @@ return { | ||
url: route.urlAfterRedirects || route.url, | ||
path: getPath(route.urlAfterRedirects || route.url), | ||
params: rebuildStateTree(route.state.root, "params"), | ||
@@ -10,0 +11,0 @@ query: rebuildStateTree(route.state.root, "queryParams"), |
{ | ||
"name": "@district01/ng-redux-router", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"description": "Sync Angular (2+) router state with redux, including: current path, current url, query params, route params, fragment, previous route.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -42,5 +42,5 @@ # Angular Redux Router | ||
* frament: the current active fragment | ||
* queryParams: all queryParams found on the route | ||
* query: all queryParams found on the route | ||
* params: all route params found on the route | ||
The `ROUTE_UPDATE` action will only be dispatched once the `NavigationEnd` event is triggered. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19359
258