summaryrefslogtreecommitdiffhomepage
path: root/packages/browser/src
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-26 15:06:52 -0700
committerGitHub <noreply@github.com>2020-05-26 15:06:52 -0700
commit467206a79d500dda939be26e238ed01e9548a215 (patch)
tree1ba854efe1e0237797654cc09c33526e2b0ad051 /packages/browser/src
parent2ca49ecadf793126b8ee02bcd79a8689a7c20866 (diff)
parent806fd91211f4bef58fe015d11cd792bede2d2561 (diff)
Merge pull request #15 from MasterKale/feature/project-rename
feature/project-rename
Diffstat (limited to 'packages/browser/src')
-rw-r--r--packages/browser/src/helpers/toPublicKeyCredentialDescriptor.ts2
-rw-r--r--packages/browser/src/methods/startAssertion.test.ts2
-rw-r--r--packages/browser/src/methods/startAssertion.ts4
-rw-r--r--packages/browser/src/methods/startAttestation.test.ts4
-rw-r--r--packages/browser/src/methods/startAttestation.ts4
5 files changed, 8 insertions, 8 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.test.ts b/packages/browser/src/methods/startAssertion.test.ts
index 2287b49..7449dbf 100644
--- a/packages/browser/src/methods/startAssertion.test.ts
+++ b/packages/browser/src/methods/startAssertion.test.ts
@@ -3,7 +3,7 @@ import base64js from 'base64-js';
import {
AssertionCredential,
PublicKeyCredentialRequestOptionsJSON,
-} from '@webauthntine/typescript-types';
+} from '@simplewebauthn/typescript-types';
import toUint8Array from '../helpers/toUint8Array';
import supportsWebauthn from '../helpers/supportsWebauthn';
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.test.ts b/packages/browser/src/methods/startAttestation.test.ts
index faeca8b..a972014 100644
--- a/packages/browser/src/methods/startAttestation.test.ts
+++ b/packages/browser/src/methods/startAttestation.test.ts
@@ -3,7 +3,7 @@ import base64js from 'base64-js';
import {
AttestationCredential,
PublicKeyCredentialCreationOptionsJSON,
-} from '@webauthntine/typescript-types';
+} from '@simplewebauthn/typescript-types';
import toUint8Array from '../helpers/toUint8Array';
import supportsWebauthn from '../helpers/supportsWebauthn';
@@ -30,7 +30,7 @@ const goodOpts1: PublicKeyCredentialCreationOptionsJSON = {
],
rp: {
id: '1234',
- name: 'webauthntine',
+ name: 'simplewebauthn',
},
user: {
id: '5678',
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,