@springworks/api-client
Advanced tools
Comparing version 3005.293.0 to 3005.318.0
@@ -7,2 +7,3 @@ /// <reference types="node" /> | ||
passphrase?: string; | ||
ca?: string; | ||
} | ||
@@ -23,3 +24,3 @@ /** | ||
*/ | ||
export declare function getAgent({ pem, key, passphrase }: Mtls): Agent; | ||
export declare function getAgent({ pem: cert, key, passphrase, ca }: Mtls): Agent; | ||
//# sourceMappingURL=mtls-helpers.d.ts.map |
@@ -29,8 +29,9 @@ "use strict"; | ||
*/ | ||
function getAgent({ pem, key, passphrase }) { | ||
function getAgent({ pem: cert, key, passphrase, ca }) { | ||
return new https_1.Agent({ | ||
cert: pem, | ||
cert, | ||
key, | ||
keepAlive: false, | ||
passphrase, | ||
ca, | ||
}); | ||
@@ -37,0 +38,0 @@ } |
{ | ||
"name": "@springworks/api-client", | ||
"version": "3005.293.0", | ||
"version": "3005.318.0", | ||
"description": "Module for sending requests to other APIs through a circuit breaker", | ||
@@ -32,3 +32,3 @@ "main": "build/main.js", | ||
}, | ||
"gitHead": "ed2a49d08d965c1b0fa724278467b3c58fd942c3" | ||
"gitHead": "42dccded71fd40fde01e77ff09df59d0b72345bb" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
78825
640