-
Notifications
You must be signed in to change notification settings - Fork 929
Publicly export auth error codes #4579
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
Conversation
🦋 Changeset detectedLatest commit: 580dfce The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Binary Size ReportAffected SDKs
Test Logs |
* Developer-facing Firebase Auth error codes. | ||
*/ | ||
declare namespace firebase.auth.ErrorCode { | ||
var ADMIN_ONLY_OPERATION: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we use the enum value as type instead of string
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
I'm a little concerned about the size increase, but this package is already fairly large as it is |
Maybe a simple |
Going to abandon this due to the size increase, which users cannot opt out of in the current version of the SDK. However, we plan to provide an error code object map in the upcoming modularized version of auth, that users can choose to import or not, depending on size concerns. |
This is for the current package only, we'll have to think of a different approach for exp.