equipped 5.0.0-beta-1 → 5.0.0-beta-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 +7 -0
- package/lib/validations/index.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [5.0.0-beta-2](https://github.com/kevinand11/equipped/compare/v5.0.0-beta-1...v5.0.0-beta-2) (2024-05-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* validate expects value of unknown not Record ([f3773f9](https://github.com/kevinand11/equipped/commit/f3773f905f6ccb5713fd30a0870d34fbd40c36fc))
|
|
11
|
+
|
|
5
12
|
## [5.0.0-beta-1](https://github.com/kevinand11/equipped/compare/v4.4.6...v5.0.0-beta-1) (2024-05-29)
|
|
6
13
|
|
|
7
14
|
|
|
@@ -154,7 +154,7 @@ export declare const Validation: {
|
|
|
154
154
|
ignored: boolean;
|
|
155
155
|
};
|
|
156
156
|
};
|
|
157
|
-
export declare const validate: <T extends Record<string, Validate.VCore<any>>>(schema: T, value:
|
|
157
|
+
export declare const validate: <T extends Record<string, Validate.VCore<any>>>(schema: T, value: unknown) => { [K in keyof T]: import("valleyed/lib/api/base").ExtractI<T[K]>; };
|
|
158
158
|
export declare const Hash: {
|
|
159
159
|
hash: (password: string) => Promise<string>;
|
|
160
160
|
compare: (plainPassword: string, hashed: string) => Promise<boolean>;
|