Closed cre8 closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
ac1b620
) 85.47% compared to head (3b43ea3
) 85.47%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
What issue is this PR fixing
Fixes #1313
What is being changed
The
AgentRestClient
constructor is able to handle functions calls for the headers. This allows to pass dynamic values like an access token that needs to be updated frequently.Quality
Check all that apply:
[X] I want these changes to be integrated
[X] I successfully ran
pnpm i
,pnpm build
,pnpm test
,pnpm test:browser
locally.This error has nothing to do with the changes, but resulted in a incomplete test run (OS: Windows 11)
[X] I allow my PR to be updated by the reviewers (to speed up the review process).
[ ] I added unit tests.
[ ] I added integration tests.
[X] I did not add automated tests because the package has no test implemented, and I am aware that a PR without tests will likely get rejected.