cozy-client 50.2.0 → 50.3.1

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.
@@ -3032,7 +3032,7 @@ var CozyClient = /*#__PURE__*/function () {
3032
3032
  CozyClient.hooks = CozyClient.hooks || {};
3033
3033
  CozyClient.fetchPolicies = _policies.default; //COZY_CLIENT_VERSION_PACKAGE in replaced by babel. See babel config
3034
3034
 
3035
- CozyClient.version = "50.2.0";
3035
+ CozyClient.version = "50.3.1";
3036
3036
 
3037
3037
  _microee.default.mixin(CozyClient);
3038
3038
 
@@ -353,7 +353,7 @@ var QueryDefinition = /*#__PURE__*/function () {
353
353
  /**
354
354
  * Maximum number of documents returned, useful for pagination. Default is 100.
355
355
  *
356
- * @param {number} limit The document's limit.
356
+ * @param {number|null} limit The document's limit.
357
357
  * @returns {QueryDefinition} The QueryDefinition object.
358
358
  */
359
359
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cozy-client",
3
- "version": "50.2.0",
3
+ "version": "50.3.1",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.node.js",
6
6
  "browser": "dist/index.js",
@@ -75,5 +75,5 @@
75
75
  "react-native-ios11-devicecheck": "https://github.com/cozy/react-native-devicecheck#app-attest-v0.1"
76
76
  },
77
77
  "sideEffects": false,
78
- "gitHead": "28ee268417bd6a5e05d19e662dc92eb98f3a5f89"
78
+ "gitHead": "41510b18b99b7de549eca4a0e92a72668e105bf3"
79
79
  }
@@ -235,10 +235,10 @@ export class QueryDefinition {
235
235
  /**
236
236
  * Maximum number of documents returned, useful for pagination. Default is 100.
237
237
  *
238
- * @param {number} limit The document's limit.
238
+ * @param {number|null} limit The document's limit.
239
239
  * @returns {QueryDefinition} The QueryDefinition object.
240
240
  */
241
- limitBy(limit: number): QueryDefinition;
241
+ limitBy(limit: number | null): QueryDefinition;
242
242
  UNSAFE_noLimit(): QueryDefinition;
243
243
  /**
244
244
  * Skip the first ‘n’ documents, where ‘n’ is the value specified.