Skip to content

Conversation

bergeron
Copy link
Contributor

@bergeron bergeron commented Oct 31, 2024

Explanation

Following the documentation in https://docs.cx.metamask.io/docs/further-info/internalClientId, pass a x-metamask-clientproduct header when calling the account api.

References

Changelog

@metamask/assets-controllers

  • BREAKING: A platform argument must now be passed to the TokenDetectionController constructor.
  • CHANGED: The TokenDetectionController now passes a x-metamask-clientproduct header when calling the account API.

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've highlighted breaking changes using the "BREAKING" category above as appropriate
  • I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes

@bergeron bergeron requested a review from a team October 31, 2024 00:36
@bergeron bergeron merged commit d16f2f8 into main Oct 31, 2024
119 checks passed
@bergeron bergeron deleted the brian/account-api-header branch October 31, 2024 17:05
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.

3 participants