@openfn/language-commcare 4.3.3 → 4.3.4
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/README.md +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -313,11 +313,11 @@ function fetchReportData(reportId, params, postUrl) {
|
|
|
313
313
|
console.log("with params: ".concat(JSON.stringify(params)));
|
|
314
314
|
const { body: reportData } = await request(state.configuration, path, {
|
|
315
315
|
method: "GET",
|
|
316
|
+
params,
|
|
316
317
|
contentType: "application/json"
|
|
317
318
|
});
|
|
318
319
|
await request(state.configuration, postUrl, {
|
|
319
320
|
method: "POST",
|
|
320
|
-
params,
|
|
321
321
|
data: reportData,
|
|
322
322
|
contentType: "application/json"
|
|
323
323
|
});
|
package/dist/index.js
CHANGED
|
@@ -284,11 +284,11 @@ function fetchReportData(reportId, params, postUrl) {
|
|
|
284
284
|
console.log("with params: ".concat(JSON.stringify(params)));
|
|
285
285
|
const { body: reportData } = await request(state.configuration, path, {
|
|
286
286
|
method: "GET",
|
|
287
|
+
params,
|
|
287
288
|
contentType: "application/json"
|
|
288
289
|
});
|
|
289
290
|
await request(state.configuration, postUrl, {
|
|
290
291
|
method: "POST",
|
|
291
|
-
params,
|
|
292
292
|
data: reportData,
|
|
293
293
|
contentType: "application/json"
|
|
294
294
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-commcare",
|
|
3
3
|
"label": "CommCare",
|
|
4
|
-
"version": "4.3.
|
|
4
|
+
"version": "4.3.4",
|
|
5
5
|
"description": "OpenFn adaptor for CommCare (Dimagi)",
|
|
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.3.
|
|
21
|
+
"@openfn/language-common": "3.3.6",
|
|
22
22
|
"JSONPath": "^0.10.0",
|
|
23
23
|
"js2xmlparser": "^1.0.0",
|
|
24
24
|
"lodash-fp": "^0.10.4",
|