@botwall/sdk
Version:
BotWall SDK for site protection and bot crawling
8 lines • 407 B
TypeScript
/**
* Signs a request using Ed25519 based on the signature-input header.
* @param headers - Object containing all headers (header names are case-insensitive)
* @param privateKey - Ed25519 private key (base64-encoded)
* @returns base64-encoded signature string
*/
export declare function signRequest(headers: Record<string, string>, privateKey: string): string;
//# sourceMappingURL=signRequest.d.ts.map