"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.uuid7 = exports.uuid4 = void 0;
exports.uuid7FromDate = uuid7FromDate;
const node_crypto_1 = require("node:crypto");
const uuidv7_1 = require("uuidv7");
exports.uuid4 = node_crypto_1.randomUUID;
exports.uuid7 = uuidv7_1.uuidv7;
const v7Generator = new uuidv7_1.V7Generator();
function uuid7FromDate(date) {
    return v7Generator.generateOrResetCore(date.getTime(), 10000).toString();
}
//# sourceMappingURL=uuid.js.map