Skip to content

Refactor to properly export types.#9

Merged
aaroncox merged 6 commits intowharfkit:masterfrom
includenull:missing-market-tyes
Sep 1, 2025
Merged

Refactor to properly export types.#9
aaroncox merged 6 commits intowharfkit:masterfrom
includenull:missing-market-tyes

Conversation

@includenull
Copy link
Copy Markdown
Contributor

The use of namespaces in types.ts was causing the Assets, Market, and Tools types to not be exported correctly and be unusable for apps, e.g. Types.Market.CollectionStat.
Refactored where the types are defined and how they are exported to resolve this issue.

Also:
Fix: Asset owner can be null if asset is burned.
Fix: search is optional on endpoints.
Fix: before and after need to be strings when POST too.
Fix: Add optional images field on CollectionObject.

Two tests were also failing before I started making changes, and I had to change the Atomic API URL since the previously used one is offline.

Version bumped to 1.2.3

Fix: Asset owner can be null if asset is burned.
Fix: search is optional on endpoints.
Fix: before and after need to be strings when POST too.
Fix: Add optional images field on CollectionObject.
Copy link
Copy Markdown
Member

@aaroncox aaroncox left a comment

Choose a reason for hiding this comment

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

Looks good! Thank you as always for being a good steward of this repository, your contributions are great.

@aaroncox aaroncox merged commit 1c8204f into wharfkit:master Sep 1, 2025
3 checks passed
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