firebase 9.9.0 → 9.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/app/dist/index.cjs.js +1 -1
  3. package/app/dist/index.esm.js +1 -1
  4. package/app/dist/index.mjs +1 -1
  5. package/compat/app/dist/index.cjs.js +1 -1
  6. package/compat/app/dist/index.esm.js +1 -1
  7. package/compat/app/dist/index.mjs +1 -1
  8. package/compat/dist/index.esm.js +2 -2
  9. package/compat/dist/index.node.cjs +2 -2
  10. package/compat/dist/index.rn.cjs.js +2 -2
  11. package/firebase-analytics.js +3 -3
  12. package/firebase-app-check-compat.js +1 -1
  13. package/firebase-app-check-compat.js.map +1 -1
  14. package/firebase-app-check.js +11 -11
  15. package/firebase-app-check.js.map +1 -1
  16. package/firebase-app-compat.js +2 -2
  17. package/firebase-app.js +9 -9
  18. package/firebase-auth-cordova.js +1 -1
  19. package/firebase-auth-react-native.js +1 -1
  20. package/firebase-auth.js +2 -2
  21. package/firebase-compat.js +3 -3
  22. package/firebase-compat.js.map +1 -1
  23. package/firebase-database-compat.js.map +1 -1
  24. package/firebase-database.js +8 -9
  25. package/firebase-database.js.map +1 -1
  26. package/firebase-firestore-compat.js +1 -1
  27. package/firebase-firestore-compat.js.map +1 -1
  28. package/firebase-firestore-lite.js +7 -7
  29. package/firebase-firestore-lite.js.map +1 -1
  30. package/firebase-firestore.js +8 -8
  31. package/firebase-firestore.js.map +1 -1
  32. package/firebase-functions.js +2 -2
  33. package/firebase-installations.js +3 -3
  34. package/firebase-messaging-sw.js +1 -1
  35. package/firebase-messaging.js +1 -1
  36. package/firebase-performance-standalone-compat.es2017.js +5 -5
  37. package/firebase-performance-standalone-compat.js +1 -1
  38. package/firebase-performance.js +3 -3
  39. package/firebase-remote-config.js +2 -2
  40. package/firebase-storage.js +1 -1
  41. package/package.json +7 -7
@@ -1,4 +1,4 @@
1
- import { _getProvider, getApp, _registerComponent, registerVersion } from 'https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js';
1
+ import { _getProvider, getApp, _registerComponent, registerVersion } from 'https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js';
2
2
 
3
3
  /**
4
4
  * @license
@@ -1405,7 +1405,7 @@ function computeKey(app) {
1405
1405
  * See the License for the specific language governing permissions and
1406
1406
  * limitations under the License.
1407
1407
  */
1408
- const logger = new Logger('https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js-check');
1408
+ const logger = new Logger('https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js-check');
1409
1409
 
1410
1410
  /**
1411
1411
  * @license
@@ -1841,8 +1841,8 @@ function internalFactory(appCheck) {
1841
1841
  };
1842
1842
  }
1843
1843
 
1844
- const name = "https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js-check";
1845
- const version = "0.5.11";
1844
+ const name = "https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js-check";
1845
+ const version = "0.5.12";
1846
1846
 
1847
1847
  /**
1848
1848
  * @license
@@ -2011,7 +2011,7 @@ class ReCaptchaV3Provider {
2011
2011
  * @internal
2012
2012
  */
2013
2013
  async getToken() {
2014
- var _a;
2014
+ var _a, _b;
2015
2015
  throwIfThrottled(this._throttleData);
2016
2016
  // Top-level `getToken()` has already checked that App Check is initialized
2017
2017
  // and therefore this._app and this._heartbeatServiceProvider are available.
@@ -2024,8 +2024,8 @@ class ReCaptchaV3Provider {
2024
2024
  result = await exchangeToken(getExchangeRecaptchaV3TokenRequest(this._app, attestedClaimsToken), this._heartbeatServiceProvider);
2025
2025
  }
2026
2026
  catch (e) {
2027
- if (e.code === "fetch-status-error" /* FETCH_STATUS_ERROR */) {
2028
- this._throttleData = setBackoff(Number((_a = e.customData) === null || _a === void 0 ? void 0 : _a.httpStatus), this._throttleData);
2027
+ if ((_a = e.code) === null || _a === void 0 ? void 0 : _a.includes("fetch-status-error" /* FETCH_STATUS_ERROR */)) {
2028
+ this._throttleData = setBackoff(Number((_b = e.customData) === null || _b === void 0 ? void 0 : _b.httpStatus), this._throttleData);
2029
2029
  throw ERROR_FACTORY.create("throttled" /* THROTTLED */, {
2030
2030
  time: getDurationString(this._throttleData.allowRequestsAfter - Date.now()),
2031
2031
  httpStatus: this._throttleData.httpStatus
@@ -2085,7 +2085,7 @@ class ReCaptchaEnterpriseProvider {
2085
2085
  * @internal
2086
2086
  */
2087
2087
  async getToken() {
2088
- var _a;
2088
+ var _a, _b;
2089
2089
  throwIfThrottled(this._throttleData);
2090
2090
  // Top-level `getToken()` has already checked that App Check is initialized
2091
2091
  // and therefore this._app and this._heartbeatServiceProvider are available.
@@ -2098,8 +2098,8 @@ class ReCaptchaEnterpriseProvider {
2098
2098
  result = await exchangeToken(getExchangeRecaptchaEnterpriseTokenRequest(this._app, attestedClaimsToken), this._heartbeatServiceProvider);
2099
2099
  }
2100
2100
  catch (e) {
2101
- if (e.code === "fetch-status-error" /* FETCH_STATUS_ERROR */) {
2102
- this._throttleData = setBackoff(Number((_a = e.customData) === null || _a === void 0 ? void 0 : _a.httpStatus), this._throttleData);
2101
+ if ((_a = e.code) === null || _a === void 0 ? void 0 : _a.includes("fetch-status-error" /* FETCH_STATUS_ERROR */)) {
2102
+ this._throttleData = setBackoff(Number((_b = e.customData) === null || _b === void 0 ? void 0 : _b.httpStatus), this._throttleData);
2103
2103
  throw ERROR_FACTORY.create("throttled" /* THROTTLED */, {
2104
2104
  time: getDurationString(this._throttleData.allowRequestsAfter - Date.now()),
2105
2105
  httpStatus: this._throttleData.httpStatus
@@ -2250,7 +2250,7 @@ function throwIfThrottled(throttleData) {
2250
2250
  */
2251
2251
  /**
2252
2252
  * Activate App Check for the given app. Can be called only once per app.
2253
- * @param app - the {@link https://www.gstatic.com/firebasejs/9.9.0/firebase-app.js#FirebaseApp} to activate App Check for
2253
+ * @param app - the {@link https://www.gstatic.com/firebasejs/9.9.1/firebase-app.js#FirebaseApp} to activate App Check for
2254
2254
  * @param options - App Check initialization options
2255
2255
  * @public
2256
2256
  */