@firebase/firestore 3.4.0-canary.cd5ad5055 → 3.4.0-canary.fd8cd3ec4

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.
@@ -4,14 +4,13 @@ import { Logger, LogLevel } from '@firebase/logger';
4
4
  import { inspect, TextEncoder, TextDecoder } from 'util';
5
5
  import { createMockUserToken, getModularInstance, deepEqual, getUA, isIndexedDBAvailable, isSafari } from '@firebase/util';
6
6
  import { randomBytes as randomBytes$1 } from 'crypto';
7
- import module from 'module';
8
7
  import { credentials, loadPackageDefinition, Metadata } from '@grpc/grpc-js';
9
8
  import { dirname, resolve, join } from 'path';
10
9
  import { fileURLToPath } from 'url';
11
10
  import { loadSync } from '@grpc/proto-loader';
12
11
 
13
12
  const name = "@firebase/firestore";
14
- const version$1 = "3.4.0-canary.cd5ad5055";
13
+ const version$1 = "3.4.0-canary.fd8cd3ec4";
15
14
 
16
15
  /**
17
16
  * @license
@@ -64,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
64
63
  User.FIRST_PARTY = new User('first-party-uid');
65
64
  User.MOCK_USER = new User('mock-user');
66
65
 
67
- const version = "9.6.0-canary.cd5ad5055";
66
+ const version = "9.6.0-canary.fd8cd3ec4";
68
67
 
69
68
  /**
70
69
  * @license
@@ -14312,11 +14311,9 @@ function nodePromise(action) {
14312
14311
  * See the License for the specific language governing permissions and
14313
14312
  * limitations under the License.
14314
14313
  */
14315
- // This is a hack fix for Node ES modules to use `require`.
14316
- // @ts-ignore To avoid using `--module es2020` flag.
14317
- const requireInESM = module.createRequire(import.meta.url);
14318
- // eslint-disable-next-line @typescript-eslint/no-require-imports
14319
- const { version: grpcVersion } = requireInESM('@grpc/grpc-js/package.json');
14314
+ // TODO: Fetch runtime version from grpc-js/package.json instead
14315
+ // when there's a cleaner way to dynamic require JSON in both Node ESM and CJS
14316
+ const grpcVersion = '1.3.7';
14320
14317
  const LOG_TAG$9 = 'Connection';
14321
14318
  const X_GOOG_API_CLIENT_VALUE = `gl-node/${process.versions.node} fire/${SDK_VERSION} grpc/${grpcVersion}`;
14322
14319
  function createMetadata(databasePath, authToken, appCheckToken, appId) {