Once again a weird place to commit, I have already done a lot of work, but I am just bad at using git, okay.
7 lines
205 B
TypeScript
7 lines
205 B
TypeScript
import { Challenge } from "@impost/lib";
|
|
|
|
export const outstandingChallenges = new Map<string, { challenge: Challenge, timeout: NodeJS.Timeout }>();
|
|
|
|
// 1 hour
|
|
export const CHALLENGE_TIMEOUT_MS = 3600000;
|