shim randomUUID, bump version

This commit is contained in:
Nystik
2026-03-23 13:04:35 +01:00
parent 11bb3efdde
commit 0d74b3b8bd
5 changed files with 38 additions and 4 deletions

View File

@@ -1,9 +1,11 @@
import { randomBytes } from "./random-bytes.js";
import { createHash } from "./create-hash.js";
import { scrypt } from "./scrypt.js";
import { randomUUID } from "./random-uuid.js";
export const cryptoShim = {
randomBytes,
createHash,
scrypt,
randomUUID,
};

View File

@@ -0,0 +1,3 @@
export function randomUUID() {
return crypto.randomUUID();
}