diff options
author | Matthew Miller <matthew@millerti.me> | 2022-07-27 22:13:40 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2022-07-27 22:13:40 -0700 |
commit | 6b3859b5e3323f87b462bb6229451aa6e897295a (patch) | |
tree | ad7dd8344659e4714f65b42c70e49c8a749569c0 /packages/server/src/helpers/decodeAttestationObject.ts | |
parent | 2fbf3bb8f218a749bc29dd37d5bb677a85d2cf5f (diff) |
Export named decodeAttestationObject()
Diffstat (limited to 'packages/server/src/helpers/decodeAttestationObject.ts')
-rw-r--r-- | packages/server/src/helpers/decodeAttestationObject.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/server/src/helpers/decodeAttestationObject.ts b/packages/server/src/helpers/decodeAttestationObject.ts index 3aa39d7..5385106 100644 --- a/packages/server/src/helpers/decodeAttestationObject.ts +++ b/packages/server/src/helpers/decodeAttestationObject.ts @@ -5,7 +5,7 @@ import cbor from 'cbor'; * * @param base64AttestationObject Attestation Object buffer */ -export default function decodeAttestationObject(attestationObject: Buffer): AttestationObject { +export function decodeAttestationObject(attestationObject: Buffer): AttestationObject { const toCBOR: AttestationObject = cbor.decodeAllSync(attestationObject)[0]; return toCBOR; } |