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.3.3 to 3.3.4

2

dist/drivers/auth/basic.common.js
/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -13,3 +13,3 @@ * Released under the MIT License.

var headers = {},
tokens = token.split(';');
tokens = token.split('|');
var auth = this.deviseAuth || this.auth;

@@ -35,4 +35,4 @@ auth.tokens.forEach(function (tokenName, index) {

if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split(';')[4], 10)) {
return token.join(';');
if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split('|')[4], 10)) {
return token.join('|');
}

@@ -39,0 +39,0 @@ }

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -11,3 +11,3 @@ * Released under the MIT License.

var headers = {},
tokens = token.split(';');
tokens = token.split('|');
var auth = this.deviseAuth || this.auth;

@@ -33,4 +33,4 @@ auth.tokens.forEach(function (tokenName, index) {

if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split(';')[4], 10)) {
return token.join(';');
if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split('|')[4], 10)) {
return token.join('|');
}

@@ -37,0 +37,0 @@ }

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -17,3 +17,3 @@ * Released under the MIT License.

var headers = {},
tokens = token.split(';');
tokens = token.split('|');
var auth = this.deviseAuth || this.auth;

@@ -39,4 +39,4 @@ auth.tokens.forEach(function (tokenName, index) {

if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split(';')[4], 10)) {
return token.join(';');
if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split('|')[4], 10)) {
return token.join('|');
}

@@ -43,0 +43,0 @@ }

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -7,2 +7,2 @@ * Released under the MIT License.

!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.VueAuth=t()}(this,function(){"use strict";return{tokens:["Token-Type","Access-Token","Client","Uid","Expiry","token-type","access-token","client","uid","expiry"],request:function(e,t){var s={},n=t.split(";");(this.deviseAuth||this.auth).tokens.forEach(function(e,t){n[t]&&(s[e]=n[t])}),this.http.setHeaders.call(this,e,s)},response:function(e){var t=[],s=this.http.getHeaders.call(this,e);if((s["access-token"]||s["Access-Token"])&&((this.deviseAuth||this.auth).tokens.forEach(function(e){s[e]&&t.push(s[e])}),!this.token()||parseInt(t[4],10)>=parseInt(this.token().split(";")[4],10)))return t.join(";")}}});
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.VueAuth=t()}(this,function(){"use strict";return{tokens:["Token-Type","Access-Token","Client","Uid","Expiry","token-type","access-token","client","uid","expiry"],request:function(e,t){var s={},n=t.split("|");(this.deviseAuth||this.auth).tokens.forEach(function(e,t){n[t]&&(s[e]=n[t])}),this.http.setHeaders.call(this,e,s)},response:function(e){var t=[],s=this.http.getHeaders.call(this,e);if((s["access-token"]||s["Access-Token"])&&((this.deviseAuth||this.auth).tokens.forEach(function(e){s[e]&&t.push(s[e])}),!this.token()||parseInt(t[4],10)>=parseInt(this.token().split("|")[4],10)))return t.join("|")}}});
/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

/*!
* @websanova/vue-auth v3.3.3
* @websanova/vue-auth v3.3.4
* https://websanova.com/docs/vue-auth

@@ -4,0 +4,0 @@ * Released under the MIT License.

@@ -10,3 +10,3 @@ export default {

var headers = {},
tokens = token.split(';');
tokens = token.split('|');

@@ -38,4 +38,4 @@ var auth = this.deviseAuth || this.auth;

// Check if access-token more recent than last one
if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split(';')[4], 10)) {
return token.join(';');
if (!this.token() || parseInt(token[4], 10) >= parseInt(this.token().split('|')[4], 10)) {
return token.join('|');
}

@@ -42,0 +42,0 @@ }

@@ -22,3 +22,3 @@ {

"version": "3.3.3",
"version": "3.3.4",

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

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