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

Include client config override and set version for metrics #114

Merged
merged 1 commit into from
Oct 24, 2023
Merged

Conversation

0xmaayan
Copy link
Collaborator

Description

  • Add clientConfig to header client config override
  • Set metric version to 2.0.0 to distinguish between sdk v1 and v2

Test Plan

Related Links

@@ -69,7 +69,7 @@ export async function post<Req, Res>(options: PostRequestOptions): Promise<Aptos
acceptType: acceptType?.valueOf(),
params,
overrides: {
...aptosConfig,
...aptosConfig.clientConfig,
Copy link
Contributor

Choose a reason for hiding this comment

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

wow funky, I'm surprised the type checker was okay with this

@0xmaayan 0xmaayan merged commit 50ec4d1 into main Oct 24, 2023
4 checks passed
@0xmaayan 0xmaayan deleted the fixes branch October 24, 2023 17:06
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