-
Notifications
You must be signed in to change notification settings - Fork 985
Add custom domain support to callable functions #3825
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: 05e6e0a The changes in this PR will be included in the next version bump. This PR includes changesets to release 6 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
|
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.
Looks good, one question, we have to update packages-exp/functions-exp as well with any changes. Would you like to add them here, in a separate PR, or do you want me to take care of it? (I don't mind, should be simple enough to mirror the changes over.)
|
@hsubox76 I'll give it a try! |
Changeset File Check
|
| authProvider: Provider<FirebaseAuthInternalName>, | ||
| messagingProvider: Provider<FirebaseMessagingName>, | ||
| readonly region: string = DEFAULT_REGION, | ||
| regionOrCustomDomain: string = DEFAULT_REGION, |
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.
I think this can be private?
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.
So if I make it private then it remains a private instance field, but I want it to just be a constructor arg that's not saved outside this scope. So I think it's correct as-is?
Size Analysis ReportAffected Products
|
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.63 kB | ? (?) |
| size_with_ext_deps | ? | 4.05 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 22 depsERRORSERROR_FACTORYPLATFORM_LOG_STRINGSDK_VERSION_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversionversion$1 |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_DEFAULT_ENTRY_NAME
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.63 kB | ? (?) |
| size_with_ext_deps | ? | 4.05 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 21 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_DEFAULT_ENTRY_NAME_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_addComponent
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.61 kB | ? (?) |
| size_with_ext_deps | ? | 4.02 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_addOrOverwriteComponent
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.67 kB | ? (?) |
| size_with_ext_deps | ? | 4.09 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_addOrOverwriteComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_apps
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.60 kB | ? (?) |
| size_with_ext_deps | ? | 4.02 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_clearComponents
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.63 kB | ? (?) |
| size_with_ext_deps | ? | 4.05 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_clearComponents_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_components
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.61 kB | ? (?) |
| size_with_ext_deps | ? | 4.02 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_getProvider
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.66 kB | ? (?) |
| size_with_ext_deps | ? | 4.07 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_getProvider_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_registerComponent
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.61 kB | ? (?) |
| size_with_ext_deps | ? | 4.03 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
_removeServiceInstance
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.73 kB | ? (?) |
| size_with_ext_deps | ? | 4.15 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 7 deps_addComponent_getProvider_registerComponent_removeServiceInstanceisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 21 depsDEFAULT_ENTRY_NAMEERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
deleteApp
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.75 kB | ? (?) |
| size_with_ext_deps | ? | 4.16 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_registerComponentdeleteAppisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
getApp
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.71 kB | ? (?) |
| size_with_ext_deps | ? | 5.39 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_registerComponentgetAppisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 21 depsDEFAULT_ENTRY_NAMEERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
getApps
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.64 kB | ? (?) |
| size_with_ext_deps | ? | 4.06 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_registerComponentgetAppsisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
initializeApp
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 3.69 kB | ? (?) |
| size_with_ext_deps | ? | 9.05 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_registerComponentinitializeAppisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | FirebaseAppImplPlatformLoggerService |
? |
| variables | ? | Click to show 21 depsDEFAULT_ENTRY_NAMEERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | ComponentComponentContainer |
? |
onLog
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.74 kB | ? (?) |
| size_with_ext_deps | ? | 5.95 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_registerComponentisVersionServiceProvideronLogregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | LoggersetUserLogHandler |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
registerVersion
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.61 kB | ? (?) |
| size_with_ext_deps | ? | 4.03 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | _addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersion |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | Logger |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
setLogLevel
Size
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| size | ? | 2.64 kB | ? (?) |
| size_with_ext_deps | ? | 4.11 kB | ? (?) |
Dependencies
| Type | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
| functions | ? | Click to show 6 deps_addComponent_registerComponentisVersionServiceProviderregisterCoreComponentsregisterVersionsetLogLevel |
? |
| classes | ? | PlatformLoggerService |
? |
| variables | ? | Click to show 20 depsERRORSERROR_FACTORYPLATFORM_LOG_STRING_apps_componentsloggername$1name$2name$3name$4name$5name$6name$7name$8name$9name$aname$bname$cname$dversion |
? |
External Dependencies
| Module | Base (0a1181b) | Head (c79740d) | Diff |
|---|---|---|---|
@firebase/logger |
? | LoggersetLogLevel |
? |
@firebase/util |
? | ErrorFactory |
? |
@firebase/component |
? | Component |
? |
@firebase/functions-exp
-
getFunctionsSize
Type Base (0a1181b) Head (c79740d) Diff size ? 1.98 kB ? (?) size_with_ext_deps ? 5.86 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? getFunctionsregisterFunctions? classes ? ContextProviderFunctionsService? variables ? DEFAULT_REGIONFUNCTIONS_TYPEnameversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component? -
httpsCallableSize
Type Base (0a1181b) Head (c79740d) Diff size ? 5.33 kB ? (?) size_with_ext_deps ? 9.92 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 10 deps
_errorForResponsecallcodeForHTTPStatusdecodeencodefailAfterhttpsCallablemapValuespostJSONregisterFunctions? classes ? ContextProviderFunctionsErrorFunctionsService? variables ? Click to show 7 deps
DEFAULT_REGIONFUNCTIONS_TYPELONG_TYPEUNSIGNED_LONG_TYPEerrorCodeMapnameversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/util? FirebaseError? @firebase/app-exp? _registerComponentregisterVersion? @firebase/component? Component? -
useFunctionsEmulatorSize
Type Base (0a1181b) Head (c79740d) Diff size ? 1.94 kB ? (?) size_with_ext_deps ? 5.79 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? registerFunctionsuseFunctionsEmulator? classes ? ContextProviderFunctionsService? variables ? DEFAULT_REGIONFUNCTIONS_TYPEnameversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/app-exp? _registerComponentregisterVersion? @firebase/component? Component?
@firebase/installations-exp
-
deleteInstallationsSize
Type Base (0a1181b) Head (c79740d) Diff size ? 8.90 kB ? (?) size_with_ext_deps ? 17.3 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 52 deps
broadcastFidChangebufferToBase64UrlSafecallFidChangeCallbacksclearTimedOutRequestcloseBroadcastChannelcompleteInstallationRegistrationcreateInstallationRequestdeleteInstallationRequestdeleteInstallationsencodeextractAppConfigextractAuthTokenInfoFromResponsefetchAuthTokenFromServerfidChangedgenerateAuthTokenRequestgenerateFidgetAuthorizationHeadergetBroadcastChannelgetDbPromisegetDeleteEndpointgetErrorFromResponsegetExpiresInFromResponseExpiresIngetGenerateAuthTokenEndpointgetHeadersgetHeadersWithAuthgetIdgetInstallationEntrygetInstallationsEndpointgetKeygetMissingValueErrorgetTokenhasAuthTokenRequestTimedOuthasInstallationRequestTimedOutisAuthTokenExpiredisAuthTokenValidisEntryRegisteredisServerErrormakeAuthTokenRequestInProgressEntryrefreshAuthTokenregisterInstallationregisterInstallationsremoveretryIfServerErrorsetsleeptriggerRegistrationIfNecessaryupdateupdateAuthTokenRequestupdateInstallationRequestupdateOrCreateInstallationEntrywaitUntilAuthTokenRequestwaitUntilFidRegistration? variables ? Click to show 23 deps
DATABASE_NAMEDATABASE_VERSIONERROR_DESCRIPTION_MAPERROR_FACTORYINSTALLATIONS_API_URLINSTALLATIONS_NAMEINSTALLATIONS_NAME_INTERNALINTERNAL_AUTH_VERSIONINVALID_FIDOBJECT_STORE_NAMEPACKAGE_VERSIONPENDING_TIMEOUT_MSSERVICESERVICE_NAMETOKEN_EXPIRATION_BUFFERVALID_FID_PATTERNbroadcastChanneldbPromisefidChangeCallbacksinternalFactorynamepublicFactoryversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/util? ErrorFactoryFirebaseError? idb? openDb? @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component? -
getIdSize
Type Base (0a1181b) Head (c79740d) Diff size ? 8.34 kB ? (?) size_with_ext_deps ? 16.8 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 49 deps
broadcastFidChangebufferToBase64UrlSafecallFidChangeCallbacksclearTimedOutRequestcloseBroadcastChannelcompleteInstallationRegistrationcreateInstallationRequestencodeextractAppConfigextractAuthTokenInfoFromResponsefetchAuthTokenFromServerfidChangedgenerateAuthTokenRequestgenerateFidgetAuthorizationHeadergetBroadcastChannelgetDbPromisegetErrorFromResponsegetExpiresInFromResponseExpiresIngetGenerateAuthTokenEndpointgetHeadersgetHeadersWithAuthgetIdgetInstallationEntrygetInstallationsEndpointgetKeygetMissingValueErrorgetTokenhasAuthTokenRequestTimedOuthasInstallationRequestTimedOutisAuthTokenExpiredisAuthTokenValidisEntryRegisteredisServerErrormakeAuthTokenRequestInProgressEntryrefreshAuthTokenregisterInstallationregisterInstallationsremoveretryIfServerErrorsetsleeptriggerRegistrationIfNecessaryupdateupdateAuthTokenRequestupdateInstallationRequestupdateOrCreateInstallationEntrywaitUntilAuthTokenRequestwaitUntilFidRegistration? variables ? Click to show 23 deps
DATABASE_NAMEDATABASE_VERSIONERROR_DESCRIPTION_MAPERROR_FACTORYINSTALLATIONS_API_URLINSTALLATIONS_NAMEINSTALLATIONS_NAME_INTERNALINTERNAL_AUTH_VERSIONINVALID_FIDOBJECT_STORE_NAMEPACKAGE_VERSIONPENDING_TIMEOUT_MSSERVICESERVICE_NAMETOKEN_EXPIRATION_BUFFERVALID_FID_PATTERNbroadcastChanneldbPromisefidChangeCallbacksinternalFactorynamepublicFactoryversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/util? ErrorFactoryFirebaseError? idb? openDb? @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component? -
getInstallationsSize
Type Base (0a1181b) Head (c79740d) Diff size ? 8.43 kB ? (?) size_with_ext_deps ? 16.9 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 50 deps
broadcastFidChangebufferToBase64UrlSafecallFidChangeCallbacksclearTimedOutRequestcloseBroadcastChannelcompleteInstallationRegistrationcreateInstallationRequestencodeextractAppConfigextractAuthTokenInfoFromResponsefetchAuthTokenFromServerfidChangedgenerateAuthTokenRequestgenerateFidgetAuthorizationHeadergetBroadcastChannelgetDbPromisegetErrorFromResponsegetExpiresInFromResponseExpiresIngetGenerateAuthTokenEndpointgetHeadersgetHeadersWithAuthgetIdgetInstallationEntrygetInstallationsgetInstallationsEndpointgetKeygetMissingValueErrorgetTokenhasAuthTokenRequestTimedOuthasInstallationRequestTimedOutisAuthTokenExpiredisAuthTokenValidisEntryRegisteredisServerErrormakeAuthTokenRequestInProgressEntryrefreshAuthTokenregisterInstallationregisterInstallationsremoveretryIfServerErrorsetsleeptriggerRegistrationIfNecessaryupdateupdateAuthTokenRequestupdateInstallationRequestupdateOrCreateInstallationEntrywaitUntilAuthTokenRequestwaitUntilFidRegistration? variables ? Click to show 23 deps
DATABASE_NAMEDATABASE_VERSIONERROR_DESCRIPTION_MAPERROR_FACTORYINSTALLATIONS_API_URLINSTALLATIONS_NAMEINSTALLATIONS_NAME_INTERNALINTERNAL_AUTH_VERSIONINVALID_FIDOBJECT_STORE_NAMEPACKAGE_VERSIONPENDING_TIMEOUT_MSSERVICESERVICE_NAMETOKEN_EXPIRATION_BUFFERVALID_FID_PATTERNbroadcastChanneldbPromisefidChangeCallbacksinternalFactorynamepublicFactoryversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/util? ErrorFactoryFirebaseError? idb? openDb? @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component? -
getTokenSize
Type Base (0a1181b) Head (c79740d) Diff size ? 8.35 kB ? (?) size_with_ext_deps ? 16.8 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 49 deps
broadcastFidChangebufferToBase64UrlSafecallFidChangeCallbacksclearTimedOutRequestcloseBroadcastChannelcompleteInstallationRegistrationcreateInstallationRequestencodeextractAppConfigextractAuthTokenInfoFromResponsefetchAuthTokenFromServerfidChangedgenerateAuthTokenRequestgenerateFidgetAuthorizationHeadergetBroadcastChannelgetDbPromisegetErrorFromResponsegetExpiresInFromResponseExpiresIngetGenerateAuthTokenEndpointgetHeadersgetHeadersWithAuthgetIdgetInstallationEntrygetInstallationsEndpointgetKeygetMissingValueErrorgetTokenhasAuthTokenRequestTimedOuthasInstallationRequestTimedOutisAuthTokenExpiredisAuthTokenValidisEntryRegisteredisServerErrormakeAuthTokenRequestInProgressEntryrefreshAuthTokenregisterInstallationregisterInstallationsremoveretryIfServerErrorsetsleeptriggerRegistrationIfNecessaryupdateupdateAuthTokenRequestupdateInstallationRequestupdateOrCreateInstallationEntrywaitUntilAuthTokenRequestwaitUntilFidRegistration? variables ? Click to show 23 deps
DATABASE_NAMEDATABASE_VERSIONERROR_DESCRIPTION_MAPERROR_FACTORYINSTALLATIONS_API_URLINSTALLATIONS_NAMEINSTALLATIONS_NAME_INTERNALINTERNAL_AUTH_VERSIONINVALID_FIDOBJECT_STORE_NAMEPACKAGE_VERSIONPENDING_TIMEOUT_MSSERVICESERVICE_NAMETOKEN_EXPIRATION_BUFFERVALID_FID_PATTERNbroadcastChanneldbPromisefidChangeCallbacksinternalFactorynamepublicFactoryversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/util? ErrorFactoryFirebaseError? idb? openDb? @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component? -
onIdChangeSize
Type Base (0a1181b) Head (c79740d) Diff size ? 8.60 kB ? (?) size_with_ext_deps ? 17.0 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 52 deps
addCallbackbroadcastFidChangebufferToBase64UrlSafecallFidChangeCallbacksclearTimedOutRequestcloseBroadcastChannelcompleteInstallationRegistrationcreateInstallationRequestencodeextractAppConfigextractAuthTokenInfoFromResponsefetchAuthTokenFromServerfidChangedgenerateAuthTokenRequestgenerateFidgetAuthorizationHeadergetBroadcastChannelgetDbPromisegetErrorFromResponsegetExpiresInFromResponseExpiresIngetGenerateAuthTokenEndpointgetHeadersgetHeadersWithAuthgetIdgetInstallationEntrygetInstallationsEndpointgetKeygetMissingValueErrorgetTokenhasAuthTokenRequestTimedOuthasInstallationRequestTimedOutisAuthTokenExpiredisAuthTokenValidisEntryRegisteredisServerErrormakeAuthTokenRequestInProgressEntryonIdChangerefreshAuthTokenregisterInstallationregisterInstallationsremoveremoveCallbackretryIfServerErrorsetsleeptriggerRegistrationIfNecessaryupdateupdateAuthTokenRequestupdateInstallationRequestupdateOrCreateInstallationEntrywaitUntilAuthTokenRequestwaitUntilFidRegistration? variables ? Click to show 23 deps
DATABASE_NAMEDATABASE_VERSIONERROR_DESCRIPTION_MAPERROR_FACTORYINSTALLATIONS_API_URLINSTALLATIONS_NAMEINSTALLATIONS_NAME_INTERNALINTERNAL_AUTH_VERSIONINVALID_FIDOBJECT_STORE_NAMEPACKAGE_VERSIONPENDING_TIMEOUT_MSSERVICESERVICE_NAMETOKEN_EXPIRATION_BUFFERVALID_FID_PATTERNbroadcastChanneldbPromisefidChangeCallbacksinternalFactorynamepublicFactoryversion? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/util? ErrorFactoryFirebaseError? idb? openDb? @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component?
@firebase/performance-exp
-
getPerformanceSize
Type Base (0a1181b) Head (c79740d) Diff size ? 16.8 kB ? (?) size_with_ext_deps ? 21.8 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 50 deps
addToQueuechangeInitializationStatusconfigValidconvertMetricValueToIntegercreateNetworkRequestEntrycreateUserTimingTracedispatchQueueEventsgetApiKeygetAppIdgetApplicationInfogetAuthTokenPromisegetConfiggetDocumentReadyCompletegetEffectiveConnectionTypegetIidgetIidPromisegetInitializationPromisegetPerformancegetProjectIdgetRemoteConfiggetServiceWorkerStatusgetStoredConfiggetVisibilityStateinitializePerfisPerfInitializedisValidCustomAttributeNameisValidCustomAttributeValueisValidMetricNamelogNetworkRequestlogTracemergeStringspostToFlEndpointprocessConfigprocessQueueregisterPerformancesendEventsToFlsendLogsendTraceLogserializeNetworkRequestserializeTraceserializersetupApisetupNetworkRequestssetupOobResourcessetupOobTracessetupTransportServicesetupUserTimingTracesshouldLogAfterSamplingstoreConfigtransportHandler? classes ? ApiPerformanceControllerSettingsServiceTrace? variables ? Click to show 45 deps
ATTRIBUTE_FORMAT_REGEXCONFIG_EXPIRY_LOCAL_STORAGE_KEYCONFIG_LOCAL_STORAGE_KEYCOULD_NOT_GET_CONFIG_MSGDEFAULT_CONFIGSDEFAULT_ENTRY_NAMEDEFAULT_REMAINING_TRIESDEFAULT_SEND_INTERVAL_MSERROR_DESCRIPTION_MAPERROR_FACTORYFID_WAIT_TIME_MSFIRST_CONTENTFUL_PAINT_COUNTER_NAMEFIRST_INPUT_DELAY_COUNTER_NAMEFIRST_PAINT_COUNTER_NAMEFIS_AUTH_PREFIXINITIAL_SEND_TIME_DELAY_MSMAX_ATTRIBUTE_NAME_LENGTHMAX_ATTRIBUTE_VALUE_LENGTHMAX_METRIC_NAME_LENGTHOOB_TRACE_PAGE_LOAD_PREFIXREMOTE_CONFIG_SDK_VERSIONRESERVED_ATTRIBUTE_PREFIXESRESERVED_AUTO_PREFIXSDK_VERSIONSERVICESERVICE_NAMETRACE_MEASURE_PREFIXTRACE_START_MARK_PREFIXTRACE_STOP_MARK_PREFIXVisibilityStateapiInstanceconsoleLoggerfactoryiidinitializationPromiseinitializationStatusisTransportSetuploggernameoobMetricsqueueremainingTriessettingsServiceInstanceversionwindowInstance? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/logger? LogLevelLogger? @firebase/util? ErrorFactoryisIndexedDBAvailablevalidateIndexedDBOpenable? @firebase/app-exp? _getProvider_registerComponentregisterVersion? @firebase/component? Component? -
registerPerformanceSize
Type Base (0a1181b) Head (c79740d) Diff size ? 16.7 kB ? (?) size_with_ext_deps ? 21.7 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 49 deps
addToQueuechangeInitializationStatusconfigValidconvertMetricValueToIntegercreateNetworkRequestEntrycreateUserTimingTracedispatchQueueEventsgetApiKeygetAppIdgetApplicationInfogetAuthTokenPromisegetConfiggetDocumentReadyCompletegetEffectiveConnectionTypegetIidgetIidPromisegetInitializationPromisegetProjectIdgetRemoteConfiggetServiceWorkerStatusgetStoredConfiggetVisibilityStateinitializePerfisPerfInitializedisValidCustomAttributeNameisValidCustomAttributeValueisValidMetricNamelogNetworkRequestlogTracemergeStringspostToFlEndpointprocessConfigprocessQueueregisterPerformancesendEventsToFlsendLogsendTraceLogserializeNetworkRequestserializeTraceserializersetupApisetupNetworkRequestssetupOobResourcessetupOobTracessetupTransportServicesetupUserTimingTracesshouldLogAfterSamplingstoreConfigtransportHandler? classes ? ApiPerformanceControllerSettingsServiceTrace? variables ? Click to show 45 deps
ATTRIBUTE_FORMAT_REGEXCONFIG_EXPIRY_LOCAL_STORAGE_KEYCONFIG_LOCAL_STORAGE_KEYCOULD_NOT_GET_CONFIG_MSGDEFAULT_CONFIGSDEFAULT_ENTRY_NAMEDEFAULT_REMAINING_TRIESDEFAULT_SEND_INTERVAL_MSERROR_DESCRIPTION_MAPERROR_FACTORYFID_WAIT_TIME_MSFIRST_CONTENTFUL_PAINT_COUNTER_NAMEFIRST_INPUT_DELAY_COUNTER_NAMEFIRST_PAINT_COUNTER_NAMEFIS_AUTH_PREFIXINITIAL_SEND_TIME_DELAY_MSMAX_ATTRIBUTE_NAME_LENGTHMAX_ATTRIBUTE_VALUE_LENGTHMAX_METRIC_NAME_LENGTHOOB_TRACE_PAGE_LOAD_PREFIXREMOTE_CONFIG_SDK_VERSIONRESERVED_ATTRIBUTE_PREFIXESRESERVED_AUTO_PREFIXSDK_VERSIONSERVICESERVICE_NAMETRACE_MEASURE_PREFIXTRACE_START_MARK_PREFIXTRACE_STOP_MARK_PREFIXVisibilityStateapiInstanceconsoleLoggerfactoryiidinitializationPromiseinitializationStatusisTransportSetuploggernameoobMetricsqueueremainingTriessettingsServiceInstanceversionwindowInstance? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/logger? LogLevelLogger? @firebase/util? ErrorFactoryisIndexedDBAvailablevalidateIndexedDBOpenable? @firebase/app-exp? _registerComponentregisterVersion? @firebase/component? Component? -
traceSize
Type Base (0a1181b) Head (c79740d) Diff size ? 16.7 kB ? (?) size_with_ext_deps ? 21.7 kB ? (?) Dependencies
Type Base (0a1181b) Head (c79740d) Diff functions ? Click to show 50 deps
addToQueuechangeInitializationStatusconfigValidconvertMetricValueToIntegercreateNetworkRequestEntrycreateUserTimingTracedispatchQueueEventsgetApiKeygetAppIdgetApplicationInfogetAuthTokenPromisegetConfiggetDocumentReadyCompletegetEffectiveConnectionTypegetIidgetIidPromisegetInitializationPromisegetProjectIdgetRemoteConfiggetServiceWorkerStatusgetStoredConfiggetVisibilityStateinitializePerfisPerfInitializedisValidCustomAttributeNameisValidCustomAttributeValueisValidMetricNamelogNetworkRequestlogTracemergeStringspostToFlEndpointprocessConfigprocessQueueregisterPerformancesendEventsToFlsendLogsendTraceLogserializeNetworkRequestserializeTraceserializersetupApisetupNetworkRequestssetupOobResourcessetupOobTracessetupTransportServicesetupUserTimingTracesshouldLogAfterSamplingstoreConfigtracetransportHandler? classes ? ApiPerformanceControllerSettingsServiceTrace? variables ? Click to show 45 deps
ATTRIBUTE_FORMAT_REGEXCONFIG_EXPIRY_LOCAL_STORAGE_KEYCONFIG_LOCAL_STORAGE_KEYCOULD_NOT_GET_CONFIG_MSGDEFAULT_CONFIGSDEFAULT_ENTRY_NAMEDEFAULT_REMAINING_TRIESDEFAULT_SEND_INTERVAL_MSERROR_DESCRIPTION_MAPERROR_FACTORYFID_WAIT_TIME_MSFIRST_CONTENTFUL_PAINT_COUNTER_NAMEFIRST_INPUT_DELAY_COUNTER_NAMEFIRST_PAINT_COUNTER_NAMEFIS_AUTH_PREFIXINITIAL_SEND_TIME_DELAY_MSMAX_ATTRIBUTE_NAME_LENGTHMAX_ATTRIBUTE_VALUE_LENGTHMAX_METRIC_NAME_LENGTHOOB_TRACE_PAGE_LOAD_PREFIXREMOTE_CONFIG_SDK_VERSIONRESERVED_ATTRIBUTE_PREFIXESRESERVED_AUTO_PREFIXSDK_VERSIONSERVICESERVICE_NAMETRACE_MEASURE_PREFIXTRACE_START_MARK_PREFIXTRACE_STOP_MARK_PREFIXVisibilityStateapiInstanceconsoleLoggerfactoryiidinitializationPromiseinitializationStatusisTransportSetuploggernameoobMetricsqueueremainingTriessettingsServiceInstanceversionwindowInstance? External Dependencies
Module Base (0a1181b) Head (c79740d) Diff @firebase/logger? LogLevelLogger? @firebase/util? ErrorFactoryisIndexedDBAvailablevalidateIndexedDBOpenable? @firebase/app-exp? _registerComponentregisterVersion? @firebase/component? Component?
Test Logs
- Head (
c79740d7): https://github.com/firebase/firebase-js-sdk/actions/runs/272193288
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.
LG, by the way
- I notice in the design doc the signature is given as
firebase.functions(region)but it should befirebase.functions(app, region) - But it looks like that is not documented and in fact there is currently a bug where setting region doesn't work through
firebase.functions(app, region)but only throughSo we will fix that separately.const app = firebase.initializeApp({...}); app.functions(region);
|
@hsubox76 says I can ignore the test. |
|
Hello @samtstern, a question we have about this PR: |
|
@LanderBeeuwsaert no this won't really change that. You could already use callable functions in your app from any region. This is about allowing you to use functions redirects with Callable Functions. So if your callable function (still in |
|
@samtstern What I seem to understand out of your response is that this PR enables the possibility for functions redirects , but only still for us-central1. Correct? |
|
@LanderBeeuwsaert we'd like to enable redirects to other regions one day but that won't require any changes in the JS SDK! That's a Hosting backend change. |
|
top, thanks for the quick response! |
Hey there! So you want to contribute to a Firebase SDK?
Before you file this pull request, please read these guidelines:
Discussion
Googlers: see API review here
Testing
API Changes