Skip to content

Commit

Permalink
Fix release task, and re-version packages (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
oveddan authored Oct 31, 2023
1 parent 40b3eba commit 4afa879
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 22 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-dots-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zoralabs/premint-sdk": minor
---

Added new premint api that abstracts out calls to the chain signature and submission logic around submitting a premint. This change also incorporates test helpers for premints and introduces docs and an api client for the zora api's premint module.
5 changes: 5 additions & 0 deletions .changeset/weak-planets-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@zoralabs/zora-1155-contracts": minor
---

Creator reward recipient can now be defined on a token by token basis. This allows for multiple creators to collaborate on a contract and each to receive rewards for the token they created. The royaltyRecipient storage field is now used to determine the creator reward recipient for each token. If that's not set for a token, it falls back to use the contract wide fundsRecipient.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"update-version": "changeset version && turbo run update-contract-version",
"lint": "turbo run lint",
"format": "turbo run format",
"release": "turbo run prepack && changeset publish"
"release": "turbo run build && changeset publish"
},
"devDependencies": {
"eslint": "^8.48.0",
Expand Down
6 changes: 0 additions & 6 deletions packages/1155-contracts/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
# @zoralabs/zora-1155-contracts

## 2.3.0

### Minor Changes

- f00bd85: Creator reward recipient can now be defined on a token by token basis. This allows for multiple creators to collaborate on a contract and each to receive rewards for the token they created. The royaltyRecipient storage field is now used to determine the creator reward recipient for each token. If that's not set for a token, it falls back to use the contract wide fundsRecipient.

## 2.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/1155-contracts/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zoralabs/zora-1155-contracts",
"version": "2.3.0",
"version": "2.2.0",
"repository": "[email protected]:ourzora/zora-protocol.git",
"author": "Iain <[email protected]>",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions packages/1155-contracts/src/version/ContractVersionBase.sol
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// This file is automatically generated by code; do not manually update
// Last updated on 2023-10-30T22:40:04.307Z
// Last updated on 2023-10-30T19:58:54.830Z
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

Expand All @@ -10,6 +10,6 @@ import {IVersionedContract} from "../interfaces/IVersionedContract.sol";
contract ContractVersionBase is IVersionedContract {
/// @notice The version of the contract
function contractVersion() external pure override returns (string memory) {
return "2.3.0";
return "2.2.0";
}
}
11 changes: 0 additions & 11 deletions packages/premint-sdk/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,5 @@
# @zoralabs/premint-sdk

## 0.1.0

### Minor Changes

- cf3be8f: Added new premint api that abstracts out calls to the chain signature and submission logic around submitting a premint. This change also incorporates test helpers for premints and introduces docs and an api client for the zora api's premint module.

### Patch Changes

- Updated dependencies [f00bd85]
- @zoralabs/zora-1155-contracts@2.3.0

## 0.0.2-premint-api.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/premint-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zoralabs/premint-sdk",
"version": "0.1.0",
"version": "0.0.2-premint-api.2",
"repository": "https://github.com/ourzora/zora-protocol",
"license": "MIT",
"main": "./dist/index.js",
Expand Down

0 comments on commit 4afa879

Please sign in to comment.