@firebase/firestore 4.7.1-canary.ca4dbcf3f → 4.7.1-canary.ff0475c41
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/global_index.d.ts +1 -1
- package/dist/firestore/src/local/shared_client_state.d.ts +3 -3
- package/dist/index.cjs.js +311 -309
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm2017.js +312 -310
- package/dist/index.esm2017.js.map +1 -1
- package/dist/index.esm5.js +3128 -3125
- package/dist/index.esm5.js.map +1 -1
- package/dist/index.node.cjs.js +14 -9
- package/dist/index.node.cjs.js.map +1 -1
- package/dist/index.node.mjs +14 -9
- package/dist/index.node.mjs.map +1 -1
- package/dist/index.rn.js +317 -315
- package/dist/index.rn.js.map +1 -1
- package/dist/internal.d.ts +1 -1
- package/dist/lite/firestore/src/local/shared_client_state.d.ts +3 -3
- 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/internal.d.ts +1 -1
- package/dist/lite/packages/firestore/src/local/shared_client_state.d.ts +3 -3
- package/dist/lite/private.d.ts +1 -1
- package/dist/packages/firestore/dist/index.esm2017.d.ts +4 -4
- package/dist/packages/firestore/src/local/shared_client_state.d.ts +3 -3
- package/dist/private.d.ts +1 -1
- package/package.json +9 -9
package/dist/internal.d.ts
CHANGED
|
@@ -6248,7 +6248,7 @@ declare interface SharedClientState {
|
|
|
6248
6248
|
* If the target id is already associated with local client, the method simply
|
|
6249
6249
|
* returns its `QueryTargetState`.
|
|
6250
6250
|
*/
|
|
6251
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
6251
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
6252
6252
|
/** Removes the Query Target ID association from the local client. */
|
|
6253
6253
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
6254
6254
|
/** Checks whether the target is associated with the local client. */
|
|
@@ -60,7 +60,7 @@ export interface SharedClientState {
|
|
|
60
60
|
* If the target id is already associated with local client, the method simply
|
|
61
61
|
* returns its `QueryTargetState`.
|
|
62
62
|
*/
|
|
63
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
63
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
64
64
|
/** Removes the Query Target ID association from the local client. */
|
|
65
65
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
66
66
|
/** Checks whether the target is associated with the local client. */
|
|
@@ -232,7 +232,7 @@ export declare class WebStorageSharedClientState implements SharedClientState {
|
|
|
232
232
|
isActiveQueryTarget(targetId: TargetId): boolean;
|
|
233
233
|
addPendingMutation(batchId: BatchId): void;
|
|
234
234
|
updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
|
|
235
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
235
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
236
236
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
237
237
|
isLocalQueryTarget(targetId: TargetId): boolean;
|
|
238
238
|
clearQueryState(targetId: TargetId): void;
|
|
@@ -296,7 +296,7 @@ export declare class MemorySharedClientState implements SharedClientState {
|
|
|
296
296
|
sequenceNumberHandler: ((sequenceNumber: ListenSequenceNumber) => void) | null;
|
|
297
297
|
addPendingMutation(batchId: BatchId): void;
|
|
298
298
|
updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
|
|
299
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
299
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
300
300
|
updateQueryState(targetId: TargetId, state: QueryTargetState, error?: FirestoreError): void;
|
|
301
301
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
302
302
|
isLocalQueryTarget(targetId: TargetId): boolean;
|
|
@@ -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.13.1-canary.
|
|
66
|
+
let d = "10.13.1-canary.ff0475c41";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -7345,7 +7345,7 @@ class Transaction {
|
|
|
7345
7345
|
return r && i._setSettings(r), i;
|
|
7346
7346
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7347
7347
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7348
|
-
registerVersion("firestore-lite", "4.7.1-canary.
|
|
7348
|
+
registerVersion("firestore-lite", "4.7.1-canary.ff0475c41", ""), registerVersion("firestore-lite", "4.7.1-canary.ff0475c41", "esm2017");
|
|
7349
7349
|
}();
|
|
7350
7350
|
|
|
7351
7351
|
export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, VectorValue, 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, vector, 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.13.1-canary.
|
|
70
|
+
var g = "10.13.1-canary.ff0475c41", w = new l("@firebase/firestore");
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
73
|
* @license
|
|
@@ -6795,7 +6795,7 @@ yi = "".concat(i, "_lite"), g = yi, o(new c("firestore/lite", (function(t, e) {
|
|
|
6795
6795
|
return r && o._setSettings(r), o;
|
|
6796
6796
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
6797
6797
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
6798
|
-
a("firestore-lite", "4.7.1-canary.
|
|
6798
|
+
a("firestore-lite", "4.7.1-canary.ff0475c41", ""), a("firestore-lite", "4.7.1-canary.ff0475c41", "esm5");
|
|
6799
6799
|
|
|
6800
6800
|
export { Sn as AggregateField, kn as AggregateQuerySnapshot, Rn as Bytes, Pn as CollectionReference, An as DocumentReference, hr as DocumentSnapshot, qn as FieldPath, Cn as FieldValue, wn as Firestore, B as FirestoreError, jn as GeoPoint, In as Query, Tr as QueryCompositeFilterConstraint, gr as QueryConstraint, pr as QueryDocumentSnapshot, Dr as QueryEndAtConstraint, _r as QueryFieldFilterConstraint, Ar as QueryLimitConstraint, kr as QueryOrderByConstraint, dr as QuerySnapshot, Fr as QueryStartAtConstraint, Dt as Timestamp, gi as Transaction, Ln as VectorValue, si as WriteBatch, Hr as addDoc, ti as aggregateFieldEqual, ei as aggregateQuerySnapshotEqual, Sr as and, oi as arrayRemove, ii as arrayUnion, Zr as average, Vn as collection, Fn as collectionGroup, Tn as connectFirestoreEmulator, $r as count, Yr as deleteDoc, ni as deleteField, On as doc, xn as documentId, qr as endAt, Rr as endBefore, Jr as getAggregate, Wr as getCount, zr as getDoc, Gr as getDocs, bn as getFirestore, ai as increment, _n as initializeFirestore, Pr as limit, Vr as limitToLast, Er as or, Ir as orderBy, wr as query, Dn as queryEqual, Nn as refEqual, wi as runTransaction, ri as serverTimestamp, Kr as setDoc, _ as setLogLevel, yr as snapshotEqual, Nr as startAfter, Or as startAt, Xr as sum, En as terminate, Qr as updateDoc, ui as vector, br as where, li as writeBatch };
|
|
6801
6801
|
//# 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.13.1-canary.
|
|
66
|
+
let d = "10.13.1-canary.ff0475c41";
|
|
67
67
|
|
|
68
68
|
/**
|
|
69
69
|
* @license
|
|
@@ -7345,7 +7345,7 @@ class Transaction {
|
|
|
7345
7345
|
return r && i._setSettings(r), i;
|
|
7346
7346
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7347
7347
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7348
|
-
registerVersion("firestore-lite", "4.7.1-canary.
|
|
7348
|
+
registerVersion("firestore-lite", "4.7.1-canary.ff0475c41", ""), registerVersion("firestore-lite", "4.7.1-canary.ff0475c41", "cjs2017");
|
|
7349
7349
|
}();
|
|
7350
7350
|
|
|
7351
7351
|
export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, VectorValue, 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, vector, 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.7.1-canary.
|
|
13
|
+
const version$1 = "4.7.1-canary.ff0475c41";
|
|
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.13.1-canary.
|
|
66
|
+
const version = "10.13.1-canary.ff0475c41";
|
|
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.7.1-canary.
|
|
9
|
+
const version$1 = "4.7.1-canary.ff0475c41";
|
|
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.13.1-canary.
|
|
62
|
+
const version = "10.13.1-canary.ff0475c41";
|
|
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.13.1-canary.
|
|
69
|
+
let E = "10.13.1-canary.ff0475c41";
|
|
70
70
|
|
|
71
71
|
/**
|
|
72
72
|
* @license
|
|
@@ -7355,7 +7355,7 @@ class Transaction {
|
|
|
7355
7355
|
return r && i._setSettings(r), i;
|
|
7356
7356
|
}), "PUBLIC").setMultipleInstances(!0)),
|
|
7357
7357
|
// RUNTIME_ENV and BUILD_TARGET are replaced by real values during the compilation
|
|
7358
|
-
n("firestore-lite", "4.7.1-canary.
|
|
7358
|
+
n("firestore-lite", "4.7.1-canary.ff0475c41", "rn"), n("firestore-lite", "4.7.1-canary.ff0475c41", "esm2017");
|
|
7359
7359
|
}();
|
|
7360
7360
|
|
|
7361
7361
|
export { AggregateField, AggregateQuerySnapshot, Bytes, CollectionReference, DocumentReference, DocumentSnapshot, FieldPath, FieldValue, Firestore, FirestoreError, GeoPoint, Query, QueryCompositeFilterConstraint, QueryConstraint, QueryDocumentSnapshot, QueryEndAtConstraint, QueryFieldFilterConstraint, QueryLimitConstraint, QueryOrderByConstraint, QuerySnapshot, QueryStartAtConstraint, Timestamp, Transaction, VectorValue, 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, vector, where, writeBatch };
|
package/dist/lite/internal.d.ts
CHANGED
|
@@ -4844,7 +4844,7 @@ declare interface SharedClientState {
|
|
|
4844
4844
|
* If the target id is already associated with local client, the method simply
|
|
4845
4845
|
* returns its `QueryTargetState`.
|
|
4846
4846
|
*/
|
|
4847
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
4847
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
4848
4848
|
/** Removes the Query Target ID association from the local client. */
|
|
4849
4849
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
4850
4850
|
/** Checks whether the target is associated with the local client. */
|
|
@@ -60,7 +60,7 @@ export interface SharedClientState {
|
|
|
60
60
|
* If the target id is already associated with local client, the method simply
|
|
61
61
|
* returns its `QueryTargetState`.
|
|
62
62
|
*/
|
|
63
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
63
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
64
64
|
/** Removes the Query Target ID association from the local client. */
|
|
65
65
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
66
66
|
/** Checks whether the target is associated with the local client. */
|
|
@@ -232,7 +232,7 @@ export declare class WebStorageSharedClientState implements SharedClientState {
|
|
|
232
232
|
isActiveQueryTarget(targetId: TargetId): boolean;
|
|
233
233
|
addPendingMutation(batchId: BatchId): void;
|
|
234
234
|
updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
|
|
235
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
235
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
236
236
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
237
237
|
isLocalQueryTarget(targetId: TargetId): boolean;
|
|
238
238
|
clearQueryState(targetId: TargetId): void;
|
|
@@ -296,7 +296,7 @@ export declare class MemorySharedClientState implements SharedClientState {
|
|
|
296
296
|
sequenceNumberHandler: ((sequenceNumber: ListenSequenceNumber) => void) | null;
|
|
297
297
|
addPendingMutation(batchId: BatchId): void;
|
|
298
298
|
updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
|
|
299
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
299
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
300
300
|
updateQueryState(targetId: TargetId, state: QueryTargetState, error?: FirestoreError): void;
|
|
301
301
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
302
302
|
isLocalQueryTarget(targetId: TargetId): boolean;
|
package/dist/lite/private.d.ts
CHANGED
|
@@ -4623,7 +4623,7 @@ declare interface SharedClientState {
|
|
|
4623
4623
|
* If the target id is already associated with local client, the method simply
|
|
4624
4624
|
* returns its `QueryTargetState`.
|
|
4625
4625
|
*/
|
|
4626
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
4626
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
4627
4627
|
/** Removes the Query Target ID association from the local client. */
|
|
4628
4628
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
4629
4629
|
/** Checks whether the target is associated with the local client. */
|
|
@@ -158,7 +158,7 @@ export class AggregateField {
|
|
|
158
158
|
* Constant used to indicate the LRU garbage collection should be disabled.
|
|
159
159
|
* Set this value as the `cacheSizeBytes` on the settings passed to the
|
|
160
160
|
* {@link Firestore} instance.
|
|
161
|
-
*/ declare const
|
|
161
|
+
*/ declare const Se: -1;
|
|
162
162
|
/**
|
|
163
163
|
* A `CollectionReference` object can be used for adding documents, getting
|
|
164
164
|
* document references, and querying for documents (using {@link (query:1)}).
|
|
@@ -2606,7 +2606,7 @@ declare class __PRIVATE_MemorySharedClientState {
|
|
|
2606
2606
|
sequenceNumberHandler: any;
|
|
2607
2607
|
addPendingMutation(e: any): void;
|
|
2608
2608
|
updateMutationState(e: any, t: any, n: any): void;
|
|
2609
|
-
addLocalQueryTarget(e: any): any;
|
|
2609
|
+
addLocalQueryTarget(e: any, t?: boolean): any;
|
|
2610
2610
|
updateQueryState(e: any, t: any, n: any): void;
|
|
2611
2611
|
removeLocalQueryTarget(e: any): void;
|
|
2612
2612
|
isLocalQueryTarget(e: any): boolean;
|
|
@@ -2943,7 +2943,7 @@ declare class __PRIVATE_EventManagerImpl {
|
|
|
2943
2943
|
isActiveQueryTarget(e: any): boolean;
|
|
2944
2944
|
addPendingMutation(e: any): void;
|
|
2945
2945
|
updateMutationState(e: any, t: any, n: any): void;
|
|
2946
|
-
addLocalQueryTarget(e: any): string;
|
|
2946
|
+
addLocalQueryTarget(e: any, t?: boolean): string;
|
|
2947
2947
|
removeLocalQueryTarget(e: any): void;
|
|
2948
2948
|
isLocalQueryTarget(e: any): any;
|
|
2949
2949
|
clearQueryState(e: any): void;
|
|
@@ -4731,4 +4731,4 @@ declare class __PRIVATE_DescendingIndexByteEncoder {
|
|
|
4731
4731
|
At(e: any): void;
|
|
4732
4732
|
Et(): void;
|
|
4733
4733
|
}
|
|
4734
|
-
export {
|
|
4734
|
+
export { Se 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 };
|
|
@@ -60,7 +60,7 @@ export interface SharedClientState {
|
|
|
60
60
|
* If the target id is already associated with local client, the method simply
|
|
61
61
|
* returns its `QueryTargetState`.
|
|
62
62
|
*/
|
|
63
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
63
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
64
64
|
/** Removes the Query Target ID association from the local client. */
|
|
65
65
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
66
66
|
/** Checks whether the target is associated with the local client. */
|
|
@@ -232,7 +232,7 @@ export declare class WebStorageSharedClientState implements SharedClientState {
|
|
|
232
232
|
isActiveQueryTarget(targetId: TargetId): boolean;
|
|
233
233
|
addPendingMutation(batchId: BatchId): void;
|
|
234
234
|
updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
|
|
235
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
235
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
236
236
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
237
237
|
isLocalQueryTarget(targetId: TargetId): boolean;
|
|
238
238
|
clearQueryState(targetId: TargetId): void;
|
|
@@ -296,7 +296,7 @@ export declare class MemorySharedClientState implements SharedClientState {
|
|
|
296
296
|
sequenceNumberHandler: ((sequenceNumber: ListenSequenceNumber) => void) | null;
|
|
297
297
|
addPendingMutation(batchId: BatchId): void;
|
|
298
298
|
updateMutationState(batchId: BatchId, state: 'acknowledged' | 'rejected', error?: FirestoreError): void;
|
|
299
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
299
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
300
300
|
updateQueryState(targetId: TargetId, state: QueryTargetState, error?: FirestoreError): void;
|
|
301
301
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
302
302
|
isLocalQueryTarget(targetId: TargetId): boolean;
|
package/dist/private.d.ts
CHANGED
|
@@ -5917,7 +5917,7 @@ declare interface SharedClientState {
|
|
|
5917
5917
|
* If the target id is already associated with local client, the method simply
|
|
5918
5918
|
* returns its `QueryTargetState`.
|
|
5919
5919
|
*/
|
|
5920
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
5920
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
5921
5921
|
/** Removes the Query Target ID association from the local client. */
|
|
5922
5922
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
5923
5923
|
/** Checks whether the target is associated with the local client. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@firebase/firestore",
|
|
3
|
-
"version": "4.7.1-canary.
|
|
3
|
+
"version": "4.7.1-canary.ff0475c41",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=10.10.0"
|
|
6
6
|
},
|
|
@@ -97,22 +97,22 @@
|
|
|
97
97
|
"lite/package.json"
|
|
98
98
|
],
|
|
99
99
|
"dependencies": {
|
|
100
|
-
"@firebase/component": "0.6.8-canary.
|
|
101
|
-
"@firebase/logger": "0.4.2-canary.
|
|
102
|
-
"@firebase/util": "1.9.7-canary.
|
|
103
|
-
"@firebase/webchannel-wrapper": "1.0.1-canary.
|
|
100
|
+
"@firebase/component": "0.6.8-canary.ff0475c41",
|
|
101
|
+
"@firebase/logger": "0.4.2-canary.ff0475c41",
|
|
102
|
+
"@firebase/util": "1.9.7-canary.ff0475c41",
|
|
103
|
+
"@firebase/webchannel-wrapper": "1.0.1-canary.ff0475c41",
|
|
104
104
|
"@grpc/grpc-js": "~1.9.0",
|
|
105
105
|
"@grpc/proto-loader": "^0.7.8",
|
|
106
106
|
"undici": "6.19.7",
|
|
107
107
|
"tslib": "^2.1.0"
|
|
108
108
|
},
|
|
109
109
|
"peerDependencies": {
|
|
110
|
-
"@firebase/app": "0.10.10-canary.
|
|
110
|
+
"@firebase/app": "0.10.10-canary.ff0475c41"
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@firebase/app": "0.10.10-canary.
|
|
114
|
-
"@firebase/app-compat": "0.2.40-canary.
|
|
115
|
-
"@firebase/auth": "1.7.8-canary.
|
|
113
|
+
"@firebase/app": "0.10.10-canary.ff0475c41",
|
|
114
|
+
"@firebase/app-compat": "0.2.40-canary.ff0475c41",
|
|
115
|
+
"@firebase/auth": "1.7.8-canary.ff0475c41",
|
|
116
116
|
"@rollup/plugin-alias": "5.1.0",
|
|
117
117
|
"@rollup/plugin-json": "4.1.0",
|
|
118
118
|
"@types/eslint": "7.29.0",
|