@nuxtjs/auth
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -5,2 +5,15 @@ # Change Log | ||
<a name="4.0.1"></a> | ||
## [4.0.1](https://github.com/nuxt-community/auth-module/compare/v4.0.0...v4.0.1) (2018-04-03) | ||
### Bug Fixes | ||
* **local-scheme-token:** avoid token type duplicata on Axios requests ([3908563](https://github.com/nuxt-community/auth-module/commit/3908563)) | ||
* **local-scheme-token:** removed token type from axios setToken ([c64e7f1](https://github.com/nuxt-community/auth-module/commit/c64e7f1)), closes [#113](https://github.com/nuxt-community/auth-module/issues/113) | ||
* **scheme-resolution:** fix problem with backslashes in path to schemes on windows ([77161b8](https://github.com/nuxt-community/auth-module/commit/77161b8)) | ||
* no token exception when tokenRequired is set to false ([#118](https://github.com/nuxt-community/auth-module/issues/118)) ([56265a7](https://github.com/nuxt-community/auth-module/commit/56265a7)) | ||
<a name="4.0.0"></a> | ||
@@ -7,0 +20,0 @@ # [4.0.0](https://github.com/nuxt-community/auth-module/compare/v4.0.0-rc.3...v4.0.0) (2018-04-02) |
@@ -63,3 +63,3 @@ const { resolve, join, basename } = require('path') | ||
function copyCore (options) { | ||
const coreRoot = resolve(libRoot, 'auth') | ||
const coreRoot = resolve(libRoot, 'core') | ||
@@ -66,0 +66,0 @@ for (const file of readdirSync(coreRoot)) { |
@@ -6,3 +6,3 @@ import Auth from './auth' | ||
// Active chemes | ||
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path}'`).join('\n') %> | ||
<%= options.uniqueSchemes.map(path =>`import ${'scheme_' + hash(path)} from '${path.replace(/\\/g,'/')}'`).join('\n') %> | ||
@@ -9,0 +9,0 @@ export default function (ctx, inject) { |
@@ -12,3 +12,3 @@ export default class LocalScheme { | ||
// Set Authorization token for all axios requests | ||
this.$auth.ctx.app.$axios.setToken(token, this.options.tokenType) | ||
this.$auth.ctx.app.$axios.setToken(token) | ||
} | ||
@@ -15,0 +15,0 @@ } |
{ | ||
"name": "@nuxtjs/auth", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Authentication module for Nuxt.js", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -1,6 +0,4 @@ | ||
# 🔑 Auth Module | ||
<h1 align="center" >🔑 Auth Module</h1> | ||
<p align="center">Authentication module for Nuxt.js</p> | ||
> Authentication module for Nuxt.js | ||
<p align="center"> | ||
@@ -28,6 +26,11 @@ <a href="https://david-dm.org/nuxt-community/auth-module"> | ||
📖 [**Read Documentation**](https://auth.nuxtjs.org) | ||
<p align="center"> | ||
<a href="https://auth.nuxtjs.org">Read Documentation</a> | ||
</p> | ||
**Running demo for development:** | ||
## Development | ||
Running demo for development: | ||
```bash | ||
@@ -38,4 +41,4 @@ $ yarn install | ||
## 📑 License | ||
## License | ||
[MIT License](./LICENSE) - Copyright (c) Nuxt Community |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
45292
43
0
1002