interface · Browser and Node
DecodeCborOptions
@toip-tools/coseView sourceimport { type DecodeCborOptions } from "@toip-tools/cose";
Declaration
interface DecodeCborOptions {
/** Reject encodings that are not deterministic. Default true. */
strict?: boolean;
/** Return every map as a `Map`, even text-keyed ones. Default false. */
useMaps?: boolean;
}
Properties
strictoptionalboolean | undefinedReject encodings that are not deterministic. Default true.
useMapsoptionalboolean | undefinedReturn every map as a
Map, even text-keyed ones. Default false.