UNPKG

@dgac/nmb2b-client

Version:

EUROCONTROL Network Manager B2B SOAP client

15 lines (13 loc) 414 B
import https from "node:https"; //#region src/utils/xsd/createAxiosConfig.ts function createAxiosConfig({ security }) { if (!!security && "apiKeyId" in security) return { auth: { username: security.apiKeyId, password: security.apiSecretKey } }; const httpsAgent = new https.Agent(security); return { httpsAgent }; } //#endregion export { createAxiosConfig }; //# sourceMappingURL=createAxiosConfig.js.map