@firebase/firestore 3.0.2-canary.4d2a54fb0 → 3.0.2-canary.4e7aba48a

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.
@@ -2,7 +2,7 @@ import { _getProvider, getApp, _removeServiceInstance, _registerComponent, regis
2
2
  import { Component } from '@firebase/component';
3
3
  import { Logger, LogLevel } from '@firebase/logger';
4
4
  import { inspect, TextEncoder, TextDecoder } from 'util';
5
- import { getUA, isSafari, createMockUserToken, getModularInstance, deepEqual } from '@firebase/util';
5
+ import { getUA, isIndexedDBAvailable, isSafari, createMockUserToken, getModularInstance, deepEqual } from '@firebase/util';
6
6
  import { randomBytes as randomBytes$1 } from 'crypto';
7
7
  import { credentials, Metadata, loadPackageDefinition } from '@grpc/grpc-js';
8
8
  import { version as version$2 } from '@grpc/grpc-js/package.json';
@@ -10,7 +10,7 @@ import { resolve, join } from 'path';
10
10
  import { loadSync } from '@grpc/proto-loader';
11
11
 
12
12
  const name = "@firebase/firestore";
13
- const version$1 = "3.0.2-canary.4d2a54fb0";
13
+ const version$1 = "3.0.2-canary.4e7aba48a";
14
14
 
15
15
  /**
16
16
  * @license
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
63
63
  User.FIRST_PARTY = new User('first-party-uid');
64
64
  User.MOCK_USER = new User('mock-user');
65
65
 
66
- const version = "9.0.2-canary.4d2a54fb0";
66
+ const version = "9.0.2-canary.4e7aba48a";
67
67
 
68
68
  /**
69
69
  * @license
@@ -2100,7 +2100,7 @@ class SimpleDb {
2100
2100
  }
2101
2101
  /** Returns true if IndexedDB is available in the current environment. */
2102
2102
  static isAvailable() {
2103
- if (typeof indexedDB === 'undefined') {
2103
+ if (!isIndexedDBAvailable()) {
2104
2104
  return false;
2105
2105
  }
2106
2106
  if (SimpleDb.isMockPersistence()) {