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

token-metadata-api-client.getFtMetadata missing asset_identifier field #268

Closed
pradel opened this issue Oct 5, 2024 · 3 comments · Fixed by #274
Closed

token-metadata-api-client.getFtMetadata missing asset_identifier field #268

pradel opened this issue Oct 5, 2024 · 3 comments · Fixed by #274
Assignees
Labels
bug Something isn't working released

Comments

@pradel
Copy link

pradel commented Oct 5, 2024

Describe the bug

When calling getFtMetadata, the field asset_identifier is missing in the typescript types but is returned by the API.

To Reproduce
Steps to reproduce the behavior:

  1. Call getFtMetadata
  2. Try to access the asset_identifier field in typescript
  3. See error

Expected behavior

The field should be accessible and be of type string

@github-project-automation github-project-automation bot moved this to 🆕 New in API Board Oct 5, 2024
@rafaelcr rafaelcr self-assigned this Oct 7, 2024
@rafaelcr rafaelcr added the bug Something isn't working label Oct 7, 2024
@smcclellan smcclellan moved this from 🆕 New to 👀 In Review in API Board Oct 14, 2024
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Done in API Board Oct 14, 2024
@rafaelcr
Copy link
Collaborator

@pradel please update to version 2.0.0 of the client to see the new properties. You'll need to adjust the way you use the lib a little bit but you'll get all the correct types now

@pradel
Copy link
Author

pradel commented Oct 14, 2024

@rafaelcr thanks, would it be possible to export the paths object to use the API types in the app?

@blockstack-devops
Copy link

🎉 This issue has been resolved in version 1.1.6 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants