summaryrefslogtreecommitdiffhomepage
path: root/src/helpers/decodeAttestationObject.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/decodeAttestationObject.ts')
-rw-r--r--src/helpers/decodeAttestationObject.ts11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/helpers/decodeAttestationObject.ts b/src/helpers/decodeAttestationObject.ts
index a03fefd..1c353d9 100644
--- a/src/helpers/decodeAttestationObject.ts
+++ b/src/helpers/decodeAttestationObject.ts
@@ -1,16 +1,7 @@
import base64url from 'base64url';
import cbor from 'cbor';
-import { ATTESTATION_FORMATS } from './constants';
-
-type AttestationObject = {
- fmt: ATTESTATION_FORMATS,
- attStmt: {
- sig?: Buffer,
- x5c?: Buffer,
- },
- authData: Buffer,
-};
+import { AttestationObject } from '@types';
/**
*