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

8 lines (7 loc) 387 B
import { Proposal } from "./proposal.js"; export interface ProposalWithSender { proposal: Proposal; senderLeafIndex: number | undefined; } export type UnappliedProposals = Record<string, ProposalWithSender>; export declare function addUnappliedProposal(ref: Uint8Array, proposals: UnappliedProposals, proposal: Proposal, senderLeafIndex: number | undefined): UnappliedProposals;