fix(core-node): update agentkeepalive import usage and align package metadata with smartconfig

This commit is contained in:
2026-05-01 16:46:03 +00:00
parent 980675ea05
commit c08e8b9132
7 changed files with 103 additions and 10 deletions
+5 -2
View File
@@ -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 };