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

authlify-js

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

authlify-js - npm Package Compare versions

Comparing version 0.2.3 to 0.3.0

6

lib/index.js

@@ -40,6 +40,6 @@ 'use strict';

key: 'signup',
value: function signup(email, password) {
value: function signup(email, password, data) {
return this.api.request('/signup', {
method: 'POST',
body: JSON.stringify({ email: email, password: password })
body: JSON.stringify({ email: email, password: password, data: data })
});

@@ -55,3 +55,3 @@ }

headers: { 'Content-Type': 'application/x-www-form-urlencoded' },
body: 'grant_type=password&username=' + email + '&password=' + password
body: 'grant_type=password&username=' + encodeURIComponent(email) + '&password=' + encodeURIComponent(password)
}).then(function (response) {

@@ -58,0 +58,0 @@ return new _user2.default(_this.api, response).reload();

{
"name": "authlify-js",
"version": "0.2.3",
"version": "0.3.0",
"description": "Authlify API client for JavaScript",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

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