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

Implemented exponential backoff with query #6653

Merged
merged 16 commits into from
Oct 6, 2022

Conversation

maneesht
Copy link
Contributor

@maneesht maneesht commented Oct 4, 2022

When upload requests respond with a 503, there is a situation where the bytes were uploaded, yet finalize did not occur. This can result in an incorrect offset being sent to the server. We should make a request that checks the status of the upload, and updating our offset based on that.

This PR implements that, along with a backoff feature, exponentially increasing the time between different requests being issued.

@maneesht maneesht requested a review from tonyjhuang as a code owner October 4, 2022 01:31
@changeset-bot
Copy link

changeset-bot bot commented Oct 4, 2022

🦋 Changeset detected

Latest commit: 05fa51b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@firebase/storage Patch
firebase Patch
@firebase/storage-compat Patch

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

@maneesht maneesht requested a review from egilmorez as a code owner October 4, 2022 01:32
@maneesht maneesht force-pushed the mtewani/exponential-backoff-2 branch from 805ae65 to bf8d206 Compare October 4, 2022 01:44
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 4, 2022

Size Report 1

Affected Products

  • @firebase/storage

    TypeBase (34ad43c)Merge (d22a93e)Diff
    browser54.7 kB55.6 kB+891 B (+1.6%)
    esm560.7 kB61.8 kB+1.12 kB (+1.8%)
    main57.6 kB58.4 kB+891 B (+1.5%)
    module54.7 kB55.6 kB+891 B (+1.6%)
  • bundle

    TypeBase (34ad43c)Merge (d22a93e)Diff
    storage (getBytes)39.9 kB40.0 kB+132 B (+0.3%)
    storage (getDownloadURL)42.0 kB42.1 kB+132 B (+0.3%)
    storage (getMetadata)41.4 kB41.5 kB+132 B (+0.3%)
    storage (list + listAll)40.8 kB41.0 kB+132 B (+0.3%)
    storage (updateMetadata)41.7 kB41.8 kB+132 B (+0.3%)
    storage (uploadBytes)46.2 kB46.4 kB+132 B (+0.3%)
    storage (uploadBytesResumable)55.6 kB56.2 kB+563 B (+1.0%)
    storage (uploadString)46.4 kB46.6 kB+132 B (+0.3%)
  • firebase

    TypeBase (34ad43c)Merge (d22a93e)Diff
    firebase-compat.js739 kB740 kB+559 B (+0.1%)
    firebase-storage-compat.js38.2 kB38.8 kB+560 B (+1.5%)
    firebase-storage.js37.8 kB38.4 kB+565 B (+1.5%)

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/rDQaTwhz97.html
@google-oss-bot
Copy link
Contributor

google-oss-bot commented Oct 4, 2022

Size Analysis Report 1

