@firebase/firestore 3.10.0 → 3.10.1-20230413163153
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/CHANGELOG.md +6 -0
- package/dist/firestore/src/api/cache_config.d.ts +3 -3
- package/dist/firestore/src/api/settings.d.ts +1 -1
- package/dist/index.cjs.js +6 -7
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.esm2017.js +6 -7
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +114 -124
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +5 -10
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +5 -10
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +6 -7
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +4 -4
- package/dist/lite/firestore/src/api/cache_config.d.ts +3 -3
- package/dist/lite/firestore/src/api/settings.d.ts +1 -1
- 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 +3 -3
- package/dist/lite/packages/firestore/src/api/settings.d.ts +1 -1
- package/dist/packages/firestore/src/api/cache_config.d.ts +3 -3
- package/dist/packages/firestore/src/api/settings.d.ts +1 -1
- package/dist/private.d.ts +4 -4
- package/package.json +6 -4
package/dist/index.d.ts
CHANGED
|
@@ -845,7 +845,7 @@ export declare interface FirestoreSettings {
|
|
|
845
845
|
*/
|
|
846
846
|
cacheSizeBytes?: number;
|
|
847
847
|
/**
|
|
848
|
-
* Specifies the cache used by the SDK.
|
|
848
|
+
* Specifies the cache used by the SDK. Available options are `MemoryLocalCache`
|
|
849
849
|
* and `IndexedDbLocalCache`, each with different configuration options.
|
|
850
850
|
*
|
|
851
851
|
* When unspecified, `MemoryLocalCache` will be used by default.
|
|
@@ -1519,7 +1519,7 @@ export declare interface PersistentLocalCache {
|
|
|
1519
1519
|
*/
|
|
1520
1520
|
export declare function persistentLocalCache(settings?: PersistentCacheSettings): PersistentLocalCache;
|
|
1521
1521
|
/**
|
|
1522
|
-
* A tab manager
|
|
1522
|
+
* A tab manager supporting multiple tabs. SDK will synchronize queries and
|
|
1523
1523
|
* mutations done across all tabs using the SDK.
|
|
1524
1524
|
*/
|
|
1525
1525
|
export declare interface PersistentMultipleTabManager {
|
|
@@ -1543,7 +1543,7 @@ export declare interface PersistentSingleTabManager {
|
|
|
1543
1543
|
*/
|
|
1544
1544
|
export declare function persistentSingleTabManager(settings: PersistentSingleTabManagerSettings | undefined): PersistentSingleTabManager;
|
|
1545
1545
|
/**
|
|
1546
|
-
* Type to configure an `PersistentSingleTabManager`
|
|
1546
|
+
* Type to configure an `PersistentSingleTabManager` instance.
|
|
1547
1547
|
*/
|
|
1548
1548
|
export declare interface PersistentSingleTabManagerSettings {
|
|
1549
1549
|
/**
|
|
@@ -1555,7 +1555,7 @@ export declare interface PersistentSingleTabManagerSettings {
|
|
|
1555
1555
|
forceOwnership?: boolean;
|
|
1556
1556
|
}
|
|
1557
1557
|
/**
|
|
1558
|
-
* A union of all
|
|
1558
|
+
* A union of all available tab managers.
|
|
1559
1559
|
*/
|
|
1560
1560
|
export declare type PersistentTabManager = PersistentSingleTabManager | PersistentMultipleTabManager;
|
|
1561
1561
|
/**
|
package/dist/index.esm2017.js
CHANGED
|
@@ -66,7 +66,7 @@ b.MOCK_USER = new b("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let P = "9.
|
|
69
|
+
let P = "9.20.0-20230413163153";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -20440,10 +20440,9 @@ function af(t, e) {
|
|
|
20440
20440
|
// to the implementation in firestoreClientGetDocumentsViaSnapshotListener
|
|
20441
20441
|
// above
|
|
20442
20442
|
try {
|
|
20443
|
-
|
|
20444
|
-
|
|
20445
|
-
|
|
20446
|
-
} else s.reject(new L(B.UNAVAILABLE, "Failed to get aggregate result because the client is offline."));
|
|
20443
|
+
// TODO(b/277628384): check `canUseNetwork()` and handle multi-tab.
|
|
20444
|
+
const i = await Ca(t);
|
|
20445
|
+
s.resolve(ku(i, e, n));
|
|
20447
20446
|
} catch (t) {
|
|
20448
20447
|
s.reject(t);
|
|
20449
20448
|
}
|
|
@@ -20980,9 +20979,9 @@ function kf(t, e) {
|
|
|
20980
20979
|
return s = Object.assign({
|
|
20981
20980
|
useFetchStreams: e
|
|
20982
20981
|
}, s), r._setSettings(s), r;
|
|
20983
|
-
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(v, "3.10.
|
|
20982
|
+
}), "PUBLIC").setMultipleInstances(!0)), registerVersion(v, "3.10.1-20230413163153", t),
|
|
20984
20983
|
// BUILD_TARGET will be replaced by values like esm5, esm2017, cjs5, etc during the compilation
|
|
20985
|
-
registerVersion(v, "3.10.
|
|
20984
|
+
registerVersion(v, "3.10.1-20230413163153", "esm2017");
|
|
20986
20985
|
}();
|
|
20987
20986
|
|
|
20988
20987
|
export { $l as AbstractUserDataWriter, Vh as AggregateField, Sh as AggregateQuerySnapshot, Dh as Bytes, lh as CACHE_SIZE_UNLIMITED, nh as CollectionReference, th as DocumentReference, Ql as DocumentSnapshot, Ch as FieldPath, Nh as FieldValue, fh as Firestore, L as FirestoreError, kh as GeoPoint, hh as LoadBundleTask, eh as Query, ml as QueryCompositeFilterConstraint, fl as QueryConstraint, zl as QueryDocumentSnapshot, Pl as QueryEndAtConstraint, wl as QueryFieldFilterConstraint, Tl as QueryLimitConstraint, pl as QueryOrderByConstraint, jl as QuerySnapshot, Rl as QueryStartAtConstraint, Gl as SnapshotMetadata, nt as Timestamp, vf as Transaction, Af as WriteBatch, Oe as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, ui as _TestingHooks, Ha as _cast, M as _debugAssert, ve as _isBase64Available, N as _logWarn, Qa as _validateIsNotUsedTogether, uf as addDoc, Ul as aggregateFieldEqual, Kl as aggregateQuerySnapshotEqual, yl as and, Df as arrayRemove, Sf as arrayUnion, Ll as average, Ih as clearIndexedDbPersistence, sh as collection, ih as collectionGroup, Xa as connectFirestoreEmulator, ql as count, of as deleteDoc, Pf as deleteField, Ah as disableNetwork, rh as doc, xh as documentId, gh as enableIndexedDbPersistence, yh as enableMultiTabIndexedDbPersistence, Eh as enableNetwork, Sl as endAt, Vl as endBefore, _h as ensureFirestoreConfigured, hf as executeWrite, df as getAggregateFromServer, ff as getCountFromServer, Jl as getDoc, Zl as getDocFromCache, Xl as getDocFromServer, tf as getDocs, ef as getDocsFromCache, nf as getDocsFromServer, wh as getFirestore, Cf as increment, dh as initializeFirestore, El as limit, Al as limitToLast, vh as loadBundle, mf as memoryLocalCache, bh as namedQuery, cf as onSnapshot, af as onSnapshotsInSync, gl as or, Il as orderBy, gf as persistentLocalCache, Tf as persistentMultipleTabManager, If as persistentSingleTabManager, dl as query, uh as queryEqual, oh as refEqual, bf as runTransaction, Vf as serverTimestamp, sf as setDoc, Nf as setIndexConfiguration, D as setLogLevel, Hl as snapshotEqual, bl as startAfter, vl as startAt, Bl as sum, Rh as terminate, rf as updateDoc, Th as waitForPendingWrites, _l as where, xf as writeBatch };
|