Skip to content

chore(sdk): regenerate Coin model — drop totalVolumeUSD - #14543

Merged
rickyrombo merged 2 commits into
mainfrom
mjp-sdk-remove-coin-total-volume
Aug 4, 2026
Merged

chore(sdk): regenerate Coin model — drop totalVolumeUSD#14543
rickyrombo merged 2 commits into
mainfrom
mjp-sdk-remove-coin-total-volume

Conversation

@rickyrombo

Copy link
Copy Markdown
Contributor

What

Regenerates the SDK Coin model after AudiusProject/api#1004 removed totalVolumeUSD from the /v1/coins response — dropping the field from the interface, CoinFromJSONTyped, and CoinToJSON.

How

Ran gen:prod (openapi-generator against the deployed prod swagger). Verified the change is live on prod first (/v1/coins no longer returns the field). Scoped to Coin.ts only — the generator also surfaced unrelated drift in Event/TrackCollaboratorNotification* models (the committed SDK was behind prod there), which I reverted to keep this PR focused.

Safety

Backward-compatible. The field was optional and its generated deserializer already handled absence (!exists(json, 'totalVolumeUSD') ? undefined), so old SDK builds tolerate the missing field. The client display usage was already removed in #14542 (merged), so no source references the field.

🤖 Generated with Claude Code

Regenerated from the deployed prod swagger after AudiusProject/api#1004 removed
totalVolumeUSD from the /v1/coins response. Scoped to the Coin model only;
unrelated regen drift in other models was left out.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Aug 3, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 8bcc8a8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@audius/sdk Patch
@audius/sdk-legacy Patch
@audius/protocol-dashboard Patch
@audius/sp-actions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@pull-request-size pull-request-size Bot added size/S and removed size/XS labels Aug 3, 2026
@rickyrombo
rickyrombo force-pushed the mjp-sdk-remove-coin-total-volume branch from 077b52c to 8bcc8a8 Compare August 4, 2026 00:07
@rickyrombo
rickyrombo merged commit 294f53d into main Aug 4, 2026
23 checks passed
@rickyrombo
rickyrombo deleted the mjp-sdk-remove-coin-total-volume branch August 4, 2026 00:26
rickyrombo added a commit that referenced this pull request Aug 4, 2026
## What
Regenerates the SDK `Event` model to add the `permalink` field
(canonical contest permalink) the API now returns on `/v1/events`.

## Context
Surfaced while regenerating the SDK for the `Coin` change
(#14543) — the committed SDK was behind prod on this
field. Split into its own PR. The generator also touched
`EventsResponse`/`TrackCollaboratorNotification*`, but those diffs were
EOF/whitespace-only noise (no API change), so they're excluded.

## Safety
Additive optional field — backward-compatible for existing consumers.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant