diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f7787229..27d07b95b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # 4.0.0 +## Misc + +- Enable both in App and email notifications for `previousTopBidder` in NFT Open Auction. + +# 4.0.0 + This is Creator Tokens (CRT) release. It introduces the CRT mappings, custom resolvers and mutations. # 3.7.0 diff --git a/package-lock.json b/package-lock.json index da6be0015..33ddfd817 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "orion", - "version": "4.0.0", + "version": "4.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "orion", - "version": "4.0.0", + "version": "4.0.1", "hasInstallScript": true, "workspaces": [ "network-tests" diff --git a/package.json b/package.json index 7a5583828..296b8ed6d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "orion", - "version": "4.0.0", + "version": "4.0.1", "engines": { "node": ">=16" }, diff --git a/src/mappings/content/utils.ts b/src/mappings/content/utils.ts index 1622116d2..ea83f2eae 100644 --- a/src/mappings/content/utils.ts +++ b/src/mappings/content/utils.ts @@ -466,10 +466,12 @@ export async function createBid( auction.auctionType.isTypeOf === 'AuctionTypeEnglish' ) { newBid.previousTopBidId = previousTopBidId - return { bid: newBid, auction, previousTopBid, auctionBids } } - return { bid: newBid, auction, auctionBids } + // Although there is no notion of a "previousTopBid" in the OpenAuction type + // as all active bids are considered valid, but we still return it whether the + // auction type is "Open" or "English" for notification purposes. + return { bid: newBid, auction, previousTopBid, auctionBids } } export async function getChannelOwnerMemberByVideoId(