nuxt-users 1.6.2 → 1.6.3
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 +16 -0
- package/dist/module.json +1 -1
- package/dist/runtime/components/PasswordStrengthIndicator.vue.d.ts +1 -1
- package/dist/runtime/composables/usePasswordValidation.d.ts +1 -1
- package/dist/runtime/composables/usePasswordValidation.js +1 -1
- package/dist/runtime/server/api/auth/reset-password.post.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## v1.6.3
|
|
5
|
+
|
|
6
|
+
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.6.2...v1.6.3)
|
|
7
|
+
|
|
8
|
+
### 🩹 Fixes
|
|
9
|
+
|
|
10
|
+
- Import paths ([ab7f530](https://github.com/rrd108/nuxt-users/commit/ab7f530))
|
|
11
|
+
|
|
12
|
+
### 🏡 Chore
|
|
13
|
+
|
|
14
|
+
- **release:** V1.6.2 ([e000fad](https://github.com/rrd108/nuxt-users/commit/e000fad))
|
|
15
|
+
|
|
16
|
+
### ❤️ Contributors
|
|
17
|
+
|
|
18
|
+
- Rrd108 ([@rrd108](https://github.com/rrd108))
|
|
19
|
+
|
|
4
20
|
## v1.6.2
|
|
5
21
|
|
|
6
22
|
[compare changes](https://github.com/rrd108/nuxt-users/compare/v1.6.1...v1.6.2)
|
package/dist/module.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type PasswordValidationResult, type PasswordValidationOptions } from '../../utils/
|
|
1
|
+
import { type PasswordValidationResult, type PasswordValidationOptions } from '../../utils/index.js';
|
|
2
2
|
import type { ModuleOptions } from '../../types.js';
|
|
3
3
|
export declare const usePasswordValidation: (moduleOptions?: ModuleOptions, options?: PasswordValidationOptions) => {
|
|
4
4
|
password: import("vue").Ref<string, string>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, computed } from "vue";
|
|
2
|
-
import { validatePassword, getPasswordValidationOptions, getPasswordStrengthColor, getPasswordStrengthText } from "../../utils
|
|
2
|
+
import { validatePassword, getPasswordValidationOptions, getPasswordStrengthColor, getPasswordStrengthText } from "../../utils";
|
|
3
3
|
export const usePasswordValidation = (moduleOptions, options) => {
|
|
4
4
|
const passwordOptions = getPasswordValidationOptions(moduleOptions);
|
|
5
5
|
const finalOptions = { ...passwordOptions, ...options };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineEventHandler, readBody, createError, H3Error } from "h3";
|
|
2
2
|
import { resetPassword } from "../../services/password.js";
|
|
3
3
|
import { useRuntimeConfig } from "#imports";
|
|
4
|
-
import { validatePassword, getPasswordValidationOptions } from "../../../../utils
|
|
4
|
+
import { validatePassword, getPasswordValidationOptions } from "../../../../utils";
|
|
5
5
|
export default defineEventHandler(async (event) => {
|
|
6
6
|
const body = await readBody(event);
|
|
7
7
|
const { token, email, password, password_confirmation } = body;
|