summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types
diff options
context:
space:
mode:
Diffstat (limited to 'packages/typescript-types')
-rw-r--r--packages/typescript-types/package.json2
-rw-r--r--packages/typescript-types/src/index.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/packages/typescript-types/package.json b/packages/typescript-types/package.json
index 87da7c6..dcbc1d7 100644
--- a/packages/typescript-types/package.json
+++ b/packages/typescript-types/package.json
@@ -1,6 +1,6 @@
{
"name": "@simplewebauthn/typescript-types",
- "version": "2.1.0",
+ "version": "3.0.0",
"description": "TypeScript types used by the @simplewebauthn series of libraries",
"main": "dist/index.js",
"types": "dist/index.d.ts",
diff --git a/packages/typescript-types/src/index.ts b/packages/typescript-types/src/index.ts
index ab39bd6..4834a37 100644
--- a/packages/typescript-types/src/index.ts
+++ b/packages/typescript-types/src/index.ts
@@ -49,7 +49,7 @@ export interface PublicKeyCredentialDescriptorJSON
export interface PublicKeyCredentialUserEntityJSON
extends Omit<PublicKeyCredentialUserEntity, 'id'> {
- id: Base64URLString;
+ id: string;
}
/**
@@ -111,7 +111,7 @@ export interface AuthenticatorAssertionResponseJSON
authenticatorData: Base64URLString;
clientDataJSON: Base64URLString;
signature: Base64URLString;
- userHandle?: Base64URLString;
+ userHandle?: string;
}
/**