Skip to content
This repository was archived by the owner on Jul 24, 2025. It is now read-only.

Commit 962b3d8

Browse files
committed
Bump version.
1 parent 7d075dd commit 962b3d8

45 files changed

Lines changed: 1304 additions & 272 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/drivers/auth/basic.common.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -14,7 +14,7 @@ var basic = {
1414
},
1515
response: function (res) {
1616
var headers = this.drivers.http.getHeaders.call(this, res),
17-
token = headers.Authorization || headers.authorization;
17+
token = headers.Authorization || headers.authorization;
1818
return token;
1919
}
2020
};

dist/drivers/auth/basic.esm.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -12,7 +12,7 @@ var basic = {
1212
},
1313
response: function (res) {
1414
var headers = this.drivers.http.getHeaders.call(this, res),
15-
token = headers.Authorization || headers.authorization;
15+
token = headers.Authorization || headers.authorization;
1616
return token;
1717
}
1818
};

dist/drivers/auth/basic.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -18,7 +18,7 @@
1818
},
1919
response: function (res) {
2020
var headers = this.drivers.http.getHeaders.call(this, res),
21-
token = headers.Authorization || headers.authorization;
21+
token = headers.Authorization || headers.authorization;
2222
return token;
2323
}
2424
};

dist/drivers/auth/basic.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/

dist/drivers/auth/bearer.common.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -14,7 +14,8 @@ var bearer = {
1414
},
1515
response: function (res) {
1616
var headers = this.drivers.http.getHeaders.call(this, res),
17-
token = headers.Authorization || headers.authorization;
17+
token = headers.Authorization || headers.authorization;
18+
1819
if (token) {
1920
token = token.split(/Bearer:?\s?/i);
2021
return token[token.length > 1 ? 1 : 0].trim();

dist/drivers/auth/bearer.esm.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -12,7 +12,8 @@ var bearer = {
1212
},
1313
response: function (res) {
1414
var headers = this.drivers.http.getHeaders.call(this, res),
15-
token = headers.Authorization || headers.authorization;
15+
token = headers.Authorization || headers.authorization;
16+
1617
if (token) {
1718
token = token.split(/Bearer:?\s?/i);
1819
return token[token.length > 1 ? 1 : 0].trim();

dist/drivers/auth/bearer.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -18,7 +18,8 @@
1818
},
1919
response: function (res) {
2020
var headers = this.drivers.http.getHeaders.call(this, res),
21-
token = headers.Authorization || headers.authorization;
21+
token = headers.Authorization || headers.authorization;
22+
2223
if (token) {
2324
token = token.split(/Bearer:?\s?/i);
2425
return token[token.length > 1 ? 1 : 0].trim();

dist/drivers/auth/bearer.min.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/

dist/drivers/auth/devise.common.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -10,7 +10,7 @@ var devise = {
1010
tokens: ['Token-Type', 'Access-Token', 'Client', 'Uid', 'Expiry', 'token-type', 'access-token', 'client', 'uid', 'expiry'],
1111
request: function (req, token) {
1212
var headers = {},
13-
tokens = token.split('|');
13+
tokens = token.split('|');
1414
var auth = this.drivers.deviseAuth || this.drivers.auth;
1515
auth.tokens.forEach(function (tokenName, index) {
1616
if (tokens[index]) {
@@ -21,16 +21,16 @@ var devise = {
2121
},
2222
response: function (res) {
2323
var token = [],
24-
headers = this.drivers.http.getHeaders.call(this, res);
24+
headers = this.drivers.http.getHeaders.call(this, res);
25+
2526
if (headers['access-token'] || headers['Access-Token']) {
2627
var auth = this.drivers.deviseAuth || this.drivers.auth;
2728
auth.tokens.forEach(function (tokenName) {
2829
if (headers[tokenName]) {
2930
token.push(headers[tokenName]);
3031
}
31-
});
32+
}); // Check if access-token more recent than last one
3233

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

dist/drivers/auth/devise.esm.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* @websanova/vue-auth v4.1.13
2+
* @websanova/vue-auth v4.2.0
33
* https://websanova.com/docs/vue-auth
44
* Released under the MIT License.
55
*/
@@ -8,7 +8,7 @@ var devise = {
88
tokens: ['Token-Type', 'Access-Token', 'Client', 'Uid', 'Expiry', 'token-type', 'access-token', 'client', 'uid', 'expiry'],
99
request: function (req, token) {
1010
var headers = {},
11-
tokens = token.split('|');
11+
tokens = token.split('|');
1212
var auth = this.drivers.deviseAuth || this.drivers.auth;
1313
auth.tokens.forEach(function (tokenName, index) {
1414
if (tokens[index]) {
@@ -19,16 +19,16 @@ var devise = {
1919
},
2020
response: function (res) {
2121
var token = [],
22-
headers = this.drivers.http.getHeaders.call(this, res);
22+
headers = this.drivers.http.getHeaders.call(this, res);
23+
2324
if (headers['access-token'] || headers['Access-Token']) {
2425
var auth = this.drivers.deviseAuth || this.drivers.auth;
2526
auth.tokens.forEach(function (tokenName) {
2627
if (headers[tokenName]) {
2728
token.push(headers[tokenName]);
2829
}
29-
});
30+
}); // Check if access-token more recent than last one
3031

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

0 commit comments

Comments
 (0)