diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 17df064..099f591 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,11 +1,8 @@ blank_issues_enabled: false contact_links: - name: Discord - url: https://discord.gg/V9yss7VfVT + url: https://bntvllnt.com/discord about: Ask questions and get help on Discord. - - name: Website - url: https://bntvllnt.com - about: Visit bntvllnt.com for more info. - name: X / Twitter - url: https://x.com/bntvllnt + url: https://bntvllnt.com/x about: Follow @bntvllnt for updates. diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 45d13cb..2301d02 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -30,8 +30,8 @@ Examples of unacceptable behavior: ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported to the project maintainer at https://bntvllnt.com or via -[Discord](https://discord.gg/V9yss7VfVT). +reported to the project maintainer via +[Discord](https://bntvllnt.com/discord) or [bntvllnt.com](https://bntvllnt.com). All complaints will be reviewed and investigated promptly and fairly. diff --git a/src/shared.ts b/src/shared.ts index 0ccacf5..6da6986 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -111,6 +111,7 @@ export function timingSafeEqual(a: string, b: string): boolean { return result === 0; } +/** Compute SHA-256 hash of input, returned as lowercase hex string. */ export async function sha256Hex(input: string): Promise { const encoder = new TextEncoder(); const data = encoder.encode(input);