chore: initialize from frontend template 4dc033c

This commit is contained in:
DongHyeonka
2026-08-13 18:23:26 +09:00
commit 40107eec84
897 changed files with 234824 additions and 0 deletions
@@ -0,0 +1,3 @@
export function leakToConsole(token: string) {
console.error("UNKNOWN_DIAGNOSTIC_EVENT", token);
}
+8
View File
@@ -0,0 +1,8 @@
export function leakSensitiveContext(telemetry: {
emit(eventName: string, context: Record<string, unknown>): void;
}) {
telemetry.emit("api.request.failed", {
authorization: "Bearer secret",
request_body: { email: "private@example.test" },
});
}