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

Fixes and api extractor integration for @firebase/installations-exp #3733

Merged
merged 4 commits into from
Sep 2, 2020

Conversation

Feiyang1
Copy link
Member

@Feiyang1 Feiyang1 commented Sep 2, 2020

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Sep 2, 2020

💥 No Changeset

Latest commit: 5c592f6

Merging this PR will not cause any packages to be released. If these changes should not cause updates to packages in this repo, this is fine 🙂

If these changes should be published to npm, 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

import { FirebaseApp } from '@firebase/app-types-exp';
import { FirebaseInstallations } from '@firebase/installations-types-exp';

// @public (undocumented)
Copy link
Member Author

Choose a reason for hiding this comment

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

@ChaoqunCHEN When you have a chance, can you add documentation for all APIs? It doesn't have to be part of this PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

sure.

@google-oss-bot
Copy link
Contributor

Size Analysis Report

Affected Products

@firebase/app-exp

  • SDK_VERSION

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.63 kB ? (?)
    size_with_ext_deps ? 4.05 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 22 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    SDK_VERSION
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    version$1
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _DEFAULT_ENTRY_NAME

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.63 kB ? (?)
    size_with_ext_deps ? 4.05 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 21 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _DEFAULT_ENTRY_NAME
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _addComponent

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.61 kB ? (?)
    size_with_ext_deps ? 4.02 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _addOrOverwriteComponent

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.67 kB ? (?)
    size_with_ext_deps ? 4.09 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _addOrOverwriteComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _apps

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.60 kB ? (?)
    size_with_ext_deps ? 4.02 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _clearComponents

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.63 kB ? (?)
    size_with_ext_deps ? 4.05 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _clearComponents
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _components

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.61 kB ? (?)
    size_with_ext_deps ? 4.02 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _getProvider

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.66 kB ? (?)
    size_with_ext_deps ? 4.07 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _getProvider
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _registerComponent

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.61 kB ? (?)
    size_with_ext_deps ? 4.03 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • _removeServiceInstance

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.73 kB ? (?)
    size_with_ext_deps ? 4.15 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 7 deps_addComponent
    _getProvider
    _registerComponent
    _removeServiceInstance
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 21 depsDEFAULT_ENTRY_NAME
    ERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • deleteApp

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.75 kB ? (?)
    size_with_ext_deps ? 4.16 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _registerComponent
    deleteApp
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • getApp

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.71 kB ? (?)
    size_with_ext_deps ? 5.39 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _registerComponent
    getApp
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 21 depsDEFAULT_ENTRY_NAME
    ERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • getApps

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.64 kB ? (?)
    size_with_ext_deps ? 4.06 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _registerComponent
    getApps
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • initializeApp

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 3.69 kB ? (?)
    size_with_ext_deps ? 9.05 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _registerComponent
    initializeApp
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? FirebaseAppImpl
    PlatformLoggerService
    ?
    variables ?
    Click to show 21 depsDEFAULT_ENTRY_NAME
    ERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component
    ComponentContainer
    ?
  • onLog

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.74 kB ? (?)
    size_with_ext_deps ? 5.95 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _registerComponent
    isVersionServiceProvider
    onLog
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger
    setUserLogHandler
    ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • registerVersion

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.61 kB ? (?)
    size_with_ext_deps ? 4.03 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? _addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?
  • setLogLevel

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 2.64 kB ? (?)
    size_with_ext_deps ? 4.11 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 6 deps_addComponent
    _registerComponent
    isVersionServiceProvider
    registerCoreComponents
    registerVersion
    setLogLevel
    ?
    classes ? PlatformLoggerService ?
    variables ?
    Click to show 20 depsERRORS
    ERROR_FACTORY
    PLATFORM_LOG_STRING
    _apps
    _components
    logger
    name$1
    name$2
    name$3
    name$4
    name$5
    name$6
    name$7
    name$8
    name$9
    name$a
    name$b
    name$c
    name$d
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/logger ? Logger
    setLogLevel
    ?
    @firebase/util ? ErrorFactory ?
    @firebase/component ? Component ?

