🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

redux-auth-wrapper

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

redux-auth-wrapper - npm Package Versions

13

2.0.0-beta

Diff
mjrussell
published 2.0.0-beta •
mjrussell
published 1.0.0 •

Changelog

Source

1.0.0

  • Bugfix: Redirection preserves query params in the redirect path. #111
mjrussell
published 0.10.0 •

Changelog

Source

0.10.0

  • Feature: allowRedirectBack can also take a selector function that returns a bool instead of a bool. #93 (Contributed by @oyeanuj)
mjrussell
published 0.9.0 •

Changelog

Source

0.9.0

  • Bugfix: Don't pass down auth wrapper props besides authData #81
  • Feature: Add propMapper function to restrict passed through props #28
  • Bugfix/Breaking Change: onEnter now checks isAuthenticating for redirection #89
  • Feature: onEnter selectors receive nextState as the second argument instead of null #90
mjrussell
published 0.8.0 •

Changelog

Source

0.8.0

  • Feature: FailureComponent to not redirect and either hide or show a different component on auth failure #61. (Contributed by @mehiel)
  • Feature: Pass auth data as props to Loading Component #75
  • Breaking Change: When rendering an "empty" component such as the default LoadingComponent and when the user is about to be redirect, return null so React will omit it instead of an empty div.
  • Breaking Change: Don't need to import React Native compatible from lib.
mjrussell
published 0.7.0 •

Changelog

Source

0.7.0

  • Bugfix: Don't render subroutes as children in default LoadingComponent #63
  • Bugfix/Breaking Change: Change default LoadingComponent to a div and use the React native default empty element #63
mjrussell
published 0.6.0 •

Changelog

Source

0.6.0

  • Feature: failureRedirectPath can be a function of state and props #57
  • Feature: option to change the query param name with redirectQueryParamName #57
mjrussell
published 0.5.2 •

Changelog

Source

0.5.2

  • BugFix: Fixes bug introduced in v0.5.1 that prevented redirection when only isAuthenticating changed #49
mjrussell
published 0.5.1 •

Changelog

Source

0.5.1

  • BugFix: Adds safeguard to prevent infinite redirects from the wrapper #45
mjrussell
published 0.5.0 •

Changelog

Source

0.5.1

  • BugFix: Adds safeguard to prevent infinite redirects from the wrapper #45