diff options
author | Matthew Miller <matthew@millerti.me> | 2020-05-26 11:23:30 -0700 |
---|---|---|
committer | Matthew Miller <matthew@millerti.me> | 2020-05-26 11:23:30 -0700 |
commit | 99bfef338ca068be1f734bc6ca784e12c8df7d7a (patch) | |
tree | b6ebfa742c6266843562c1d43a51b7df2aa7c799 /packages/browser/src | |
parent | 2ca49ecadf793126b8ee02bcd79a8689a7c20866 (diff) |
Rename WebAuthntine to SimpleWebAuthn
Diffstat (limited to 'packages/browser/src')
-rw-r--r-- | packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts | 2 | ||||
-rw-r--r-- | packages/browser/src/methods/startAssertion.ts | 4 | ||||
-rw-r--r-- | packages/browser/src/methods/startAttestation.ts | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts b/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts index ad166a5..c37fed0 100644 --- a/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts +++ b/packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts @@ -1,5 +1,5 @@ import base64js from 'base64-js'; -import type { PublicKeyCredentialDescriptorJSON } from '@webauthntine/typescript-types'; +import type { PublicKeyCredentialDescriptorJSON } from '@simplewebauthn/typescript-types'; export default function toPublicKeyCredentialDescriptor( descriptor: PublicKeyCredentialDescriptorJSON, diff --git a/packages/browser/src/methods/startAssertion.ts b/packages/browser/src/methods/startAssertion.ts index 826763a..0648e56 100644 --- a/packages/browser/src/methods/startAssertion.ts +++ b/packages/browser/src/methods/startAssertion.ts @@ -2,7 +2,7 @@ import { PublicKeyCredentialRequestOptionsJSON, AuthenticatorAssertionResponseJSON, AssertionCredential, -} from '@webauthntine/typescript-types'; +} from '@simplewebauthn/typescript-types'; import toUint8Array from '../helpers/toUint8Array'; import toBase64String from '../helpers/toBase64String'; @@ -12,7 +12,7 @@ import toPublicKeyCredentialDescriptor from '../helpers/toPublicKeyCredentialDes /** * Begin authenticator "login" via WebAuthn assertion * - * @param requestOptionsJSON Output from @webauthntine/server's generateAssertionOptions(...) + * @param requestOptionsJSON Output from @simplewebauthn/server's generateAssertionOptions(...) */ export default async function startAssertion( requestOptionsJSON: PublicKeyCredentialRequestOptionsJSON, diff --git a/packages/browser/src/methods/startAttestation.ts b/packages/browser/src/methods/startAttestation.ts index 14ffc53..f77c2de 100644 --- a/packages/browser/src/methods/startAttestation.ts +++ b/packages/browser/src/methods/startAttestation.ts @@ -2,7 +2,7 @@ import { PublicKeyCredentialCreationOptionsJSON, AuthenticatorAttestationResponseJSON, AttestationCredential, -} from '@webauthntine/typescript-types'; +} from '@simplewebauthn/typescript-types'; import toUint8Array from '../helpers/toUint8Array'; import toBase64String from '../helpers/toBase64String'; @@ -12,7 +12,7 @@ import toPublicKeyCredentialDescriptor from '../helpers/toPublicKeyCredentialDes /** * Begin authenticator "registration" via WebAuthn attestation * - * @param creationOptionsJSON Output from @webauthntine/server's generateAttestationOptions(...) + * @param creationOptionsJSON Output from @simplewebauthn/server's generateAttestationOptions(...) */ export default async function startAttestation( creationOptionsJSON: PublicKeyCredentialCreationOptionsJSON, |