@firebase/functions-exp

  • getFunctions

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 1.83 kB ? (?)
    size_with_ext_deps ? 5.71 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? getFunctions
    registerFunctions
    ?
    classes ? ContextProvider
    FunctionsService
    ?
    variables ? DEFAULT_REGION
    FUNCTIONS_TYPE
    factory
    name
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/app-exp ? _getProvider
    _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?
  • httpsCallable

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 5.20 kB ? (?)
    size_with_ext_deps ? 9.79 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 10 deps_errorForResponse
    call
    codeForHTTPStatus
    decode
    encode
    failAfter
    httpsCallable
    mapValues
    postJSON
    registerFunctions
    ?
    classes ? ContextProvider
    FunctionsError
    FunctionsService
    ?
    variables ?
    Click to show 8 depsDEFAULT_REGION
    FUNCTIONS_TYPE
    LONG_TYPE
    UNSIGNED_LONG_TYPE
    errorCodeMap
    factory
    name
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/util ? FirebaseError ?
    @firebase/app-exp ? _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?
  • useFunctionsEmulator

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 1.80 kB ? (?)
    size_with_ext_deps ? 5.65 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ? registerFunctions
    useFunctionsEmulator
    ?
    classes ? ContextProvider
    FunctionsService
    ?
    variables ? DEFAULT_REGION
    FUNCTIONS_TYPE
    factory
    name
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/app-exp ? _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?

