Travis Fischer 2025-07-16 13:57:03 -04:00
rodzic b41d4ff1f8
commit 012f488931
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -1,5 +1,7 @@
import { sha256 } from '@agentic/platform-core'
export async function createConsumerApiKey(): Promise<string> {
return `sk-${await sha256()}`
const hash = await sha256()
return `sk-${hash}`
}