UNPKG

ts-mls

Version:

[![CI](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml/badge.svg)](https://github.com/LukaJCB/ts-mls/actions/workflows/ci.yml) [![npm version](https://badge.fury.io/js/ts-mls.svg)](https://badge.fury.io/js/ts-mls) [![Coverage Status](https://co

12 lines (11 loc) 472 B
import { Decoder } from "./codec/tlsDecoder.js"; import { BufferEncoder, Encoder } from "./codec/tlsEncoder.js"; import { ProposalOrRef } from "./proposalOrRefType.js"; import { UpdatePath } from "./updatePath.js"; export interface Commit { proposals: ProposalOrRef[]; path: UpdatePath | undefined; } export declare const commitEncoder: BufferEncoder<Commit>; export declare const encodeCommit: Encoder<Commit>; export declare const decodeCommit: Decoder<Commit>;