Initial Commit

This commit is contained in:
2026-05-27 23:47:53 +01:00
parent fbc70f96e6
commit 9b28db724f
18103 changed files with 1600554 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
// Errors
export { CborChainCodec } from "./codecs/cbor/cbor.js";
export { RecursiveEd25519Codec } from "./codecs/recursive-ed25519/recursive-ed25519.js";
// Codecs
export { TlvChainCodec } from "./codecs/tlv/tlv.js";
export type {
ChainKeysErrorCode,
ChainKeysErrorOptions,
} from "./error-codes/error-codes.js";
export {
CHAIN_KEYS_CODES,
ChainKeysError,
} from "./error-codes/error-codes.js";
export type {
CreateRootOptions,
CreateServerOptions,
FactoryResult,
RollServerOptions,
} from "./factory/factory.js";
// Factory
export {
createRootKeysWithChain,
createServerKeysWithChain,
rollServerKeysWithChain,
} from "./factory/factory.js";
export {
DomainHasher,
type DomainHasherOptions,
} from "./hashers/domain/domain.js";
export { MerkleHasher } from "./hashers/merkle/merkle.js";
// Hashers
export { RawHasher } from "./hashers/raw/raw.js";
// Signer
export { ChainedKeySigner } from "./signer/signer.js";
export type {
ISigner,
SignerOptions,
SignRawOptions,
TrustedRoot,
} from "./signer/signer.types.js";
export type {
ChainLevel,
ParsedChainLevel,
SignAlgorithmId,
VerificationResult,
} from "./types/chain-level.js";
// Types
export { SIGN_ALGORITHMS } from "./types/chain-level.js";
export type { ChainCodec } from "./types/codec.js";
export type { ChainHasher } from "./types/hasher.js";