@openfn/language-kobotoolbox 4.2.8 → 4.2.10

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/ast.json CHANGED
@@ -154,7 +154,7 @@
154
154
  },
155
155
  {
156
156
  "title": "param",
157
- "description": "Limits the size of each page of submissions. Maximum value is 30000.",
157
+ "description": "Limits the size of each page of submissions. Maximum value is 1000.",
158
158
  "type": {
159
159
  "type": "OptionalType",
160
160
  "expression": {
@@ -163,7 +163,7 @@
163
163
  }
164
164
  },
165
165
  "name": "options.pageSize",
166
- "default": "10000"
166
+ "default": "1000"
167
167
  },
168
168
  {
169
169
  "title": "state",
package/dist/index.cjs CHANGED
@@ -73,7 +73,7 @@ var import_util2 = require("@openfn/language-common/util");
73
73
  var import_language_common = require("@openfn/language-common");
74
74
  var import_util = require("@openfn/language-common/util");
75
75
  var DEFAULT_LIMIT = 3e4;
76
- var DEFAULT_PAGE_SIZE = 1e4;
76
+ var DEFAULT_PAGE_SIZE = 1e3;
77
77
  function prepareNextState(state, response) {
78
78
  const { body, ...responseWithoutBody } = response;
79
79
  return {
package/dist/index.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  logResponse
42
42
  } from "@openfn/language-common/util";
43
43
  var DEFAULT_LIMIT = 3e4;
44
- var DEFAULT_PAGE_SIZE = 1e4;
44
+ var DEFAULT_PAGE_SIZE = 1e3;
45
45
  function prepareNextState(state, response) {
46
46
  const { body, ...responseWithoutBody } = response;
47
47
  return {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@openfn/language-kobotoolbox",
3
3
  "label": "KoboToolbox",
4
- "version": "4.2.8",
4
+ "version": "4.2.10",
5
5
  "description": "OpenFn adaptor for KoboToolbox",
6
6
  "homepage": "https://docs.openfn.org",
7
7
  "repository": {
@@ -18,7 +18,7 @@
18
18
  "configuration-schema.json"
19
19
  ],
20
20
  "dependencies": {
21
- "@openfn/language-common": "3.2.1"
21
+ "@openfn/language-common": "3.2.2"
22
22
  },
23
23
  "devDependencies": {
24
24
  "assertion-error": "^1.0.1",
@@ -41,7 +41,7 @@ export function getForms(): Operation;
41
41
  * @param {object} [options.query] - Query options to filter the submissions. See query operators {@link http://docs.mongodb.org/manual/reference/operator/query/.}
42
42
  * @param {number} [options.start=0] - The index of the first submission to return.
43
43
  * @param {number} [options.limit=30000] - Maximum number of submissions to fetch. Pass `Infinity` to disable the limit and download all submissions
44
- * @param {number} [options.pageSize=10000] - Limits the size of each page of submissions. Maximum value is 30000.
44
+ * @param {number} [options.pageSize=1000] - Limits the size of each page of submissions. Maximum value is 1000.
45
45
  * @state data - an array of submission objects
46
46
  * @returns {Operation}
47
47
  */
package/types/util.d.ts CHANGED
@@ -3,4 +3,4 @@ export function request(state: any, method: any, path: any, opts?: {}): Promise<
3
3
  export function requestWithPagination(state: any, path: any, options?: {}): Promise<any[]>;
4
4
  export function maybeStringify(query: any): string;
5
5
  export const DEFAULT_LIMIT: 30000;
6
- export const DEFAULT_PAGE_SIZE: 10000;
6
+ export const DEFAULT_PAGE_SIZE: 1000;