Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

package on npmjs is not up to date #10

Closed
JonathanGuo opened this issue Jan 13, 2017 · 1 comment
Closed

package on npmjs is not up to date #10

JonathanGuo opened this issue Jan 13, 2017 · 1 comment

Comments

@JonathanGuo
Copy link

The repo on npm is out of date.

The redirectTo function in src/middleware.factory.js doesn't have params and options parameters. When install via npm the function has only route parameter available.

	/**
	 * Redirect to another route
	 *
	 * @returns {void}
	 */
	function redirectTo(route, params, options) {
		middleware.resolution.reject({
			type: "redirectTo",
			route: route,
			params: params,
			options: options
		});
	}
@karlhepler
Copy link
Owner

Thanks for letting me know. Version bumped & up on npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants