full site update
This commit is contained in:
22
node_modules/uncrypto/dist/crypto.web.cjs
generated
vendored
Normal file
22
node_modules/uncrypto/dist/crypto.web.cjs
generated
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
const webCrypto = globalThis.crypto;
|
||||
const subtle = webCrypto.subtle;
|
||||
const randomUUID = () => {
|
||||
return webCrypto.randomUUID();
|
||||
};
|
||||
const getRandomValues = (array) => {
|
||||
return webCrypto.getRandomValues(array);
|
||||
};
|
||||
const _crypto = {
|
||||
randomUUID,
|
||||
getRandomValues,
|
||||
subtle
|
||||
};
|
||||
|
||||
exports.default = _crypto;
|
||||
exports.getRandomValues = getRandomValues;
|
||||
exports.randomUUID = randomUUID;
|
||||
exports.subtle = subtle;
|
Reference in New Issue
Block a user