@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
|
@@ -4960,7 +4960,7 @@ interface SharedClientState {
|
|
|
4960
4960
|
* If the target id is already associated with local client, the method simply
|
|
4961
4961
|
* returns its `QueryTargetState`.
|
|
4962
4962
|
*/
|
|
4963
|
-
addLocalQueryTarget(targetId: TargetId): QueryTargetState;
|
|
4963
|
+
addLocalQueryTarget(targetId: TargetId, addToActiveTargetIds?: boolean): QueryTargetState;
|
|
4964
4964
|
/** Removes the Query Target ID association from the local client. */
|
|
4965
4965
|
removeLocalQueryTarget(targetId: TargetId): void;
|
|
4966
4966
|
/** 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;
|