mirror of
https://github.com/WeBankFinTech/fes.js.git
synced 2025-04-05 19:41:57 +08:00
feat: 支持 letgo 导出 rawRequest
This commit is contained in:
parent
30198300ff
commit
ac4fcb6526
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@fesjs/plugin-request",
|
||||
"version": "3.0.2",
|
||||
"version": "3.0.3",
|
||||
"description": "@fesjs/plugin-request",
|
||||
"main": "lib/index.js",
|
||||
"files": [
|
||||
|
@ -134,6 +134,8 @@ export const request = (url, data, options = {}) => {
|
||||
});
|
||||
};
|
||||
|
||||
export const rawRequest = request;
|
||||
|
||||
function isPromiseLike(obj) {
|
||||
return !!obj && typeof obj === 'object' && typeof obj.then === 'function';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user