New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

auth-n-roll-dev-tools

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth-n-roll-dev-tools - npm Package Compare versions

Comparing version 0.0.11 to 0.1.0

dist/ServiceInMemory/SignUp.js

10

dist/ServiceInMemory/index.js

@@ -12,2 +12,4 @@ "use strict";

var _SignUp = require("./SignUp");
var _Refresh = require("./Refresh");

@@ -66,8 +68,10 @@

var getLoggedUser = function getLoggedUser() {
return null; // {
// username: 'davide'
// }
return null;
};
return {
signOut: function signOut() {
console.log('In memory signout');
},
signUp: _SignUp.SignUp,
signIn: _SignIn.SignIn,

@@ -74,0 +78,0 @@ refresh: _Refresh.Refresh,

@@ -173,2 +173,22 @@ "use strict";

update: this.handleUpdate
})), _react.default.createElement("div", null, "SignUP"), _react.default.createElement("div", null, _react.default.createElement(SwitchButton, {
name: "signupResponse",
checkValue: '',
label: "Success",
update: this.handleUpdate
}), _react.default.createElement(SwitchButton, {
name: "signupResponse",
checkValue: _authNRoll.USERNAME_EXISTS_ERROR,
label: "User name exists",
update: this.handleUpdate
}), _react.default.createElement(SwitchButton, {
name: "signupResponse",
checkValue: _authNRoll.INVALID_PASSWORD_ERROR,
label: "Invalid password",
update: this.handleUpdate
}), _react.default.createElement(SwitchButton, {
name: "signupResponse",
checkValue: _authNRoll.GENERIC_ERROR,
label: "Error on change",
update: this.handleUpdate
}))));

@@ -175,0 +195,0 @@ }

{
"name": "auth-n-roll-dev-tools",
"version": "0.0.11",
"version": "0.1.0",
"description": "",

@@ -16,3 +16,3 @@ "main": "src/index.js",

"dependencies": {
"auth-n-roll": "^0.0.11"
"auth-n-roll": "^0.1.0"
},

@@ -19,0 +19,0 @@ "devDependencies": {

@@ -6,2 +6,3 @@ import {

import { SignIn } from './SignIn'
import { SignUp } from './SignUp'
import { Refresh } from './Refresh'

@@ -48,8 +49,9 @@ import { ResendValidationCode } from './ResendValidationCode'

return null
// {
// username: 'davide'
// }
}
return {
signOut: () => {
console.log('In memory signout')
},
signUp: SignUp,
signIn: SignIn,

@@ -56,0 +58,0 @@ refresh: Refresh,

@@ -15,3 +15,4 @@ import React from 'react'

UNMANAGED_ERROR,
INVALID_PASSWORD_ERROR
INVALID_PASSWORD_ERROR,
USERNAME_EXISTS_ERROR
} from 'auth-n-roll'

@@ -175,2 +176,29 @@

</div>
<div>SignUP</div>
<div>
<SwitchButton
name="signupResponse"
checkValue={''}
label="Success"
update={this.handleUpdate}
/>
<SwitchButton
name="signupResponse"
checkValue={USERNAME_EXISTS_ERROR}
label="User name exists"
update={this.handleUpdate}
/>
<SwitchButton
name="signupResponse"
checkValue={INVALID_PASSWORD_ERROR}
label="Invalid password"
update={this.handleUpdate}
/>
<SwitchButton
name="signupResponse"
checkValue={GENERIC_ERROR}
label="Error on change"
update={this.handleUpdate}
/>
</div>
</div>

@@ -177,0 +205,0 @@ </div>

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