Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for custom headers in trustless gateway #732

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

pcfreak30
Copy link

No description provided.

Added an optional `headers` property to the `TrustlessGatewayBlockBroker` and `TrustlessGatewaySession` options, allowing users to specify custom headers for HTTP requests.

Changes include:
* Added `headers` property to `TrustlessGatewayBlockBroker` and `TrustlessGatewaySession` options
* Updated `findHttpGatewayProviders` function to accept an optional `headers` object
* Passed `headers` object to `TrustlessGateway` constructor
* Updated `TrustlessGateway` constructor to accept an optional `headers` object
* Added `headers` to HTTP request options in `TrustlessGateway`
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.

1 participant