diff options
Diffstat (limited to 'packages/browser/src')
-rw-r--r-- | packages/browser/src/index.test.ts | 4 | ||||
-rw-r--r-- | packages/browser/src/index.ts | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/packages/browser/src/index.test.ts b/packages/browser/src/index.test.ts index 49c6ebe..5e396ca 100644 --- a/packages/browser/src/index.test.ts +++ b/packages/browser/src/index.test.ts @@ -11,3 +11,7 @@ test('should export method `startAssertion`', () => { test('should export method `browserSupportsWebauthn`', () => { expect(index.browserSupportsWebauthn).toBeDefined(); }); + +test('should export method `platformAuthenticatorIsAvailable`', () => { + expect(index.browserSupportsWebauthn).toBeDefined(); +}); diff --git a/packages/browser/src/index.ts b/packages/browser/src/index.ts index c342ddb..94c9755 100644 --- a/packages/browser/src/index.ts +++ b/packages/browser/src/index.ts @@ -5,5 +5,11 @@ import startAttestation from './methods/startAttestation'; import startAssertion from './methods/startAssertion'; import { browserSupportsWebauthn } from './helpers/browserSupportsWebauthn'; +import { platformAuthenticatorIsAvailable } from './helpers/platformAuthenticatorIsAvailable'; -export { startAttestation, startAssertion, browserSupportsWebauthn }; +export { + startAttestation, + startAssertion, + browserSupportsWebauthn, + platformAuthenticatorIsAvailable, +}; |