From 084f9968568169e9740985e66af23946f7c3de82 Mon Sep 17 00:00:00 2001 From: diamonddrake Date: Sun, 15 Dec 2024 09:38:48 -0500 Subject: [PATCH] run prettier on http *.ts files --- plugins/http/guest-js/index.ts | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/plugins/http/guest-js/index.ts b/plugins/http/guest-js/index.ts index b86f4c47..bea18e44 100644 --- a/plugins/http/guest-js/index.ts +++ b/plugins/http/guest-js/index.ts @@ -84,26 +84,26 @@ export interface ClientOptions { * Configuration of a proxy that a Client should pass requests to. */ proxy?: Proxy - /** + /** * Configuration for dangerous settings on the client such as disabling SSL verification. */ - danger?: DangerousSettings - } - + danger?: DangerousSettings +} + +/** + * Configuration for dangerous settings on the client such as disabling SSL verification. + * + * @since 2.3.0 + */ +export interface DangerousSettings { /** - * Configuration for dangerous settings on the client such as disabling SSL verification. - * - * @since 2.2.0 + * Disables SSL verification. + */ + acceptInvalidCerts?: boolean + /** + * Disables hostname verification. */ - export interface DangerousSettings { - /** - * Disables SSL verification. - */ - acceptInvalidCerts?: boolean, - /** - * Disables hostname verification. - */ - acceptInvalidHostnames?: boolean + acceptInvalidHostnames?: boolean } const ERROR_REQUEST_CANCELLED = 'Request canceled'