summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-02-19 01:26:16 +1100
committerGitHub <noreply@github.com>2024-02-18 07:26:16 -0700
commit3a243c827238b93c3f09a38e3b5e90e2ccfc15a1 (patch)
tree47447f0c214693be360776ee5e43849d8eda287f /cli
parent08071f9561b17b8899f370dc771604c2c2da445f (diff)
BREAKING: add `Deno.CreateHttpClientOptions.{cert,key}` (#22280)
This change deprecates `Deno.CreateHttpClientOptions.{certChain,privateKey}` in favour of `Deno.CreateHttpClientOptions.{cert,key}`. Closes #22278 Co-authored-by: Matt Mastracci <matthew@mastracci.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index d50b3e9fc..b3ee0c4ee 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -896,10 +896,10 @@ declare namespace Deno {
caCerts?: string[];
/** A HTTP proxy to use for new connections. */
proxy?: Proxy;
- /** PEM formatted client certificate chain. */
- certChain?: string;
- /** PEM formatted (RSA or PKCS8) private key of client certificate. */
- privateKey?: string;
+ /** Server private key in PEM format. */
+ cert?: string;
+ /** Cert chain in PEM format. */
+ key?: string;
/** Sets the maximum numer of idle connections per host allowed in the pool. */
poolMaxIdlePerHost?: number;
/** Set an optional timeout for idle sockets being kept-alive.