summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types
diff options
context:
space:
mode:
authorakanass <akanass@icloud.com>2021-05-09 19:15:18 +0200
committerakanass <akanass@icloud.com>2021-05-09 19:15:18 +0200
commitd89d5d57d0c618410c958c96d5aee9492348f768 (patch)
tree6a528b6adc6da63216e3a480e6b3d26cce23614d /packages/typescript-types
parentd061d213ace42d382fa605a363f3ef2b781a1ce3 (diff)
parent7d015c27d523da2c34495b65b8ca1a10044dad0d (diff)
Merge remote-tracking branch 'upstream/master'
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;
}
/**