@vaxxnz/nzcp
Version:
A JavaScript implementation of the NZ COVID Pass verification
15 lines (14 loc) • 397 B
TypeScript
import { Data } from "./cborTypes";
declare type DecodedCOSEValue = Data[];
interface DecodedCOSEStructureSuccess {
tag: number;
value: DecodedCOSEValue;
err: Error;
}
interface DecodedCOSEStructureError {
tag: number;
value: DecodedCOSEValue;
err: undefined;
}
export declare type DecodedCOSEStructure = DecodedCOSEStructureSuccess | DecodedCOSEStructureError;
export {};