@firebase/installations-exp

  • deleteInstallations

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 8.90 kB ? (?)
    size_with_ext_deps ? 17.3 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 52 depsbroadcastFidChange
    bufferToBase64UrlSafe
    callFidChangeCallbacks
    clearTimedOutRequest
    closeBroadcastChannel
    completeInstallationRegistration
    createInstallationRequest
    deleteInstallationRequest
    deleteInstallations
    encode
    extractAppConfig
    extractAuthTokenInfoFromResponse
    fetchAuthTokenFromServer
    fidChanged
    generateAuthTokenRequest
    generateFid
    getAuthorizationHeader
    getBroadcastChannel
    getDbPromise
    getDeleteEndpoint
    getErrorFromResponse
    getExpiresInFromResponseExpiresIn
    getGenerateAuthTokenEndpoint
    getHeaders
    getHeadersWithAuth
    getId
    getInstallationEntry
    getInstallationsEndpoint
    getKey
    getMissingValueError
    getToken
    hasAuthTokenRequestTimedOut
    hasInstallationRequestTimedOut
    isAuthTokenExpired
    isAuthTokenValid
    isEntryRegistered
    isServerError
    makeAuthTokenRequestInProgressEntry
    refreshAuthToken
    registerInstallation
    registerInstallations
    remove
    retryIfServerError
    set
    sleep
    triggerRegistrationIfNecessary
    update
    updateAuthTokenRequest
    updateInstallationRequest
    updateOrCreateInstallationEntry
    waitUntilAuthTokenRequest
    waitUntilFidRegistration
    ?
    variables ?
    Click to show 23 depsDATABASE_NAME
    DATABASE_VERSION
    ERROR_DESCRIPTION_MAP
    ERROR_FACTORY
    INSTALLATIONS_API_URL
    INSTALLATIONS_NAME
    INSTALLATIONS_NAME_INTERNAL
    INTERNAL_AUTH_VERSION
    INVALID_FID
    OBJECT_STORE_NAME
    PACKAGE_VERSION
    PENDING_TIMEOUT_MS
    SERVICE
    SERVICE_NAME
    TOKEN_EXPIRATION_BUFFER
    VALID_FID_PATTERN
    broadcastChannel
    dbPromise
    fidChangeCallbacks
    internalFactory
    name
    publicFactory
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/util ? ErrorFactory
    FirebaseError
    ?
    idb ? openDb ?
    @firebase/app-exp ? _getProvider
    _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?
  • getId

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 8.34 kB ? (?)
    size_with_ext_deps ? 16.8 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 49 depsbroadcastFidChange
    bufferToBase64UrlSafe
    callFidChangeCallbacks
    clearTimedOutRequest
    closeBroadcastChannel
    completeInstallationRegistration
    createInstallationRequest
    encode
    extractAppConfig
    extractAuthTokenInfoFromResponse
    fetchAuthTokenFromServer
    fidChanged
    generateAuthTokenRequest
    generateFid
    getAuthorizationHeader
    getBroadcastChannel
    getDbPromise
    getErrorFromResponse
    getExpiresInFromResponseExpiresIn
    getGenerateAuthTokenEndpoint
    getHeaders
    getHeadersWithAuth
    getId
    getInstallationEntry
    getInstallationsEndpoint
    getKey
    getMissingValueError
    getToken
    hasAuthTokenRequestTimedOut
    hasInstallationRequestTimedOut
    isAuthTokenExpired
    isAuthTokenValid
    isEntryRegistered
    isServerError
    makeAuthTokenRequestInProgressEntry
    refreshAuthToken
    registerInstallation
    registerInstallations
    remove
    retryIfServerError
    set
    sleep
    triggerRegistrationIfNecessary
    update
    updateAuthTokenRequest
    updateInstallationRequest
    updateOrCreateInstallationEntry
    waitUntilAuthTokenRequest
    waitUntilFidRegistration
    ?
    variables ?
    Click to show 23 depsDATABASE_NAME
    DATABASE_VERSION
    ERROR_DESCRIPTION_MAP
    ERROR_FACTORY
    INSTALLATIONS_API_URL
    INSTALLATIONS_NAME
    INSTALLATIONS_NAME_INTERNAL
    INTERNAL_AUTH_VERSION
    INVALID_FID
    OBJECT_STORE_NAME
    PACKAGE_VERSION
    PENDING_TIMEOUT_MS
    SERVICE
    SERVICE_NAME
    TOKEN_EXPIRATION_BUFFER
    VALID_FID_PATTERN
    broadcastChannel
    dbPromise
    fidChangeCallbacks
    internalFactory
    name
    publicFactory
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/util ? ErrorFactory
    FirebaseError
    ?
    idb ? openDb ?
    @firebase/app-exp ? _getProvider
    _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?
  • getInstallations

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 8.43 kB ? (?)
    size_with_ext_deps ? 16.9 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 50 depsbroadcastFidChange
    bufferToBase64UrlSafe
    callFidChangeCallbacks
    clearTimedOutRequest
    closeBroadcastChannel
    completeInstallationRegistration
    createInstallationRequest
    encode
    extractAppConfig
    extractAuthTokenInfoFromResponse
    fetchAuthTokenFromServer
    fidChanged
    generateAuthTokenRequest
    generateFid
    getAuthorizationHeader
    getBroadcastChannel
    getDbPromise
    getErrorFromResponse
    getExpiresInFromResponseExpiresIn
    getGenerateAuthTokenEndpoint
    getHeaders
    getHeadersWithAuth
    getId
    getInstallationEntry
    getInstallations
    getInstallationsEndpoint
    getKey
    getMissingValueError
    getToken
    hasAuthTokenRequestTimedOut
    hasInstallationRequestTimedOut
    isAuthTokenExpired
    isAuthTokenValid
    isEntryRegistered
    isServerError
    makeAuthTokenRequestInProgressEntry
    refreshAuthToken
    registerInstallation
    registerInstallations
    remove
    retryIfServerError
    set
    sleep
    triggerRegistrationIfNecessary
    update
    updateAuthTokenRequest
    updateInstallationRequest
    updateOrCreateInstallationEntry
    waitUntilAuthTokenRequest
    waitUntilFidRegistration
    ?
    variables ?
    Click to show 23 depsDATABASE_NAME
    DATABASE_VERSION
    ERROR_DESCRIPTION_MAP
    ERROR_FACTORY
    INSTALLATIONS_API_URL
    INSTALLATIONS_NAME
    INSTALLATIONS_NAME_INTERNAL
    INTERNAL_AUTH_VERSION
    INVALID_FID
    OBJECT_STORE_NAME
    PACKAGE_VERSION
    PENDING_TIMEOUT_MS
    SERVICE
    SERVICE_NAME
    TOKEN_EXPIRATION_BUFFER
    VALID_FID_PATTERN
    broadcastChannel
    dbPromise
    fidChangeCallbacks
    internalFactory
    name
    publicFactory
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/util ? ErrorFactory
    FirebaseError
    ?
    idb ? openDb ?
    @firebase/app-exp ? _getProvider
    _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?
  • getToken

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 8.35 kB ? (?)
    size_with_ext_deps ? 16.8 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 49 depsbroadcastFidChange
    bufferToBase64UrlSafe
    callFidChangeCallbacks
    clearTimedOutRequest
    closeBroadcastChannel
    completeInstallationRegistration
    createInstallationRequest
    encode
    extractAppConfig
    extractAuthTokenInfoFromResponse
    fetchAuthTokenFromServer
    fidChanged
    generateAuthTokenRequest
    generateFid
    getAuthorizationHeader
    getBroadcastChannel
    getDbPromise
    getErrorFromResponse
    getExpiresInFromResponseExpiresIn
    getGenerateAuthTokenEndpoint
    getHeaders
    getHeadersWithAuth
    getId
    getInstallationEntry
    getInstallationsEndpoint
    getKey
    getMissingValueError
    getToken
    hasAuthTokenRequestTimedOut
    hasInstallationRequestTimedOut
    isAuthTokenExpired
    isAuthTokenValid
    isEntryRegistered
    isServerError
    makeAuthTokenRequestInProgressEntry
    refreshAuthToken
    registerInstallation
    registerInstallations
    remove
    retryIfServerError
    set
    sleep
    triggerRegistrationIfNecessary
    update
    updateAuthTokenRequest
    updateInstallationRequest
    updateOrCreateInstallationEntry
    waitUntilAuthTokenRequest
    waitUntilFidRegistration
    ?
    variables ?
    Click to show 23 depsDATABASE_NAME
    DATABASE_VERSION
    ERROR_DESCRIPTION_MAP
    ERROR_FACTORY
    INSTALLATIONS_API_URL
    INSTALLATIONS_NAME
    INSTALLATIONS_NAME_INTERNAL
    INTERNAL_AUTH_VERSION
    INVALID_FID
    OBJECT_STORE_NAME
    PACKAGE_VERSION
    PENDING_TIMEOUT_MS
    SERVICE
    SERVICE_NAME
    TOKEN_EXPIRATION_BUFFER
    VALID_FID_PATTERN
    broadcastChannel
    dbPromise
    fidChangeCallbacks
    internalFactory
    name
    publicFactory
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/util ? ErrorFactory
    FirebaseError
    ?
    idb ? openDb ?
    @firebase/app-exp ? _getProvider
    _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?
  • onIdChange

    Size

    Type Base (19bab1c) Head (76015b0) Diff
    size ? 8.60 kB ? (?)
    size_with_ext_deps ? 17.0 kB ? (?)

    Dependencies

    Type Base (19bab1c) Head (76015b0) Diff
    functions ?
    Click to show 52 depsaddCallback
    broadcastFidChange
    bufferToBase64UrlSafe
    callFidChangeCallbacks
    clearTimedOutRequest
    closeBroadcastChannel
    completeInstallationRegistration
    createInstallationRequest
    encode
    extractAppConfig
    extractAuthTokenInfoFromResponse
    fetchAuthTokenFromServer
    fidChanged
    generateAuthTokenRequest
    generateFid
    getAuthorizationHeader
    getBroadcastChannel
    getDbPromise
    getErrorFromResponse
    getExpiresInFromResponseExpiresIn
    getGenerateAuthTokenEndpoint
    getHeaders
    getHeadersWithAuth
    getId
    getInstallationEntry
    getInstallationsEndpoint
    getKey
    getMissingValueError
    getToken
    hasAuthTokenRequestTimedOut
    hasInstallationRequestTimedOut
    isAuthTokenExpired
    isAuthTokenValid
    isEntryRegistered
    isServerError
    makeAuthTokenRequestInProgressEntry
    onIdChange
    refreshAuthToken
    registerInstallation
    registerInstallations
    remove
    removeCallback
    retryIfServerError
    set
    sleep
    triggerRegistrationIfNecessary
    update
    updateAuthTokenRequest
    updateInstallationRequest
    updateOrCreateInstallationEntry
    waitUntilAuthTokenRequest
    waitUntilFidRegistration
    ?
    variables ?
    Click to show 23 depsDATABASE_NAME
    DATABASE_VERSION
    ERROR_DESCRIPTION_MAP
    ERROR_FACTORY
    INSTALLATIONS_API_URL
    INSTALLATIONS_NAME
    INSTALLATIONS_NAME_INTERNAL
    INTERNAL_AUTH_VERSION
    INVALID_FID
    OBJECT_STORE_NAME
    PACKAGE_VERSION
    PENDING_TIMEOUT_MS
    SERVICE
    SERVICE_NAME
    TOKEN_EXPIRATION_BUFFER
    VALID_FID_PATTERN
    broadcastChannel
    dbPromise
    fidChangeCallbacks
    internalFactory
    name
    publicFactory
    version
    ?

    External Dependencies

    Module Base (19bab1c) Head (76015b0) Diff
    @firebase/util ? ErrorFactory
    FirebaseError
    ?
    idb ? openDb ?
    @firebase/app-exp ? _getProvider
    _registerComponent
    registerVersion
    ?
    @firebase/component ? Component ?

