summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2022-11-11 15:25:24 -0800
committerMatthew Miller <matthew@millerti.me>2022-11-11 15:25:24 -0800
commit80a2c94b798dfa80c03d518215b22dad42cada53 (patch)
tree59c0ca3b13fd86f700716f1d0ae530809746729d
parentaa071a793e34a7addd2e51b35c682af719386535 (diff)
Replace some lingering references to Buffer
-rw-r--r--packages/typescript-types/src/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index 7513555..b56842f 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -119,8 +119,8 @@ export interface AuthenticatorAssertionResponseJSON
* A WebAuthn-compatible device and the information needed to verify assertions by it
*/
export type AuthenticatorDevice = {
- credentialPublicKey: Buffer;
- credentialID: Buffer;
+ credentialPublicKey: Uint8Array;
+ credentialID: Uint8Array;
// Number of times this authenticator is expected to have been used
counter: number;
// From browser's `startRegistration()` -> RegistrationCredentialJSON.transports (API L2 and up)