summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Miller <matthew@millerti.me>2020-05-26 15:03:21 -0700
committerMatthew Miller <matthew@millerti.me>2020-05-26 15:03:21 -0700
commit806fd91211f4bef58fe015d11cd792bede2d2561 (patch)
tree1ba854efe1e0237797654cc09c33526e2b0ad051
parent0e1ffd6cbcade19d7e4a1c70f44a5c8eebd91901 (diff)
Replace last vestiges of “webauthntine”
-rw-r--r--packages/browser/src/methods/startAssertion.test.ts2
-rw-r--r--packages/browser/src/methods/startAttestation.test.ts4
-rw-r--r--packages/server/src/attestation/generateAttestationOptions.test.ts8
-rw-r--r--packages/server/src/helpers/convertCOSEtoPKCS.test.ts2
4 files changed, 8 insertions, 8 deletions
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/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/server/src/attestation/generateAttestationOptions.test.ts b/packages/server/src/attestation/generateAttestationOptions.test.ts
index dc67cf5..3885dfc 100644
--- a/packages/server/src/attestation/generateAttestationOptions.test.ts
+++ b/packages/server/src/attestation/generateAttestationOptions.test.ts
@@ -1,7 +1,7 @@
import generateAttestationOptions from './generateAttestationOptions';
test('should generate credential request options suitable for sending via JSON', () => {
- const serviceName = 'WebAuthntine';
+ const serviceName = 'SimpleWebAuthn';
const rpID = 'not.real';
const challenge = 'totallyrandomvalue';
const userID = '1234';
@@ -46,7 +46,7 @@ test('should generate credential request options suitable for sending via JSON',
test('should map excluded credential IDs if specified', () => {
const options = generateAttestationOptions(
- 'WebAuthntine',
+ 'SimpleWebAuthn',
'not.real',
'totallyrandomvalue',
'1234',
@@ -65,7 +65,7 @@ test('should map excluded credential IDs if specified', () => {
test('defaults to 60 seconds if no timeout is specified', () => {
const options = generateAttestationOptions(
- 'WebAuthntine',
+ 'SimpleWebAuthn',
'not.real',
'totallyrandomvalue',
'1234',
@@ -77,7 +77,7 @@ test('defaults to 60 seconds if no timeout is specified', () => {
test('defaults to direct attestation if no attestation type is specified', () => {
const options = generateAttestationOptions(
- 'WebAuthntine',
+ 'SimpleWebAuthn',
'not.real',
'totallyrandomvalue',
'1234',
diff --git a/packages/server/src/helpers/convertCOSEtoPKCS.test.ts b/packages/server/src/helpers/convertCOSEtoPKCS.test.ts
index 5bc970c..d17d4bd 100644
--- a/packages/server/src/helpers/convertCOSEtoPKCS.test.ts
+++ b/packages/server/src/helpers/convertCOSEtoPKCS.test.ts
@@ -1,5 +1,5 @@
import cbor from 'cbor';
-import { COSEKEYS } from '@webauthntine/typescript-types';
+import { COSEKEYS } from '@simplewebauthn/typescript-types';
import convertCOSEtoPKCS from './convertCOSEtoPKCS';