@firebase/firestore-compat 0.3.17 → 0.3.18-20230912221625

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.cjs.js CHANGED
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
13
13
 
14
14
  const name = "@firebase/firestore-compat";
15
- const version = "0.3.17";
15
+ const version = "0.3.18-20230912221625";
16
16
 
17
17
  /**
18
18
  * @license
@@ -4,7 +4,7 @@ import { getModularInstance } from '@firebase/util';
4
4
  import { Component } from '@firebase/component';
5
5
 
6
6
  const name = "@firebase/firestore-compat";
7
- const version = "0.3.17";
7
+ const version = "0.3.18-20230912221625";
8
8
 
9
9
  /**
10
10
  * @license
@@ -5,7 +5,7 @@ import { getModularInstance } from '@firebase/util';
5
5
  import { Component } from '@firebase/component';
6
6
 
7
7
  const name = "@firebase/firestore-compat";
8
- const version = "0.3.17";
8
+ const version = "0.3.18-20230912221625";
9
9
 
10
10
  /**
11
11
  * @license
@@ -12,7 +12,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
12
12
  var firebase__default = /*#__PURE__*/_interopDefaultLegacy(firebase);
13
13
 
14
14
  const name = "@firebase/firestore-compat";
15
- const version = "0.3.17";
15
+ const version = "0.3.18-20230912221625";
16
16
 
17
17
  /**
18
18
  * @license
package/dist/index.rn.js CHANGED
@@ -4,7 +4,7 @@ import { getModularInstance } from '@firebase/util';
4
4
  import { Component } from '@firebase/component';
5
5
 
6
6
  const name = "@firebase/firestore-compat";
7
- const version = "0.3.17";
7
+ const version = "0.3.18-20230912221625";
8
8
 
9
9
  /**
10
10
  * @license
@@ -4,7 +4,7 @@ import { getModularInstance } from '@firebase/util';
4
4
  import { Component } from '@firebase/component';
5
5
 
6
6
  const name = "@firebase/firestore-compat";
7
- const version = "0.3.17";
7
+ const version = "0.3.18-20230912221625";
8
8
 
9
9
  /**
10
10
  * @license
@@ -49,7 +49,7 @@ declare module '@firebase/app-compat' {
49
49
  }
50
50
 
51
51
  import { FirebaseApp as FirebaseAppCompat } from "@firebase/app-compat";
52
- import { type DocumentData, type WithFieldValue, type DocumentReference, type CollectionReference, type Query, type EmulatorMockTokenOptions, type PersistenceSettings, type AggregateQuerySnapshot, type AggregateField, type DocumentSnapshot, type QuerySnapshot, type Firestore, type FirestoreSettings, type LoadBundleTask, type FirestoreError, type Unsubscribe, type SnapshotListenOptions, type QueryCompositeFilterConstraint, type QueryNonFilterConstraint, type QueryConstraint, type Transaction, type TransactionOptions, type PartialWithFieldValue, type SetOptions, type IndexConfiguration, type UpdateData, type FieldPath, type WriteBatch } from "@firebase/firestore";
52
+ import { type DocumentData, type WithFieldValue, type DocumentReference, type CollectionReference, type Query, type EmulatorMockTokenOptions, type PersistenceSettings, type AggregateQuerySnapshot, type AggregateField, type DocumentSnapshot, type QuerySnapshot, type Firestore, type PersistentCacheIndexManager, type FirestoreSettings, type LoadBundleTask, type FirestoreError, type Unsubscribe, type SnapshotListenOptions, type QueryCompositeFilterConstraint, type QueryNonFilterConstraint, type QueryConstraint, type Transaction, type TransactionOptions, type PartialWithFieldValue, type SetOptions, type IndexConfiguration, type UpdateData, type FieldPath, type WriteBatch } from "@firebase/firestore";
53
53
  declare module "@firebase/firestore" {
54
54
  function addDoc<AppModelType, DbModelType extends DocumentData>(reference: types.CollectionReference<AppModelType, DbModelType>, data: WithFieldValue<AppModelType>): Promise<DocumentReference<AppModelType, DbModelType>>;
55
55
  function clearIndexedDbPersistence(firestore: types.FirebaseFirestore): Promise<void>;
@@ -79,6 +79,7 @@ declare module "@firebase/firestore" {
79
79
  function getDocsFromServer<AppModelType, DbModelType extends DocumentData>(query: types.Query<AppModelType, DbModelType>): Promise<QuerySnapshot<AppModelType, DbModelType>>;
80
80
  function getFirestore(app: FirebaseAppCompat): Firestore;
81
81
  function getFirestore(app: FirebaseAppCompat, databaseId: string): Firestore;
82
+ function getPersistentCacheIndexManager(firestore: types.FirebaseFirestore): PersistentCacheIndexManager | null;
82
83
  function initializeFirestore(app: FirebaseAppCompat, settings: FirestoreSettings, databaseId?: string): Firestore;
83
84
  function loadBundle(firestore: types.FirebaseFirestore, bundleData: ReadableStream<Uint8Array> | ArrayBuffer | string): LoadBundleTask;
84
85
  function namedQuery(firestore: types.FirebaseFirestore, name: string): Promise<Query | null>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore-compat",
3
- "version": "0.3.17",
3
+ "version": "0.3.18-20230912221625",
4
4
  "description": "The Cloud Firestore component of the Firebase JS SDK.",
5
5
  "author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
6
6
  "main": "dist/index.node.cjs.js",
@@ -48,7 +48,7 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@firebase/component": "0.6.4",
51
- "@firebase/firestore": "4.1.3",
51
+ "@firebase/firestore": "4.2.0-20230912221625",
52
52
  "@firebase/util": "1.9.3",
53
53
  "@firebase/firestore-types": "3.0.0",
54
54
  "tslib": "^2.1.0"