Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
timonson committed May 14, 2024
1 parent 5f12d57 commit c10c1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/id.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ export function decodeTime(id) {
return time;
}
export const monotonicUlid = monotonicFactory();
export function ulid(seedTime = Date.now()) {
export function generateUlid(seedTime = Date.now()) {
return encodeTime(seedTime, 10) + encodeRandom(16);
}

0 comments on commit c10c1ba

Please sign in to comment.