@websanova/vue-auth
Advanced tools
Comparing version 3.2.1-beta to 3.2.2-beta
@@ -22,2 +22,9 @@ import Vue from 'vue' | ||
}, { | ||
path: '/users', | ||
name: 'site-users', | ||
component: loadView('site/Users'), | ||
meta: { | ||
auth: false | ||
} | ||
}, { | ||
path: '/login', | ||
@@ -65,2 +72,6 @@ name: 'auth-login', | ||
}, { | ||
path: 'users', | ||
name: 'user-users', | ||
component: loadView('user/Users') | ||
}, { | ||
path: 'logout', | ||
@@ -67,0 +78,0 @@ name: 'user-logout', |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -50,5 +50,3 @@ * Released under the MIT License. | ||
http: function (data) { | ||
var http = this.Vue.axios(data); | ||
http.then(data.success, data.error); | ||
return http; | ||
return this.Vue.axios(data); | ||
}, | ||
@@ -55,0 +53,0 @@ getHeaders: function (res) { |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -48,5 +48,3 @@ * Released under the MIT License. | ||
http: function (data) { | ||
var http = this.Vue.axios(data); | ||
http.then(data.success, data.error); | ||
return http; | ||
return this.Vue.axios(data); | ||
}, | ||
@@ -53,0 +51,0 @@ getHeaders: function (res) { |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -54,5 +54,3 @@ * Released under the MIT License. | ||
http: function (data) { | ||
var http = this.Vue.axios(data); | ||
http.then(data.success, data.error); | ||
return http; | ||
return this.Vue.axios(data); | ||
}, | ||
@@ -59,0 +57,0 @@ getHeaders: function (res) { |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* 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{init:function(){if(!this.Vue.axios)return"axios.js : Vue.axios must be set."},interceptor:function(t,n){var r=this;t&&this.Vue.axios.interceptors.request.use(function(e){return t.call(r,e),e},function(e){return t.call(r,e.request),Promise.reject(e)}),n&&this.Vue.axios.interceptors.response.use(function(e){return n.call(r,e),e},function(e){return e&&e.response&&n.call(r,e.response),Promise.reject(e)})},invalidToken:function(e){if(401===e.status)return!0},httpData:function(e){return e.data||{}},http:function(e){var t=this.Vue.axios(e);return t.then(e.success,e.error),t},getHeaders:function(e){return e.headers},setHeaders:function(e,t){e.headers.common=Object.assign({},e.headers.common,t)}}}); | ||
!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{init:function(){if(!this.Vue.axios)return"axios.js : Vue.axios must be set."},interceptor:function(t,n){var r=this;t&&this.Vue.axios.interceptors.request.use(function(e){return t.call(r,e),e},function(e){return t.call(r,e.request),Promise.reject(e)}),n&&this.Vue.axios.interceptors.response.use(function(e){return n.call(r,e),e},function(e){return e&&e.response&&n.call(r,e.response),Promise.reject(e)})},invalidToken:function(e){if(401===e.status)return!0},httpData:function(e){return e.data||{}},http:function(e){return this.Vue.axios(e)},getHeaders:function(e){return e.headers},setHeaders:function(e,t){e.headers.common=Object.assign({},e.headers.common,t)}}}); |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
/*! | ||
* @websanova/vue-auth v3.2.1-beta | ||
* @websanova/vue-auth v3.2.2-beta | ||
* https://websanova.com/docs/vue-auth | ||
@@ -4,0 +4,0 @@ * Released under the MIT License. |
@@ -50,7 +50,3 @@ export default { | ||
http: function (data) { | ||
var http = this.Vue.axios(data); | ||
http.then(data.success, data.error); | ||
return http; | ||
return this.Vue.axios(data); | ||
}, | ||
@@ -57,0 +53,0 @@ |
@@ -47,7 +47,3 @@ export default { | ||
http: data => { | ||
const http = this.Vue.frisbee(data); | ||
http.then(data.success, data.error); | ||
return http; | ||
return this.Vue.frisbee(data); | ||
}, | ||
@@ -54,0 +50,0 @@ |
@@ -22,3 +22,3 @@ { | ||
"version": "3.2.1-beta", | ||
"version": "3.2.2-beta", | ||
@@ -25,0 +25,0 @@ "repository": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
203844
84
4708