@firebase/firestore 3.4.1-canary.be7ccb8ed → 3.4.2

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.
@@ -16,18 +16,18 @@
16
16
  */
17
17
  /**
18
18
  * An immutable object representing an array of bytes.
19
- */ declare class bn {
19
+ */ declare class vn {
20
20
  /**
21
21
  * Creates a new `Bytes` object from the given Base64 string, converting it to
22
22
  * bytes.
23
23
  *
24
24
  * @param base64 - The Base64 string used to create the `Bytes` object.
25
- */ static fromBase64String(t: any): bn;
25
+ */ static fromBase64String(t: any): vn;
26
26
  /**
27
27
  * Creates a new `Bytes` object from the given Uint8Array.
28
28
  *
29
29
  * @param array - The Uint8Array used to create the `Bytes` object.
30
- */ static fromUint8Array(t: any): bn;
30
+ */ static fromUint8Array(t: any): vn;
31
31
  /** @hideconstructor */
32
32
  constructor(t: any);
33
33
  _byteString: any;
@@ -243,7 +243,7 @@ declare class hn {
243
243
  /**
244
244
  * Sentinel values that can be used when writing document fields with `set()`
245
245
  * or `update()`.
246
- */ declare class vn {
246
+ */ declare class bn {
247
247
  /**
248
248
  * @param _methodName - The public API endpoint that returns this class.
249
249
  * @hideconstructor
@@ -724,7 +724,7 @@ declare function dr(...t: any[]): fr;
724
724
  * @param reference - The reference of the document to fetch.
725
725
  * @returns A Promise resolved with a `DocumentSnapshot` containing the current
726
726
  * document contents.
727
- */ declare function vr(t: any): Promise<Hn>;
727
+ */ declare function br(t: any): Promise<Hn>;
728
728
  /**
729
729
  * Executes the query and returns the results as a {@link QuerySnapshot}.
730
730
  *
@@ -978,40 +978,40 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
978
978
  q: any;
979
979
  /** Creates a new top-level parse context. */ ht(t: any, e: any, n: any, r?: boolean): Rn;
980
980
  }
981
- declare class qn extends vn {
981
+ declare class qn extends bn {
982
982
  constructor(t: any, e: any);
983
983
  lt: any;
984
- _toFieldTransform(t: any): be;
984
+ _toFieldTransform(t: any): ve;
985
985
  isEqual(t: any): boolean;
986
986
  }
987
- declare class xn extends vn {
987
+ declare class xn extends bn {
988
988
  constructor(t: any, e: any);
989
989
  lt: any;
990
- _toFieldTransform(t: any): be;
990
+ _toFieldTransform(t: any): ve;
991
991
  isEqual(t: any): boolean;
992
992
  }
993
- declare class $n extends vn {
993
+ declare class $n extends bn {
994
994
  _toFieldTransform(t: any): null;
995
995
  isEqual(t: any): boolean;
996
996
  }
997
997
  declare class fr extends tr {
998
998
  constructor(t: any, e: any, n: any);
999
999
  type: any;
1000
- vt: any;
1000
+ bt: any;
1001
1001
  Et: any;
1002
1002
  _apply(t: any): ln;
1003
1003
  }
1004
- declare class On extends vn {
1004
+ declare class On extends bn {
1005
1005
  constructor(t: any, e: any);
1006
1006
  ft: any;
1007
- _toFieldTransform(t: any): be;
1007
+ _toFieldTransform(t: any): ve;
1008
1008
  isEqual(t: any): boolean;
1009
1009
  }
1010
1010
  declare class or extends tr {
1011
1011
  constructor(t: any, e: any, n: any);
1012
1012
  type: any;
1013
1013
  gt: any;
1014
- bt: any;
1014
+ vt: any;
1015
1015
  _apply(t: any): ln;
1016
1016
  }
1017
1017
  declare class sr extends tr {
@@ -1021,14 +1021,14 @@ declare class sr extends tr {
1021
1021
  type: string;
1022
1022
  _apply(t: any): ln;
1023
1023
  }
1024
- declare class Sn extends vn {
1025
- _toFieldTransform(t: any): be;
1024
+ declare class Sn extends bn {
1025
+ _toFieldTransform(t: any): ve;
1026
1026
  isEqual(t: any): boolean;
1027
1027
  }
1028
1028
  declare class ar extends tr {
1029
1029
  constructor(t: any, e: any, n: any);
1030
1030
  type: any;
1031
- vt: any;
1031
+ bt: any;
1032
1032
  Et: any;
1033
1033
  _apply(t: any): ln;
1034
1034
  }
@@ -1133,9 +1133,9 @@ declare class J {
1133
1133
  * See the License for the specific language governing permissions and
1134
1134
  * limitations under the License.
1135
1135
  */
1136
- /** A field path and the TransformOperation to perform upon it. */ declare class be {
1136
+ /** A field path and the TransformOperation to perform upon it. */ declare class ve {
1137
1137
  constructor(t: any, e: any);
1138
1138
  field: any;
1139
1139
  transform: any;
1140
1140
  }
1141
- export { bn as Bytes, fn as CollectionReference, hn as DocumentReference, Hn as DocumentSnapshot, _n as FieldPath, vn as FieldValue, sn as Firestore, U as FirestoreError, En as GeoPoint, ln as Query, tr as QueryConstraint, Kn as QueryDocumentSnapshot, Jn as QuerySnapshot, gt as Timestamp, kr as Transaction, Fr as WriteBatch, Pr as addDoc, Nr as arrayRemove, Dr as arrayUnion, dn as collection, wn as collectionGroup, cn as connectFirestoreEmulator, Ar as deleteDoc, Rr as deleteField, mn as doc, gn as documentId, wr as endAt, dr as endBefore, vr as getDoc, Er as getDocs, un as getFirestore, $r as increment, on as initializeFirestore, ur as limit, cr as limitToLast, ir as orderBy, er as query, yn as queryEqual, pn as refEqual, jr as runTransaction, Vr as serverTimestamp, Tr as setDoc, w as setLogLevel, Xn as snapshotEqual, lr as startAfter, hr as startAt, an as terminate, Ir as updateDoc, rr as where, xr as writeBatch };
1141
+ export { vn as Bytes, fn as CollectionReference, hn as DocumentReference, Hn as DocumentSnapshot, _n as FieldPath, bn as FieldValue, sn as Firestore, U as FirestoreError, En as GeoPoint, ln as Query, tr as QueryConstraint, Kn as QueryDocumentSnapshot, Jn as QuerySnapshot, gt as Timestamp, kr as Transaction, Fr as WriteBatch, Pr as addDoc, Nr as arrayRemove, Dr as arrayUnion, dn as collection, wn as collectionGroup, cn as connectFirestoreEmulator, Ar as deleteDoc, Rr as deleteField, mn as doc, gn as documentId, wr as endAt, dr as endBefore, br as getDoc, Er as getDocs, un as getFirestore, $r as increment, on as initializeFirestore, ur as limit, cr as limitToLast, ir as orderBy, er as query, yn as queryEqual, pn as refEqual, jr as runTransaction, Vr as serverTimestamp, Tr as setDoc, w as setLogLevel, Xn as snapshotEqual, lr as startAfter, hr as startAt, an as terminate, Ir as updateDoc, rr as where, xr as writeBatch };
@@ -71,6 +71,7 @@ export declare function bound(values: Array<[string, {}, firestore.OrderByDirect
71
71
  export declare function query(resourcePath: string, ...constraints: Array<OrderBy | Filter>): Query;
72
72
  export declare function targetData(targetId: TargetId, queryPurpose: TargetPurpose, path: string): TargetData;
73
73
  export declare function noChangeEvent(targetId: number, snapshotVersion: number, resumeToken?: ByteString): RemoteEvent;
74
+ export declare function existenceFilterEvent(targetId: number, count: number, snapshotVersion: number): RemoteEvent;
74
75
  export declare function docAddedRemoteEvent(docOrDocs: MutableDocument | MutableDocument[], updatedInTargets?: TargetId[], removedFromTargets?: TargetId[], activeTargets?: TargetId[]): RemoteEvent;
75
76
  export declare function docUpdateRemoteEvent(doc: MutableDocument, updatedInTargets?: TargetId[], removedFromTargets?: TargetId[], limboTargets?: TargetId[]): RemoteEvent;
76
77
  export declare class TestBundledDocuments {
@@ -71,6 +71,7 @@ export declare function bound(values: Array<[string, {}, firestore.OrderByDirect
71
71
  export declare function query(resourcePath: string, ...constraints: Array<OrderBy | Filter>): Query;
72
72
  export declare function targetData(targetId: TargetId, queryPurpose: TargetPurpose, path: string): TargetData;
73
73
  export declare function noChangeEvent(targetId: number, snapshotVersion: number, resumeToken?: ByteString): RemoteEvent;
74
+ export declare function existenceFilterEvent(targetId: number, count: number, snapshotVersion: number): RemoteEvent;
74
75
  export declare function docAddedRemoteEvent(docOrDocs: MutableDocument | MutableDocument[], updatedInTargets?: TargetId[], removedFromTargets?: TargetId[], activeTargets?: TargetId[]): RemoteEvent;
75
76
  export declare function docUpdateRemoteEvent(doc: MutableDocument, updatedInTargets?: TargetId[], removedFromTargets?: TargetId[], limboTargets?: TargetId[]): RemoteEvent;
76
77
  export declare class TestBundledDocuments {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore",
3
- "version": "3.4.1-canary.be7ccb8ed",
3
+ "version": "3.4.2",
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.be7ccb8ed",
84
- "@firebase/logger": "0.3.2-canary.be7ccb8ed",
85
- "@firebase/util": "1.4.2-canary.be7ccb8ed",
86
- "@firebase/webchannel-wrapper": "0.6.1-canary.be7ccb8ed",
83
+ "@firebase/component": "0.5.10",
84
+ "@firebase/logger": "0.3.2",
85
+ "@firebase/util": "1.4.3",
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.11-canary.be7ccb8ed"
93
+ "@firebase/app": "0.x"
94
94
  },
95
95
  "devDependencies": {
96
- "@firebase/app": "0.7.11-canary.be7ccb8ed",
97
- "@firebase/app-compat": "0.1.12-canary.be7ccb8ed",
98
- "@firebase/auth": "0.19.4-canary.be7ccb8ed",
96
+ "@firebase/app": "0.7.12",
97
+ "@firebase/app-compat": "0.1.13",
98
+ "@firebase/auth": "0.19.5",
99
99
  "@rollup/plugin-alias": "3.1.5",
100
100
  "@rollup/plugin-json": "4.1.0",
101
101
  "@types/eslint": "7.28.0",