release: @marketplaces/auth 0.1.0 (built from main)

This commit is contained in:
sdarbinyan
2026-08-18 01:55:26 +04:00
commit 93f99cc7b1
44 changed files with 1601 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
export declare class Ed25519KeypairService {
private cached;
isSupported(): boolean;
/** Returns the device's Ed25519 keypair, generating and persisting one on first use. */
getOrCreateKeyPair(): Promise<{
publicKeyBase64: string;
}>;
sign(message: string): Promise<string>;
/** Discards the local keypair (e.g. "forget this device"). A new keypair on next login requires re-registration with the backend. */
clear(): Promise<void>;
private generateAndPersist;
private loadFromStore;
private openDatabase;
private toBase64;
}