Affected Products

  • @firebase/storage

    • StringFormat

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.0 kB10.1 kB+107 B (+1.1%)
      size-with-ext-deps27.0 kB27.1 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      24 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • _FbsBlob

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size13.9 kB14.0 kB+109 B (+0.8%)
      size-with-ext-deps30.9 kB31.0 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      39 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      endsWith
      extractBucket
      factory
      getBlob$1
      getBlobBuilder
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isString
      lastComponent
      makeQueryString
      makeRequest
      parent
      percentEncodedBytes_
      prependCode
      registerStorage
      retryLimitExceeded
      sliceBlob
      start
      stop
      unknown
      utf8Bytes_
      validateNumber

      40 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      endsWith
      extractBucket
      factory
      getBlob$1
      getBlobBuilder
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isRetryStatusCode
      isString
      lastComponent
      makeQueryString
      makeRequest
      parent
      percentEncodedBytes_
      prependCode
      registerStorage
      retryLimitExceeded
      sliceBlob
      start
      stop
      unknown
      utf8Bytes_
      validateNumber

      + isRetryStatusCode

    • _Location

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size9.96 kB10.1 kB+107 B (+1.1%)
      size-with-ext-deps26.9 kB27.0 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      24 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • _TaskEvent

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.0 kB10.1 kB+107 B (+1.1%)
      size-with-ext-deps26.9 kB27.0 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      24 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • _TaskState

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.1 kB10.2 kB+107 B (+1.1%)
      size-with-ext-deps27.0 kB27.1 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      24 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • _UploadTask

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size28.9 kB29.5 kB+570 B (+2.0%)
      size-with-ext-deps45.9 kB46.5 kB+563 B (+1.2%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      73 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      async
      base64Bytes_
      canceled
      cannotSliceBlob
      checkResumeHeader_
      continueResumableUpload
      createResumableUpload
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      getMetadata$2
      getResumableUploadStatus
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isFunction
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      serverFileWrongSize
      sharedErrorHandler
      sliceBlob
      start
      stop
      taskStateFromInternalTaskState
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      utf8Bytes_
      validateNumber
      xformPath

      74 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      async
      base64Bytes_
      canceled
      cannotSliceBlob
      checkResumeHeader_
      continueResumableUpload
      createResumableUpload
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      getMetadata$2
      getResumableUploadStatus
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isFunction
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      serverFileWrongSize
      sharedErrorHandler
      sliceBlob
      start
      stop
      taskStateFromInternalTaskState
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      utf8Bytes_
      validateNumber
      xformPath

      + isRetryStatusCode

      variables

      12 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StringFormat
      TaskState
      mappings_
      name
      version

      13 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      DEFAULT_MIN_SLEEP_TIME_MILLIS
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StringFormat
      TaskState
      mappings_
      name
      version

      + DEFAULT_MIN_SLEEP_TIME_MILLIS

    • _dataFromString

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size12.2 kB12.3 kB+109 B (+0.9%)
      size-with-ext-deps29.1 kB29.2 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      33 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      endsWith
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      percentEncodedBytes_
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      utf8Bytes_
      validateNumber

      34 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      endsWith
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      percentEncodedBytes_
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      utf8Bytes_
      validateNumber

      + isRetryStatusCode

    • _getChild

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.2 kB10.3 kB+107 B (+1.0%)
      size-with-ext-deps27.1 kB27.2 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      27 dependencies

      _getChild
      _getChild$1
      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      child
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      28 dependencies

      _getChild
      _getChild$1
      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      child
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • _invalidArgument

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size9.96 kB10.1 kB+107 B (+1.1%)
      size-with-ext-deps26.9 kB27.0 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      24 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • _invalidRootOperation

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size9.97 kB10.1 kB+107 B (+1.1%)
      size-with-ext-deps26.9 kB27.0 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      24 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • connectStorageEmulator

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.2 kB10.3 kB+107 B (+1.0%)
      size-with-ext-deps27.7 kB27.8 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      26 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      connectStorageEmulator
      connectStorageEmulator$1
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      27 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      connectStorageEmulator
      connectStorageEmulator$1
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • deleteObject

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size13.3 kB13.4 kB+133 B (+1.0%)
      size-with-ext-deps30.2 kB30.4 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      37 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      deleteObject
      deleteObject$1
      deleteObject$2
      extractBucket
      factory
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      38 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      deleteObject
      deleteObject$1
      deleteObject$2
      extractBucket
      factory
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      + isRetryStatusCode

    • getBlob

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size13.4 kB13.5 kB+133 B (+1.0%)
      size-with-ext-deps30.3 kB30.5 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      37 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      getBlob
      getBlobInternal
      getBytes$1
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newBlobConnection
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      38 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      getBlob
      getBlobInternal
      getBytes$1
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newBlobConnection
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      + isRetryStatusCode

    • getBytes

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size13.4 kB13.5 kB+133 B (+1.0%)
      size-with-ext-deps30.4 kB30.5 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      37 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      getBytes
      getBytes$1
      getBytesInternal
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newBytesConnection
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      38 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      getBytes
      getBytes$1
      getBytesInternal
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newBytesConnection
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      + isRetryStatusCode

    • getDownloadURL

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size15.4 kB15.5 kB+132 B (+0.9%)
      size-with-ext-deps32.4 kB32.6 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      50 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      canceled
      downloadUrlFromResourceString
      downloadUrlHandler
      extractBucket
      factory
      fromResource
      fromResourceString
      getDownloadURL
      getDownloadURL$1
      getDownloadUrl
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      noDownloadURL
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber
      xformPath

      51 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      canceled
      downloadUrlFromResourceString
      downloadUrlHandler
      extractBucket
      factory
      fromResource
      fromResourceString
      getDownloadURL
      getDownloadURL$1
      getDownloadUrl
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      noDownloadURL
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber
      xformPath

      + isRetryStatusCode

    • getMetadata

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size14.9 kB15.0 kB+132 B (+0.9%)
      size-with-ext-deps31.9 kB32.0 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      48 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromResource
      fromResourceString
      getMappings
      getMetadata
      getMetadata$1
      getMetadata$2
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataHandler
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber
      xformPath

      49 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromResource
      fromResourceString
      getMappings
      getMetadata
      getMetadata$1
      getMetadata$2
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataHandler
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber
      xformPath

      + isRetryStatusCode

    • getStorage

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.4 kB10.5 kB+107 B (+1.0%)
      size-with-ext-deps35.5 kB35.6 kB+109 B (+0.3%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      27 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      connectStorageEmulator
      connectStorageEmulator$1
      extractBucket
      factory
      getStorage
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      28 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      connectStorageEmulator
      connectStorageEmulator$1
      extractBucket
      factory
      getStorage
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • getStream

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.0 kB10.1 kB+107 B (+1.1%)
      size-with-ext-deps27.0 kB27.1 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      25 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      getStream
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      26 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      getStream
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      lastComponent
      makeQueryString
      makeRequest
      parent
      prependCode
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • list

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size14.0 kB14.1 kB+132 B (+0.9%)
      size-with-ext-deps31.0 kB31.1 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      41 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromBackendResponse
      fromResponseString
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      jsonObjectOrNull
      lastComponent
      list
      list$1
      list$2
      listHandler
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      42 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromBackendResponse
      fromResponseString
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isRetryStatusCode
      jsonObjectOrNull
      lastComponent
      list
      list$1
      list$2
      listHandler
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      + isRetryStatusCode

    • listAll

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size14.2 kB14.4 kB+132 B (+0.9%)
      size-with-ext-deps31.2 kB31.4 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      43 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromBackendResponse
      fromResponseString
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      jsonObjectOrNull
      lastComponent
      list$1
      list$2
      listAll
      listAll$1
      listAllHelper
      listHandler
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      44 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromBackendResponse
      fromResponseString
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isRetryStatusCode
      jsonObjectOrNull
      lastComponent
      list$1
      list$2
      listAll
      listAll$1
      listAllHelper
      listHandler
      makeQueryString
      makeRequest
      makeUrl
      newTextConnection
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      validateNumber

      + isRetryStatusCode

    • ref

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size10.8 kB10.9 kB+107 B (+1.0%)
      size-with-ext-deps27.8 kB27.9 kB+109 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      32 dependencies

      _getChild$1
      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      child
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isUrl
      lastComponent
      makeQueryString
      makeRequest
      noDefaultBucket
      parent
      prependCode
      ref
      ref$1
      refFromPath
      refFromURL
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      33 dependencies

      _getChild$1
      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addVersionHeader_
      appDeleted
      canceled
      child
      extractBucket
      factory
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isRetryStatusCode
      isUrl
      lastComponent
      makeQueryString
      makeRequest
      noDefaultBucket
      parent
      prependCode
      ref
      ref$1
      refFromPath
      refFromURL
      registerStorage
      retryLimitExceeded
      start
      stop
      unknown
      validateNumber

      + isRetryStatusCode

    • updateMetadata

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size15.1 kB15.3 kB+132 B (+0.9%)
      size-with-ext-deps32.1 kB32.3 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      49 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromResource
      fromResourceString
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataHandler
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      updateMetadata
      updateMetadata$1
      updateMetadata$2
      validateNumber
      xformPath

      50 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      canceled
      extractBucket
      factory
      fromResource
      fromResourceString
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidRootOperation
      invalidUrl
      isJustDef
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataHandler
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      start
      stop
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      updateMetadata
      updateMetadata$1
      updateMetadata$2
      validateNumber
      xformPath

      + isRetryStatusCode

    • uploadBytes

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size19.7 kB19.8 kB+132 B (+0.7%)
      size-with-ext-deps36.7 kB36.8 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      64 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      cannotSliceBlob
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      sliceBlob
      start
      stop
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      uploadBytes
      uploadBytes$1
      utf8Bytes_
      validateNumber
      xformPath

      65 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      cannotSliceBlob
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      sliceBlob
      start
      stop
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      uploadBytes
      uploadBytes$1
      utf8Bytes_
      validateNumber
      xformPath

      + isRetryStatusCode

    • uploadBytesResumable

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size29.1 kB29.7 kB+561 B (+1.9%)
      size-with-ext-deps46.1 kB46.7 kB+563 B (+1.2%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      75 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      async
      base64Bytes_
      canceled
      cannotSliceBlob
      checkResumeHeader_
      continueResumableUpload
      createResumableUpload
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      getMetadata$2
      getResumableUploadStatus
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isFunction
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      serverFileWrongSize
      sharedErrorHandler
      sliceBlob
      start
      stop
      taskStateFromInternalTaskState
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      uploadBytesResumable
      uploadBytesResumable$1
      utf8Bytes_
      validateNumber
      xformPath

      76 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      async
      base64Bytes_
      canceled
      cannotSliceBlob
      checkResumeHeader_
      continueResumableUpload
      createResumableUpload
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      getMetadata$2
      getResumableUploadStatus
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isFunction
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      objectErrorHandler
      objectNotFound
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      serverFileWrongSize
      sharedErrorHandler
      sliceBlob
      start
      stop
      taskStateFromInternalTaskState
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      uploadBytesResumable
      uploadBytesResumable$1
      utf8Bytes_
      validateNumber
      xformPath

      + isRetryStatusCode

      variables

      12 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StringFormat
      TaskState
      mappings_
      name
      version

      13 dependencies

      CONFIG_STORAGE_BUCKET_KEY
      DEFAULT_HOST
      DEFAULT_MAX_OPERATION_RETRY_TIME
      DEFAULT_MAX_UPLOAD_RETRY_TIME
      DEFAULT_MIN_SLEEP_TIME_MILLIS
      ErrorCode
      RESUMABLE_UPLOAD_CHUNK_SIZE
      STORAGE_TYPE
      StringFormat
      TaskState
      mappings_
      name
      version

      + DEFAULT_MIN_SLEEP_TIME_MILLIS

    • uploadString

      Size

      TypeBase (34ad43c)Merge (d22a93e)Diff
      size19.9 kB20.0 kB+133 B (+0.7%)
      size-with-ext-deps36.9 kB37.0 kB+132 B (+0.4%)

      Dependency

      TypeBase (34ad43c)Merge (d22a93e)Diff
      functions

      65 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      cannotSliceBlob
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      sliceBlob
      start
      stop
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      uploadBytes$1
      uploadString
      uploadString$1
      utf8Bytes_
      validateNumber
      xformPath

      66 dependencies

      addAppCheckHeader_
      addAuthHeader_
      addGmpidHeader_
      addRef
      addVersionHeader_
      appDeleted
      base64Bytes_
      canceled
      cannotSliceBlob
      dataFromString
      dataURLBytes_
      dataURLContentType_
      decodeBase64
      determineContentType_
      endsWith
      extractBucket
      factory
      fromResource
      fromResourceString
      getBlob$1
      getBlobBuilder
      getMappings
      handlerCheck
      internalError
      invalidArgument
      invalidDefaultBucket
      invalidFormat
      invalidRootOperation
      invalidUrl
      isJustDef
      isNativeBlob
      isNativeBlobDefined
      isNonArrayObject
      isRetryStatusCode
      isString
      jsonObjectOrNull
      lastComponent
      makeQueryString
      makeRequest
      makeUrl
      metadataForUpload_
      metadataHandler
      multipartUpload
      newTextConnection
      noXform_
      parent
      percentEncodedBytes_
      prependCode
      quotaExceeded
      registerStorage
      retryLimitExceeded
      sharedErrorHandler
      sliceBlob
      start
      stop
      toResourceString
      unauthenticated
      unauthorized
      unauthorizedApp
      unknown
      uploadBytes$1
      uploadString
      uploadString$1
      utf8Bytes_
      validateNumber
      xformPath

      + isRetryStatusCode

Test Logs

  1. https://storage.googleapis.com/firebase-sdk-metric-reports/7ricbtYyqI.html
@github-actions github-actions bot added the doc-changes PRs that affect docs label Oct 4, 2022
packages/storage/src/implementation/error.ts Show resolved Hide resolved
packages/storage/src/implementation/request.ts Outdated Show resolved Hide resolved
packages/storage/src/implementation/utils.ts Outdated Show resolved Hide resolved
packages/storage/src/implementation/utils.ts Outdated Show resolved Hide resolved
packages/storage/src/implementation/utils.ts Outdated Show resolved Hide resolved
packages/storage/src/implementation/requests.ts Outdated Show resolved Hide resolved
packages/storage/src/task.ts Outdated Show resolved Hide resolved
packages/storage/src/task.ts Outdated Show resolved Hide resolved
Copy link

@tonyjhuang tonyjhuang left a comment

Choose a reason for hiding this comment

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

LGTM except one (optional) comment

packages/storage/src/implementation/constants.ts Outdated Show resolved Hide resolved
@maneesht maneesht requested a review from Yuangwang October 6, 2022 06:06
@Yuangwang
Copy link

Thanks for the changes!

@egilmorez egilmorez requested a review from markarndt October 6, 2022 16:21
packages/storage/src/implementation/backoff.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@egilmorez egilmorez left a comment

Choose a reason for hiding this comment

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

LG based on Mark's review, thanks!

@maneesht maneesht merged commit 4eb8145 into master Oct 6, 2022
@maneesht maneesht deleted the mtewani/exponential-backoff-2 branch October 6, 2022 19:53
@google-oss-bot google-oss-bot mentioned this pull request Oct 10, 2022
@firebase firebase locked and limited conversation to collaborators Nov 6, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
doc-changes PRs that affect docs
7 participants