Added missing salt.

This commit is contained in:
Mike Cao 2023-10-20 13:54:03 -07:00
parent 140cac046b
commit f175534f51
3 changed files with 6 additions and 6 deletions

View file

@ -15,7 +15,7 @@ export function salt() {
export function uuid(...args) {
if (!args.length) return v4();
return v5(hash(...args), v5.DNS);
return v5(hash(...args, salt()), v5.DNS);
}
export function isUuid(value) {