@firebase/firestore 3.5.0-canary.ee871fc0b → 3.5.0-canary.fdd4ab464
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/firestore/src/api/database.d.ts +9 -9
- package/dist/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/index.d.ts +7 -7
- package/dist/index.esm2017.js +2830 -2823
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +2785 -2778
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +11 -3
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +12 -4
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +2845 -2838
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +10 -10
- package/dist/lite/firestore/src/api/database.d.ts +9 -9
- package/dist/lite/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/lite/index.browser.esm2017.js +898 -891
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +854 -847
- package/dist/lite/index.browser.esm5.js.map +1 -1
- package/dist/lite/index.node.cjs.js +11 -3
- package/dist/lite/index.node.cjs.js.map +1 -1
- package/dist/lite/index.node.mjs +12 -4
- package/dist/lite/index.node.mjs.map +1 -1
- package/dist/lite/index.rn.esm2017.js +905 -898
- package/dist/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +113 -113
- package/dist/lite/packages/firestore/src/api/database.d.ts +9 -9
- package/dist/lite/packages/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +164 -164
- package/dist/packages/firestore/src/api/database.d.ts +9 -9
- package/dist/packages/firestore/src/lite-api/database.d.ts +1 -1
- package/dist/private.d.ts +8 -8
- package/package.json +9 -9
|
@@ -66,14 +66,6 @@ export declare class Firestore extends LiteFirestore {
|
|
|
66
66
|
* @returns A newly initialized {@link Firestore} instance.
|
|
67
67
|
*/
|
|
68
68
|
export declare function initializeFirestore(app: FirebaseApp, settings: FirestoreSettings, databaseId?: string): Firestore;
|
|
69
|
-
/**
|
|
70
|
-
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
71
|
-
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
72
|
-
* instance with default settings.
|
|
73
|
-
*
|
|
74
|
-
* @returns The {@link Firestore} instance of the provided app.
|
|
75
|
-
*/
|
|
76
|
-
export declare function getFirestore(): Firestore;
|
|
77
69
|
/**
|
|
78
70
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
79
71
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -95,7 +87,15 @@ export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
|
95
87
|
*/
|
|
96
88
|
export declare function getFirestore(databaseId: string): Firestore;
|
|
97
89
|
/**
|
|
98
|
-
* Returns the existing {@link Firestore} instance that is associated with the
|
|
90
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
91
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
92
|
+
* instance with default settings.
|
|
93
|
+
*
|
|
94
|
+
* @returns The {@link Firestore} instance of the provided app.
|
|
95
|
+
*/
|
|
96
|
+
export declare function getFirestore(): Firestore;
|
|
97
|
+
/**
|
|
98
|
+
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
99
99
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
100
100
|
* instance with default settings.
|
|
101
101
|
*
|
|
@@ -21,6 +21,7 @@ import { User } from '../auth/user';
|
|
|
21
21
|
import { DatabaseId } from '../core/database_info';
|
|
22
22
|
import { FirestoreService } from './components';
|
|
23
23
|
import { FirestoreSettingsImpl, PrivateSettings, FirestoreSettings } from './settings';
|
|
24
|
+
export { EmulatorMockTokenOptions } from '@firebase/util';
|
|
24
25
|
declare module '@firebase/component' {
|
|
25
26
|
interface NameServiceMapping {
|
|
26
27
|
'firestore/lite': Firestore;
|
|
@@ -134,7 +135,6 @@ export declare function getFirestore(databaseId: string): Firestore;
|
|
|
134
135
|
* @internal
|
|
135
136
|
*/
|
|
136
137
|
export declare function getFirestore(app: FirebaseApp, databaseId: string): Firestore;
|
|
137
|
-
export { EmulatorMockTokenOptions } from '@firebase/util';
|
|
138
138
|
/**
|
|
139
139
|
* Modify this instance to communicate with the Cloud Firestore emulator.
|
|
140
140
|
*
|
package/dist/private.d.ts
CHANGED
|
@@ -2332,25 +2332,25 @@ export declare function getDocsFromServer<T>(query: Query<T>): Promise<QuerySnap
|
|
|
2332
2332
|
|
|
2333
2333
|
/**
|
|
2334
2334
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
2335
|
-
*
|
|
2335
|
+
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
2336
2336
|
* instance with default settings.
|
|
2337
2337
|
*
|
|
2338
|
+
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
2339
|
+
* instance is associated with.
|
|
2338
2340
|
* @returns The {@link Firestore} instance of the provided app.
|
|
2339
2341
|
*/
|
|
2340
|
-
export declare function getFirestore(): Firestore;
|
|
2342
|
+
export declare function getFirestore(app: FirebaseApp): Firestore;
|
|
2343
|
+
|
|
2344
|
+
/* Excluded declaration from this release type: getFirestore */
|
|
2341
2345
|
|
|
2342
2346
|
/**
|
|
2343
2347
|
* Returns the existing default {@link Firestore} instance that is associated with the
|
|
2344
|
-
*
|
|
2348
|
+
* default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
2345
2349
|
* instance with default settings.
|
|
2346
2350
|
*
|
|
2347
|
-
* @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
|
|
2348
|
-
* instance is associated with.
|
|
2349
2351
|
* @returns The {@link Firestore} instance of the provided app.
|
|
2350
2352
|
*/
|
|
2351
|
-
export declare function getFirestore(
|
|
2352
|
-
|
|
2353
|
-
/* Excluded declaration from this release type: getFirestore */
|
|
2353
|
+
export declare function getFirestore(): Firestore;
|
|
2354
2354
|
|
|
2355
2355
|
/* Excluded declaration from this release type: getFirestore */
|
|
2356
2356
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.5.0-canary.
|
|
3
|
+
"version": "3.5.0-canary.fdd4ab464",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -80,22 +80,22 @@
|
|
|
80
80
|
"lite/package.json"
|
|
81
81
|
],
|
|
82
82
|
"dependencies": {
|
|
83
|
-
"@firebase/component": "0.5.17-canary.
|
|
84
|
-
"@firebase/logger": "0.3.3-canary.
|
|
85
|
-
"@firebase/util": "1.6.3-canary.
|
|
86
|
-
"@firebase/webchannel-wrapper": "0.7.0-canary.
|
|
83
|
+
"@firebase/component": "0.5.17-canary.fdd4ab464",
|
|
84
|
+
"@firebase/logger": "0.3.3-canary.fdd4ab464",
|
|
85
|
+
"@firebase/util": "1.6.3-canary.fdd4ab464",
|
|
86
|
+
"@firebase/webchannel-wrapper": "0.7.0-canary.fdd4ab464",
|
|
87
87
|
"@grpc/grpc-js": "^1.3.2",
|
|
88
88
|
"@grpc/proto-loader": "^0.6.13",
|
|
89
89
|
"node-fetch": "2.6.7",
|
|
90
90
|
"tslib": "^2.1.0"
|
|
91
91
|
},
|
|
92
92
|
"peerDependencies": {
|
|
93
|
-
"@firebase/app": "0.7.33-canary.
|
|
93
|
+
"@firebase/app": "0.7.33-canary.fdd4ab464"
|
|
94
94
|
},
|
|
95
95
|
"devDependencies": {
|
|
96
|
-
"@firebase/app": "0.7.33-canary.
|
|
97
|
-
"@firebase/app-compat": "0.1.34-canary.
|
|
98
|
-
"@firebase/auth": "0.20.7-canary.
|
|
96
|
+
"@firebase/app": "0.7.33-canary.fdd4ab464",
|
|
97
|
+
"@firebase/app-compat": "0.1.34-canary.fdd4ab464",
|
|
98
|
+
"@firebase/auth": "0.20.7-canary.fdd4ab464",
|
|
99
99
|
"@rollup/plugin-alias": "3.1.9",
|
|
100
100
|
"@rollup/plugin-json": "4.1.0",
|
|
101
101
|
"@types/eslint": "7.29.0",
|