@firebase/firestore 3.3.1-canary.dc6b447ba → 3.4.0

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.
@@ -103,7 +103,7 @@
103
103
  /**
104
104
  * A `CollectionReference` object can be used for adding documents, getting
105
105
  * document references, and querying for documents (using {@link query}).
106
- */ declare class vc extends Pc {
106
+ */ declare class vc extends bc {
107
107
  _path: any;
108
108
  /** The collection's identifier. */ get id(): any;
109
109
  /**
@@ -113,7 +113,7 @@
113
113
  /**
114
114
  * A reference to the containing `DocumentReference` if this is a
115
115
  * subcollection. If this isn't a subcollection, the reference is null.
116
- */ get parent(): bc | null;
116
+ */ get parent(): Pc | null;
117
117
  }
118
118
  /**
119
119
  * @license
@@ -135,7 +135,7 @@
135
135
  * A `DocumentReference` refers to a document location in a Firestore database
136
136
  * and can be used to write, read, or listen to the location. The document at
137
137
  * the referenced location may or may not exist.
138
- */ declare class bc {
138
+ */ declare class Pc {
139
139
  /** @hideconstructor */
140
140
  constructor(t: any, e: any, n: any);
141
141
  converter: any;
@@ -154,7 +154,7 @@
154
154
  /**
155
155
  * The collection this `DocumentReference` belongs to.
156
156
  */ get parent(): vc;
157
- withConverter(t: any): bc;
157
+ withConverter(t: any): Pc;
158
158
  }
159
159
  /**
160
160
  * A `DocumentSnapshot` contains data read from a document in your Firestore
@@ -371,7 +371,7 @@ declare class $c {
371
371
  /**
372
372
  * A `Query` refers to a query which you can read or listen to. You can also
373
373
  * construct refined `Query` objects by adding filters and ordering.
374
- */ declare class Pc {
374
+ */ declare class bc {
375
375
  /** @hideconstructor protected */
376
376
  constructor(t: any, e: any, n: any);
377
377
  converter: any;
@@ -379,7 +379,7 @@ declare class $c {
379
379
  /** The type of this Firestore reference. */
380
380
  type: string;
381
381
  firestore: any;
382
- withConverter(t: any): Pc;
382
+ withConverter(t: any): bc;
383
383
  }
384
384
  /**
385
385
  * A `QueryConstraint` is used to narrow the set of documents returned by a
@@ -565,7 +565,7 @@ declare class at {
565
565
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
566
566
  */ valueOf(): string;
567
567
  }
568
- declare const bh_base: {
568
+ declare const Ph_base: {
569
569
  new (t: any, e: any): {
570
570
  _firestore: any;
571
571
  _transaction: any;
@@ -608,7 +608,7 @@ declare const bh_base: {
608
608
  * The `Transaction` object passed to a transaction's `updateFunction` provides
609
609
  * the methods to read and write data within the transaction context. See
610
610
  * {@link runTransaction}.
611
- */ declare class bh extends bh_base {
611
+ */ declare class Ph extends Ph_base {
612
612
  }
613
613
  /**
614
614
  * @license
@@ -803,7 +803,7 @@ declare function gt(): boolean;
803
803
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
804
804
  * newly created document after it has been written to the backend (Note that it
805
805
  * won't resolve while you're offline).
806
- */ declare function Th(t: any, e: any): Promise<bc>;
806
+ */ declare function Th(t: any, e: any): Promise<Pc>;
807
807
  /**
808
808
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
809
809
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -839,7 +839,7 @@ declare function Vc(t: any, e: any, ...n: any[]): vc;
839
839
  * collection or subcollection with this ID as the last segment of its path
840
840
  * will be included. Cannot contain a slash.
841
841
  * @returns The created `Query`.
842
- */ declare function Sc(t: any, e: any): Pc;
842
+ */ declare function Sc(t: any, e: any): bc;
843
843
  declare function Rc(t: any, e: any, n: any, s?: {}): void;
844
844
  /**
845
845
  * Deletes the document referred to by the specified `DocumentReference`.
@@ -876,7 +876,7 @@ declare function Rc(t: any, e: any, n: any, s?: {}): void;
876
876
  *
877
877
  * @returns A `Promise` that is resolved once the network has been disabled.
878
878
  */ declare function zc(t: any): any;
879
- declare function Dc(t: any, e: any, ...n: any[]): bc;
879
+ declare function Dc(t: any, e: any, ...n: any[]): Pc;
880
880
  /**
881
881
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
882
882
  * It can be used in queries to sort or filter by the document ID.
@@ -1154,7 +1154,7 @@ declare function Ih(t: any, e: any): () => void;
1154
1154
  * (the `updateFunction` returned a failed promise), the promise returned by the
1155
1155
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1156
1156
  * rejected promise with the corresponding failure error is returned.
1157
- */ declare function Ph(t: any, e: any): Promise<any>;
1157
+ */ declare function bh(t: any, e: any): Promise<any>;
1158
1158
  /**
1159
1159
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1160
1160
  * include a server-generated timestamp in the written data.
@@ -1294,7 +1294,7 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1294
1294
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1295
1295
  /**
1296
1296
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1297
- */ get ref(): bc;
1297
+ */ get ref(): Pc;
1298
1298
  /**
1299
1299
  * Signals whether or not the document at the snapshot's location exists.
1300
1300
  *
@@ -1415,9 +1415,9 @@ declare function yh(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1415
1415
  * Runs the next operation from the retryable queue. If the operation fails,
1416
1416
  * reschedules with backoff.
1417
1417
  */ va(): Promise<void>;
1418
- Pa(t: any): Promise<any>;
1418
+ ba(t: any): Promise<any>;
1419
1419
  enqueueAfterDelay(t: any, e: any, n: any): Fo;
1420
- ba(): void;
1420
+ Pa(): void;
1421
1421
  verifyOperationInProgress(): void;
1422
1422
  /**
1423
1423
  * Waits until all currently queued tasks are finished executing. Delayed
@@ -1536,7 +1536,7 @@ declare class Xu extends Bu {
1536
1536
  type: any;
1537
1537
  Za: any;
1538
1538
  tc: any;
1539
- _apply(t: any): Pc;
1539
+ _apply(t: any): bc;
1540
1540
  }
1541
1541
  declare class gu extends nu {
1542
1542
  constructor(t: any, e: any);
@@ -1549,14 +1549,14 @@ declare class Wu extends Bu {
1549
1549
  type: any;
1550
1550
  Ya: any;
1551
1551
  Xa: any;
1552
- _apply(t: any): Pc;
1552
+ _apply(t: any): bc;
1553
1553
  }
1554
1554
  declare class ju extends Bu {
1555
1555
  constructor(t: any, e: any);
1556
1556
  Ga: any;
1557
1557
  Ja: any;
1558
1558
  type: string;
1559
- _apply(t: any): Pc;
1559
+ _apply(t: any): bc;
1560
1560
  }
1561
1561
  declare class wu extends nu {
1562
1562
  _toFieldTransform(t: any): Ge;
@@ -1567,7 +1567,7 @@ declare class Hu extends Bu {
1567
1567
  type: any;
1568
1568
  Za: any;
1569
1569
  tc: any;
1570
- _apply(t: any): Pc;
1570
+ _apply(t: any): bc;
1571
1571
  }
1572
1572
  declare class qu extends Bu {
1573
1573
  constructor(t: any, e: any, n: any);
@@ -1575,7 +1575,7 @@ declare class qu extends Bu {
1575
1575
  za: any;
1576
1576
  Ha: any;
1577
1577
  type: string;
1578
- _apply(t: any): Pc;
1578
+ _apply(t: any): bc;
1579
1579
  }
1580
1580
  /**
1581
1581
  * @license
@@ -1780,4 +1780,4 @@ declare class Fo {
1780
1780
  field: any;
1781
1781
  transform: any;
1782
1782
  }
1783
- export { rh as AbstractUserDataWriter, eu as Bytes, Fc as CACHE_SIZE_UNLIMITED, vc as CollectionReference, bc as DocumentReference, xu as DocumentSnapshot, Zc as FieldPath, nu as FieldValue, Oc as Firestore, j as FirestoreError, su as GeoPoint, $c as LoadBundleTask, Pc as Query, Bu as QueryConstraint, $u as QueryDocumentSnapshot, Fu as QuerySnapshot, ku as SnapshotMetadata, at as Timestamp, bh as Transaction, ch as WriteBatch, dc as _DatabaseId, St as _DocumentKey, tt as _EmptyAppCheckTokenProvider, G as _EmptyAuthCredentialsProvider, _t as _FieldPath, Tc as _cast, U as _debugAssert, gt as _isBase64Available, O as _logWarn, mc as _validateIsNotUsedTogether, Th as addDoc, Dh as arrayRemove, Sh as arrayUnion, Qc as clearIndexedDbPersistence, Vc as collection, Sc as collectionGroup, Rc as connectFirestoreEmulator, ph as deleteDoc, vh as deleteField, zc as disableNetwork, Dc as doc, tu as documentId, qc as enableIndexedDbPersistence, Kc as enableMultiTabIndexedDbPersistence, Gc as enableNetwork, th as endAt, Zu as endBefore, Bc as ensureFirestoreConfigured, Ah as executeWrite, hh as getDoc, fh as getDocFromCache, dh as getDocFromServer, wh as getDocs, _h as getDocsFromCache, mh as getDocsFromServer, Lc as getFirestore, Ch as increment, Mc as initializeFirestore, Gu as limit, zu as limitToLast, Jc as loadBundle, Yc as namedQuery, Eh as onSnapshot, Ih as onSnapshotsInSync, Qu as orderBy, Uu as query, Nc as queryEqual, Cc as refEqual, Ph as runTransaction, Vh as serverTimestamp, gh as setDoc, x as setLogLevel, Mu as snapshotEqual, Yu as startAfter, Ju as startAt, Hc as terminate, yh as updateDoc, Wc as waitForPendingWrites, Ku as where, Nh as writeBatch };
1783
+ export { rh as AbstractUserDataWriter, eu as Bytes, Fc as CACHE_SIZE_UNLIMITED, vc as CollectionReference, Pc as DocumentReference, xu as DocumentSnapshot, Zc as FieldPath, nu as FieldValue, Oc as Firestore, j as FirestoreError, su as GeoPoint, $c as LoadBundleTask, bc as Query, Bu as QueryConstraint, $u as QueryDocumentSnapshot, Fu as QuerySnapshot, ku as SnapshotMetadata, at as Timestamp, Ph as Transaction, ch as WriteBatch, dc as _DatabaseId, St as _DocumentKey, tt as _EmptyAppCheckTokenProvider, G as _EmptyAuthCredentialsProvider, _t as _FieldPath, Tc as _cast, U as _debugAssert, gt as _isBase64Available, O as _logWarn, mc as _validateIsNotUsedTogether, Th as addDoc, Dh as arrayRemove, Sh as arrayUnion, Qc as clearIndexedDbPersistence, Vc as collection, Sc as collectionGroup, Rc as connectFirestoreEmulator, ph as deleteDoc, vh as deleteField, zc as disableNetwork, Dc as doc, tu as documentId, qc as enableIndexedDbPersistence, Kc as enableMultiTabIndexedDbPersistence, Gc as enableNetwork, th as endAt, Zu as endBefore, Bc as ensureFirestoreConfigured, Ah as executeWrite, hh as getDoc, fh as getDocFromCache, dh as getDocFromServer, wh as getDocs, _h as getDocsFromCache, mh as getDocsFromServer, Lc as getFirestore, Ch as increment, Mc as initializeFirestore, Gu as limit, zu as limitToLast, Jc as loadBundle, Yc as namedQuery, Eh as onSnapshot, Ih as onSnapshotsInSync, Qu as orderBy, Uu as query, Nc as queryEqual, Cc as refEqual, bh as runTransaction, Vh as serverTimestamp, gh as setDoc, x as setLogLevel, Mu as snapshotEqual, Yu as startAfter, Ju as startAt, Hc as terminate, yh as updateDoc, Wc as waitForPendingWrites, Ku as where, Nh as writeBatch };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore",
3
- "version": "3.3.1-canary.dc6b447ba",
3
+ "version": "3.4.0",
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.9-canary.dc6b447ba",
84
- "@firebase/logger": "0.3.2-canary.dc6b447ba",
85
- "@firebase/util": "1.4.2-canary.dc6b447ba",
86
- "@firebase/webchannel-wrapper": "0.6.1-canary.dc6b447ba",
83
+ "@firebase/component": "0.5.9",
84
+ "@firebase/logger": "0.3.2",
85
+ "@firebase/util": "1.4.2",
86
+ "@firebase/webchannel-wrapper": "0.6.1",
87
87
  "@grpc/grpc-js": "^1.3.2",
88
88
  "@grpc/proto-loader": "^0.6.0",
89
89
  "node-fetch": "2.6.5",
90
90
  "tslib": "^2.1.0"
91
91
  },
92
92
  "peerDependencies": {
93
- "@firebase/app": "0.7.9-canary.dc6b447ba"
93
+ "@firebase/app": "0.x"
94
94
  },
95
95
  "devDependencies": {
96
- "@firebase/app": "0.7.9-canary.dc6b447ba",
97
- "@firebase/app-compat": "0.1.10-canary.dc6b447ba",
98
- "@firebase/auth": "0.19.3-canary.dc6b447ba",
96
+ "@firebase/app": "0.7.10",
97
+ "@firebase/app-compat": "0.1.11",
98
+ "@firebase/auth": "0.19.3",
99
99
  "@rollup/plugin-alias": "3.1.5",
100
100
  "@rollup/plugin-json": "4.1.0",
101
101
  "@types/eslint": "7.28.0",