build: add precompiled CLI distribution

This commit is contained in:
2026-08-29 19:00:14 +08:00
parent d074681928
commit 4d1dc76e31
77 changed files with 3461 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
import { createHash } from 'node:crypto';
export function hashPresenterToken(token) {
return createHash('sha256').update(token.trim()).digest('hex');
}
export function hasPresenterToken(env = process.env) {
return Boolean(env.PRESENTER_TOKEN?.trim());
}
//# sourceMappingURL=token.js.map