@websanova/vue-auth
Advanced tools
Comparing version 1.0.7-dev to 1.0.8-dev
@@ -17,3 +17,3 @@ { | ||
"version": "1.0.7-dev", | ||
"version": "1.0.8-dev", | ||
@@ -46,3 +46,3 @@ "repository": { | ||
"replace-webpack-plugin": "0.1.2", | ||
"@websanova/vue-auth": "1.0.7-dev" | ||
"@websanova/vue-auth": "1.0.8-dev" | ||
}, | ||
@@ -49,0 +49,0 @@ |
@@ -427,6 +427,13 @@ var __utils = require('./lib/utils.js'), | ||
function Auth(options, driver) { | ||
var router = options.router, | ||
http = options.http; | ||
delete options.http; | ||
delete options.router; | ||
this.currentToken = null; | ||
this.options = __utils.extend(defaultOptions, [driver || {}, options || {}]); | ||
this.options.router = router; | ||
this.options.http = http; | ||
@@ -433,0 +440,0 @@ this.watch = this.options._watch.call(this, { |
@@ -7,3 +7,3 @@ var Auth = require('./auth.js')(); | ||
var auth, | ||
driver = require('./drivers/vue.js'); | ||
driver = require('./drivers/vue.1.0.0.js') | ||
@@ -10,0 +10,0 @@ driver.Vue = Vue; |
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
216222
33
2176