@firebase/firestore 3.12.1 → 3.12.2-20230531163950
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/cache_config.d.ts +4 -0
- package/dist/firestore/src/api/database.d.ts +2 -0
- package/dist/firestore/src/api/settings.d.ts +6 -0
- package/dist/index.cjs.js +22 -15
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.esm2017.js +22 -15
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +21 -14
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +20 -13
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +20 -13
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +22 -15
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +12 -0
- package/dist/lite/firestore/src/api/cache_config.d.ts +4 -0
- package/dist/lite/firestore/src/api/database.d.ts +2 -0
- package/dist/lite/firestore/src/api/settings.d.ts +6 -0
- 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.browser.esm5.js.map +1 -1
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.cjs.js.map +1 -1
- 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/lite/index.rn.esm2017.js.map +1 -1
- package/dist/lite/packages/firestore/src/api/cache_config.d.ts +4 -0
- package/dist/lite/packages/firestore/src/api/database.d.ts +2 -0
- package/dist/lite/packages/firestore/src/api/settings.d.ts +6 -0
- package/dist/packages/firestore/dist/index.esm2017.d.ts +4 -0
- package/dist/packages/firestore/src/api/cache_config.d.ts +4 -0
- package/dist/packages/firestore/src/api/database.d.ts +2 -0
- package/dist/packages/firestore/src/api/settings.d.ts +6 -0
- package/dist/private.d.ts +12 -0
- package/package.json +2 -2
package/dist/internal.d.ts
CHANGED
|
@@ -1425,6 +1425,8 @@ export { EmulatorMockTokenOptions }
|
|
|
1425
1425
|
* * unimplemented: The browser is incompatible with the offline
|
|
1426
1426
|
* persistence implementation.
|
|
1427
1427
|
*
|
|
1428
|
+
* Persistence cannot be used in a Node.js environment.
|
|
1429
|
+
*
|
|
1428
1430
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
1429
1431
|
* @param persistenceSettings - Optional settings object to configure
|
|
1430
1432
|
* persistence.
|
|
@@ -2200,6 +2202,8 @@ export declare interface FirestoreSettings extends FirestoreSettings_2 {
|
|
|
2200
2202
|
* may be removed in a future release. If you find yourself using it to
|
|
2201
2203
|
* work around a specific network reliability issue, please tell us about
|
|
2202
2204
|
* it in https://github.com/firebase/firebase-js-sdk/issues/1674.
|
|
2205
|
+
*
|
|
2206
|
+
* This setting cannot be used in a Node.js environment.
|
|
2203
2207
|
*/
|
|
2204
2208
|
experimentalForceLongPolling?: boolean;
|
|
2205
2209
|
/**
|
|
@@ -2213,6 +2217,8 @@ export declare interface FirestoreSettings extends FirestoreSettings_2 {
|
|
|
2213
2217
|
* polling is now enabled by default. To disable it, set this setting to
|
|
2214
2218
|
* `false`, and please open a GitHub issue to share the problems that
|
|
2215
2219
|
* motivated you disabling long-polling auto-detection.
|
|
2220
|
+
*
|
|
2221
|
+
* This setting cannot be used in a Node.js environment.
|
|
2216
2222
|
*/
|
|
2217
2223
|
experimentalAutoDetectLongPolling?: boolean;
|
|
2218
2224
|
/**
|
|
@@ -4675,6 +4681,8 @@ declare class PersistencePromise<T> {
|
|
|
4675
4681
|
/**
|
|
4676
4682
|
* Settings that can be passed to `enableIndexedDbPersistence()` to configure
|
|
4677
4683
|
* Firestore persistence.
|
|
4684
|
+
*
|
|
4685
|
+
* Persistence cannot be used in a Node.js environment.
|
|
4678
4686
|
*/
|
|
4679
4687
|
export declare interface PersistenceSettings {
|
|
4680
4688
|
/**
|
|
@@ -4706,6 +4714,8 @@ declare type PersistenceTransactionMode = 'readonly' | 'readwrite' | 'readwrite-
|
|
|
4706
4714
|
|
|
4707
4715
|
/**
|
|
4708
4716
|
* An settings object to configure an `PersistentLocalCache` instance.
|
|
4717
|
+
*
|
|
4718
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
4709
4719
|
*/
|
|
4710
4720
|
export declare type PersistentCacheSettings = {
|
|
4711
4721
|
/**
|
|
@@ -4747,6 +4757,8 @@ export declare type PersistentLocalCache = {
|
|
|
4747
4757
|
/**
|
|
4748
4758
|
* Creates an instance of `PersistentLocalCache`. The instance can be set to
|
|
4749
4759
|
* `FirestoreSettings.cache` to tell the SDK which cache layer to use.
|
|
4760
|
+
*
|
|
4761
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
4750
4762
|
*/
|
|
4751
4763
|
export declare function persistentLocalCache(settings?: PersistentCacheSettings): PersistentLocalCache;
|
|
4752
4764
|
|
|
@@ -129,6 +129,8 @@ export declare type MemoryCacheSettings = {
|
|
|
129
129
|
export declare function memoryLocalCache(settings?: MemoryCacheSettings): MemoryLocalCache;
|
|
130
130
|
/**
|
|
131
131
|
* An settings object to configure an `PersistentLocalCache` instance.
|
|
132
|
+
*
|
|
133
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
132
134
|
*/
|
|
133
135
|
export declare type PersistentCacheSettings = {
|
|
134
136
|
/**
|
|
@@ -150,6 +152,8 @@ export declare type PersistentCacheSettings = {
|
|
|
150
152
|
/**
|
|
151
153
|
* Creates an instance of `PersistentLocalCache`. The instance can be set to
|
|
152
154
|
* `FirestoreSettings.cache` to tell the SDK which cache layer to use.
|
|
155
|
+
*
|
|
156
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
153
157
|
*/
|
|
154
158
|
export declare function persistentLocalCache(settings?: PersistentCacheSettings): PersistentLocalCache;
|
|
155
159
|
/**
|
|
@@ -129,6 +129,8 @@ export declare function configureFirestore(firestore: Firestore): void;
|
|
|
129
129
|
* * unimplemented: The browser is incompatible with the offline
|
|
130
130
|
* persistence implementation.
|
|
131
131
|
*
|
|
132
|
+
* Persistence cannot be used in a Node.js environment.
|
|
133
|
+
*
|
|
132
134
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
133
135
|
* @param persistenceSettings - Optional settings object to configure
|
|
134
136
|
* persistence.
|
|
@@ -21,6 +21,8 @@ export { DEFAULT_HOST } from '../lite-api/settings';
|
|
|
21
21
|
/**
|
|
22
22
|
* Settings that can be passed to `enableIndexedDbPersistence()` to configure
|
|
23
23
|
* Firestore persistence.
|
|
24
|
+
*
|
|
25
|
+
* Persistence cannot be used in a Node.js environment.
|
|
24
26
|
*/
|
|
25
27
|
export interface PersistenceSettings {
|
|
26
28
|
/**
|
|
@@ -74,6 +76,8 @@ export interface FirestoreSettings extends LiteSettings {
|
|
|
74
76
|
* may be removed in a future release. If you find yourself using it to
|
|
75
77
|
* work around a specific network reliability issue, please tell us about
|
|
76
78
|
* it in https://github.com/firebase/firebase-js-sdk/issues/1674.
|
|
79
|
+
*
|
|
80
|
+
* This setting cannot be used in a Node.js environment.
|
|
77
81
|
*/
|
|
78
82
|
experimentalForceLongPolling?: boolean;
|
|
79
83
|
/**
|
|
@@ -87,6 +91,8 @@ export interface FirestoreSettings extends LiteSettings {
|
|
|
87
91
|
* polling is now enabled by default. To disable it, set this setting to
|
|
88
92
|
* `false`, and please open a GitHub issue to share the problems that
|
|
89
93
|
* motivated you disabling long-polling auto-detection.
|
|
94
|
+
*
|
|
95
|
+
* This setting cannot be used in a Node.js environment.
|
|
90
96
|
*/
|
|
91
97
|
experimentalAutoDetectLongPolling?: boolean;
|
|
92
98
|
/**
|
|
@@ -63,7 +63,7 @@ d.MOCK_USER = new d("mock-user");
|
|
|
63
63
|
* See the License for the specific language governing permissions and
|
|
64
64
|
* limitations under the License.
|
|
65
65
|
*/
|
|
66
|
-
let w = "9.22.
|
|
66
|
+
let w = "9.22.2-20230531163950";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -7173,7 +7173,7 @@ class bs {
|
|
|
7173
7173
|
return n && s._setSettings(n), s;
|
|
7174
7174
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7175
7175
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7176
|
-
registerVersion("firestore-lite", "3.12.
|
|
7176
|
+
registerVersion("firestore-lite", "3.12.2-20230531163950", ""), registerVersion("firestore-lite", "3.12.2-20230531163950", "esm2017");
|
|
7177
7177
|
|
|
7178
7178
|
export { $n as AggregateField, Nn as AggregateQuerySnapshot, Mn as Bytes, xn as CollectionReference, Dn as DocumentReference, pr as DocumentSnapshot, Ln as FieldPath, jn as FieldValue, Tn as Firestore, U as FirestoreError, Bn as GeoPoint, Fn as Query, Rr as QueryCompositeFilterConstraint, Er as QueryConstraint, yr as QueryDocumentSnapshot, kr as QueryEndAtConstraint, Tr as QueryFieldFilterConstraint, Dr as QueryLimitConstraint, $r as QueryOrderByConstraint, gr as QuerySnapshot, Sr as QueryStartAtConstraint, xt as Timestamp, bs as Transaction, fs as WriteBatch, Zr as addDoc, is as aggregateFieldEqual, os as aggregateQuerySnapshotEqual, Vr as and, hs as arrayRemove, as as arrayUnion, rs as average, Sn as collection, qn as collectionGroup, Pn as connectFirestoreEmulator, ss as count, Xr as deleteDoc, us as deleteField, On as doc, Un as documentId, Mr as endAt, Cr as endBefore, es as getAggregate, ts as getCount, Kr as getDoc, Yr as getDocs, Rn as getFirestore, ls as increment, An as initializeFirestore, Fr as limit, xr as limitToLast, Pr as or, Nr as orderBy, Ir as query, Cn as queryEqual, kn as refEqual, Es as runTransaction, cs as serverTimestamp, Hr as setDoc, p as setLogLevel, _r as snapshotEqual, Or as startAfter, qr as startAt, ns as sum, Vn as terminate, Jr as updateDoc, Ar as where, ws as writeBatch };
|
|
7179
7179
|
//# sourceMappingURL=index.browser.esm2017.js.map
|