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.5.1-beta to 2.6.0-beta

4

package.json

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

"version": "2.5.1-beta",
"version": "2.6.0-beta",

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

"dependencies": {
"@websanova/vue-auth": "2.5.1-beta"
"@websanova/vue-auth": "2.6.0-beta"
},

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

@@ -727,7 +727,7 @@ # Vue Auth

### fetchData: `{url: 'auth/user', method: 'GET'}`
### fetchData: `{url: 'auth/user', method: 'GET', enabled: true}`
* Default user fetch request data and redirect.
### refreshData: `{url: 'auth/refresh', method: 'GET', atInit: true}`
### refreshData: `{url: 'auth/refresh', method: 'GET', enabled: true}`

@@ -804,2 +804,10 @@ * Default refresh request data and redirect.

### v2.6.x-beta
* Add enabled option for `fetchData` useful in case we need a preset before auth. For instance when fetching properties from server.
### v2.5.x-beta
* Update default webpack setup to use Vue 2.x.
### v2.4.x-beta

@@ -806,0 +814,0 @@

@@ -58,3 +58,5 @@ var __utils = require('./lib/utils.js'),

this.watch.authenticated = false
this.options.fetchPerform.call(this, {success: cb, error: cb});
if (this.options.fetchData.enabled) {
this.options.fetchPerform.call(this, {success: cb, error: cb});
}
} else {

@@ -361,3 +363,3 @@ this.watch.loaded = true;

oauth1Data: {url: 'auth/login', method: 'POST'},
fetchData: {url: 'auth/user', method: 'GET'},
fetchData: {url: 'auth/user', method: 'GET', enabled: true},
refreshData: {url: 'auth/refresh', method: 'GET', enabled: true},

@@ -364,0 +366,0 @@ loginOtherData: {url: 'auth/login-other', method: 'POST', redirect: '/'},

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