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

auth-component

Package Overview
Dependencies
Maintainers
1
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auth-component - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

2

package.json
{
"name": "auth-component",
"version": "0.1.3",
"version": "0.1.4",
"description": "An Authenication Component for DoneJS",

@@ -5,0 +5,0 @@ "main": "src/auth-component.js",

@@ -60,2 +60,20 @@ import $ from 'jquery';

}
},
usernameType: {
get(){
var type;
switch(this.attr('usernameField')){
case 'email':
type = 'email';
break;
case 'phone':
type = 'phone';
break;
default:
type = 'username';
break;
}
return type;
}
}

@@ -62,0 +80,0 @@

Sorry, the diff of this file is not supported yet

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