@firebase/firestore 4.1.3-canary.74fc4cf9c → 4.1.3-canary.fbd8e0e2e

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 (32) hide show
  1. package/dist/firestore/src/api/index_configuration.d.ts +25 -0
  2. package/dist/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
  3. package/dist/firestore/src/global_index.d.ts +31 -19
  4. package/dist/index.cjs.js +11 -23
  5. package/dist/index.cjs.js.map +1 -1
  6. package/dist/index.d.ts +65 -5
  7. package/dist/index.esm2017.js +11 -23
  8. package/dist/index.esm2017.js.map +1 -1
  9. package/dist/index.esm5.js +11 -23
  10. package/dist/index.esm5.js.map +1 -1
  11. package/dist/index.node.cjs.js +8 -21
  12. package/dist/index.node.cjs.js.map +1 -1
  13. package/dist/index.node.mjs +8 -21
  14. package/dist/index.node.mjs.map +1 -1
  15. package/dist/index.rn.js +98 -110
  16. package/dist/index.rn.js.map +1 -1
  17. package/dist/internal.d.ts +31 -19
  18. package/dist/lite/firestore/src/api/index_configuration.d.ts +25 -0
  19. package/dist/lite/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
  20. package/dist/lite/index.browser.esm2017.js +2 -2
  21. package/dist/lite/index.browser.esm5.js +37 -37
  22. package/dist/lite/index.cjs.js +2 -2
  23. package/dist/lite/index.node.cjs.js +2 -2
  24. package/dist/lite/index.node.mjs +2 -2
  25. package/dist/lite/index.rn.esm2017.js +2 -2
  26. package/dist/lite/packages/firestore/src/api/index_configuration.d.ts +25 -0
  27. package/dist/lite/packages/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
  28. package/dist/packages/firestore/dist/index.esm2017.d.ts +6 -19
  29. package/dist/packages/firestore/src/api/index_configuration.d.ts +25 -0
  30. package/dist/packages/firestore/src/api/persistent_cache_index_manager.d.ts +6 -19
  31. package/dist/private.d.ts +67 -5
  32. package/package.json +9 -9
@@ -34,7 +34,7 @@ var grpc__namespace = /*#__PURE__*/_interopNamespace(grpc);
34
34
  var protoLoader__namespace = /*#__PURE__*/_interopNamespace(protoLoader);
35
35
 
36
36
  const name = "@firebase/firestore";
37
- const version$1 = "4.1.3-canary.74fc4cf9c";
37
+ const version$1 = "4.1.3-canary.fbd8e0e2e";
38
38
 
39
39
  /**
40
40
  * @license
@@ -87,7 +87,7 @@ User.GOOGLE_CREDENTIALS = new User('google-credentials-uid');
87
87
  User.FIRST_PARTY = new User('first-party-uid');
88
88
  User.MOCK_USER = new User('mock-user');
89
89
 
90
- const version = "10.3.1-canary.74fc4cf9c";
90
+ const version = "10.3.1-canary.fbd8e0e2e";
91
91
 
92
92
  /**
93
93
  * @license
@@ -31872,18 +31872,16 @@ function tryGetString(data, property) {
31872
31872
  * limitations under the License.
31873
31873
  */
31874
31874
  /**
31875
- * A `PersistentCacheIndexManager` which you can config persistent cache indexes
31876
- * used for local query execution.
31875
+ * A `PersistentCacheIndexManager` for configuring persistent cache indexes used
31876
+ * for local query execution.
31877
31877
  *
31878
31878
  * To use, call `getPersistentCacheIndexManager()` to get an instance.
31879
- *
31880
- * TODO(CSI) Remove @internal to make the API publicly available.
31881
- * @internal
31882
31879
  */
31883
31880
  class PersistentCacheIndexManager {
31884
31881
  /** @hideconstructor */
31885
31882
  constructor(_client) {
31886
31883
  this._client = _client;
31884
+ /** A type string to uniquely identify instances of this class. */
31887
31885
  this.type = 'PersistentCacheIndexManager';
31888
31886
  }
31889
31887
  }
@@ -31893,9 +31891,6 @@ class PersistentCacheIndexManager {
31893
31891
  *
31894
31892
  * @return The `PersistentCacheIndexManager` instance, or `null` if local
31895
31893
  * persistent storage is not in use.
31896
- *
31897
- * TODO(CSI) Remove @internal to make the API publicly available.
31898
- * @internal
31899
31894
  */
31900
31895
  function getPersistentCacheIndexManager(firestore) {
31901
31896
  var _a;
@@ -31913,13 +31908,11 @@ function getPersistentCacheIndexManager(firestore) {
31913
31908
  return instance;
31914
31909
  }
31915
31910
  /**
31916
- * Enables SDK to create persistent cache indexes automatically for local query
31917
- * execution when SDK believes cache indexes can help improves performance.
31911
+ * Enables the SDK to create persistent cache indexes automatically for local
31912
+ * query execution when the SDK believes cache indexes can help improve
31913
+ * performance.
31918
31914
  *
31919
31915
  * This feature is disabled by default.
31920
- *
31921
- * TODO(CSI) Remove @internal to make the API publicly available.
31922
- * @internal
31923
31916
  */
31924
31917
  function enablePersistentCacheIndexAutoCreation(indexManager) {
31925
31918
  setPersistentCacheIndexAutoCreationEnabled(indexManager, true);
@@ -31928,9 +31921,6 @@ function enablePersistentCacheIndexAutoCreation(indexManager) {
31928
31921
  * Stops creating persistent cache indexes automatically for local query
31929
31922
  * execution. The indexes which have been created by calling
31930
31923
  * `enablePersistentCacheIndexAutoCreation()` still take effect.
31931
- *
31932
- * TODO(CSI) Remove @internal to make the API publicly available.
31933
- * @internal
31934
31924
  */
31935
31925
  function disablePersistentCacheIndexAutoCreation(indexManager) {
31936
31926
  setPersistentCacheIndexAutoCreationEnabled(indexManager, false);
@@ -31940,9 +31930,6 @@ function disablePersistentCacheIndexAutoCreation(indexManager) {
31940
31930
  *
31941
31931
  * Please note this function will also deletes indexes generated by
31942
31932
  * `setIndexConfiguration()`, which is deprecated.
31943
- *
31944
- * TODO(CSI) Remove @internal to make the API publicly available.
31945
- * @internal
31946
31933
  */
31947
31934
  function deleteAllPersistentCacheIndexes(indexManager) {
31948
31935
  indexManager._client.verifyNotTerminated();