From 8ba8280e7bb0f4f709bf57c2542a25ec3b445998 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Sat, 27 Jan 2024 13:20:25 -0600 Subject: [PATCH] :rocket: --- README.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 227e4e4..fa14b0f 100644 --- a/README.md +++ b/README.md @@ -27,13 +27,8 @@ const document: edn.EDNCoseSign1 = await edn.parse( Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex") // or "18([h'A1013822', {4: h'5 ... ) -const alg = document.signatureAlgorithm(); -expect(alg.value).toBe(-35); -expect(alg.comment).toBe("ECDSA with SHA-384"); -// use the parsed abstract syntax tree for -// CBOR Extended Diagnostic Notation (EDN) -// to build custom diagnostic renderers -// TODO: https://github.com/transmute-industries/vscode-scitt-preview +const message = Buffer.from("D28444A1013822A1044...02E9D91E9B7B59622A3C", "hex"); +const html = await edn.render(message, 'text/html') ``` ## Develop