Skip to content

fix(external-match): route getMarkets through auth server#269

Merged
akirillo merged 1 commit intomainfrom
andrew/proxy-mkts-thru-auth
Feb 26, 2026
Merged

fix(external-match): route getMarkets through auth server#269
akirillo merged 1 commit intomainfrom
andrew/proxy-mkts-thru-auth

Conversation

@akirillo
Copy link
Contributor

Summary

Routes getMarkets() through the auth server with the x-renegade-api-key header, matching the pattern used by getMarketDepth and getMarketDepthsAllPairs. Previously used relayerHttpClient which bypassed the auth server and caused 401 errors. Removes the now-unused relayer URL constants and relayerHttpClient infrastructure.

Mirrors renegade-fi/rust-sdk#119.

Test plan

  • pnpm typecheck passes
  • pnpm lint passes

Copy link
Contributor

@sehyunc sehyunc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@akirillo akirillo force-pushed the andrew/proxy-mkts-thru-auth branch from c39f350 to 360eed8 Compare February 26, 2026 01:41
@akirillo akirillo merged commit 9b14959 into main Feb 26, 2026
1 check failed
@akirillo akirillo deleted the andrew/proxy-mkts-thru-auth branch February 26, 2026 01:41
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.

2 participants