diff --git a/.changeset/dry-buttons-smile.md b/.changeset/dry-buttons-smile.md deleted file mode 100644 index 5775ed339..000000000 --- a/.changeset/dry-buttons-smile.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@zoralabs/protocol-sdk": minor ---- - -Changed how we determine which ERC20Z tokens have secondary royalties by querying the royalties contract directly instead of using the subgraph's secondaryActivated field. - -BREAKING: The `withdrawRewards` and `getRewardsBalances` functions now require a `publicClient` parameter to query the royalties contract. Update your calls to include the publicClient when using these functions. diff --git a/.changeset/good-glasses-hug.md b/.changeset/good-glasses-hug.md deleted file mode 100644 index bfd7ddf81..000000000 --- a/.changeset/good-glasses-hug.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@zoralabs/protocol-sdk": minor ---- - -Deprecated createCreatorClient and createCollectorClient in favor of using functions directly diff --git a/docs/pages/changelogs/protocol-sdk.mdx b/docs/pages/changelogs/protocol-sdk.mdx index c0f494da2..1d248ce5c 100644 --- a/docs/pages/changelogs/protocol-sdk.mdx +++ b/docs/pages/changelogs/protocol-sdk.mdx @@ -1,6 +1,16 @@ # @zoralabs/protocol-sdk Changelog +## 0.12.0 + +### Minor Changes + +- [2a9d2e86](https://github.com/ourzora/zora-protocol/commit/2a9d2e86): Changed how we determine which ERC20Z tokens have secondary royalties by querying the royalties contract directly instead of using the subgraph's secondaryActivated field. + + BREAKING: The `withdrawRewards` and `getRewardsBalances` functions now require a `publicClient` parameter to query the royalties contract. Update your calls to include the publicClient when using these functions. + +- [615d81cf](https://github.com/ourzora/zora-protocol/commit/615d81cf): Deprecated createCreatorClient and createCollectorClient in favor of using functions directly + ## 0.11.12 ### Patch Changes diff --git a/packages/protocol-sdk/CHANGELOG.md b/packages/protocol-sdk/CHANGELOG.md index af9a5f60b..ed9328d7b 100644 --- a/packages/protocol-sdk/CHANGELOG.md +++ b/packages/protocol-sdk/CHANGELOG.md @@ -1,5 +1,15 @@ # @zoralabs/protocol-sdk +## 0.12.0 + +### Minor Changes + +- 2a9d2e86: Changed how we determine which ERC20Z tokens have secondary royalties by querying the royalties contract directly instead of using the subgraph's secondaryActivated field. + + BREAKING: The `withdrawRewards` and `getRewardsBalances` functions now require a `publicClient` parameter to query the royalties contract. Update your calls to include the publicClient when using these functions. + +- 615d81cf: Deprecated createCreatorClient and createCollectorClient in favor of using functions directly + ## 0.11.12 ### Patch Changes diff --git a/packages/protocol-sdk/package.json b/packages/protocol-sdk/package.json index d898aaa03..0547817ab 100644 --- a/packages/protocol-sdk/package.json +++ b/packages/protocol-sdk/package.json @@ -1,6 +1,6 @@ { "name": "@zoralabs/protocol-sdk", - "version": "0.11.12", + "version": "0.12.0", "repository": "https://github.com/ourzora/zora-protocol", "license": "MIT", "type": "module",