Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

react-auth-kit

Package Overview
Dependencies
Maintainers
1
Versions
200
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-auth-kit - npm Package Compare versions

Comparing version 3.1.4-alpha.0 to 3.1.4-alpha.4

2

hooks/useSignIn.js

@@ -21,3 +21,3 @@ "use strict";

} else {
throw new _errors.AuthError('Auth Provider is missing. Make sure, you' + ' are using this component inside the auth provider.');
throw new _errors.AuthError('Router Plugin is not implemented in the AuthProvider. Please' + ' use the router prop of AuthProvider and Router plugin to' + ' use this feture');
}

@@ -24,0 +24,0 @@ }

@@ -37,5 +37,3 @@ /**

*/
declare function useSignOut(): ({ navigateTo }: {
navigateTo?: string;
}) => void;
declare function useSignOut(): (navigateTo?: string) => void;
export default useSignOut;

@@ -14,4 +14,3 @@ "use strict";

var router = (0, _AuthContext.useReactAuthKitRouter)();
return function (_ref) {
var navigateTo = _ref.navigateTo;
return function (navigateTo) {
context.set((0, _reducers.doSignOut)());

@@ -24,3 +23,3 @@ if (navigateTo) {

} else {
throw new _errors.AuthError('Auth Provider is missing. Make sure, you' + ' are using this component inside the auth provider.');
throw new _errors.AuthError('Router Plugin is not implemented in the AuthProvider. Please' + ' use the router prop of AuthProvider and Router plugin to' + ' use this feture');
}

@@ -27,0 +26,0 @@ }

{
"name": "react-auth-kit",
"version": "3.1.4-alpha.0+0b0c0d01",
"version": "3.1.4-alpha.4+92af5ffe",
"description": "Authentication Library for React, which makes Token based auth very easy",

@@ -74,3 +74,3 @@ "keywords": [

},
"gitHead": "0b0c0d01b3ea74c548fbd907a1a31a32d4b85a34"
"gitHead": "92af5ffee8677059f95041cf0e76f880edb36f9e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc