@firebase/firestore 3.5.0 → 3.6.0

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.
Files changed (106) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/firestore/lite/index.d.ts +2 -0
  3. package/dist/firestore/src/api/aggregate.d.ts +43 -0
  4. package/dist/firestore/src/api/database.d.ts +15 -15
  5. package/dist/firestore/src/api.d.ts +2 -0
  6. package/dist/firestore/src/core/count_query_runner.d.ts +32 -0
  7. package/dist/firestore/src/core/firestore_client.d.ts +5 -0
  8. package/dist/firestore/src/lite-api/aggregate.d.ts +48 -0
  9. package/dist/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  10. package/dist/firestore/src/lite-api/database.d.ts +7 -7
  11. package/dist/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  12. package/dist/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  13. package/dist/firestore/src/remote/connection.d.ts +7 -0
  14. package/dist/firestore/src/remote/datastore.d.ts +2 -0
  15. package/dist/firestore/src/remote/rest_connection.d.ts +1 -0
  16. package/dist/firestore/src/remote/serializer.d.ts +2 -1
  17. package/dist/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  18. package/dist/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  19. package/dist/firestore/test/integration/util/helpers.d.ts +1 -0
  20. package/dist/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  21. package/dist/index.d.ts +196 -14
  22. package/dist/index.esm2017.js +4616 -4413
  23. package/dist/index.esm2017.js.map +1 -1
  24. package/dist/index.esm5.js +4608 -4402
  25. package/dist/index.esm5.js.map +1 -1
  26. package/dist/index.node.cjs.js +994 -613
  27. package/dist/index.node.cjs.js.map +1 -1
  28. package/dist/index.node.mjs +992 -615
  29. package/dist/index.node.mjs.map +1 -1
  30. package/dist/index.rn.js +4622 -4419
  31. package/dist/index.rn.js.map +1 -1
  32. package/dist/internal.d.ts +139 -17
  33. package/dist/lite/firestore/lite/index.d.ts +2 -0
  34. package/dist/lite/firestore/src/api/aggregate.d.ts +43 -0
  35. package/dist/lite/firestore/src/api/database.d.ts +15 -15
  36. package/dist/lite/firestore/src/api.d.ts +2 -0
  37. package/dist/lite/firestore/src/core/count_query_runner.d.ts +32 -0
  38. package/dist/lite/firestore/src/core/firestore_client.d.ts +5 -0
  39. package/dist/lite/firestore/src/lite-api/aggregate.d.ts +48 -0
  40. package/dist/lite/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  41. package/dist/lite/firestore/src/lite-api/database.d.ts +7 -7
  42. package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  43. package/dist/lite/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  44. package/dist/lite/firestore/src/remote/connection.d.ts +7 -0
  45. package/dist/lite/firestore/src/remote/datastore.d.ts +2 -0
  46. package/dist/lite/firestore/src/remote/rest_connection.d.ts +1 -0
  47. package/dist/lite/firestore/src/remote/serializer.d.ts +2 -1
  48. package/dist/lite/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  49. package/dist/lite/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  50. package/dist/lite/firestore/test/integration/util/helpers.d.ts +1 -0
  51. package/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  52. package/dist/lite/index.browser.esm2017.js +1250 -1086
  53. package/dist/lite/index.browser.esm2017.js.map +1 -1
  54. package/dist/lite/index.browser.esm5.js +1394 -1232
  55. package/dist/lite/index.browser.esm5.js.map +1 -1
  56. package/dist/lite/index.d.ts +84 -4
  57. package/dist/lite/index.node.cjs.js +255 -63
  58. package/dist/lite/index.node.cjs.js.map +1 -1
  59. package/dist/lite/index.node.mjs +253 -65
  60. package/dist/lite/index.node.mjs.map +1 -1
  61. package/dist/lite/index.rn.esm2017.js +1257 -1093
  62. package/dist/lite/index.rn.esm2017.js.map +1 -1
  63. package/dist/lite/internal.d.ts +121 -6
  64. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +227 -142
  65. package/dist/lite/packages/firestore/lite/index.d.ts +2 -0
  66. package/dist/lite/packages/firestore/src/api/aggregate.d.ts +43 -0
  67. package/dist/lite/packages/firestore/src/api/database.d.ts +15 -15
  68. package/dist/lite/packages/firestore/src/api.d.ts +2 -0
  69. package/dist/lite/packages/firestore/src/core/count_query_runner.d.ts +32 -0
  70. package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +5 -0
  71. package/dist/lite/packages/firestore/src/lite-api/aggregate.d.ts +48 -0
  72. package/dist/lite/packages/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  73. package/dist/lite/packages/firestore/src/lite-api/database.d.ts +7 -7
  74. package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  75. package/dist/lite/packages/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  76. package/dist/lite/packages/firestore/src/remote/connection.d.ts +7 -0
  77. package/dist/lite/packages/firestore/src/remote/datastore.d.ts +2 -0
  78. package/dist/lite/packages/firestore/src/remote/rest_connection.d.ts +1 -0
  79. package/dist/lite/packages/firestore/src/remote/serializer.d.ts +2 -1
  80. package/dist/lite/packages/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  81. package/dist/lite/packages/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  82. package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +1 -0
  83. package/dist/lite/packages/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  84. package/dist/lite/private.d.ts +119 -4
  85. package/dist/packages/firestore/dist/index.esm2017.d.ts +336 -254
  86. package/dist/packages/firestore/lite/index.d.ts +2 -0
  87. package/dist/packages/firestore/src/api/aggregate.d.ts +43 -0
  88. package/dist/packages/firestore/src/api/database.d.ts +15 -15
  89. package/dist/packages/firestore/src/api.d.ts +2 -0
  90. package/dist/packages/firestore/src/core/count_query_runner.d.ts +32 -0
  91. package/dist/packages/firestore/src/core/firestore_client.d.ts +5 -0
  92. package/dist/packages/firestore/src/lite-api/aggregate.d.ts +48 -0
  93. package/dist/packages/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  94. package/dist/packages/firestore/src/lite-api/database.d.ts +7 -7
  95. package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  96. package/dist/packages/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  97. package/dist/packages/firestore/src/remote/connection.d.ts +7 -0
  98. package/dist/packages/firestore/src/remote/datastore.d.ts +2 -0
  99. package/dist/packages/firestore/src/remote/rest_connection.d.ts +1 -0
  100. package/dist/packages/firestore/src/remote/serializer.d.ts +2 -1
  101. package/dist/packages/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  102. package/dist/packages/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  103. package/dist/packages/firestore/test/integration/util/helpers.d.ts +1 -0
  104. package/dist/packages/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  105. package/dist/private.d.ts +234 -19
  106. package/package.json +6 -6
package/dist/private.d.ts CHANGED
@@ -39,6 +39,77 @@ export declare type AddPrefixToKeys<Prefix extends string, T extends Record<stri
39
39
  [K in keyof T & string as `${Prefix}.${K}`]+?: T[K];
40
40
  };
41
41
 
42
+ /**
43
+ * Represents an aggregation that can be performed by Firestore.
44
+ */
45
+ export declare class AggregateField<T> {
46
+ /** A type string to uniquely identify instances of this class. */
47
+ type: string;
48
+ }
49
+
50
+ /**
51
+ * The union of all `AggregateField` types that are supported by Firestore.
52
+ */
53
+ export declare type AggregateFieldType = AggregateField<number>;
54
+
55
+ /**
56
+ * The results of executing an aggregation query.
57
+ */
58
+ export declare class AggregateQuerySnapshot<T extends AggregateSpec> {
59
+ private readonly _data;
60
+ /** A type string to uniquely identify instances of this class. */
61
+ readonly type = "AggregateQuerySnapshot";
62
+ /**
63
+ * The underlying query over which the aggregations recorded in this
64
+ * `AggregateQuerySnapshot` were performed.
65
+ */
66
+ readonly query: Query<unknown>;
67
+ /** @hideconstructor */
68
+ constructor(query: Query<unknown>, _data: AggregateSpecData<T>);
69
+ /**
70
+ * Returns the results of the aggregations performed over the underlying
71
+ * query.
72
+ *
73
+ * The keys of the returned object will be the same as those of the
74
+ * `AggregateSpec` object specified to the aggregation method, and the values
75
+ * will be the corresponding aggregation result.
76
+ *
77
+ * @returns The results of the aggregations performed over the underlying
78
+ * query.
79
+ */
80
+ data(): AggregateSpecData<T>;
81
+ }
82
+
83
+ /**
84
+ * Compares two `AggregateQuerySnapshot` instances for equality.
85
+ *
86
+ * Two `AggregateQuerySnapshot` instances are considered "equal" if they have
87
+ * underlying queries that compare equal, and the same data.
88
+ *
89
+ * @param left - The first `AggregateQuerySnapshot` to compare.
90
+ * @param right - The second `AggregateQuerySnapshot` to compare.
91
+ *
92
+ * @returns `true` if the objects are "equal", as defined above, or `false`
93
+ * otherwise.
94
+ */
95
+ export declare function aggregateQuerySnapshotEqual<T extends AggregateSpec>(left: AggregateQuerySnapshot<T>, right: AggregateQuerySnapshot<T>): boolean;
96
+
97
+ /**
98
+ * A type whose property values are all `AggregateField` objects.
99
+ */
100
+ export declare interface AggregateSpec {
101
+ [field: string]: AggregateFieldType;
102
+ }
103
+
104
+ /**
105
+ * A type whose keys are taken from an `AggregateSpec`, and whose values are the
106
+ * result of the aggregation performed by the corresponding `AggregateField`
107
+ * from the input `AggregateSpec`.
108
+ */
109
+ export declare type AggregateSpecData<T extends AggregateSpec> = {
110
+ [P in keyof T]: T[P] extends AggregateField<infer U> ? U : never;
111
+ };
112
+
42
113
  declare interface ApiClientObjectMap<T> {
43
114
  [k: string]: T;
44
115
  }
@@ -354,7 +425,7 @@ export declare type ChildUpdateFields<K extends string, V> = V extends Record<st
354
425
  * Must be called while the {@link Firestore} instance is not started (after the app is
355
426
  * terminated or when the app is first initialized). On startup, this function
356
427
  * must be called before other functions (other than {@link
357
- * initializeFirestore} or {@link getFirestore})). If the {@link Firestore}
428
+ * initializeFirestore} or {@link (getFirestore:1)})). If the {@link Firestore}
358
429
  * instance is still running, the promise will be rejected with the error code
359
430
  * of `failed-precondition`.
360
431
  *
@@ -1128,7 +1199,7 @@ export { EmulatorMockTokenOptions }
1128
1199
  * Attempts to enable persistent storage, if possible.
1129
1200
  *
1130
1201
  * Must be called before any other functions (other than
1131
- * {@link initializeFirestore}, {@link getFirestore} or
1202
+ * {@link initializeFirestore}, {@link (getFirestore:1)} or
1132
1203
  * {@link clearIndexedDbPersistence}.
1133
1204
  *
1134
1205
  * If this fails, `enableIndexedDbPersistence()` will reject the promise it
@@ -1381,7 +1452,7 @@ declare abstract class Filter {
1381
1452
  /**
1382
1453
  * The Cloud Firestore service interface.
1383
1454
  *
1384
- * Do not call this constructor directly. Instead, use {@link getFirestore}.
1455
+ * Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
1385
1456
  */
1386
1457
  export declare class Firestore extends Firestore_2 {
1387
1458
  /**
@@ -1399,7 +1470,7 @@ export declare class Firestore extends Firestore_2 {
1399
1470
  /**
1400
1471
  * The Cloud Firestore service interface.
1401
1472
  *
1402
- * Do not call this constructor directly. Instead, use {@link getFirestore}.
1473
+ * Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
1403
1474
  */
1404
1475
  declare class Firestore_2 implements FirestoreService {
1405
1476
  _authCredentials: CredentialsProvider<User>;
@@ -1982,6 +2053,32 @@ declare namespace firestoreV1ApiClientInterfaces {
1982
2053
  readTime?: string;
1983
2054
  skippedResults?: number;
1984
2055
  }
2056
+ interface RunAggregationQueryRequest {
2057
+ parent?: string;
2058
+ structuredAggregationQuery?: StructuredAggregationQuery;
2059
+ transaction?: string;
2060
+ newTransaction?: TransactionOptions;
2061
+ readTime?: string;
2062
+ }
2063
+ interface RunAggregationQueryResponse {
2064
+ result?: AggregationResult;
2065
+ transaction?: string;
2066
+ readTime?: string;
2067
+ }
2068
+ interface AggregationResult {
2069
+ aggregateFields?: ApiClientObjectMap<Value>;
2070
+ }
2071
+ interface StructuredAggregationQuery {
2072
+ structuredQuery?: StructuredQuery;
2073
+ aggregations?: Aggregation[];
2074
+ }
2075
+ interface Aggregation {
2076
+ count?: Count;
2077
+ alias?: string;
2078
+ }
2079
+ interface Count {
2080
+ upTo?: number;
2081
+ }
1985
2082
  interface Status {
1986
2083
  code?: number;
1987
2084
  message?: string;
@@ -2148,6 +2245,31 @@ export declare class GeoPoint {
2148
2245
  _compareTo(other: GeoPoint): number;
2149
2246
  }
2150
2247
 
2248
+ /**
2249
+ * Calculates the number of documents in the result set of the given query,
2250
+ * without actually downloading the documents.
2251
+ *
2252
+ * Using this function to count the documents is efficient because only the
2253
+ * final count, not the documents' data, is downloaded. This function can even
2254
+ * count the documents if the result set would be prohibitively large to
2255
+ * download entirely (e.g. thousands of documents).
2256
+ *
2257
+ * The result received from the server is presented, unaltered, without
2258
+ * considering any local state. That is, documents in the local cache are not
2259
+ * taken into consideration, neither are local modifications not yet
2260
+ * synchronized with the server. Previously-downloaded results, if any, are not
2261
+ * used: every request using this source necessarily involves a round trip to
2262
+ * the server.
2263
+ *
2264
+ * @param query - The query whose result set size to calculate.
2265
+ * @returns A Promise that will be resolved with the count; the count can be
2266
+ * retrieved from `snapshot.data().count`, where `snapshot` is the
2267
+ * `AggregateQuerySnapshot` to which the returned Promise resolves.
2268
+ */
2269
+ export declare function getCountFromServer(query: Query<unknown>): Promise<AggregateQuerySnapshot<{
2270
+ count: AggregateField<number>;
2271
+ }>>;
2272
+
2151
2273
  /**
2152
2274
  * Reads the document referred to by this `DocumentReference`.
2153
2275
  *
@@ -2210,25 +2332,25 @@ export declare function getDocsFromServer<T>(query: Query<T>): Promise<QuerySnap
2210
2332
 
2211
2333
  /**
2212
2334
  * Returns the existing default {@link Firestore} instance that is associated with the
2213
- * default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
2335
+ * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
2214
2336
  * instance with default settings.
2215
2337
  *
2338
+ * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
2339
+ * instance is associated with.
2216
2340
  * @returns The {@link Firestore} instance of the provided app.
2217
2341
  */
2218
- export declare function getFirestore(): Firestore;
2342
+ export declare function getFirestore(app: FirebaseApp): Firestore;
2343
+
2344
+ /* Excluded declaration from this release type: getFirestore */
2219
2345
 
2220
2346
  /**
2221
2347
  * Returns the existing default {@link Firestore} instance that is associated with the
2222
- * provided {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
2348
+ * default {@link @firebase/app#FirebaseApp}. If no instance exists, initializes a new
2223
2349
  * instance with default settings.
2224
2350
  *
2225
- * @param app - The {@link @firebase/app#FirebaseApp} instance that the returned {@link Firestore}
2226
- * instance is associated with.
2227
2351
  * @returns The {@link Firestore} instance of the provided app.
2228
2352
  */
2229
- export declare function getFirestore(app: FirebaseApp): Firestore;
2230
-
2231
- /* Excluded declaration from this release type: getFirestore */
2353
+ export declare function getFirestore(): Firestore;
2232
2354
 
2233
2355
  /* Excluded declaration from this release type: getFirestore */
2234
2356
 
@@ -2253,11 +2375,54 @@ export declare function getFirestore(app: FirebaseApp): Firestore;
2253
2375
  */
2254
2376
  export declare function increment(n: number): FieldValue;
2255
2377
 
2256
- /* Excluded from this release type: Index */
2378
+ /**
2379
+ * The SDK definition of a Firestore index.
2380
+ * @beta
2381
+ */
2382
+ export declare interface Index {
2383
+ /** The ID of the collection to index. */
2384
+ readonly collectionGroup: string;
2385
+ /** A list of fields to index. */
2386
+ readonly fields?: IndexField[];
2387
+ [key: string]: unknown;
2388
+ }
2257
2389
 
2258
- /* Excluded from this release type: IndexConfiguration */
2390
+ /**
2391
+ * A list of Firestore indexes to speed up local query execution.
2392
+ *
2393
+ * See {@link https://firebase.google.com/docs/reference/firestore/indexes/#json_format | JSON Format}
2394
+ * for a description of the format of the index definition.
2395
+ * @beta
2396
+ */
2397
+ export declare interface IndexConfiguration {
2398
+ /** A list of all Firestore indexes. */
2399
+ readonly indexes?: Index[];
2400
+ [key: string]: unknown;
2401
+ }
2259
2402
 
2260
- /* Excluded from this release type: IndexField */
2403
+ /**
2404
+ * A single field element in an index configuration.
2405
+ * @beta
2406
+ */
2407
+ export declare interface IndexField {
2408
+ /** The field path to index. */
2409
+ readonly fieldPath: string;
2410
+ /**
2411
+ * What type of array index to create. Set to `CONTAINS` for `array-contains`
2412
+ * and `array-contains-any` indexes.
2413
+ *
2414
+ * Only one of `arrayConfig` or `order` should be set;
2415
+ */
2416
+ readonly arrayConfig?: 'CONTAINS';
2417
+ /**
2418
+ * What type of array index to create. Set to `ASCENDING` or 'DESCENDING` for
2419
+ * `==`, `!=`, `<=`, `<=`, `in` and `not-in` filters.
2420
+ *
2421
+ * Only one of `arrayConfig` or `order` should be set.
2422
+ */
2423
+ readonly order?: 'ASCENDING' | 'DESCENDING';
2424
+ [key: string]: unknown;
2425
+ }
2261
2426
 
2262
2427
  declare type IndexFieldMode = 'MODE_UNSPECIFIED' | 'ASCENDING' | 'DESCENDING';
2263
2428
 
@@ -2446,8 +2611,8 @@ declare const enum IndexType {
2446
2611
  /**
2447
2612
  * Initializes a new instance of {@link Firestore} with the provided settings.
2448
2613
  * Can only be called before any other function, including
2449
- * {@link getFirestore}. If the custom settings are empty, this function is
2450
- * equivalent to calling {@link getFirestore}.
2614
+ * {@link (getFirestore:1)}. If the custom settings are empty, this function is
2615
+ * equivalent to calling {@link (getFirestore:1)}.
2451
2616
  *
2452
2617
  * @param app - The {@link @firebase/app#FirebaseApp} with which the {@link Firestore} instance will
2453
2618
  * be associated.
@@ -4502,7 +4667,57 @@ export declare function setDoc<T>(reference: DocumentReference<T>, data: WithFie
4502
4667
  */
4503
4668
  export declare function setDoc<T>(reference: DocumentReference<T>, data: PartialWithFieldValue<T>, options: SetOptions): Promise<void>;
4504
4669
 
4505
- /* Excluded from this release type: setIndexConfiguration */
4670
+ /**
4671
+ * Configures indexing for local query execution. Any previous index
4672
+ * configuration is overridden. The `Promise` resolves once the index
4673
+ * configuration has been persisted.
4674
+ *
4675
+ * The index entries themselves are created asynchronously. You can continue to
4676
+ * use queries that require indexing even if the indices are not yet available.
4677
+ * Query execution will automatically start using the index once the index
4678
+ * entries have been written.
4679
+ *
4680
+ * Indexes are only supported with IndexedDb persistence. Invoke either
4681
+ * `enableIndexedDbPersistence()` or `enableMultiTabIndexedDbPersistence()`
4682
+ * before setting an index configuration. If IndexedDb is not enabled, any
4683
+ * index configuration is ignored.
4684
+ *
4685
+ * @param firestore - The {@link Firestore} instance to configure indexes for.
4686
+ * @param configuration -The index definition.
4687
+ * @throws FirestoreError if the JSON format is invalid.
4688
+ * @returns A `Promise` that resolves once all indices are successfully
4689
+ * configured.
4690
+ * @beta
4691
+ */
4692
+ export declare function setIndexConfiguration(firestore: Firestore, configuration: IndexConfiguration): Promise<void>;
4693
+
4694
+ /**
4695
+ * Configures indexing for local query execution. Any previous index
4696
+ * configuration is overridden. The `Promise` resolves once the index
4697
+ * configuration has been persisted.
4698
+ *
4699
+ * The index entries themselves are created asynchronously. You can continue to
4700
+ * use queries that require indexing even if the indices are not yet available.
4701
+ * Query execution will automatically start using the index once the index
4702
+ * entries have been written.
4703
+ *
4704
+ * Indexes are only supported with IndexedDb persistence. Invoke either
4705
+ * `enableIndexedDbPersistence()` or `enableMultiTabIndexedDbPersistence()`
4706
+ * before setting an index configuration. If IndexedDb is not enabled, any
4707
+ * index configuration is ignored.
4708
+ *
4709
+ * The method accepts the JSON format exported by the Firebase CLI (`firebase
4710
+ * firestore:indexes`). If the JSON format is invalid, this method throws an
4711
+ * error.
4712
+ *
4713
+ * @param firestore - The {@link Firestore} instance to configure indexes for.
4714
+ * @param json -The JSON format exported by the Firebase CLI.
4715
+ * @throws FirestoreError if the JSON format is invalid.
4716
+ * @returns A `Promise` that resolves once all indices are successfully
4717
+ * configured.
4718
+ * @beta
4719
+ */
4720
+ export declare function setIndexConfiguration(firestore: Firestore, json: string): Promise<void>;
4506
4721
 
4507
4722
  /**
4508
4723
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
@@ -5198,7 +5413,7 @@ export declare type TaskState = 'Error' | 'Running' | 'Success';
5198
5413
  * may be used. Any other function will throw a `FirestoreError`.
5199
5414
  *
5200
5415
  * To restart after termination, create a new instance of FirebaseFirestore with
5201
- * {@link getFirestore}.
5416
+ * {@link (getFirestore:1)}.
5202
5417
  *
5203
5418
  * Termination does not cancel any pending writes, and any promises that are
5204
5419
  * awaiting a response from the server will not be resolved. If you have
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@firebase/firestore",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "engines": {
5
5
  "node": ">=10.10.0"
6
6
  },
@@ -80,9 +80,9 @@
80
80
  "lite/package.json"
81
81
  ],
82
82
  "dependencies": {
83
- "@firebase/component": "0.5.17",
83
+ "@firebase/component": "0.5.18",
84
84
  "@firebase/logger": "0.3.3",
85
- "@firebase/util": "1.6.3",
85
+ "@firebase/util": "1.7.0",
86
86
  "@firebase/webchannel-wrapper": "0.7.0",
87
87
  "@grpc/grpc-js": "^1.3.2",
88
88
  "@grpc/proto-loader": "^0.6.13",
@@ -93,9 +93,9 @@
93
93
  "@firebase/app": "0.x"
94
94
  },
95
95
  "devDependencies": {
96
- "@firebase/app": "0.7.33",
97
- "@firebase/app-compat": "0.1.34",
98
- "@firebase/auth": "0.20.7",
96
+ "@firebase/app": "0.8.0",
97
+ "@firebase/app-compat": "0.1.35",
98
+ "@firebase/auth": "0.20.8",
99
99
  "@rollup/plugin-alias": "3.1.9",
100
100
  "@rollup/plugin-json": "4.1.0",
101
101
  "@types/eslint": "7.29.0",