From 2fcaaedfbb5a5f8189ba84b9728017af079b54b2 Mon Sep 17 00:00:00 2001 From: Orie Steele Date: Thu, 3 Oct 2024 12:42:35 -0500 Subject: [PATCH] cleaning --- src/cbor/pretty/prettyCose.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cbor/pretty/prettyCose.ts b/src/cbor/pretty/prettyCose.ts index 33be1ad..d925bb3 100644 --- a/src/cbor/pretty/prettyCose.ts +++ b/src/cbor/pretty/prettyCose.ts @@ -1,7 +1,7 @@ import * as cbor from 'cbor-web' import { prettyCoseSign1 } from './prettyCoseSign1' -export const prettyCose = (data: Buffer) => { +export const prettyCose = (data: ArrayBuffer) => { const decoded = cbor.decode(data) if (decoded.tag === 18) { return prettyCoseSign1(data)