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

Add ability to specify API key to contract kit #9106

Merged
merged 6 commits into from
Jan 5, 2022
Merged

Conversation

codyborn
Copy link
Contributor

Description

Forno has the option to pass in an api key in the header to better allocate bandwidth. This change introduces the ability to create a ContractKit instance with an apiKey header for requests.

Tested

Unit test included

Related issues

Backwards compatibility

This new options field is optional.

Documentation

The set of community facing docs that have been added/modified because of this change

@codyborn codyborn requested review from gastonponti, jcortejoso and a team December 15, 2021 01:17
Copy link
Contributor

@alecps alecps left a comment

Choose a reason for hiding this comment

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

Looks great!

packages/sdk/contractkit/src/kit.test.ts Outdated Show resolved Hide resolved
packages/sdk/contractkit/src/kit.test.ts Show resolved Hide resolved
@codyborn codyborn requested review from asaj and mcortesi as code owners January 4, 2022 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Have PR merge automatically when checks pass
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants