fix(core-node): update agentkeepalive import usage and align package metadata with smartconfig
This commit is contained in:
@@ -14,8 +14,11 @@ import * as smarturl from '@push.rocks/smarturl';
|
||||
export { smartpromise, smarturl };
|
||||
|
||||
// third party scope
|
||||
import { HttpAgent, HttpsAgent } from 'agentkeepalive';
|
||||
const agentkeepalive = { HttpAgent, HttpsAgent };
|
||||
import AgentKeepAlive from 'agentkeepalive';
|
||||
const agentkeepalive = {
|
||||
HttpAgent: AgentKeepAlive.HttpAgent,
|
||||
HttpsAgent: AgentKeepAlive.HttpsAgent,
|
||||
};
|
||||
import formData from 'form-data';
|
||||
|
||||
export { agentkeepalive, formData };
|
||||
|
||||
Reference in New Issue
Block a user