@openfn/language-http 6.5.1 → 6.5.2
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/dist/index.cjs +0 -1
- package/dist/index.js +0 -1
- package/package.json +2 -2
- package/types/util.d.ts +10 -1
package/dist/index.cjs
CHANGED
|
@@ -99,7 +99,6 @@ var import_language_common2 = require("@openfn/language-common");
|
|
|
99
99
|
// src/util.js
|
|
100
100
|
var util_exports = {};
|
|
101
101
|
__export(util_exports, {
|
|
102
|
-
addAuth: () => addAuth,
|
|
103
102
|
decode: () => import_util.decode,
|
|
104
103
|
encode: () => import_util.encode,
|
|
105
104
|
request: () => request,
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openfn/language-http",
|
|
3
|
-
"version": "6.5.
|
|
3
|
+
"version": "6.5.2",
|
|
4
4
|
"description": "An HTTP request language package for use with Open Function",
|
|
5
5
|
"homepage": "https://docs.openfn.org",
|
|
6
6
|
"repository": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"cheerio": "1.0.0-rc.12",
|
|
30
30
|
"cheerio-tableparser": "^1.0.1",
|
|
31
|
-
"@openfn/language-common": "2.
|
|
31
|
+
"@openfn/language-common": "2.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@openfn/simple-ast": "0.4.1",
|
package/types/util.d.ts
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Request helper function
|
|
3
|
+
* @function
|
|
4
|
+
* @private
|
|
5
|
+
*/
|
|
2
6
|
export function request(method: any, path: any, params: any, callback?: (s: any) => any): (state: any) => any;
|
|
7
|
+
/**
|
|
8
|
+
* XML parser helper function
|
|
9
|
+
* @function
|
|
10
|
+
* @private
|
|
11
|
+
*/
|
|
3
12
|
export function xmlParser(body: any, script: any, callback?: (s: any) => any): (state: any) => any;
|
|
4
13
|
export { encode, decode, uuid };
|