Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: enrolledFactors rather than enrolledFactor #7652

Merged
merged 2 commits into from
Apr 12, 2024

Conversation

mnahkies
Copy link
Contributor

@mnahkies mnahkies commented Feb 26, 2024

Description

the typescript definitions specify it as enrolledFactors reflecting that it is an array, but the javascript was actually setting it as enrolledFactor at runtime.

the original enrolledFactor property is kept for backwards compatibility, but could be removed in a future major version.

ref:

Release Summary

Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
    • Yes
  • My change supports the following platforms;
    • Android
    • iOS
  • My change includes tests;
    • e2e tests added or updated in packages/\*\*/e2e
    • jest tests added or updated in packages/\*\*/__tests__
  • I have updated TypeScript types that are affected by my change.
  • This is a breaking change;
    • Yes
    • No

Copy link

vercel bot commented Feb 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-native-firebase ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 9, 2024 7:28am

@mnahkies mnahkies changed the title fix!: enrolledFactors rather than enrolledFactor fix: enrolledFactors rather than enrolledFactor Mar 9, 2024
@mnahkies
Copy link
Contributor Author

mnahkies commented Mar 9, 2024

@mikehardy I've adjusted this to be backwards compatible since I missed the v19 release, it would be great if you could take a look 🙏

Copy link

codecov bot commented Mar 9, 2024

Codecov Report

Merging #7652 (2457a55) into main (fae5966) will decrease coverage by 34.81%.
Report is 15 commits behind head on main.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7652       +/-   ##
===========================================
- Coverage   68.05%   33.24%   -34.81%     
===========================================
  Files         149      251      +102     
  Lines        5943    12464     +6521     
  Branches     1250     1944      +694     
===========================================
+ Hits         4044     4142       +98     
- Misses       1802     8233     +6431     
+ Partials       97       89        -8     

Copy link

github-actions bot commented Apr 6, 2024

Hello 👋, this PR has been opened for more than 2 months with no activity on it.

If you think this is a mistake please comment and ping a maintainer to get this merged ASAP! Thanks for contributing!

You have 15 days until this gets closed automatically

@github-actions github-actions bot added Stale and removed Stale labels Apr 6, 2024
@mikehardy
Copy link
Collaborator

not stale

Copy link
Collaborator

@mikehardy mikehardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is a no-brainer now - only sorry took me this long to get it in! Thanks for your patience

@mikehardy mikehardy merged commit 1ae7481 into invertase:main Apr 12, 2024
18 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants