@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.
- package/dist/index.esm2017.js +732 -732
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +1117 -1117
- package/dist/index.node.cjs.js +5 -12
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +5 -8
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3 -3
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +102 -102
- package/package.json +9 -9
package/dist/index.node.mjs
CHANGED
|
@@ -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.
|
|
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.
|
|
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
|
-
//
|
|
14316
|
-
//
|
|
14317
|
-
const
|
|
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) {
|