@firebase/firestore 3.12.1-canary.df8604e4d → 3.12.1-canary.e642fc7cd
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 +7 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +12 -0
- package/dist/index.esm2017.js +7 -3
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +7 -3
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +6 -2
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +6 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +7 -3
- 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.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/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 +9 -9
package/dist/index.d.ts
CHANGED
|
@@ -554,6 +554,8 @@ export { EmulatorMockTokenOptions };
|
|
|
554
554
|
* * unimplemented: The browser is incompatible with the offline
|
|
555
555
|
* persistence implementation.
|
|
556
556
|
*
|
|
557
|
+
* Persistence cannot be used in a Node.js environment.
|
|
558
|
+
*
|
|
557
559
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
558
560
|
* @param persistenceSettings - Optional settings object to configure
|
|
559
561
|
* persistence.
|
|
@@ -914,6 +916,8 @@ export declare interface FirestoreSettings {
|
|
|
914
916
|
* may be removed in a future release. If you find yourself using it to
|
|
915
917
|
* work around a specific network reliability issue, please tell us about
|
|
916
918
|
* it in https://github.com/firebase/firebase-js-sdk/issues/1674.
|
|
919
|
+
*
|
|
920
|
+
* This setting cannot be used in a Node.js environment.
|
|
917
921
|
*/
|
|
918
922
|
experimentalForceLongPolling?: boolean;
|
|
919
923
|
/**
|
|
@@ -927,6 +931,8 @@ export declare interface FirestoreSettings {
|
|
|
927
931
|
* polling is now enabled by default. To disable it, set this setting to
|
|
928
932
|
* `false`, and please open a GitHub issue to share the problems that
|
|
929
933
|
* motivated you disabling long-polling auto-detection.
|
|
934
|
+
*
|
|
935
|
+
* This setting cannot be used in a Node.js environment.
|
|
930
936
|
*/
|
|
931
937
|
experimentalAutoDetectLongPolling?: boolean;
|
|
932
938
|
/**
|
|
@@ -1591,6 +1597,8 @@ export declare type PartialWithFieldValue<T> = Partial<T> | (T extends Primitive
|
|
|
1591
1597
|
/**
|
|
1592
1598
|
* Settings that can be passed to `enableIndexedDbPersistence()` to configure
|
|
1593
1599
|
* Firestore persistence.
|
|
1600
|
+
*
|
|
1601
|
+
* Persistence cannot be used in a Node.js environment.
|
|
1594
1602
|
*/
|
|
1595
1603
|
export declare interface PersistenceSettings {
|
|
1596
1604
|
/**
|
|
@@ -1603,6 +1611,8 @@ export declare interface PersistenceSettings {
|
|
|
1603
1611
|
}
|
|
1604
1612
|
/**
|
|
1605
1613
|
* An settings object to configure an `PersistentLocalCache` instance.
|
|
1614
|
+
*
|
|
1615
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
1606
1616
|
*/
|
|
1607
1617
|
export declare interface PersistentCacheSettings {
|
|
1608
1618
|
/**
|
|
@@ -1634,6 +1644,8 @@ export declare interface PersistentLocalCache {
|
|
|
1634
1644
|
/**
|
|
1635
1645
|
* Creates an instance of `PersistentLocalCache`. The instance can be set to
|
|
1636
1646
|
* `FirestoreSettings.cache` to tell the SDK which cache layer to use.
|
|
1647
|
+
*
|
|
1648
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
1637
1649
|
*/
|
|
1638
1650
|
export declare function persistentLocalCache(settings?: PersistentCacheSettings): PersistentLocalCache;
|
|
1639
1651
|
/**
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ V.MOCK_USER = new V("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let S = "9.22.1-canary.
|
|
69
|
+
let S = "9.22.1-canary.e642fc7cd";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -18405,6 +18405,8 @@ function Vh(t) {
|
|
|
18405
18405
|
* * unimplemented: The browser is incompatible with the offline
|
|
18406
18406
|
* persistence implementation.
|
|
18407
18407
|
*
|
|
18408
|
+
* Persistence cannot be used in a Node.js environment.
|
|
18409
|
+
*
|
|
18408
18410
|
* @param firestore - The {@link Firestore} instance to enable persistence for.
|
|
18409
18411
|
* @param persistenceSettings - Optional settings object to configure
|
|
18410
18412
|
* persistence.
|
|
@@ -20904,6 +20906,8 @@ class Sf {
|
|
|
20904
20906
|
/**
|
|
20905
20907
|
* Creates an instance of `PersistentLocalCache`. The instance can be set to
|
|
20906
20908
|
* `FirestoreSettings.cache` to tell the SDK which cache layer to use.
|
|
20909
|
+
*
|
|
20910
|
+
* Persistent cache cannot be used in a Node.js environment.
|
|
20907
20911
|
*/ function Nf(t) {
|
|
20908
20912
|
return new bf(t);
|
|
20909
20913
|
}
|
|
@@ -21371,9 +21375,9 @@ function Jf(t, e) {
|
|
|
21371
21375
|
return s = Object.assign({
|
|
21372
21376
|
useFetchStreams: e
|
|
21373
21377
|
}, s), r._setSettings(s), r;
|
|
21374
|
-
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.12.1-canary.
|
|
21378
|
+
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(b, "3.12.1-canary.e642fc7cd", t),
|
|
21375
21379
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
21376
|
-
registerVersion(b, "3.12.1-canary.
|
|
21380
|
+
registerVersion(b, "3.12.1-canary.e642fc7cd", "esm2017");
|
|
21377
21381
|
}();
|
|
21378
21382
|
|
|
21379
21383
|
export { Wl as AbstractUserDataWriter, Lh as AggregateField, qh as AggregateQuerySnapshot, Uh as Bytes, Ah as CACHE_SIZE_UNLIMITED, wh as CollectionReference, fh as DocumentReference, sf as DocumentSnapshot, Kh as FieldPath, Qh as FieldValue, vh as Firestore, U as FirestoreError, jh as GeoPoint, Eh as LoadBundleTask, dh as Query, Vl as QueryCompositeFilterConstraint, vl as QueryConstraint, rf as QueryDocumentSnapshot, Bl as QueryEndAtConstraint, Pl as QueryFieldFilterConstraint, Nl as QueryLimitConstraint, Cl as QueryOrderByConstraint, of as QuerySnapshot, $l as QueryStartAtConstraint, nf as SnapshotMetadata, it as Timestamp, qf as Transaction, Bf as WriteBatch, Oe as _DatabaseId, ht as _DocumentKey, X as _EmptyAppCheckTokenProvider, Q as _EmptyAuthCredentialsProvider, at as _FieldPath, ci as _TestingHooks, uh as _cast, B as _debugAssert, be as _isBase64Available, M as _logWarn, sh as _validateIsNotUsedTogether, pf as addDoc, tf as aggregateFieldEqual, ef as aggregateQuerySnapshotEqual, Dl as and, jf as arrayRemove, Qf as arrayUnion, Xl as average, xh as clearIndexedDbPersistence, _h as collection, mh as collectionGroup, lh as connectFirestoreEmulator, Zl as count, yf as deleteDoc, Kf as deleteField, Mh as disableNetwork, gh as doc, Gh as documentId, Sh as enableIndexedDbPersistence, Dh as enableMultiTabIndexedDbPersistence, kh as enableNetwork, ql as endAt, Ll as endBefore, bh as ensureFirestoreConfigured, Ef as executeWrite, Rf as getAggregateFromServer, vf as getCountFromServer, af as getDoc, lf as getDocFromCache, ff as getDocFromServer, df as getDocs, wf as getDocsFromCache, _f as getDocsFromServer, Ph as getFirestore, zf as increment, Rh as initializeFirestore, kl as limit, Ml as limitToLast, Oh as loadBundle, Df as memoryEagerGarbageCollector, xf as memoryLocalCache, Cf as memoryLruGarbageCollector, Fh as namedQuery, If as onSnapshot, Tf as onSnapshotsInSync, Sl as or, xl as orderBy, Nf as persistentLocalCache, Of as persistentMultipleTabManager, $f as persistentSingleTabManager, Rl as query, ph as queryEqual, yh as refEqual, Uf as runTransaction, Gf as serverTimestamp, mf as setDoc, Hf as setIndexConfiguration, x as setLogLevel, cf as snapshotEqual, Fl as startAfter, Ol as startAt, Yl as sum, $h as terminate, gf as updateDoc, Nh as waitForPendingWrites, bl as where, Wf as writeBatch };
|