Skip to content

Commit

Permalink
fix: change "adjective_adjective_animal_verb" to "adjective_animal_ve…
Browse files Browse the repository at this point in the history
…rb_adverb"
  • Loading branch information
revosw authored Dec 16, 2024
1 parent e2cda31 commit 8ca1460
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { adjectives, animals, adverbs, verbs } from "./words.js"

export function randomHumanId() {
return `${adjectives[Math.floor(Math.random() * 256)]}_${
adjectives[Math.floor(Math.random() * 256)]
}_${animals[Math.floor(Math.random() * 256)]}_${verbs[Math.floor(Math.random() * 256)]}`
animals[Math.floor(Math.random() * 256)]
}_${verbs[Math.floor(Math.random() * 256)]}_${adverbs[Math.floor(Math.random() * 256)]}`
}

export function humanIdHash(value: string, offset: number = 0) {
Expand Down

0 comments on commit 8ca1460

Please sign in to comment.