Skip to content

Commit

Permalink
feat: Add catalyst content hash
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Mar 31, 2022
1 parent 43c34d7 commit ad618bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/BuilderClient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,8 @@ beforeEach(async () => {
eth_address: '0x00',
beneficiary: null,
total_supply: 1000,
local_content_hash: 'someHash'
local_content_hash: 'someHash',
catalyst_content_hash: 'someOtherHash'
}

mockNFT = {
Expand Down
2 changes: 2 additions & 0 deletions src/item/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export type RemoteItem = {
contents: Record<string, string>
content_hash: string | null
local_content_hash: string | null
catalyst_content_hash: string | null
is_published: boolean
is_approved: boolean
in_catalyst: boolean
Expand All @@ -40,6 +41,7 @@ export type LocalItem = Omit<
| 'price'
| 'beneficiary'
| 'local_content_hash'
| 'catalyst_content_hash'
>

export type BasicItem = Pick<LocalItem, 'name' | 'rarity'> &
Expand Down

0 comments on commit ad618bb

Please sign in to comment.