diff options
author | Matthew Miller <matthew@millerti.me> | 2024-01-20 21:38:41 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 21:38:41 -0800 |
commit | 38066516354ea7f0d7a40e9a33b30fc661468433 (patch) | |
tree | 59b8919faa659da9f4672193ae1cbee175e25350 /packages/browser/src | |
parent | bd8ad1703aca6a3e76a6278df4e40fafeb8fcd76 (diff) | |
parent | 46e7b1d89d8b41bbf2c20ed07824ec489a2e2711 (diff) |
Merge pull request #508 from MasterKale/feat/502-rename-types-package
feat/502-rename-types-package
Diffstat (limited to 'packages/browser/src')
7 files changed, 7 insertions, 7 deletions
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'; |