Skip to content

feat(http): support custom fetch transport#63

Merged
Lakes41 merged 1 commit into
Adamantine-guild:mainfrom
h1065153539-create:feat/custom-fetch-transport
Jun 21, 2026
Merged

feat(http): support custom fetch transport#63
Lakes41 merged 1 commit into
Adamantine-guild:mainfrom
h1065153539-create:feat/custom-fetch-transport

Conversation

@h1065153539-create

Copy link
Copy Markdown
Contributor

Summary

  • Add a fetch option to GuildPassClientConfig for runtime-specific transports, tracing, proxies, and tests.
  • Pass the custom transport into HttpClient while keeping existing retry-only and hook-only constructor usage working.
  • Validate missing fetch support clearly and document the integration pattern.

Tests

  • npm run test:run -- tests/httpClient.test.ts tests/client.test.ts
  • npm run typecheck
  • npm run build
  • npm run test:run
  • npm run test:smoke
  • npm run lint (passes with existing warnings)
  • git diff --check

Closes #55

@Lakes41 Lakes41 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Very well done

@Lakes41 Lakes41 merged commit 1fa2576 into Adamantine-guild:main Jun 21, 2026
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.

Add custom fetch transport injection

2 participants