Added an endpoint for getting the actual stored responses, and used it to test and improve the python package.
6 lines
169 B
TypeScript
6 lines
169 B
TypeScript
import cryptoRandomString from "crypto-random-string";
|
|
|
|
const KEY_LENGTH = 42;
|
|
|
|
export const generateApiKey = () => `opk_${cryptoRandomString({ length: KEY_LENGTH })}`;
|