Skip to content

Commit

Permalink
Add export for totpMultifactorGenerator for react native bundle (#7720)
Browse files Browse the repository at this point in the history
* add export for totpGenerator and totpSecret for react native bundle

* add changeset and formatting files
  • Loading branch information
bhparijat authored Oct 26, 2023
1 parent cac9165 commit 33a2298
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/ten-ads-return.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@firebase/auth': patch
---

fixes github issue https://github.com/firebase/firebase-js-sdk/issues/7701.
4 changes: 4 additions & 0 deletions packages/auth/index.rn.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ export {

// MFA
export { PhoneMultiFactorGenerator } from './src/platform_browser/mfa/assertions/phone';
export {
TotpMultiFactorGenerator,
TotpSecret
} from './src/mfa/assertions/totp';

export { getReactNativePersistence } from './src/platform_react_native/persistence/react_native';

Expand Down

0 comments on commit 33a2298

Please sign in to comment.