@firebase/firestore 3.4.8-canary.477815d4e → 3.4.8-canary.69baecadd
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.esm2017.js +133 -133
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +56 -56
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +2 -2
- package/dist/index.node.mjs +2 -2
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +3 -3
- package/dist/lite/index.browser.esm2017.js +73 -73
- package/dist/lite/index.browser.esm2017.js.map +1 -1
- package/dist/lite/index.browser.esm5.js +8 -8
- package/dist/lite/index.browser.esm5.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/dist/lite/index.browser.esm2017.d.ts +18 -18
- package/dist/packages/firestore/dist/index.esm2017.d.ts +11 -11
- package/package.json +9 -9
|
@@ -66,7 +66,7 @@ f.MOCK_USER = new f("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let d = "9.
|
|
69
|
+
let d = "9.7.0-canary.69baecadd";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -5996,7 +5996,7 @@ class jr {
|
|
|
5996
5996
|
return e && r._setSettings(e), r;
|
|
5997
5997
|
}), "PUBLIC")),
|
|
5998
5998
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
5999
|
-
r("firestore-lite", "3.4.8-canary.
|
|
5999
|
+
r("firestore-lite", "3.4.8-canary.69baecadd", "rn"), r("firestore-lite", "3.4.8-canary.69baecadd", "esm2017");
|
|
6000
6000
|
|
|
6001
6001
|
export { bn as Bytes, dn as CollectionReference, ln as DocumentReference, Kn as DocumentSnapshot, gn as FieldPath, En as FieldValue, on as Firestore, U as FirestoreError, Tn as GeoPoint, fn as Query, er as QueryConstraint, Jn as QueryDocumentSnapshot, Xn as QuerySnapshot, vt as Timestamp, jr as Transaction, Fr as WriteBatch, Pr as addDoc, $r as arrayRemove, Dr as arrayUnion, wn as collection, mn as collectionGroup, an as connectFirestoreEmulator, Rr as deleteDoc, Vr as deleteField, pn as doc, vn as documentId, mr as endAt, wr as endBefore, Er as getDoc, Tr as getDocs, cn as getFirestore, Sr as increment, un as initializeFirestore, cr as limit, ar as limitToLast, or as orderBy, nr as query, _n as queryEqual, yn as refEqual, Mr as runTransaction, Nr as serverTimestamp, Ir as setDoc, m as setLogLevel, Zn as snapshotEqual, fr as startAfter, lr as startAt, hn as terminate, Ar as updateDoc, sr as where, qr as writeBatch };
|
|
6002
6002
|
//# sourceMappingURL=index.rn.esm2017.js.map
|
|
@@ -243,7 +243,7 @@ declare class an {
|
|
|
243
243
|
/**
|
|
244
244
|
* Sentinel values that can be used when writing document fields with `set()`
|
|
245
245
|
* or `update()`.
|
|
246
|
-
*/ declare class
|
|
246
|
+
*/ declare class bn {
|
|
247
247
|
/**
|
|
248
248
|
* @param _methodName - The public API endpoint that returns this class.
|
|
249
249
|
* @hideconstructor
|
|
@@ -335,7 +335,7 @@ declare class an {
|
|
|
335
335
|
*
|
|
336
336
|
* Latitude values are in the range of [-90, 90].
|
|
337
337
|
* Longitude values are in the range of [-180, 180].
|
|
338
|
-
*/ declare class
|
|
338
|
+
*/ declare class vn {
|
|
339
339
|
/**
|
|
340
340
|
* Creates a new immutable `GeoPoint` object with the provided latitude and
|
|
341
341
|
* longitude values.
|
|
@@ -724,7 +724,7 @@ declare function fr(...t: any[]): lr;
|
|
|
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
|
|
727
|
+
*/ declare function br(t: any): Promise<Yn>;
|
|
728
728
|
/**
|
|
729
729
|
* Executes the query and returns the results as a {@link QuerySnapshot}.
|
|
730
730
|
*
|
|
@@ -736,7 +736,7 @@ declare function fr(...t: any[]): lr;
|
|
|
736
736
|
*
|
|
737
737
|
* @param query - The `Query` to execute.
|
|
738
738
|
* @returns A Promise that will be resolved with the results of the query.
|
|
739
|
-
*/ declare function
|
|
739
|
+
*/ declare function vr(t: any): Promise<Kn>;
|
|
740
740
|
/**
|
|
741
741
|
* Returns the existing `Firestore` instance that is associated with the
|
|
742
742
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -979,40 +979,40 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
|
|
|
979
979
|
q: any;
|
|
980
980
|
/** Creates a new top-level parse context. */ ht(t: any, e: any, n: any, r?: boolean): Rn;
|
|
981
981
|
}
|
|
982
|
-
declare class xn extends
|
|
982
|
+
declare class xn extends bn {
|
|
983
983
|
constructor(t: any, e: any);
|
|
984
984
|
lt: any;
|
|
985
|
-
_toFieldTransform(t: any):
|
|
985
|
+
_toFieldTransform(t: any): be;
|
|
986
986
|
isEqual(t: any): boolean;
|
|
987
987
|
}
|
|
988
|
-
declare class Fn extends
|
|
988
|
+
declare class Fn extends bn {
|
|
989
989
|
constructor(t: any, e: any);
|
|
990
990
|
lt: any;
|
|
991
|
-
_toFieldTransform(t: any):
|
|
991
|
+
_toFieldTransform(t: any): be;
|
|
992
992
|
isEqual(t: any): boolean;
|
|
993
993
|
}
|
|
994
|
-
declare class Nn extends
|
|
994
|
+
declare class Nn extends bn {
|
|
995
995
|
_toFieldTransform(t: any): null;
|
|
996
996
|
isEqual(t: any): boolean;
|
|
997
997
|
}
|
|
998
998
|
declare class lr extends Zn {
|
|
999
999
|
constructor(t: any, e: any, n: any);
|
|
1000
1000
|
type: any;
|
|
1001
|
-
|
|
1001
|
+
vt: any;
|
|
1002
1002
|
Et: any;
|
|
1003
1003
|
_apply(t: any): hn;
|
|
1004
1004
|
}
|
|
1005
|
-
declare class qn extends
|
|
1005
|
+
declare class qn extends bn {
|
|
1006
1006
|
constructor(t: any, e: any);
|
|
1007
1007
|
ft: any;
|
|
1008
|
-
_toFieldTransform(t: any):
|
|
1008
|
+
_toFieldTransform(t: any): be;
|
|
1009
1009
|
isEqual(t: any): boolean;
|
|
1010
1010
|
}
|
|
1011
1011
|
declare class ir extends Zn {
|
|
1012
1012
|
constructor(t: any, e: any, n: any);
|
|
1013
1013
|
type: any;
|
|
1014
1014
|
gt: any;
|
|
1015
|
-
|
|
1015
|
+
bt: any;
|
|
1016
1016
|
_apply(t: any): hn;
|
|
1017
1017
|
}
|
|
1018
1018
|
declare class rr extends Zn {
|
|
@@ -1022,14 +1022,14 @@ declare class rr extends Zn {
|
|
|
1022
1022
|
type: string;
|
|
1023
1023
|
_apply(t: any): hn;
|
|
1024
1024
|
}
|
|
1025
|
-
declare class Sn extends
|
|
1026
|
-
_toFieldTransform(t: any):
|
|
1025
|
+
declare class Sn extends bn {
|
|
1026
|
+
_toFieldTransform(t: any): be;
|
|
1027
1027
|
isEqual(t: any): boolean;
|
|
1028
1028
|
}
|
|
1029
1029
|
declare class cr extends Zn {
|
|
1030
1030
|
constructor(t: any, e: any, n: any);
|
|
1031
1031
|
type: any;
|
|
1032
|
-
|
|
1032
|
+
vt: any;
|
|
1033
1033
|
Et: any;
|
|
1034
1034
|
_apply(t: any): hn;
|
|
1035
1035
|
}
|
|
@@ -1134,9 +1134,9 @@ declare class J {
|
|
|
1134
1134
|
* See the License for the specific language governing permissions and
|
|
1135
1135
|
* limitations under the License.
|
|
1136
1136
|
*/
|
|
1137
|
-
/** A field path and the TransformOperation to perform upon it. */ declare class
|
|
1137
|
+
/** A field path and the TransformOperation to perform upon it. */ declare class be {
|
|
1138
1138
|
constructor(t: any, e: any);
|
|
1139
1139
|
field: any;
|
|
1140
1140
|
transform: any;
|
|
1141
1141
|
}
|
|
1142
|
-
export { gn as Bytes, ln as CollectionReference, an as DocumentReference, Yn as DocumentSnapshot, yn as FieldPath,
|
|
1142
|
+
export { gn as Bytes, ln as CollectionReference, an as DocumentReference, Yn as DocumentSnapshot, yn as FieldPath, bn as FieldValue, rn as Firestore, U as FirestoreError, vn as GeoPoint, hn as Query, Zn as QueryConstraint, Hn as QueryDocumentSnapshot, Kn as QuerySnapshot, gt as Timestamp, Ur as Transaction, $r as WriteBatch, Ar as addDoc, Dr as arrayRemove, Vr as arrayUnion, fn as collection, dn as collectionGroup, un as connectFirestoreEmulator, Ir as deleteDoc, Rr as deleteField, wn as doc, _n as documentId, dr as endAt, fr as endBefore, br as getDoc, vr as getDocs, on as getFirestore, Nr as increment, sn as initializeFirestore, or as limit, ur as limitToLast, sr as orderBy, tr as query, pn as queryEqual, mn as refEqual, kr as runTransaction, Pr as serverTimestamp, Er as setDoc, w as setLogLevel, Jn as snapshotEqual, hr as startAfter, ar as startAt, cn as terminate, Tr as updateDoc, nr as where, Fr as writeBatch };
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
* See the License for the specific language governing permissions and
|
|
100
100
|
* limitations under the License.
|
|
101
101
|
*/
|
|
102
|
-
/** DOMException error code constants. */ declare const
|
|
102
|
+
/** DOMException error code constants. */ declare const Pc: -1;
|
|
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}).
|
|
@@ -318,7 +318,7 @@ declare class Vc extends dc {
|
|
|
318
318
|
* with an underscore.
|
|
319
319
|
*/ _compareTo(t: any): 0 | 1 | -1;
|
|
320
320
|
}
|
|
321
|
-
declare class
|
|
321
|
+
declare class bc {
|
|
322
322
|
_progressObserver: {};
|
|
323
323
|
_taskCompletionResolver: j;
|
|
324
324
|
_lastProgress: {
|
|
@@ -399,7 +399,7 @@ declare class Pc {
|
|
|
399
399
|
* `DocumentSnapshot`. Since query results contain only existing documents, the
|
|
400
400
|
* `exists` property will always be true and `data()` will never return
|
|
401
401
|
* 'undefined'.
|
|
402
|
-
*/ declare class
|
|
402
|
+
*/ declare class bh extends Rh {
|
|
403
403
|
}
|
|
404
404
|
/**
|
|
405
405
|
* A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
|
|
@@ -407,7 +407,7 @@ declare class Pc {
|
|
|
407
407
|
* array via the `docs` property or enumerated using the `forEach` method. The
|
|
408
408
|
* number of documents can be determined via the `empty` and `size`
|
|
409
409
|
* properties.
|
|
410
|
-
*/ declare class
|
|
410
|
+
*/ declare class Ph {
|
|
411
411
|
/** @hideconstructor */
|
|
412
412
|
constructor(t: any, e: any, n: any, s: any);
|
|
413
413
|
_firestore: any;
|
|
@@ -1036,19 +1036,19 @@ declare function tl(t: any): Promise<Rh>;
|
|
|
1036
1036
|
* invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
|
|
1037
1037
|
*
|
|
1038
1038
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1039
|
-
*/ declare function il(t: any): Promise<
|
|
1039
|
+
*/ declare function il(t: any): Promise<Ph>;
|
|
1040
1040
|
/**
|
|
1041
1041
|
* Executes the query and returns the results as a `QuerySnapshot` from cache.
|
|
1042
1042
|
* Returns an error if the document is not currently cached.
|
|
1043
1043
|
*
|
|
1044
1044
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1045
|
-
*/ declare function rl(t: any): Promise<
|
|
1045
|
+
*/ declare function rl(t: any): Promise<Ph>;
|
|
1046
1046
|
/**
|
|
1047
1047
|
* Executes the query and returns the results as a `QuerySnapshot` from the
|
|
1048
1048
|
* server. Returns an error if the network is not available.
|
|
1049
1049
|
*
|
|
1050
1050
|
* @returns A `Promise` that will be resolved with the results of the query.
|
|
1051
|
-
*/ declare function ol(t: any): Promise<
|
|
1051
|
+
*/ declare function ol(t: any): Promise<Ph>;
|
|
1052
1052
|
/**
|
|
1053
1053
|
* Returns the existing {@link Firestore} instance that is associated with the
|
|
1054
1054
|
* provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
|
|
@@ -1113,7 +1113,7 @@ declare function tl(t: any): Promise<Rh>;
|
|
|
1113
1113
|
* @returns A `LoadBundleTask` object, which notifies callers with progress
|
|
1114
1114
|
* updates, and completion or error events. It can be used as a
|
|
1115
1115
|
* `Promise<LoadBundleTaskProgress>`.
|
|
1116
|
-
*/ declare function Lc(t: any, e: any):
|
|
1116
|
+
*/ declare function Lc(t: any, e: any): bc;
|
|
1117
1117
|
/**
|
|
1118
1118
|
* Reads a Firestore {@link Query} from local cache, identified by the given
|
|
1119
1119
|
* name.
|
|
@@ -1675,9 +1675,9 @@ declare class Wo {
|
|
|
1675
1675
|
* delay for any subsequent attempts. If there was a pending backoff operation
|
|
1676
1676
|
* already, it will be canceled.
|
|
1677
1677
|
*/ Ro(t: any): void;
|
|
1678
|
-
|
|
1678
|
+
Po(): void;
|
|
1679
1679
|
cancel(): void;
|
|
1680
|
-
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */
|
|
1680
|
+
/** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ bo(): number;
|
|
1681
1681
|
}
|
|
1682
1682
|
/**
|
|
1683
1683
|
* @license
|
|
@@ -1806,4 +1806,4 @@ declare class vu {
|
|
|
1806
1806
|
field: any;
|
|
1807
1807
|
transform: any;
|
|
1808
1808
|
}
|
|
1809
|
-
export { Hh as AbstractUserDataWriter, Qc as Bytes,
|
|
1809
|
+
export { Hh as AbstractUserDataWriter, Qc as Bytes, Pc as CACHE_SIZE_UNLIMITED, gc as CollectionReference, wc as DocumentReference, Rh as DocumentSnapshot, Kc as FieldPath, jc as FieldValue, Vc as Firestore, Q as FirestoreError, Wc as GeoPoint, bc as LoadBundleTask, mc as Query, Dh as QueryConstraint, bh as QueryDocumentSnapshot, Ph as QuerySnapshot, Ah as SnapshotMetadata, at as Timestamp, wl as Transaction, Xh as WriteBatch, vt as _DatabaseId, xt as _DocumentKey, et as _EmptyAppCheckTokenProvider, z as _EmptyAuthCredentialsProvider, mt as _FieldPath, hc as _cast, q as _debugAssert, yt as _isBase64Available, $ as _logWarn, Al as _setIndexConfiguration, oc as _validateIsNotUsedTogether, hl as addDoc, Il as arrayRemove, pl as arrayUnion, Mc as clearIndexedDbPersistence, yc as collection, pc as collectionGroup, _c as connectFirestoreEmulator, cl as deleteDoc, gl as deleteField, $c as disableNetwork, Ic as doc, Gc as documentId, xc as enableIndexedDbPersistence, Nc as enableMultiTabIndexedDbPersistence, Fc as enableNetwork, Gh as endAt, Kh as endBefore, Dc as ensureFirestoreConfigured, dl as executeWrite, tl as getDoc, nl as getDocFromCache, sl as getDocFromServer, il as getDocs, rl as getDocsFromCache, ol as getDocsFromServer, Sc as getFirestore, Tl as increment, vc as initializeFirestore, Fh as limit, $h as limitToLast, Lc as loadBundle, Uc as namedQuery, ll as onSnapshot, fl as onSnapshotsInSync, Mh as orderBy, Ch as query, Ec as queryEqual, Tc as refEqual, ml as runTransaction, yl as serverTimestamp, ul as setDoc, M as setLogLevel, vh as snapshotEqual, Uh as startAfter, Lh as startAt, Bc as terminate, al as updateDoc, Oc as waitForPendingWrites, Nh as where, El as writeBatch };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "3.4.8-canary.
|
|
3
|
+
"version": "3.4.8-canary.69baecadd",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -77,22 +77,22 @@
|
|
|
77
77
|
"lite/package.json"
|
|
78
78
|
],
|
|
79
79
|
"dependencies": {
|
|
80
|
-
"@firebase/component": "0.5.13-canary.
|
|
81
|
-
"@firebase/logger": "0.3.2-canary.
|
|
82
|
-
"@firebase/util": "1.5.2-canary.
|
|
83
|
-
"@firebase/webchannel-wrapper": "0.6.1-canary.
|
|
80
|
+
"@firebase/component": "0.5.13-canary.69baecadd",
|
|
81
|
+
"@firebase/logger": "0.3.2-canary.69baecadd",
|
|
82
|
+
"@firebase/util": "1.5.2-canary.69baecadd",
|
|
83
|
+
"@firebase/webchannel-wrapper": "0.6.1-canary.69baecadd",
|
|
84
84
|
"@grpc/grpc-js": "^1.3.2",
|
|
85
85
|
"@grpc/proto-loader": "^0.6.0",
|
|
86
86
|
"node-fetch": "2.6.7",
|
|
87
87
|
"tslib": "^2.1.0"
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
|
-
"@firebase/app": "0.7.
|
|
90
|
+
"@firebase/app": "0.7.22-canary.69baecadd"
|
|
91
91
|
},
|
|
92
92
|
"devDependencies": {
|
|
93
|
-
"@firebase/app": "0.7.
|
|
94
|
-
"@firebase/app-compat": "0.1.
|
|
95
|
-
"@firebase/auth": "0.19.12-canary.
|
|
93
|
+
"@firebase/app": "0.7.22-canary.69baecadd",
|
|
94
|
+
"@firebase/app-compat": "0.1.23-canary.69baecadd",
|
|
95
|
+
"@firebase/auth": "0.19.12-canary.69baecadd",
|
|
96
96
|
"@rollup/plugin-alias": "3.1.5",
|
|
97
97
|
"@rollup/plugin-json": "4.1.0",
|
|
98
98
|
"@types/eslint": "7.28.0",
|