Test Logs

@Feiyang1 Feiyang1 merged commit 5876ea8 into fis-modularization Sep 2, 2020
ChaoqunCHEN added a commit that referenced this pull request Sep 3, 2020
* copied orginal FIS sdk into packages-expp and made unit tests passed

* migrated test app and fixed a test app bug to make it worked

* made installations-exp depend on app-exp

* Relocated public methods files into  folder

* Making installations mudularization step1, build success

* Making installations mudularization step2, unit tests pass

* update dependency version, merge master

* Apply suggestions from code review

Co-authored-by: Feiyang <[email protected]>

* update dependencies' version

* add getInstallation(app)

* correct deleteInstallations funciton name

* Place the call to registerVerion and registerInstallations at the same place

* remove dead code

* add api extractor config

* rewrite the internal interface

* fix build error

* Seperate internal interface from public interface.

* Change public methods to accept public interface

* Fixes and api extractor integration for @firebase/installations-exp (#3733)

* integrate api-extractor into installations-exp

* add release tag to APIs

* add _ prefix to the internal interface

* update api report

Co-authored-by: Feiyang <[email protected]>
ChaoqunCHEN added a commit that referenced this pull request Sep 17, 2020
* copied orginal FIS sdk into packages-expp and made unit tests passed

* migrated test app and fixed a test app bug to make it worked

* made installations-exp depend on app-exp

* Relocated public methods files into  folder

* Making installations mudularization step1, build success

* Making installations mudularization step2, unit tests pass

* update dependency version, merge master

* Apply suggestions from code review

Co-authored-by: Feiyang <[email protected]>

* update dependencies' version

* add getInstallation(app)

* correct deleteInstallations funciton name

* Place the call to registerVerion and registerInstallations at the same place

* remove dead code

* add api extractor config

* rewrite the internal interface

* fix build error

* Seperate internal interface from public interface.

* Change public methods to accept public interface

* Fixes and api extractor integration for @firebase/installations-exp (#3733)

* integrate api-extractor into installations-exp

* add release tag to APIs

* add _ prefix to the internal interface

* update api report

* add documentations to public apis

* refine public documentations

* refine public documentations

Co-authored-by: Feiyang <[email protected]>
@firebase firebase locked and limited conversation to collaborators Oct 3, 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.

3 participants