3.35.5
(fix): Fix WebSocket client to only generate auth code when the channel has auth: true.
Previously, auth code was generated whenever the API had auth schemes defined, even if the WebSocket channel didn’t require auth.
This caused a mismatch where the client used NormalizedClientOptions but the connect method tried to access authProvider.
3.35.4
(fix): Centralize non-status code error handling to a single reusable function in the generated SDK.
This will reduce the amount of duplicated code and make it easier to maintain consistent error handling across all endpoints.
3.35.3
(fix): Fix WebSocket client ConnectArgs interface to correctly handle allow-multiple: true query parameters.
Previously, query parameters with allow-multiple: true were typed as T | undefined instead of T | T[] | undefined.
3.35.2
(chore): * Add —frozen-lockfile flag to pnpm and yarn install commands in generated ci.yml workflow.
- Update actions/checkout to v6 and actions/setup-node to v6 in generated ci.yml workflow.
3.35.1
(fix): Fix WebSocket query parameter destructuring for property names that are not valid JavaScript identifiers (e.g., language-code).
The generated code now correctly uses renaming syntax in destructuring (e.g., const { "language-code": languageCode } = args;).