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.12.1-beta to 2.13.0-beta

2.x.demo/public/index.html

25

package.json

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

"version": "2.12.1-beta",
"version": "2.13.0-beta",

@@ -38,10 +38,15 @@ "repository": {

"vue-loader": "9.5.1",
"vue": "2.3.4",
"vue-router": "2.5.3",
"vue-resource": "1.3.4",
"vue-server-renderer": "2.3.4",
"vue-style-loader": "1.0.0",
"css-loader": "0.25.0",
"style-loader": "0.13.1",
"vue-html-loader": "1.2.3",
"file-loader": "^0.8.4",
"vue-loader": "12.2.1",
"vue-style-loader": "3.0.1",
"vue-template-compiler": "2.3.4",
"css-loader": "0.28.4",
"style-loader": "0.18.2",
"file-loader": "0.11.2",
"webpack": "1.13.1",

@@ -53,5 +58,5 @@ "webpack-dev-server": "1.16.1",

"@websanova/vue-auth": "2.12.1-beta",
"axios": "^0.16.1",
"vue-axios": "^2.0.2"
"@websanova/vue-auth": "2.13.0-beta",
"axios": "0.16.2",
"vue-axios": "2.0.2"
},

@@ -58,0 +63,0 @@

15

README.md

@@ -477,2 +477,3 @@ # Vue Auth

* Returns the currently stored users data.
* Update the current user by passing in an object.

@@ -485,2 +486,7 @@ ~~~

~~~
this.$auth.user(userObject);
~~~
### check

@@ -526,3 +532,4 @@

* Returns the currently activated token if none are specified.
* Can also specify a specific token, but only `other` and `default` will actually return anything.
* Can also specify a specific token, but only `other` and `default` will actually return anything unless setting your own token.
* Can set a token with optional second argument, set null to use default naming conventions.

@@ -533,4 +540,10 @@ ~~~

var token = this.$auth.token('default');
this.$auth.token(null, token);
this.$auth.token('test', token);
var token = this.$auth.token('test');
~~~
### fetch

@@ -537,0 +550,0 @@

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

Auth.prototype.token = function (name) {
Auth.prototype.token = function (name, token) {
if (token) {
__token.set.call(this, name, token);
}
return __token.get.call(this, name);

@@ -548,0 +552,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

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