fix: add metaTxApiId property to PreMintButton - #988
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #988 +/- ##
==========================================
+ Coverage 86.39% 90.98% +4.58%
==========================================
Files 167 176 +9
Lines 7095 7190 +95
Branches 1299 1322 +23
==========================================
+ Hits 6130 6542 +412
+ Misses 965 648 -317
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@levalleux-ludo I've opened a new pull request, #991, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
|
|
Description
Added
metaTxApiIdoptional property toPreMintButtoncomponent to enable custom Biconomy API ID configuration for meta-transactions.Changes:
metaTxApiId?: stringto component props and type definitions (lines 24, 28, 47)metaTxApiIdtorelayBiconomyMetaTransactionviametaTxConfig.apiIdoverride (lines 84-86)This allows consumers to specify a different Biconomy API ID per button instance when the default configuration is insufficient.
How to test
Verify the custom API ID is used in the Biconomy relay call when meta-transactions are enabled.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.