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.5.0 to 0.5.1

2

lib/index.js

@@ -59,3 +59,3 @@ 'use strict';

if (remember) {
_this.persistSession(user);
user.persistSession(user);
}

@@ -62,0 +62,0 @@ return user;

@@ -67,3 +67,3 @@ 'use strict';

value: function logout() {
return this.request('/logout', { method: 'POST' }).then(this.clearSession.bind(this));
return this.request('/logout', { method: 'POST' }).then(this.clearSession.bind(this)).catch(this.clearSession.bind(this));
}

@@ -70,0 +70,0 @@ }, {

{
"name": "authlify-js",
"version": "0.5.0",
"version": "0.5.1",
"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