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

Add extra asserts around action code settings (auth-next) #3911

Merged
merged 2 commits into from
Oct 19, 2020

Conversation

avolkovi
Copy link
Contributor

@avolkovi avolkovi commented Oct 9, 2020

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Oct 9, 2020

⚠️ No Changeset found

Latest commit: 9a969c7

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 9, 2020

Binary Size Report

Affected SDKs

No changes between base commit (49378bf) and head commit (e504e7a).

Test Logs

@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 9, 2020

Size Analysis Report

Affected Products

@firebase/auth-exp

  • sendEmailVerification

    Size

    Type Base (49378bf) Head (e504e7a) Diff
    size 45.1 kB 45.4 kB +334 B (+0.7%)
    size_with_ext_deps 55.6 kB 55.9 kB +338 B (+0.6%)

    Dependencies

    Type Base (49378bf) Head (e504e7a) Diff
    functions
    Click to show 45 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendEmailVerification
    sendOobCode
    setActionCodeSettingsOnRequest
    utcTimestampToDateString
    Click to show 45 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    _setActionCodeSettingsOnRequest
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendEmailVerification
    sendOobCode
    utcTimestampToDateString
    + _setActionCodeSettingsOnRequest
    - setActionCodeSettingsOnRequest
  • sendPasswordResetEmail

    Size

    Type Base (49378bf) Head (e504e7a) Diff
    size 45.0 kB 45.3 kB +329 B (+0.7%)
    size_with_ext_deps 55.5 kB 55.8 kB +333 B (+0.6%)

    Dependencies

    Type Base (49378bf) Head (e504e7a) Diff
    functions
    Click to show 45 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendOobCode
    sendPasswordResetEmail
    setActionCodeSettingsOnRequest
    utcTimestampToDateString
    Click to show 45 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    _setActionCodeSettingsOnRequest
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendOobCode
    sendPasswordResetEmail
    utcTimestampToDateString
    + _setActionCodeSettingsOnRequest
    - setActionCodeSettingsOnRequest
  • sendSignInLinkToEmail

    Size

    Type Base (49378bf) Head (e504e7a) Diff
    size 45.0 kB 45.3 kB +329 B (+0.7%)
    size_with_ext_deps 55.5 kB 55.8 kB +333 B (+0.6%)

    Dependencies

    Type Base (49378bf) Head (e504e7a) Diff
    functions
    Click to show 45 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendOobCode
    sendSignInLinkToEmail
    setActionCodeSettingsOnRequest
    utcTimestampToDateString
    Click to show 45 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    _setActionCodeSettingsOnRequest
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendOobCode
    sendSignInLinkToEmail
    utcTimestampToDateString
    + _setActionCodeSettingsOnRequest
    - setActionCodeSettingsOnRequest
  • verifyBeforeUpdateEmail

    Size

    Type Base (49378bf) Head (e504e7a) Diff
    size 45.1 kB 45.4 kB +334 B (+0.7%)
    size_with_ext_deps 55.6 kB 55.9 kB +338 B (+0.6%)

    Dependencies

    Type Base (49378bf) Head (e504e7a) Diff
    functions
    Click to show 46 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendOobCode
    setActionCodeSettingsOnRequest
    utcTimestampToDateString
    verifyAndChangeEmail
    verifyBeforeUpdateEmail
    Click to show 46 deps_castAuth
    _emulatorUrl
    _getBrowserName
    _getClientVersion
    _getCurrentScheme
    _getFinalTarget
    _getInstance
    _getUserLanguage
    _isAndroid
    _isBlackBerry
    _isChromeIOS
    _isFirefox
    _isHttpOrHttps
    _isIEMobile
    _isOnline
    _isSafari
    _isWebOS
    _logError
    _logoutIfInvalidated
    _parseToken
    _performApiRequest
    _performFetchWithErrorHandling
    _persistenceKeyName
    _reloadWithoutSaving
    _setActionCodeSettingsOnRequest
    assert
    assertStringOrUndefined
    debugAssert
    debugFail
    deleteAccount
    extractProviderData
    fail
    getAccountInfo
    getIdTokenResult
    getVersionForPlatform
    isUserInvalidated
    makeTaggedError
    mergeProviderData
    registerAuth
    reload
    requestStsToken
    secondsStringToMilliseconds
    sendOobCode
    utcTimestampToDateString
    verifyAndChangeEmail
    verifyBeforeUpdateEmail
    + _setActionCodeSettingsOnRequest
    - setActionCodeSettingsOnRequest

Test Logs

@avolkovi avolkovi force-pushed the avolkovi/action-code-settings branch from 068fac5 to d07605e Compare October 19, 2020 17:23
Copy link
Member

@Feiyang1 Feiyang1 left a comment

Choose a reason for hiding this comment

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

Please fix the lint error

@avolkovi avolkovi force-pushed the avolkovi/action-code-settings branch from 711cf28 to 9a969c7 Compare October 19, 2020 17:48
@avolkovi avolkovi merged commit 0204abf into master Oct 19, 2020
@avolkovi avolkovi deleted the avolkovi/action-code-settings branch October 19, 2020 18:48
@firebase firebase locked and limited conversation to collaborators Nov 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants