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

Rework soundInfo,releaseInfo functions to work with contractAddress and editionId #31

Merged
merged 2 commits into from
Sep 2, 2022

Conversation

PabloSzx
Copy link
Member

@PabloSzx PabloSzx commented Sep 2, 2022

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Sep 2, 2022

🦋 Changeset detected

Latest commit: d0aea32

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

This PR includes changesets to release 1 package
Name Type
@soundxyz/sdk 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

@PabloSzx PabloSzx changed the title Rework soundInfo,releaseInfo functions to work with contractAddress a… Rework soundInfo,releaseInfo functions to work with contractAddress and editionId Sep 2, 2022
query ReleaseInfo($releaseId: UUID!) {
release: release(id: $releaseId) {
query ReleaseInfo($contractAddress: Address!, $editionId: String) {
release: releaseContract(contractAddress: $contractAddress, editionId: $editionId) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I take it we're including editionId so clients can look up info about V1 protocol contracts?

Copy link
Member Author

Choose a reason for hiding this comment

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

And when the album releases are separated within the same contract

@PabloSzx PabloSzx merged commit 32c6402 into main Sep 2, 2022
@PabloSzx PabloSzx deleted the pabloszx/release-query branch September 2, 2022 23:12
@github-actions github-actions bot mentioned this pull request Sep 2, 2022
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