Skip to content

Free, Open Source, Self-Hosted WhatsApp API Gateway

docs(sdk-js): mark the create-session proxyType as deprecated

Yudhi Armyndharisb4fd47e572e2
diff --git a/sdk/javascript/src/types.ts b/sdk/javascript/src/types.ts
index c7c6e54c8..9876a6922 100644
--- a/sdk/javascript/src/types.ts
+++ b/sdk/javascript/src/types.ts
@@ -205,6 +205,7 @@ export interface CreateSessionRequest {
name: string;
config?: Record<string, unknown>;
proxyUrl?: string;
+ /** @deprecated Ignored by the gateway; the `proxyUrl` scheme selects the protocol. */
proxyType?: 'http' | 'https' | 'socks4' | 'socks5';
}