@julesl23/s5js
Version:
Enhanced TypeScript SDK for S5 decentralized storage with path-based API, media processing, and directory utilities
10 lines • 530 B
TypeScript
import { CryptoImplementation, KeyPairEd25519 } from '../api/crypto.js';
export declare const CHALLENGE_TYPE_REGISTER = 1;
export declare const CHALLENGE_TYPE_LOGIN = 2;
export declare function signChallenge(keyPair: KeyPairEd25519, challenge: Uint8Array, challengeType: number, portalHost: string, crypto: CryptoImplementation): Promise<AccountChallengeResponse>;
interface AccountChallengeResponse {
readonly response: Uint8Array;
readonly signature: Uint8Array;
}
export {};
//# sourceMappingURL=sign_challenge.d.ts.map