@faasjs/request 0.0.2-beta.330 → 0.0.2-beta.334
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.d.ts +1 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +0 -2
- package/package.json +2 -3
package/dist/index.d.ts
CHANGED
|
@@ -74,4 +74,4 @@ declare function querystringify(obj: any): string;
|
|
|
74
74
|
*/
|
|
75
75
|
declare function request<T = any>(url: string, { headers, method, query, body, timeout, auth, file, downloadStream, pfx, passphrase, agent, parse }?: RequestOptions): Promise<Response<T>>;
|
|
76
76
|
|
|
77
|
-
export { Request, RequestOptions, Response,
|
|
77
|
+
export { Request, RequestOptions, Response, querystringify, request, setMock };
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,6 @@ var __toCommonJS = /* @__PURE__ */ ((cache) => {
|
|
|
46
46
|
// src/index.ts
|
|
47
47
|
var src_exports = {};
|
|
48
48
|
__export(src_exports, {
|
|
49
|
-
default: () => src_default,
|
|
50
49
|
querystringify: () => querystringify,
|
|
51
50
|
request: () => request,
|
|
52
51
|
setMock: () => setMock
|
|
@@ -204,7 +203,6 @@ async function request(url, {
|
|
|
204
203
|
req.end();
|
|
205
204
|
});
|
|
206
205
|
}
|
|
207
|
-
var src_default = request;
|
|
208
206
|
module.exports = __toCommonJS(src_exports);
|
|
209
207
|
// Annotate the CommonJS export names for ESM import in node:
|
|
210
208
|
0 && (module.exports = {
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faasjs/request",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.334",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
|
-
"module": "dist/index.mjs",
|
|
8
7
|
"homepage": "https://faasjs.com/doc/request.html",
|
|
9
8
|
"repository": {
|
|
10
9
|
"type": "git",
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
"dist"
|
|
24
23
|
],
|
|
25
24
|
"peerDependencies": {
|
|
26
|
-
"@faasjs/logger": "^0.0.2-beta.
|
|
25
|
+
"@faasjs/logger": "^0.0.2-beta.334"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
28
|
"tsup": "*",
|