From 33a2298af3dc669a23548ee1703de788435aa6b5 Mon Sep 17 00:00:00 2001 From: bhparijat Date: Wed, 25 Oct 2023 17:34:01 -0700 Subject: [PATCH] Add export for totpMultifactorGenerator for react native bundle (#7720) * add export for totpGenerator and totpSecret for react native bundle * add changeset and formatting files --- .changeset/ten-ads-return.md | 5 +++++ packages/auth/index.rn.ts | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 .changeset/ten-ads-return.md diff --git a/.changeset/ten-ads-return.md b/.changeset/ten-ads-return.md new file mode 100644 index 00000000000..ee37cb7f6a7 --- /dev/null +++ b/.changeset/ten-ads-return.md @@ -0,0 +1,5 @@ +--- +'@firebase/auth': patch +--- + +fixes github issue https://github.com/firebase/firebase-js-sdk/issues/7701. diff --git a/packages/auth/index.rn.ts b/packages/auth/index.rn.ts index e2ad3064787..ecf04d8ac2d 100644 --- a/packages/auth/index.rn.ts +++ b/packages/auth/index.rn.ts @@ -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';