@verii/http-client 1.1.0-pre.1775646065 → 1.1.0-pre.1775953178

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/client.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@verii/http-client",
3
- "version": "1.1.0-pre.1775646065",
3
+ "version": "1.1.0-pre.1775953178",
4
4
  "description": "HTTP client for Verii network",
5
5
  "repository": "https://github.com/LFDT-Verii/core",
6
6
  "main": "index.js",
@@ -43,5 +43,5 @@
43
43
  "lib"
44
44
  ]
45
45
  },
46
- "gitHead": "c90142b444d418223ac72994f14bfd0ccd336444"
46
+ "gitHead": "05090118369e202d7c77fc4a420b14f94338a3e5"
47
47
  }
package/src/client.js CHANGED
@@ -165,6 +165,10 @@ const parseOptions = (options) => {
165
165
  const clientOptions = {
166
166
  connect: {
167
167
  rejectUnauthorized: options.tlsRejectUnauthorized,
168
+ ca: options.caCertificate,
169
+ cert: options.clientCertificate,
170
+ key: options.clientKey,
171
+ passphrase: options.clientCertificatePassword,
168
172
  },
169
173
  };
170
174
  if (options.requestTimeout != null) {