Skip to content

Commit 496e897

Browse files
authored
Merge pull request #84 from vserpokryl/feature/result-types
2 parents 764adff + 25c1717 commit 496e897

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/PasskeyTypes.ts

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,21 +44,20 @@ export interface PasskeyCreateResult {
4444
id: string;
4545
rawId: string;
4646
type?: string;
47+
authenticatorAttachment?: string;
4748
response: {
4849
clientDataJSON: string;
4950
attestationObject: string;
5051
};
51-
extensions?: {
52-
clientExtensionResults?: {
53-
largeBlob?: {
54-
supported?: boolean;
55-
blob?: Uint8Array;
56-
written?: boolean;
57-
};
58-
prf: {
59-
enabled?: boolean;
60-
results?: AuthenticationExtensionsPRFValues;
61-
};
52+
clientExtensionResults?: {
53+
largeBlob?: {
54+
supported?: boolean;
55+
blob?: Uint8Array;
56+
written?: boolean;
57+
};
58+
prf: {
59+
enabled?: boolean;
60+
results?: AuthenticationExtensionsPRFValues;
6261
};
6362
};
6463
}
@@ -89,6 +88,7 @@ export interface PasskeyGetResult {
8988
id: string;
9089
rawId: string;
9190
type?: string;
91+
authenticatorAttachment?: string;
9292
response: {
9393
authenticatorData: string;
9494
clientDataJSON: string;

0 commit comments

Comments
 (0)