nuxt-users 1.6.1 → 1.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.6.2
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.6.1...v1.6.2)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Exports `getCurrentUserFromToken` from utils index ([5c67e24](https://github.com/rrd108/nuxt-users/commit/5c67e24))
|
|
11
|
+
|
|
12
|
+
### 🏡 Chore
|
|
13
|
+
|
|
14
|
+
- **release:** V1.6.1 ([6e02e68](https://github.com/rrd108/nuxt-users/commit/6e02e68))
|
|
15
|
+
|
|
16
|
+
### ❤️ Contributors
|
|
17
|
+
|
|
18
|
+
- Rrd108 ([@rrd108](https://github.com/rrd108))
|
|
19
|
+
|
|
4
20
|
## v1.6.1
|
|
5
21
|
|
|
6
22
|
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.6.0...v1.6.1)
|
package/dist/module.json
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { createError, defineEventHandler, getCookie, readBody } from "h3";
|
|
2
2
|
import bcrypt from "bcrypt";
|
|
3
3
|
import { useRuntimeConfig } from "#imports";
|
|
4
|
-
import { getCurrentUserFromToken, updateUserPassword } from "../../../utils
|
|
5
|
-
import { validatePassword, getPasswordValidationOptions } from "../../../utils/password-validation";
|
|
4
|
+
import { getCurrentUserFromToken, updateUserPassword, validatePassword, getPasswordValidationOptions } from "../../../utils";
|
|
6
5
|
export default defineEventHandler(async (event) => {
|
|
7
6
|
const { nuxtUsers } = useRuntimeConfig();
|
|
8
7
|
const options = nuxtUsers;
|