diff --git a/bun.lockb b/bun.lockb index 1cb049c..a51dd95 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index eac57f5..c2699d0 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ }, "dependencies": { "@biconomy/account": "^4.4.5", - "@biconomy/use-aa": "^1.0.10", + "@biconomy/use-aa": "1.0.11", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@ethersproject/providers": "^5.7.2", diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index ec646d6..d1aae14 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -78,19 +78,19 @@ const MintNftForward: React.FC = () => { ); }, [waitIsSuccess]); + console.log( + mergeOptions([ + Options.GasTokenPayment, + Options.getGasTokenFeeQuote(selectedQuote!), + ]) + ); + const mintNft = () => { mutate({ transactions, options: mergeOptions([ Options.GasTokenPayment, - { - paymasterServiceData: { - mode: PaymasterMode.ERC20, - feeQuote: selectedQuote, - spender: data?.tokenPaymasterAddress, - maxApproval: false, - }, - }, + Options.getGasTokenFeeQuote(selectedQuote!), ]), }); };