Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into mmackz/referral/sound…
Browse files Browse the repository at this point in the history
…-externallink
  • Loading branch information
mmackz committed Jul 16, 2024
2 parents 86648c6 + b100595 commit 6afc500
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/silent-fireants-grab.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@rabbitholegg/questdk-plugin-utils": minor
---

allow referral to be optional in MintIntentParams
4 changes: 3 additions & 1 deletion packages/utils/src/types/intents.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
import type { MintActionParams } from './actions'
import type { Address } from 'viem'
export type MintIntentParams = Required<
Omit<MintActionParams, 'amount' | 'tokenId'>
Omit<MintActionParams, 'amount' | 'tokenId' | 'referral'>
> & {
amount: bigint
tokenId?: number
referral?: Address
}
export type IntentParams = MintIntentParams

0 comments on commit 6afc500

Please sign in to comment.