Skip to content

Commit

Permalink
Merge pull request #263 from hassnian/issue-9723
Browse files Browse the repository at this point in the history
feat: Partykit mass minting status
  • Loading branch information
yangwao authored Mar 27, 2024
2 parents 1b31ded + 7e46370 commit b2866c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion party/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class Server implements Party.Server {
id: (body.event as Event).id,
type: (body.event as Event).type,
completed: (body.event as Event).completed,
image: body.event?.image,
mintingSession: body.event?.mintingSession,
timestamp: Date.now()
} as Event
})
Expand Down
2 changes: 1 addition & 1 deletion party/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type EventType = 'drop_generating' | 'drop_minting' | 'drop_minted'
export type Event = {
id: string,
type: EventType
image?: string
mintingSession?: { image: string, amount: number }
completed?: boolean
timestamp: number
}
Expand Down

0 comments on commit b2866c8

Please sign in to comment.