diff --git a/package-lock.json b/package-lock.json index 4ce72dc..b4e8cb9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "4.1.11", + "version": "4.1.12", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 2ae14a7..665ea82 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "auth0-source-control-extension-tools", - "version": "4.1.11", + "version": "4.1.12", "description": "Supporting tools for the Source Control extensions", "main": "lib/index.js", "scripts": { diff --git a/src/constants.js b/src/constants.js index 95d92cc..79bf831 100644 --- a/src/constants.js +++ b/src/constants.js @@ -109,7 +109,7 @@ constants.GUARDIAN_FACTORS = [ 'otp', 'email', 'duo', - 'webauth-roaming' + 'webauthn-roaming' ]; constants.GUARDIAN_POLICIES = [ 'all-applications', diff --git a/tests/auth0/handlers/guardianFactors.tests.js b/tests/auth0/handlers/guardianFactors.tests.js index b2d81d9..e6417d6 100644 --- a/tests/auth0/handlers/guardianFactors.tests.js +++ b/tests/auth0/handlers/guardianFactors.tests.js @@ -62,7 +62,7 @@ describe('#guardianFactors handler', () => { { name: 'otp', enabled: true }, { name: 'email', enabled: true }, { name: 'duo', enabled: false }, - { name: 'webauth-roaming', enabled: false } + { name: 'webauthn-roaming', enabled: false } ]; const auth0 = { @@ -84,7 +84,7 @@ describe('#guardianFactors handler', () => { { name: 'otp', enabled: true }, { name: 'email', enabled: true }, { name: 'duo', enabled: false }, - { name: 'webauth-roaming', enabled: false } + { name: 'webauthn-roaming', enabled: false } ]; const auth0 = {