@shard-auth/client
Version:
Next-generation API authentication without secret keys - MPC-based authentication with FROST threshold signatures
14 lines • 464 B
TypeScript
/**
* シェア管理クラス
* グローバル変数の代わりに、インスタンスベースでシェアを管理
*/
import { ShareA, ShareB } from '../types';
export declare class ShareManager {
private shares;
addShare(share: ShareA | ShareB): void;
getShare(index: number): bigint | undefined;
getAllShares(): bigint[];
hasAllShares(expectedCount?: number): boolean;
clear(): void;
}
//# sourceMappingURL=share-manager.d.ts.map