From 43e7c5fd1714b369412ede64ced1886d38f32657 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Sat, 20 Jan 2024 21:12:05 -0800 Subject: Update browser package --- packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts | 2 +- packages/browser/src/helpers/toAuthenticatorAttachment.ts | 2 +- packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts | 2 +- packages/browser/src/methods/startAuthentication.test.ts | 2 +- packages/browser/src/methods/startAuthentication.ts | 2 +- packages/browser/src/methods/startRegistration.test.ts | 2 +- packages/browser/src/methods/startRegistration.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) (limited to 'packages/browser/src') diff --git a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts index cfdfb52..1ac861a 100644 --- a/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts +++ b/packages/browser/src/helpers/browserSupportsWebAuthnAutofill.ts @@ -1,4 +1,4 @@ -import { PublicKeyCredentialFuture } from '@simplewebauthn/typescript-types'; +import { PublicKeyCredentialFuture } from '@simplewebauthn/types'; /** * Determine if the browser supports conditional UI, so that WebAuthn credentials can diff --git a/packages/browser/src/helpers/toAuthenticatorAttachment.ts b/packages/browser/src/helpers/toAuthenticatorAttachment.ts index 366cf8f..93fc386 100644 --- a/packages/browser/src/helpers/toAuthenticatorAttachment.ts +++ b/packages/browser/src/helpers/toAuthenticatorAttachment.ts @@ -1,4 +1,4 @@ -import { AuthenticatorAttachment } from '@simplewebauthn/typescript-types'; +import { AuthenticatorAttachment } from '@simplewebauthn/types'; const attachments: AuthenticatorAttachment[] = ['cross-platform', 'platform']; diff --git a/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts b/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts index e4c34a2..39a7a5d 100644 --- a/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts +++ b/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts @@ -1,4 +1,4 @@ -import type { PublicKeyCredentialDescriptorJSON } from '@simplewebauthn/typescript-types'; +import type { PublicKeyCredentialDescriptorJSON } from '@simplewebauthn/types'; import { base64URLStringToBuffer } from './base64URLStringToBuffer'; diff --git a/packages/browser/src/methods/startAuthentication.test.ts b/packages/browser/src/methods/startAuthentication.test.ts index 3aaf33d..5450e16 100644 --- a/packages/browser/src/methods/startAuthentication.test.ts +++ b/packages/browser/src/methods/startAuthentication.test.ts @@ -3,7 +3,7 @@ import { AuthenticationExtensionsClientInputs, AuthenticationExtensionsClientOutputs, PublicKeyCredentialRequestOptionsJSON, -} from '@simplewebauthn/typescript-types'; +} from '@simplewebauthn/types'; import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn'; import { browserSupportsWebAuthnAutofill } from '../helpers/browserSupportsWebAuthnAutofill'; diff --git a/packages/browser/src/methods/startAuthentication.ts b/packages/browser/src/methods/startAuthentication.ts index fdf14bf..390b6ef 100644 --- a/packages/browser/src/methods/startAuthentication.ts +++ b/packages/browser/src/methods/startAuthentication.ts @@ -2,7 +2,7 @@ import { AuthenticationCredential, AuthenticationResponseJSON, PublicKeyCredentialRequestOptionsJSON, -} from '@simplewebauthn/typescript-types'; +} from '@simplewebauthn/types'; import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString'; import { base64URLStringToBuffer } from '../helpers/base64URLStringToBuffer'; diff --git a/packages/browser/src/methods/startRegistration.test.ts b/packages/browser/src/methods/startRegistration.test.ts index ee0b604..e6bdcb7 100644 --- a/packages/browser/src/methods/startRegistration.test.ts +++ b/packages/browser/src/methods/startRegistration.test.ts @@ -3,7 +3,7 @@ import { AuthenticationExtensionsClientOutputs, PublicKeyCredentialCreationOptionsJSON, RegistrationCredential, -} from '@simplewebauthn/typescript-types'; +} from '@simplewebauthn/types'; import { generateCustomError } from '../helpers/__jest__/generateCustomError'; import { browserSupportsWebAuthn } from '../helpers/browserSupportsWebAuthn'; import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString'; diff --git a/packages/browser/src/methods/startRegistration.ts b/packages/browser/src/methods/startRegistration.ts index 3ffa7d1..09117c3 100644 --- a/packages/browser/src/methods/startRegistration.ts +++ b/packages/browser/src/methods/startRegistration.ts @@ -3,7 +3,7 @@ import { PublicKeyCredentialCreationOptionsJSON, RegistrationCredential, RegistrationResponseJSON, -} from '@simplewebauthn/typescript-types'; +} from '@simplewebauthn/types'; import { utf8StringToBuffer } from '../helpers/utf8StringToBuffer'; import { bufferToBase64URLString } from '../helpers/bufferToBase64URLString'; -- cgit v1.2.3