chore: add pre-built dist folder for npx usage

This commit is contained in:
thesved
2025-12-04 20:22:02 +02:00
committed by Romuald Członkowski
parent a70d96a373
commit 5057481e70
716 changed files with 48021 additions and 0 deletions

13
dist/utils/auth.d.ts vendored Normal file
View File

@@ -0,0 +1,13 @@
export declare class AuthManager {
private validTokens;
private tokenExpiry;
constructor();
validateToken(token: string | undefined, expectedToken?: string): boolean;
generateToken(expiryHours?: number): string;
revokeToken(token: string): void;
private cleanupExpiredTokens;
static hashToken(token: string): string;
static compareTokens(plainToken: string, hashedToken: string): boolean;
static timingSafeCompare(plainToken: string, expectedToken: string): boolean;
}
//# sourceMappingURL=auth.d.ts.map