Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
### Fixed
- Client errors when the `restClientConfig` not specified.

## [5.5.0] - 2025-10-28
### Added
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.5.0
5.5.1-SNAPSHOT
3 changes: 2 additions & 1 deletion lib/rest.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@ class RestClient {
// Only apply proxy agents if custom agents are not explicitly provided
// Priority: explicit httpsAgent/httpAgent > proxy config > default
const hasCustomAgents =
'httpsAgent' in this.restClientConfig || 'httpAgent' in this.restClientConfig;
this.restClientConfig &&
('httpsAgent' in this.restClientConfig || 'httpAgent' in this.restClientConfig);
const proxyAgents = hasCustomAgents ? {} : getProxyAgentForUrl(url, this.restClientConfig);

return this.axiosInstance
Expand Down
2 changes: 1 addition & 1 deletion version_fragment
Original file line number Diff line number Diff line change
@@ -1 +1 @@
minor
patch
Loading