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 2.6.1-beta to 2.7.0-beta

drivers/http/axios.js

6

package.json

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

"version": "2.6.1-beta",
"version": "2.7.0-beta",

@@ -28,3 +28,5 @@ "repository": {

"dependencies": {
"@websanova/vue-auth": "2.6.1-beta"
"axios": "0.15.3",
"vue-axios": "1.2.2",
"@websanova/vue-auth": "2.7.0-beta"
},

@@ -31,0 +33,0 @@

@@ -64,4 +64,25 @@ # Vue Auth

### Install with Vue-Axios
~~~
import axios from 'axios'
import VueAxios from 'vue-axios'
import VueAuth from '@websanova/vue-auth'
Vue.use(VueAxios, axios)
Vue.use(VueAuth, {
auth: AuthBearer,
http: require('@websanova/vue-auth/drivers/http/axios.js'),
router: require('@websanova/vue-auth/drivers/router/vue-router.2.x.js')
...
});
// access axios with Vue or use the 'this' reference in components
Vue.axios.post(...).then(res => {
console.log('RES', res);
});
~~~
## Install 1.x

@@ -68,0 +89,0 @@

Sorry, the diff of this file is not supported yet

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