@firebase/firestore 4.3.2-canary.b782bb270 → 4.3.2-canary.e9ff107ee
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/firestore/src/core/view.d.ts +5 -2
- package/dist/index.cjs.js +316 -312
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +317 -313
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3077 -3072
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +19 -11
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +19 -11
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +322 -318
- package/dist/index.rn.js.map +1 -1
- package/dist/lite/firestore/src/core/view.d.ts +5 -2
- package/dist/lite/index.browser.esm2017.js +2 -2
- package/dist/lite/index.browser.esm5.js +2 -2
- package/dist/lite/index.cjs.js +2 -2
- package/dist/lite/index.node.cjs.js +2 -2
- package/dist/lite/index.node.mjs +2 -2
- package/dist/lite/index.rn.esm2017.js +2 -2
- package/dist/lite/packages/firestore/src/core/view.d.ts +5 -2
- package/dist/packages/firestore/dist/index.esm2017.d.ts +2 -2
- package/dist/packages/firestore/src/core/view.d.ts +5 -2
- package/package.json +9 -9
|
@@ -98,13 +98,16 @@ export declare class View {
|
|
|
98
98
|
* Updates the view with the given ViewDocumentChanges and optionally updates
|
|
99
99
|
* limbo docs and sync state from the provided target change.
|
|
100
100
|
* @param docChanges - The set of changes to make to the view's docs.
|
|
101
|
-
* @param
|
|
101
|
+
* @param limboResolutionEnabled - Whether to update limbo documents based on
|
|
102
102
|
* this change.
|
|
103
103
|
* @param targetChange - A target change to apply for computing limbo docs and
|
|
104
104
|
* sync state.
|
|
105
|
+
* @param targetIsPendingReset - Whether the target is pending to reset due to
|
|
106
|
+
* existence filter mismatch. If not explicitly specified, it is treated
|
|
107
|
+
* equivalently to `false`.
|
|
105
108
|
* @returns A new ViewChange with the given docs, changes, and sync state.
|
|
106
109
|
*/
|
|
107
|
-
applyChanges(docChanges: ViewDocumentChanges,
|
|
110
|
+
applyChanges(docChanges: ViewDocumentChanges, limboResolutionEnabled: boolean, targetChange?: TargetChange, targetIsPendingReset?: boolean): ViewChange;
|
|
108
111
|
/**
|
|
109
112
|
* Applies an OnlineState change to the view, potentially generating a
|
|
110
113
|
* ViewChange if the view's syncState changes as a result.
|
|
@@ -63,7 +63,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
63
63
|
* See the License for the specific language governing permissions and
|
|
64
64
|
* limitations under the License.
|
|
65
65
|
*/
|
|
66
|
-
let d = "10.6.0-canary.
|
|
66
|
+
let d = "10.6.0-canary.e9ff107ee";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -7195,7 +7195,7 @@ class Transaction {
|
|
|
7195
7195
|
return r && i._setSettings(r), i;
|
|
7196
7196
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7197
7197
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7198
|
-
registerVersion("firestore-lite", "4.3.2-canary.
|
|
7198
|
+
registerVersion("firestore-lite", "4.3.2-canary.e9ff107ee", ""), registerVersion("firestore-lite", "4.3.2-canary.e9ff107ee", "esm2017");
|
|
7199
7199
|
}();
|
|
7200
7200
|
|
|
7201
7201
|
export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
|
|
@@ -67,7 +67,7 @@ v.MOCK_USER = new v("mock-user");
|
|
|
67
67
|
* See the License for the specific language governing permissions and
|
|
68
68
|
* limitations under the License.
|
|
69
69
|
*/
|
|
70
|
-
var g = "10.6.0-canary.
|
|
70
|
+
var g = "10.6.0-canary.e9ff107ee", w = new l("@firebase/firestore");
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -6689,7 +6689,7 @@ hi = "".concat(i, "_lite"), g = hi, o(new c("firestore/lite", (function(t, e) {
|
|
|
6689
6689
|
return r && o._setSettings(r), o;
|
|
6690
6690
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
6691
6691
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
6692
|
-
a("firestore-lite", "4.3.2-canary.
|
|
6692
|
+
a("firestore-lite", "4.3.2-canary.e9ff107ee", ""), a("firestore-lite", "4.3.2-canary.e9ff107ee", "esm5");
|
|
6693
6693
|
|
|
6694
6694
|
export { En as AggregateField, Sn as AggregateQuerySnapshot, Dn as Bytes, An as CollectionReference, In as DocumentReference, lr as DocumentSnapshot, Rn as FieldPath, xn as FieldValue, gn as Firestore, B as FirestoreError, Cn as GeoPoint, kn as Query, br as QueryCompositeFilterConstraint, mr as QueryConstraint, fr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, gr as QueryFieldFilterConstraint, kr as QueryLimitConstraint, Er as QueryOrderByConstraint, hr as QuerySnapshot, Pr as QueryStartAtConstraint, Dt as Timestamp, yi as Transaction, oi as WriteBatch, Qr as addDoc, Zr as aggregateFieldEqual, $r as aggregateQuerySnapshotEqual, Tr as and, ri as arrayRemove, ni as arrayUnion, Jr as average, Pn as collection, Vn as collectionGroup, _n as connectFirestoreEmulator, Xr as count, Gr as deleteDoc, ti as deleteField, Fn as doc, qn as documentId, Dr as endAt, Nr as endBefore, Yr as getAggregate, Wr as getCount, Ur as getDoc, Br as getDocs, bn as getFirestore, ii as increment, wn as initializeFirestore, Ir as limit, Ar as limitToLast, _r as or, Sr as orderBy, vr as query, Nn as queryEqual, On as refEqual, mi as runTransaction, ei as serverTimestamp, zr as setDoc, b as setLogLevel, pr as snapshotEqual, Fr as startAfter, Vr as startAt, Hr as sum, Tn as terminate, Kr as updateDoc, wr as where, ui as writeBatch };
|
|
6695
6695
|
//# sourceMappingURL=index.browser.esm5.js.map
|
package/dist/lite/index.cjs.js
CHANGED
|
@@ -63,7 +63,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
63
63
|
* See the License for the specific language governing permissions and
|
|
64
64
|
* limitations under the License.
|
|
65
65
|
*/
|
|
66
|
-
let d = "10.6.0-canary.
|
|
66
|
+
let d = "10.6.0-canary.e9ff107ee";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -7195,7 +7195,7 @@ class Transaction {
|
|
|
7195
7195
|
return r && i._setSettings(r), i;
|
|
7196
7196
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7197
7197
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7198
|
-
registerVersion("firestore-lite", "4.3.2-canary.
|
|
7198
|
+
registerVersion("firestore-lite", "4.3.2-canary.e9ff107ee", ""), registerVersion("firestore-lite", "4.3.2-canary.e9ff107ee", "cjs2017");
|
|
7199
7199
|
}();
|
|
7200
7200
|
|
|
7201
7201
|
export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
|
|
@@ -10,7 +10,7 @@ var util = require('@firebase/util');
|
|
|
10
10
|
var undici = require('undici');
|
|
11
11
|
var crypto = require('crypto');
|
|
12
12
|
|
|
13
|
-
const version$1 = "4.3.2-canary.
|
|
13
|
+
const version$1 = "4.3.2-canary.e9ff107ee";
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* @license
|
|
@@ -63,7 +63,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
63
63
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
64
64
|
User.MOCK_USER = new User('mock-user');
|
|
65
65
|
|
|
66
|
-
const version = "10.6.0-canary.
|
|
66
|
+
const version = "10.6.0-canary.e9ff107ee";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
package/dist/lite/index.node.mjs
CHANGED
|
@@ -6,7 +6,7 @@ import { FirebaseError, getDefaultEmulatorHostnameAndPort, createMockUserToken,
|
|
|
6
6
|
import { fetch } from 'undici';
|
|
7
7
|
import { randomBytes as randomBytes$1 } from 'crypto';
|
|
8
8
|
|
|
9
|
-
const version$1 = "4.3.2-canary.
|
|
9
|
+
const version$1 = "4.3.2-canary.e9ff107ee";
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
12
|
* @license
|
|
@@ -59,7 +59,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
|
|
|
59
59
|
User.FIRST_PARTY = new User('first-party-uid');
|
|
60
60
|
User.MOCK_USER = new User('mock-user');
|
|
61
61
|
|
|
62
|
-
const version = "10.6.0-canary.
|
|
62
|
+
const version = "10.6.0-canary.e9ff107ee";
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
@@ -66,7 +66,7 @@ User.MOCK_USER = new User("mock-user");
|
|
|
66
66
|
* See the License for the specific language governing permissions and
|
|
67
67
|
* limitations under the License.
|
|
68
68
|
*/
|
|
69
|
-
let E = "10.6.0-canary.
|
|
69
|
+
let E = "10.6.0-canary.e9ff107ee";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -7205,7 +7205,7 @@ class Transaction {
|
|
|
7205
7205
|
return r && i._setSettings(r), i;
|
|
7206
7206
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7207
7207
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7208
|
-
n("firestore-lite", "4.3.2-canary.
|
|
7208
|
+
n("firestore-lite", "4.3.2-canary.e9ff107ee", "rn"), n("firestore-lite", "4.3.2-canary.e9ff107ee", "esm2017");
|
|
7209
7209
|
}();
|
|
7210
7210
|
|
|
7211
7211
|
export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, WriteBatch, addDoc, aggregateFieldEqual, aggregateQuerySnapshotEqual, and, arrayRemove, arrayUnion, average, collection, collectionGroup, connectFirestoreEmulator, count, deleteDoc, deleteField, doc, documentId, endAt, endBefore, getAggregate, getCount, getDoc, getDocs, getFirestore, increment, initializeFirestore, limit, limitToLast, or, orderBy, query, queryEqual, refEqual, runTransaction, serverTimestamp, setDoc, setLogLevel, snapshotEqual, startAfter, startAt, sum, terminate, updateDoc, where, writeBatch };
|
|
@@ -98,13 +98,16 @@ export declare class View {
|
|
|
98
98
|
* Updates the view with the given ViewDocumentChanges and optionally updates
|
|
99
99
|
* limbo docs and sync state from the provided target change.
|
|
100
100
|
* @param docChanges - The set of changes to make to the view's docs.
|
|
101
|
-
* @param
|
|
101
|
+
* @param limboResolutionEnabled - Whether to update limbo documents based on
|
|
102
102
|
* this change.
|
|
103
103
|
* @param targetChange - A target change to apply for computing limbo docs and
|
|
104
104
|
* sync state.
|
|
105
|
+
* @param targetIsPendingReset - Whether the target is pending to reset due to
|
|
106
|
+
* existence filter mismatch. If not explicitly specified, it is treated
|
|
107
|
+
* equivalently to `false`.
|
|
105
108
|
* @returns A new ViewChange with the given docs, changes, and sync state.
|
|
106
109
|
*/
|
|
107
|
-
applyChanges(docChanges: ViewDocumentChanges,
|
|
110
|
+
applyChanges(docChanges: ViewDocumentChanges, limboResolutionEnabled: boolean, targetChange?: TargetChange, targetIsPendingReset?: boolean): ViewChange;
|
|
108
111
|
/**
|
|
109
112
|
* Applies an OnlineState change to the view, potentially generating a
|
|
110
113
|
* ViewChange if the view's syncState changes as a result.
|
|
@@ -155,7 +155,7 @@ export class AggregateField {
|
|
|
155
155
|
* Constant used to indicate the LRU garbage collection should be disabled.
|
|
156
156
|
* Set this value as the `cacheSizeBytes` on the settings passed to the
|
|
157
157
|
* {@link Firestore} instance.
|
|
158
|
-
*/ declare const
|
|
158
|
+
*/ declare const fe: -1;
|
|
159
159
|
/**
|
|
160
160
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
161
161
|
* document references, and querying for documents (using {@link (query:1)}).
|
|
@@ -4593,4 +4593,4 @@ declare class __PRIVATE_DescendingIndexByteEncoder {
|
|
|
4593
4593
|
Et(e: any): void;
|
|
4594
4594
|
It(): void;
|
|
4595
4595
|
}
|
|
4596
|
-
export {
|
|
4596
|
+
export { fe as CACHE_SIZE_UNLIMITED, __PRIVATE_AutoId as _AutoId, ByteString as _ByteString, DatabaseId as _DatabaseId, DocumentKey as _DocumentKey, __PRIVATE_EmptyAppCheckTokenProvider as _EmptyAppCheckTokenProvider, __PRIVATE_EmptyAuthCredentialsProvider as _EmptyAuthCredentialsProvider, FieldPath$1 as _FieldPath, TestingHooks as _TestingHooks, __PRIVATE_cast as _cast, __PRIVATE_debugAssert as _debugAssert, __PRIVATE_isBase64Available as _isBase64Available, __PRIVATE_logWarn as _logWarn, __PRIVATE_validateIsNotUsedTogether as _validateIsNotUsedTogether };
|
|
@@ -98,13 +98,16 @@ export declare class View {
|
|
|
98
98
|
* Updates the view with the given ViewDocumentChanges and optionally updates
|
|
99
99
|
* limbo docs and sync state from the provided target change.
|
|
100
100
|
* @param docChanges - The set of changes to make to the view's docs.
|
|
101
|
-
* @param
|
|
101
|
+
* @param limboResolutionEnabled - Whether to update limbo documents based on
|
|
102
102
|
* this change.
|
|
103
103
|
* @param targetChange - A target change to apply for computing limbo docs and
|
|
104
104
|
* sync state.
|
|
105
|
+
* @param targetIsPendingReset - Whether the target is pending to reset due to
|
|
106
|
+
* existence filter mismatch. If not explicitly specified, it is treated
|
|
107
|
+
* equivalently to `false`.
|
|
105
108
|
* @returns A new ViewChange with the given docs, changes, and sync state.
|
|
106
109
|
*/
|
|
107
|
-
applyChanges(docChanges: ViewDocumentChanges,
|
|
110
|
+
applyChanges(docChanges: ViewDocumentChanges, limboResolutionEnabled: boolean, targetChange?: TargetChange, targetIsPendingReset?: boolean): ViewChange;
|
|
108
111
|
/**
|
|
109
112
|
* Applies an OnlineState change to the view, potentially generating a
|
|
110
113
|
* ViewChange if the view's syncState changes as a result.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "4.3.2-canary.
|
|
3
|
+
"version": "4.3.2-canary.e9ff107ee",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -96,22 +96,22 @@
|
|
|
96
96
|
"lite/package.json"
|
|
97
97
|
],
|
|
98
98
|
"dependencies": {
|
|
99
|
-
"@firebase/component": "0.6.4-canary.
|
|
100
|
-
"@firebase/logger": "0.4.0-canary.
|
|
101
|
-
"@firebase/util": "1.9.3-canary.
|
|
102
|
-
"@firebase/webchannel-wrapper": "0.10.
|
|
99
|
+
"@firebase/component": "0.6.4-canary.e9ff107ee",
|
|
100
|
+
"@firebase/logger": "0.4.0-canary.e9ff107ee",
|
|
101
|
+
"@firebase/util": "1.9.3-canary.e9ff107ee",
|
|
102
|
+
"@firebase/webchannel-wrapper": "0.10.4-canary.e9ff107ee",
|
|
103
103
|
"@grpc/grpc-js": "~1.9.0",
|
|
104
104
|
"@grpc/proto-loader": "^0.7.8",
|
|
105
105
|
"undici": "5.26.5",
|
|
106
106
|
"tslib": "^2.1.0"
|
|
107
107
|
},
|
|
108
108
|
"peerDependencies": {
|
|
109
|
-
"@firebase/app": "0.9.23-canary.
|
|
109
|
+
"@firebase/app": "0.9.23-canary.e9ff107ee"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|
|
112
|
-
"@firebase/app": "0.9.23-canary.
|
|
113
|
-
"@firebase/app-compat": "0.2.23-canary.
|
|
114
|
-
"@firebase/auth": "1.4.0-canary.
|
|
112
|
+
"@firebase/app": "0.9.23-canary.e9ff107ee",
|
|
113
|
+
"@firebase/app-compat": "0.2.23-canary.e9ff107ee",
|
|
114
|
+
"@firebase/auth": "1.4.0-canary.e9ff107ee",
|
|
115
115
|
"@rollup/plugin-alias": "3.1.9",
|
|
116
116
|
"@rollup/plugin-json": "4.1.0",
|
|
117
117
|
"@types/eslint": "7.29.0",
|