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

@websanova/vue-auth

Package Overview
Dependencies
Maintainers
1
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@websanova/vue-auth - npm Package Compare versions

Comparing version 3.0.6-beta to 3.0.7-beta

2

package.json

@@ -17,3 +17,3 @@ {

"version": "3.0.6-beta",
"version": "3.0.7-beta",

@@ -20,0 +20,0 @@ "repository": {

@@ -13,2 +13,3 @@ import * as __utils from './lib/utils.js';

rememberkey: 'auth_remember',
staySignedInKey: 'auth_stay_signed_in',
tokenDefaultKey: 'auth_token_default',

@@ -106,8 +107,8 @@ tokenImpersonateKey: 'auth_token_impersonate',

function _setStaySignedIn(staySignedIn) {
if (
staySignedIn === true ||
staySignedIn === false
) {
__auth.options.loginData.staySignedIn = staySignedIn;
if (staySignedIn === true) {
__token.set.call(__auth, __auth.options.staySignedInKey, 'true', false);
}
else {
__token.remove.call(__auth, __auth.options.staySignedInKey);
}
}

@@ -185,3 +186,3 @@

if (token) {
__token.set.call(this, null, token, (__auth.options.loginData.staySignedIn === true ? false : true));
__token.set.call(this, null, token, (__token.get.call(__auth, __auth.options.staySignedInKey) ? false : true));
}

@@ -333,4 +334,4 @@ }

function _processImpersonate(defaultToken, redirect) {
__token.set.call(__auth, __auth.options.tokenImpersonateKey, __auth.token(), __auth.options.loginData.staySignedIn);
__token.set.call(__auth, __auth.options.tokenDefaultKey, defaultToken, __auth.options.loginData.staySignedIn);
__token.set.call(__auth, __auth.options.tokenImpersonateKey, __auth.token(), __token.get.call(__auth, __auth.options.staySignedInKey));
__token.set.call(__auth, __auth.options.tokenDefaultKey, defaultToken, __token.get.call(__auth, __auth.options.staySignedInKey));
__auth.$vm.impersonating = true;

@@ -486,3 +487,3 @@

if (token) {
expires = (expires === true || expires === false) ? expires : __auth.options.loginData.staySignedIn;
expires = (expires === true || expires === false) ? expires : __token.get.call(__auth, __auth.options.staySignedInKey);

@@ -489,0 +490,0 @@ __token.set.call(__auth, name, token, expires);

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