Skip to content

Conversation

@reberhardt7
Copy link

No description provided.

@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​@​socketsecurity/​sdk@​1.4.93 ⏵ 1.4.94100100100100100

View full report

@jdalton jdalton merged commit 0e8e165 into v1.x Nov 8, 2025
4 checks passed
@jdalton jdalton deleted the rebs/log-api-requests branch November 8, 2025 16:04
jdalton added a commit that referenced this pull request Dec 9, 2025
Add HTTP request/response logging when SOCKET_CLI_DEBUG is enabled.
Logs method, URL, status, duration, and headers (with auth redacted).

- Add debugApiRequest() for logging request start
- Update debugApiResponse() signature to accept detailed request info
- Add SDK hooks for onRequest and onResponse callbacks
- Log SDK options when debug is enabled

Based on #895
Ported from v1.x commit 0e8e165
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants