From e48b57578a398d82c62a7a873a64a539a0ab658a Mon Sep 17 00:00:00 2001 From: amanraj1608 Date: Wed, 10 Jan 2024 01:26:04 +0530 Subject: [PATCH 01/13] feat: add v4 example --- package.json | 13 +- src/components/AA/BatchLiquidity.tsx | 53 +- src/components/AA/BatchMintNft.tsx | 137 - src/components/AA/MintErc20.tsx | 138 - src/components/AA/MintNft.tsx | 61 +- src/components/Balance/index.tsx | 156 -- src/components/Faucet/index.tsx | 35 +- src/components/Forward/BatchLiquidity.tsx | 59 +- src/components/Forward/MintNft.tsx | 56 +- src/components/Modules/CreateSession.tsx | 100 +- .../Modules/CreateSessionForCustomSVM.tsx | 105 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 503 ++-- .../Modules/ERC20TransferUsingSession.tsx | 305 +-- .../Modules/HyphenLpUsingSession.tsx | 297 +-- src/components/Modules/UseSessionsBatch.tsx | 383 +-- src/components/Onboarding/index.tsx | 2 +- src/components/TabsBody.tsx | 14 +- src/contexts/SmartAccountContext.tsx | 95 +- src/index.tsx | 2 +- yarn.lock | 2281 +++++++---------- 20 files changed, 1887 insertions(+), 2908 deletions(-) delete mode 100644 src/components/AA/BatchMintNft.tsx delete mode 100644 src/components/AA/MintErc20.tsx delete mode 100644 src/components/Balance/index.tsx diff --git a/package.json b/package.json index 9b5bb02..880cfc8 100644 --- a/package.json +++ b/package.json @@ -3,12 +3,11 @@ "version": "1.0.0", "private": true, "dependencies": { - "@biconomy/account": "3.1.1", - "@biconomy/bundler": "3.1.1", - "@biconomy/common": "3.1.1", - "@biconomy/core-types": "3.1.1", - "@biconomy/modules": "3.1.1", - "@biconomy/paymaster": "3.1.1", + "@alchemy/aa-core": "1.2.2", + "@biconomy-devx/account": "2.0.60", + "@biconomy-devx/bundler": "2.0.60", + "@biconomy-devx/modules": "2.0.60", + "@biconomy-devx/paymaster": "2.0.60", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@mui/icons-material": "^5.11.11", @@ -26,7 +25,7 @@ "react-scripts": "5.0.1", "react-toastify": "^9.0.8", "typescript": "^4.4.2", - "viem": "^1.18.3", + "viem": "^1.20.3", "wagmi": "^1.4.5", "web-vitals": "^2.1.0" }, diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index adaa739..e710337 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -1,9 +1,7 @@ import React, { useState } from "react"; -import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { PaymasterMode } from "@biconomy/paymaster"; +import { Hex, encodeFunctionData, parseEther } from "viem"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, @@ -11,53 +9,46 @@ import { showErrorMessage, } from "../../utils"; -const iFace = new ethers.utils.Interface(config.usdc.abi); - const BatchLiquidity: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); + const { accountProvider, scwAddress } = useSmartAccountContext(); const [loading, setLoading] = useState(false); const makeTx = async () => { - if (!scwAddress || !smartAccount || !signer) return; + if (!scwAddress || !accountProvider) return; try { setLoading(true); - const txs = []; - const approveCallData = iFace.encodeFunctionData("approve", [ - config.hyphenLP.address, - ethers.BigNumber.from("1000000"), - ]); + const approveCallData = encodeFunctionData({ + abi: config.usdc.abi, + functionName: "approve", + args: [config.hyphenLP.address, parseEther("0.001", "gwei")], + }); const tx1 = { - to: config.usdc.address, + target: config.usdc.address as Hex, + value: BigInt(0), data: approveCallData, }; - txs.push(tx1); - const hyphenContract = new ethers.Contract( - config.hyphenLP.address, - config.hyphenLP.abi, - signer - ); - const addLiquidityData = hyphenContract.interface.encodeFunctionData("addTokenLiquidity", [config.usdc.address, - ethers.BigNumber.from("1000000")]) + const addLiquidityData = encodeFunctionData({ + abi: config.hyphenLP.abi, + functionName: "addTokenLiquidity", + args: [config.usdc.address, parseEther("0.001", "gwei")], + }); const tx2 = { - to: config.hyphenLP.address, + target: config.hyphenLP.address as Hex, + value: BigInt(0), data: addLiquidityData, }; - txs.push(tx2); - let userOp = await smartAccount.buildUserOp(txs, { - paymasterServiceData: { - mode: PaymasterMode.SPONSORED, - }, - }); - const userOpResponse = await smartAccount.sendUserOp(userOp); + let userOpResponse = await accountProvider.sendUserOperations([tx1, tx2]); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); - showSuccessMessage(`Added batch liquidity ${transactionHash}`, transactionHash); + showSuccessMessage( + `Added batch liquidity ${transactionHash}`, + transactionHash + ); setLoading(false); } catch (err: any) { console.error(err); diff --git a/src/components/AA/BatchMintNft.tsx b/src/components/AA/BatchMintNft.tsx deleted file mode 100644 index 81e45af..0000000 --- a/src/components/AA/BatchMintNft.tsx +++ /dev/null @@ -1,137 +0,0 @@ -import React, { useCallback, useEffect, useState } from "react"; -import { ethers } from "ethers"; -import { makeStyles } from "@mui/styles"; -import { PaymasterMode } from "@biconomy/paymaster"; - -import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; -import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { - configInfo as config, - showSuccessMessage, - showErrorMessage, -} from "../../utils"; - -const BatchMintNft: React.FC = () => { - const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); - const [nftCount, setNftCount] = useState(null); - const [loading, setLoading] = useState(false); - - const getNftCount = useCallback(async () => { - if (!scwAddress || !signer) return; - const nftContract = new ethers.Contract( - config.nft.address, - config.nft.abi, - signer - ); - const count = await nftContract.balanceOf(scwAddress); - console.log("count", Number(count)); - setNftCount(Number(count)); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - - useEffect(() => { - getNftCount(); - }, [getNftCount, signer]); - - const mintNft = async () => { - if (!scwAddress || !smartAccount || !signer) return; - try { - setLoading(true); - const nftContract = new ethers.Contract( - config.nft.address, - config.nft.abi, - signer - ); - console.log("smartAccount.address ", scwAddress); - const safeMintTx = await nftContract.populateTransaction.safeMint( - scwAddress - ); - console.log(safeMintTx.data); - const tx1 = { - to: config.nft.address, - data: safeMintTx.data, - }; - - let userOp = await smartAccount.buildUserOp([tx1, tx1], { - paymasterServiceData: { - mode: PaymasterMode.SPONSORED, - }, - }); - - const userOpResponse = await smartAccount.sendUserOp(userOp); - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); - console.log("txHash", transactionHash); - showSuccessMessage(`Minted Nft ${transactionHash}`, transactionHash); - setLoading(false); - await new Promise((resolve) => setTimeout(resolve, 2000)); - getNftCount(); - } catch (err: any) { - console.error(err); - setLoading(false); - showErrorMessage(err.message || "Error in sending the transaction"); - } - }; - - return ( -
-

- Use Cases {"->"} Gasless {"->"} Batch Nft Mint -

- -

Batch Nft Mint

- -

- This magic bundle will batch two signle safeMint into one transaction -

- -

- Nft Contract Address: {config.nft.address}{" "} - - (same of goerli, mumbai, polygon) - -

-

- Nft Balance in SCW:{" "} - {nftCount === null ? ( -

fetching...

- ) : ( - nftCount - )} -

- -

Transaction Batched

-
    -
  • safeMint 1 nft
  • -
  • safeMint 1 nft
  • -
- -
- ); -}; - -const useStyles = makeStyles(() => ({ - main: { - margin: "auto", - padding: "10px 40px", - color: "#EEEEEE", - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - h3Title: { - margin: 10, - }, -})); - -export default BatchMintNft; diff --git a/src/components/AA/MintErc20.tsx b/src/components/AA/MintErc20.tsx deleted file mode 100644 index 0c4ad36..0000000 --- a/src/components/AA/MintErc20.tsx +++ /dev/null @@ -1,138 +0,0 @@ -import React, { useEffect, useState, useCallback } from "react"; -import { ethers } from "ethers"; -import { makeStyles } from "@mui/styles"; -import { PaymasterMode } from "@biconomy/paymaster"; - -import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; -import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { - configInfo as config, - showErrorMessage, - showSuccessMessage, -} from "../../utils"; - -const MintErc20: React.FC = () => { - const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); - const [balance, setBalance] = useState(0); - const [loading, setLoading] = useState(false); - - const getBalance = useCallback(async () => { - if (!scwAddress || !signer) return; - const erc20Contract = new ethers.Contract( - config.terc20.address, - config.terc20.abi, - signer - ); - const count = await erc20Contract.balanceOf(scwAddress); - console.log("count", Number(count)); - setBalance(Number(count)); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - - useEffect(() => { - getBalance(); - }, [getBalance, signer]); - - const makeTx = async () => { - if (!scwAddress || !signer || !smartAccount) return; - try { - setLoading(true); - const erc20Contract = new ethers.Contract( - config.terc20.address, - config.terc20.abi, - signer - ); - const amountGwei = ethers.utils.parseEther("100"); - const data = erc20Contract.interface.encodeFunctionData("mint", [ - scwAddress, - amountGwei, - ]); - const tx = { - to: config.terc20.address, - data: data, - }; - let userOp = await smartAccount.buildUserOp([tx], { - paymasterServiceData: { - mode: PaymasterMode.SPONSORED, - }, - }); - - const userOpResponse = await smartAccount.sendUserOp(userOp); - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); - console.log("txHash", transactionHash); - showSuccessMessage(`Minted ERC20 ${transactionHash}`, transactionHash); - setLoading(false); - await new Promise((resolve) => setTimeout(resolve, 2000)); - getBalance(); - } catch (err: any) { - console.error(err); - setLoading(false); - showErrorMessage(err.message || "Error in sending the transaction"); - } - }; - - return ( -
-

- Use Cases {"->"} Gasless {"->"} Mint ERC-20 -

- -

Mint ERC20 Gasless Flow

- -

This is single transaction to mint an test ERC-20 contract.

- -

- Test ERC20 Token: {config.terc20.address}{" "} - - (same of goerli, mumbai, polygon) - -

-

- ERC20 Balance in SCW:{" "} - {balance === null ? ( -

fetching...

- ) : ( - ethers.utils.formatEther(balance.toString()) - )} -

- -
- ); -}; - -const useStyles = makeStyles(() => ({ - main: { - padding: "10px 40px", - display: "flex", - flexDirection: "column", - alignItems: "start", - justifyContent: "center", - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - h3Title: { - color: "#e6e6e6", - }, - input: { - maxWidth: 350, - width: "100%", - padding: "12px 10px", - margin: "8px 0", - color: "#e6e6e6", - boxSizing: "border-box", - outlineColor: "#181818", - backgroundColor: "#282A3A", - border: "none", - marginBottom: 20, - }, -})); - -export default MintErc20; diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 36cef5a..536df22 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -1,10 +1,8 @@ import React, { useCallback, useEffect, useState } from "react"; -import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { PaymasterMode } from "@biconomy/paymaster"; - +import { usePublicClient } from "wagmi"; +import { Hex, encodeFunctionData, getContract } from "viem"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, @@ -14,54 +12,43 @@ import { const MintNft: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); + const publicClient = usePublicClient(); + const { accountProvider, scwAddress } = useSmartAccountContext(); const [nftCount, setNftCount] = useState(null); const [loading, setLoading] = useState(false); const getNftCount = useCallback(async () => { - if (!scwAddress || !signer) return; - const nftContract = new ethers.Contract( - config.nft.address, - config.nft.abi, - signer - ); - const count = await nftContract.balanceOf(scwAddress); - console.log("count", Number(count)); + if (!scwAddress || !publicClient) return; + const nftContract = getContract({ + address: config.nft.address as Hex, + abi: config.nft.abi, + publicClient, + }); + const count = await nftContract.read.balanceOf([scwAddress]); + console.log("count", count); setNftCount(Number(count)); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); + }, [publicClient, scwAddress]); useEffect(() => { getNftCount(); - }, [getNftCount, signer]); + }, [getNftCount, publicClient]); const mintNft = async () => { - if (!scwAddress || !smartAccount || !signer) return; + if (!scwAddress || !accountProvider || !publicClient) return; try { setLoading(true); - const nftContract = new ethers.Contract( - config.nft.address, - config.nft.abi, - signer - ); - console.log("smartAccount.address ", scwAddress); - const safeMintTx = await nftContract.populateTransaction.safeMint( - scwAddress - ); - console.log(safeMintTx.data); + const mintData = encodeFunctionData({ + abi: config.nft.abi, + functionName: "safeMint", + args: [scwAddress as Hex], + }); const tx1 = { - to: config.nft.address, - data: safeMintTx.data, + target: config.nft.address as Hex, + value: BigInt(0), + data: mintData, }; - let userOp = await smartAccount.buildUserOp([tx1], { - paymasterServiceData: { - mode: PaymasterMode.SPONSORED, - }, - }); - - const userOpResponse = await smartAccount.sendUserOp(userOp); + let userOpResponse = await accountProvider.sendUserOperations(tx1); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/components/Balance/index.tsx b/src/components/Balance/index.tsx deleted file mode 100644 index 273c845..0000000 --- a/src/components/Balance/index.tsx +++ /dev/null @@ -1,156 +0,0 @@ -import React, { useCallback, useEffect } from "react"; -import { makeStyles } from "@mui/styles"; - -import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { formatBalance } from "../../utils"; - -const Assets: React.FC = () => { - const classes = useStyles(); - const { getSmartAccountBalance, isFetchingBalance, balance } = - useSmartAccountContext(); - console.log("🚀 ~ file: index.tsx:10 ~ balance:", balance); - - const getSmartAccountBalanceFunc = useCallback(async () => { - await getSmartAccountBalance(); - }, [getSmartAccountBalance]); - - useEffect(() => { - getSmartAccountBalanceFunc(); - // eslint-disable-next-line react-hooks/exhaustive-deps - }, []); - - if (isFetchingBalance || balance.alltokenBalances.length === 0) { - return ( -
- -
- ); - } - - return ( -
-

Smart Account Balance

- {/* */} -
-
-
-

Tokens

-
- {balance.alltokenBalances.map((token, ind) => ( -
-
- { - currentTarget.src = - "https://cdn.icon-icons.com/icons2/3947/PNG/512/cash_currency_money_finance_exchange_coin_bitcoin_icon_251415.png"; - }} - alt="" - /> -

{token.contract_ticker_symbol}

-
-

{formatBalance(token.balance, token.contract_decimals)}

-
- ))} -
-
-
-

My Balance

-
- -

- ${balance.totalBalanceInUsd} -

-
-
-
- ); -}; - -const useStyles = makeStyles(() => ({ - main: { - maxWidth: 1600, - padding: "10px 40px", - width: "100%", - height: "100%", - display: "flex", - flexDirection: "column", - gap: 20, - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - container: { - display: "flex", - justifyContent: "space-between", - gap: 10, - height: "100%", - width: "100%", - }, - element: { - width: "100%", - maxHeight: 600, - height: 400, - overflowY: "auto", - border: "1px solid #5B3320", - backgroundColor: "#151520", - borderRadius: 12, - }, - balance: { - display: "flex", - justifyContent: "space-between", - fontSize: 25, - padding: "0 10px", - borderBottom: "1px solid #2C3333", - }, - tokenTitle: { - display: "flex", - flexFlow: "reverse", - alignItems: "center", - }, - img: { - width: 35, - height: 35, - border: "1px solid #2C3333", - borderRadius: "50%", - marginRight: 10, - }, - containerLoader: { - display: "flex", - flexDirection: "column", - width: "100%", - height: "100%", - justifyContent: "center", - alignItems: "center", - }, - animateBlink: { - animation: "$blink 4s linear infinite", - }, - "@keyframes blink": { - "0%": { - opacity: "0", - }, - "25%": { - opacity: "100", - }, - "50%": { - opacity: "0", - }, - "75%": { - opacity: "100", - }, - "100%": { - opacity: "0", - }, - }, -})); - -export default Assets; diff --git a/src/components/Faucet/index.tsx b/src/components/Faucet/index.tsx index cc383a8..fd32085 100644 --- a/src/components/Faucet/index.tsx +++ b/src/components/Faucet/index.tsx @@ -1,9 +1,8 @@ import React, { useState } from "react"; -import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; +import { Hex, encodeFunctionData } from "viem"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, @@ -11,40 +10,30 @@ import { showInfoMessage, showSuccessMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy/paymaster"; const Faucet: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); + const { accountProvider, scwAddress } = useSmartAccountContext(); const [address, setAddress] = useState(scwAddress); const makeTx = async () => { - if (!smartAccount || !signer || !scwAddress) { + if (!accountProvider || !scwAddress) { showErrorMessage("Please connect your wallet"); return; } showInfoMessage("Initiating Faucet..."); try { - const faucetContract = new ethers.Contract( - config.faucet.address, - config.faucet.abi, - signer - ); - const faucetTxData = await faucetContract.populateTransaction.drip( - address - ); + const faucetTxData = encodeFunctionData({ + abi: config.faucet.abi, + functionName: "drip", + args: [address as Hex], + }); const tx1 = { - to: config.faucet.address, - data: faucetTxData.data, + target: config.faucet.address as Hex, + value: BigInt(0), + data: faucetTxData, }; - let userOp = await smartAccount.buildUserOp([tx1], { - paymasterServiceData: { - mode: PaymasterMode.SPONSORED, - }, - }); - - const userOpResponse = await smartAccount.sendUserOp(userOp); + let userOpResponse = await accountProvider.sendUserOperations(tx1); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index 0193170..ebc5e32 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -1,5 +1,4 @@ import React, { useEffect, useState } from "react"; -import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; import { CircularProgress } from "@mui/material"; import { @@ -7,20 +6,19 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy/paymaster"; +} from "@biconomy-devx/paymaster"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, showSuccessMessage, showErrorMessage, } from "../../utils"; +import { Hex, encodeFunctionData, parseEther } from "viem"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); const { smartAccount, scwAddress } = useSmartAccountContext(); const [isLoading, setIsLoading] = useState(true); const [isLoadingFee, setIsLoadingFee] = useState(false); @@ -36,42 +34,31 @@ const BatchLiquidity: React.FC = () => { setIsLoading(true); setIsLoadingFee(true); setFeeQuotesArr([]); - if (!smartAccount || !scwAddress || !signer) return; - const txs = []; - const usdcContract = new ethers.Contract( - config.usdc.address, - config.usdc.abi, - signer - ); - const hyphenContract = new ethers.Contract( - config.hyphenLP.address, - config.hyphenLP.abi, - signer - ); - const approveUSDCTx = await usdcContract.populateTransaction.approve( - config.hyphenLP.address, - ethers.BigNumber.from("1000000") - ); + if (!smartAccount || !scwAddress) return; + const approveCallData = encodeFunctionData({ + abi: config.usdc.abi, + functionName: "approve", + args: [config.hyphenLP.address, parseEther("0.001", "gwei")], + }); const tx1 = { - to: config.usdc.address, - data: approveUSDCTx.data, + to: config.usdc.address as Hex, + value: BigInt(0), + data: approveCallData, }; - txs.push(tx1); - const addLiquidityData = hyphenContract.interface.encodeFunctionData("addTokenLiquidity", [config.usdc.address, - ethers.BigNumber.from("1000000")]) // 1 USDC (mumbai USDC has 6 decimals) + const addLiquidityData = encodeFunctionData({ + abi: config.hyphenLP.abi, + functionName: "addTokenLiquidity", + args: [config.usdc.address, parseEther("0.001", "gwei")], + }); const tx2 = { - to: config.hyphenLP.address, + to: config.hyphenLP.address as Hex, + value: BigInt(0), data: addLiquidityData, }; - txs.push(tx2); - console.log("Tx array created", txs); - let partialUserOp = await smartAccount.buildUserOp(txs, { - paymasterServiceData: { - mode: PaymasterMode.ERC20, - }, - }); + console.log("Tx array created", [tx1, tx2]); + let partialUserOp = await smartAccount.buildUserOp([tx1, tx2]); setEstimatedUserOp(partialUserOp); const biconomyPaymaster = @@ -94,10 +81,10 @@ const BatchLiquidity: React.FC = () => { }; fetchFeeOption(); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [signer]); + }, [scwAddress]); const makeTx = async () => { - if (!smartAccount || !scwAddress || !signer) return; + if (!smartAccount || !scwAddress) return; if (!selectedQuote) { showErrorMessage("Please select a fee quote"); return; @@ -110,7 +97,7 @@ const BatchLiquidity: React.FC = () => { estimatedUserOp, { feeQuote: selectedQuote, - spender: spender, + spender: spender as Hex, maxApproval: false, } ); diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index 8905b37..fbb94fe 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -1,5 +1,4 @@ import React, { useEffect, useState } from "react"; -import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; import CircularProgress from "@mui/material/CircularProgress"; import { @@ -7,21 +6,22 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy/paymaster"; +} from "@biconomy-devx/paymaster"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, showErrorMessage, showSuccessMessage, } from "../../utils"; +import { Hex, encodeFunctionData, getContract } from "viem"; +import { usePublicClient } from "wagmi"; const MintNftForward: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); - const { scwAddress, smartAccount } = useSmartAccountContext(); + const publicClient = usePublicClient(); + const { smartAccount, scwAddress } = useSmartAccountContext(); const [nftCount, setNftCount] = useState(null); const [isLoading, setIsLoading] = useState(false); const [isLoadingFee, setIsLoadingFee] = useState(false); @@ -33,43 +33,35 @@ const MintNftForward: React.FC = () => { useEffect(() => { const getNftCount = async () => { - if (!scwAddress || !signer) return; - const nftContract = new ethers.Contract( - config.nft.address, - config.nft.abi, - signer - ); - const count = await nftContract.balanceOf(scwAddress); + if (!scwAddress || !publicClient) return; + const nftContract = getContract({ + address: config.nft.address as Hex, + abi: config.nft.abi, + publicClient, + }); + const count = await nftContract.read.balanceOf([scwAddress as Hex]); console.log("count", Number(count)); setNftCount(Number(count)); }; getNftCount(); getFee(); // eslint-disable-next-line react-hooks/exhaustive-deps - }, [scwAddress, signer]); + }, [scwAddress, publicClient]); const getFee = async () => { - if (!smartAccount || !scwAddress || !signer) return; + if (!smartAccount || !scwAddress || !publicClient) return; setIsLoadingFee(true); - const nftContract = new ethers.Contract( - config.nft.address, - config.nft.abi, - signer - ); - console.log("smartAccount.address ", scwAddress); - const safeMintTx = await nftContract.populateTransaction.safeMint( - scwAddress - ); - console.log(safeMintTx.data); + const mintData = encodeFunctionData({ + abi: config.nft.abi, + functionName: "safeMint", + args: [scwAddress as Hex], + }); const tx1 = { to: config.nft.address, - data: safeMintTx.data, + value: 0, + data: mintData, }; - let partialUserOp = await smartAccount.buildUserOp([tx1], { - paymasterServiceData: { - mode: PaymasterMode.ERC20, - }, - }); + let partialUserOp = await smartAccount.buildUserOp([tx1]); setEstimatedUserOp(partialUserOp); const biconomyPaymaster = smartAccount.paymaster as IHybridPaymaster; @@ -90,7 +82,7 @@ const MintNftForward: React.FC = () => { }; const makeTx = async () => { - if (!smartAccount || !scwAddress || !signer) return; + if (!smartAccount || !scwAddress || !publicClient) return; if (!selectedQuote) { showErrorMessage("Please select a fee quote"); return; @@ -103,7 +95,7 @@ const MintNftForward: React.FC = () => { estimatedUserOp, { feeQuote: selectedQuote, - spender: spender, + spender: spender as Hex, maxApproval: false, } ); diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index 3fbc349..46699c2 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -1,22 +1,25 @@ import React, { useEffect, useState } from "react"; -import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy/modules"; -import Button from "../Button"; import { useAccount } from "wagmi"; +import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; +import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { configInfo as config, showErrorMessage, showInfoMessage } from "../../utils"; -import { defaultAbiCoder } from "ethers/lib/utils"; -import { getActionForErrorMessage } from "../../utils/error-utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { useEthersSigner } from "../../contexts/ethers"; +import { getActionForErrorMessage } from "../../utils/error-utils"; +import { + configInfo as config, + showErrorMessage, + showInfoMessage, +} from "../../utils"; const CreateSession: React.FC = () => { const classes = useStyles(); const { address } = useAccount(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); + const { accountProvider, scwAddress, smartAccount } = + useSmartAccountContext(); const [loading, setLoading] = useState(false); const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = useState(false); @@ -50,7 +53,7 @@ const CreateSession: React.FC = () => { }, [isSessionKeyModuleEnabled, scwAddress, smartAccount, address]); const createSession = async (enableSessionKeyModule: boolean) => { - if (!scwAddress || !smartAccount || !address) { + if (!scwAddress || !smartAccount || !address || !accountProvider) { showErrorMessage("Please connect wallet first"); return; } @@ -61,50 +64,38 @@ const CreateSession: React.FC = () => { // -----> setMerkle tree tx flow // create dapp side session key - const sessionSigner = ethers.Wallet.createRandom(); - const sessionKeyEOA = await sessionSigner.getAddress(); + const sessionPKey = generatePrivateKey(); + const sessionSigner = privateKeyToAccount(sessionPKey); + const sessionKeyEOA = sessionSigner.address; console.log("sessionKeyEOA", sessionKeyEOA); // Optional: JUST FOR DEMO: update local storage with session key // If you have session key-pair on the client side you can keep using those without making part of any storage - window.localStorage.setItem("sessionPKey", sessionSigner.privateKey); + window.localStorage.setItem("sessionPKey", sessionPKey); // Create an instance of Session Key Manager module from modules package // This module is responsible for below tasks/helpers: // a. Maintain session leaf storage in defined storage client (Biconomy by default using browser local storage which works for front-end apps) // b. Generate dummy signature for userOp estimations - // c. Provides helpers to sign userOpHash with session key in the right format and generate proof for particular leaf + // c. Provides helpers to sign userOpHash with session key in the right format and generate proof for particular leaf const sessionManagerModule = await SessionKeyManagerModule.create({ moduleAddress: sessionKeyManagerModuleAddr, smartAccountAddress: scwAddress, }); - const tokenContract = new ethers.Contract( - config.usdc.address, - config.usdc.abi, - signer - ); - let decimals = 18; - - try { - decimals = await tokenContract.decimals(); - } catch (error) { - throw new Error("invalid token address supplied"); - } - // Cretae session key data // Session key data is always corrsponding to the Session Validation Module being used // It always requires the public address of the session key // Rest of the details depends on the actual permissions - // Here, our ERC20 Session Validation Module verifies ERC20 address, receiver and max amount - // - const sessionKeyData = defaultAbiCoder.encode( - ["address", "address", "address", "uint256"], + // Here, our ERC20 Session Validation Module verifies ERC20 address, receiver and max amount + // + const sessionKeyData = encodeAbiParameters( + parseAbiParameters("address, address, address, uint256"), [ sessionKeyEOA, - config.usdc.address, // erc20 token address + config.usdc.address as Hex, // erc20 token address "0x42138576848E839827585A3539305774D36B9602", // receiver address // You must send to same receiver when making use of the session - ethers.utils.parseUnits("50".toString(), decimals).toHexString(), // 50 usdc amount + parseEther("50", "gwei"), // 50 usdc amount ] ); @@ -112,11 +103,11 @@ const CreateSession: React.FC = () => { // This transaction needs a user signature and for gas sponsorship or ERC20 paymaster can be used. const sessionTxData = await sessionManagerModule.createSessionData([ { - validUntil: 0, // 0 value means extremes - validAfter: 0, // 0 value means extremes + validUntil: 0, // 0 value means extremes + validAfter: 0, // 0 value means extremes sessionValidationModule: erc20SessionValidationModuleAddr, - sessionPublicKey: sessionKeyEOA, - sessionKeyData: sessionKeyData, + sessionPublicKey: sessionKeyEOA as Hex, + sessionKeyData: sessionKeyData as Hex, }, // can optionally enable multiple leaves(sessions) altogether ]); @@ -124,8 +115,9 @@ const CreateSession: React.FC = () => { // tx to set session key const tx2 = { - to: sessionKeyManagerModuleAddr, // session manager module address - data: sessionTxData.data, + target: sessionKeyManagerModuleAddr as Hex, // session manager module address + value: BigInt(0), + data: sessionTxData.data as Hex, }; let transactionArray = []; @@ -134,23 +126,20 @@ const CreateSession: React.FC = () => { const tx1 = await biconomySmartAccount.getEnableModuleData( sessionKeyManagerModuleAddr ); - transactionArray.push(tx1); + transactionArray.push({ + target: tx1.to as Hex, + value: BigInt(0), + data: tx1.data as Hex, + }); } transactionArray.push(tx2); - // Building the user operation - // If you're going to use sponsorship paymaster details can be provided at this step - let partialUserOp = await biconomySmartAccount.buildUserOp( - transactionArray, - { - skipBundlerGasEstimation: false, - } - ); - - // This will send user operation to potentially enable session key manager module and set the session - const userOpResponse = await biconomySmartAccount.sendUserOp( - partialUserOp + let userOpResponse = await accountProvider.sendUserOperations( + transactionArray ); + console.log("userOpHash", userOpResponse); + const { transactionHash } = await userOpResponse.waitForTxHash(); + console.log("txHash", transactionHash); console.log(`userOp Hash: ${userOpResponse.userOpHash}`); const transactionDetails = await userOpResponse.wait(); @@ -192,8 +181,9 @@ const CreateSession: React.FC = () => { ) : (

- This is a single transaction to enable the sesion key manager module and - make a session active on-chain using ERC20 session validation module. + This is a single transaction to enable the sesion key manager module + and make a session active on-chain using ERC20 session validation + module.

- ) : ( -
-

- This is single transaction to enable the sesion manager module and - set merkle root. -

- -
- )} - - ); -}; - -const useStyles = makeStyles(() => ({ - main: { - padding: "10px 40px", - color: "#EEEEEE", - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - h3Title: { - color: "#e6e6e6", - }, -})); - -export default CreateBatchRouter; +export {}; +// import React, { useEffect, useState } from "react"; +// import { ethers } from "ethers"; +// import { makeStyles } from "@mui/styles"; +// import { +// BatchedSessionRouterModule, +// SessionKeyManagerModule, +// } from "@biconomy-devx/modules"; +// import { useAccount } from "wagmi"; +// import Button from "../Button"; +// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +// import { showErrorMessage, showSuccessMessage } from "../../utils"; +// import { defaultAbiCoder } from "ethers/lib/utils"; +// import { getActionForErrorMessage } from "../../utils/error-utils"; +// import { +// DEFAULT_BATCHED_SESSION_ROUTER_MODULE, +// DEFAULT_SESSION_KEY_MANAGER_MODULE, +// } from "@biconomy-devx/modules"; + +// const CreateBatchRouter: React.FC = () => { +// const classes = useStyles(); +// const { address } = useAccount(); +// const { smartAccount, scwAddress } = useSmartAccountContext(); +// const [loading, setLoading] = useState(false); +// const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = +// useState(false); +// const [isBRMenabled, setIsBRMenabled] = useState(false); + +// useEffect(() => { +// let checkSessionModuleEnabled = async () => { +// if (!scwAddress || !smartAccount || !address) { +// setIsSessionKeyModuleEnabled(false); +// return; +// } +// try { +// let biconomySmartAccount = smartAccount; +// const isEnabled1 = await biconomySmartAccount.isModuleEnabled( +// DEFAULT_SESSION_KEY_MANAGER_MODULE +// ); +// setIsSessionKeyModuleEnabled(isEnabled1); +// const isEnabled2 = await biconomySmartAccount.isModuleEnabled( +// DEFAULT_BATCHED_SESSION_ROUTER_MODULE +// ); +// setIsBRMenabled(isEnabled2); +// console.log( +// "isSessionKeyModuleEnabled, setIsBRMenabled", +// isEnabled1, +// isEnabled2 +// ); +// return; +// } catch (err: any) { +// console.error(err); +// setLoading(false); +// showErrorMessage("Error in getting session key module status"); +// setIsSessionKeyModuleEnabled(false); +// return; +// } +// }; +// checkSessionModuleEnabled(); +// }, [isSessionKeyModuleEnabled, scwAddress, smartAccount, address]); + +// const createSession = async (enableModule: boolean) => { +// if (!scwAddress || !smartAccount || !address) { +// showErrorMessage("Please connect wallet first"); +// return; +// } +// try { +// let biconomySmartAccount = smartAccount; +// const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; +// const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; +// const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; +// const mockSessionModuleAddr = +// "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; + +// // -----> setMerkle tree tx flow +// // create dapp side session key +// const sessionSigner = ethers.Wallet.createRandom(); +// const sessionKeyEOA = await sessionSigner.getAddress(); +// console.log("sessionKeyEOA", sessionKeyEOA); +// // BREWARE JUST FOR DEMO: update local storage with session key +// window.localStorage.setItem("sessionPKey", sessionSigner.privateKey); + +// // generate sessionModule +// const sessionModule = await SessionKeyManagerModule.create({ +// moduleAddress: managerModuleAddr, +// smartAccountAddress: scwAddress, +// }); + +// const sessionRouterModule = await BatchedSessionRouterModule.create({ +// moduleAddress: routerModuleAddr, +// sessionKeyManagerModule: sessionModule, +// smartAccountAddress: scwAddress, +// }); + +// // cretae session key data +// const sessionKeyData = defaultAbiCoder.encode( +// ["address", "address", "address", "uint256"], +// [ +// sessionKeyEOA, +// "0xdA5289fCAAF71d52a80A254da614a192b693e977", // erc20 token address +// "0x42138576848E839827585A3539305774D36B9602", // receiver address +// ethers.utils.parseUnits("50".toString(), 6).toHexString(), // 50 usdc amount +// ] +// ); +// /*const sessionKeyData2 = defaultAbiCoder.encode( +// ["address", "address", "address", "uint256"], +// [ +// sessionKeyEOA, +// "0xdA5289fCAAF71d52a80A254da614a192b693e977", // erc20 token address +// "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 +// ethers.utils.parseUnits("100".toString(), 6).toHexString(), +// ] +// );*/ + +// const sessionKeyData2 = defaultAbiCoder.encode( +// ["address"], +// [sessionKeyEOA] +// ); + +// const sessionTxData = await sessionRouterModule.createSessionData([ +// { +// validUntil: 0, +// validAfter: 0, +// sessionValidationModule: erc20ModuleAddr, +// sessionPublicKey: sessionKeyEOA, +// sessionKeyData: sessionKeyData, +// }, +// { +// validUntil: 0, +// validAfter: 0, +// sessionValidationModule: mockSessionModuleAddr, +// sessionPublicKey: sessionKeyEOA, +// sessionKeyData: sessionKeyData2, +// }, +// ]); +// console.log("sessionTxData", sessionTxData); + +// // tx to set session key +// const tx3 = { +// to: managerModuleAddr, // session manager module address +// data: sessionTxData.data, +// }; + +// let transactionArray = []; +// if (!isSessionKeyModuleEnabled) { +// // -----> enableModule session manager module +// const tx1 = await biconomySmartAccount.getEnableModuleData( +// managerModuleAddr +// ); +// transactionArray.push(tx1); +// } +// if (!isBRMenabled) { +// // -----> enableModule batched session router module +// const tx2 = await biconomySmartAccount.getEnableModuleData( +// routerModuleAddr +// ); +// transactionArray.push(tx2); +// } +// transactionArray.push(tx3); +// let partialUserOp = await biconomySmartAccount.buildUserOp( +// transactionArray, +// { +// skipBundlerGasEstimation: false, +// } +// ); + +// const userOpResponse = await smartAccount.sendUserOp(partialUserOp); +// console.log("userOpHash", userOpResponse); +// const { transactionHash } = await userOpResponse.waitForTxHash(); +// console.log("txHash", transactionHash); +// showSuccessMessage( +// `Session Created Successfully ${transactionHash}`, +// transactionHash +// ); + +// // update the session key //enableModule +// /*await sessionRouterModule.updateSessionStatus( +// { +// sessionPublicKey: sessionKeyEOA, +// sessionValidationModule: erc20ModuleAddr, +// }, +// "ACTIVE" +// );*/ +// } catch (err: any) { +// console.error(err); +// setLoading(false); +// const errorAction = getActionForErrorMessage(err.message); +// showErrorMessage( +// errorAction || err.message || "Error in sending the transaction" +// ); +// } +// }; + +// return ( +//
+//

+// Use Cases {"->"} Session {"->"} Create Session +//

+ +//

Create Session Flow

+ +// {isSessionKeyModuleEnabled && isBRMenabled ? ( +//
+//

+// Session Key Manager Module is already enabled ✅. Click on the +// button to create a new session. +//

+ +//
+// ) : ( +//
+//

+// This is single transaction to enable the sesion manager module and +// set merkle root. +//

+ +//
+// )} +//
+// ); +// }; + +// const useStyles = makeStyles(() => ({ +// main: { +// padding: "10px 40px", +// color: "#EEEEEE", +// }, +// subTitle: { +// color: "#FFB999", +// fontSize: 36, +// margin: 0, +// }, +// h3Title: { +// color: "#e6e6e6", +// }, +// })); + +// export default CreateBatchRouter; diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index a5e178b..ad1b9f5 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -1,152 +1,153 @@ -import React, { useState } from "react"; -import { ethers } from "ethers"; -import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy/modules"; - -import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; -import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { - configInfo as config, - showSuccessMessage, - showErrorMessage, -} from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; -import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; - -const ERC20Transfer: React.FC = () => { - const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); - const [loading, setLoading] = useState(false); - - const erc20Transfer = async () => { - if (!scwAddress || !smartAccount || !signer) { - showErrorMessage("Please connect wallet first"); - return; - } - try { - setLoading(true); - let biconomySmartAccount = smartAccount; - const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; - const erc20SessionValidationModuleAddr = ERC20_SESSION_VALIDATION_MODULE; - - // get session key from local storage - const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); - - if (!sessionKeyPrivKey) { - showErrorMessage("Session key not found"); - return; - } - const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); - console.log("sessionSigner", sessionSigner); - - // generate sessionManagerModule - const sessionManagerModule = await SessionKeyManagerModule.create({ - moduleAddress: sessionKeyManagerModuleAddr, - smartAccountAddress: scwAddress, - }); - - // set active module to sessionManagerModule - // This time we will make use of enabled session hence transaction needs to via go through session manager module - // Hence it is set as runtime active module - biconomySmartAccount = - biconomySmartAccount.setActiveValidationModule(sessionManagerModule); - - const tokenContract = new ethers.Contract( - config.usdc.address, - config.usdc.abi, - signer - ); - let decimals = 18; - - try { - decimals = await tokenContract.decimals(); - } catch (error) { - throw new Error("invalid token address supplied"); - } - - const { data } = await tokenContract.populateTransaction.transfer( - "0x42138576848E839827585A3539305774D36B9602", // receiver address // Has to be the same receiver for which session permissions are set - ethers.utils.parseUnits("5".toString(), decimals) - ); - - // generate tx data to erc20 transfer - // NOTE: It can only be used for single transaction and not part of batch calldata - // If you want to make use of batch calldata then you need to use the session router module - const tx1 = { - to: config.usdc.address, //erc20 token address - data: data, - value: "0", - }; - - // build user op - // with calldata to transfer ERC20 tokens - let userOp = await biconomySmartAccount.buildUserOp([tx1], { - skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode - // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) - params: { - sessionSigner: sessionSigner, - sessionValidationModule: erc20SessionValidationModuleAddr, - }, - }); - - // send user operation - const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, - // below params are required for passing on this information to session key manager module to create padded signature - { - sessionSigner: sessionSigner, - sessionValidationModule: erc20SessionValidationModuleAddr, - // optionally can also provide simulationType - simulationType: 'validation_and_execution' - }); - - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); - console.log("txHash", transactionHash); - showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); - setLoading(false); - } catch (err: any) { - console.error(err); - setLoading(false); - showErrorMessage(err.message || "Error in sending the transaction"); - } - }; - - return ( -
-

- Use Cases {"->"} Gasless {"->"} ERC20 Transfer -

- -

ERC20 Transfer via Session Key

- -

- This is an example to transfer ERC20 tokens makin use of enabled session. -

- -
- ); -}; - -const useStyles = makeStyles(() => ({ - main: { - padding: "10px 40px", - color: "#EEEEEE", - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - h3Title: { - color: "#e6e6e6", - }, -})); - -export default ERC20Transfer; +export {}; +// import React, { useState } from "react"; +// import { ethers } from "ethers"; +// import { makeStyles } from "@mui/styles"; +// import { SessionKeyManagerModule } from "@biconomy-devx/modules"; + +// import Button from "../Button"; +// import { useEthersSigner } from "../../contexts/ethers"; +// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +// import { +// configInfo as config, +// showSuccessMessage, +// showErrorMessage, +// } from "../../utils"; +// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +// import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; + +// const ERC20Transfer: React.FC = () => { +// const classes = useStyles(); +// const signer = useEthersSigner(); +// const { smartAccount, scwAddress } = useSmartAccountContext(); +// const [loading, setLoading] = useState(false); + +// const erc20Transfer = async () => { +// if (!scwAddress || !smartAccount || !signer) { +// showErrorMessage("Please connect wallet first"); +// return; +// } +// try { +// setLoading(true); +// let biconomySmartAccount = smartAccount; +// const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; +// const erc20SessionValidationModuleAddr = ERC20_SESSION_VALIDATION_MODULE; + +// // get session key from local storage +// const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + +// if (!sessionKeyPrivKey) { +// showErrorMessage("Session key not found"); +// return; +// } +// const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); +// console.log("sessionSigner", sessionSigner); + +// // generate sessionManagerModule +// const sessionManagerModule = await SessionKeyManagerModule.create({ +// moduleAddress: sessionKeyManagerModuleAddr, +// smartAccountAddress: scwAddress, +// }); + +// // set active module to sessionManagerModule +// // This time we will make use of enabled session hence transaction needs to via go through session manager module +// // Hence it is set as runtime active module +// biconomySmartAccount = +// biconomySmartAccount.setActiveValidationModule(sessionManagerModule); + +// const tokenContract = new ethers.Contract( +// config.usdc.address, +// config.usdc.abi, +// signer +// ); +// let decimals = 18; + +// try { +// decimals = await tokenContract.decimals(); +// } catch (error) { +// throw new Error("invalid token address supplied"); +// } + +// const { data } = await tokenContract.populateTransaction.transfer( +// "0x42138576848E839827585A3539305774D36B9602", // receiver address // Has to be the same receiver for which session permissions are set +// ethers.utils.parseUnits("5".toString(), decimals) +// ); + +// // generate tx data to erc20 transfer +// // NOTE: It can only be used for single transaction and not part of batch calldata +// // If you want to make use of batch calldata then you need to use the session router module +// const tx1 = { +// to: config.usdc.address, //erc20 token address +// data: data, +// value: "0", +// }; + +// // build user op +// // with calldata to transfer ERC20 tokens +// let userOp = await biconomySmartAccount.buildUserOp([tx1], { +// skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode +// // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) +// params: { +// sessionSigner: sessionSigner, +// sessionValidationModule: erc20SessionValidationModuleAddr, +// }, +// }); + +// // send user operation +// const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, +// // below params are required for passing on this information to session key manager module to create padded signature +// { +// sessionSigner: sessionSigner, +// sessionValidationModule: erc20SessionValidationModuleAddr, +// // optionally can also provide simulationType +// simulationType: 'validation_and_execution' +// }); + +// console.log("userOpHash", userOpResponse); +// const { transactionHash } = await userOpResponse.waitForTxHash(); +// console.log("txHash", transactionHash); +// showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); +// setLoading(false); +// } catch (err: any) { +// console.error(err); +// setLoading(false); +// showErrorMessage(err.message || "Error in sending the transaction"); +// } +// }; + +// return ( +//
+//

+// Use Cases {"->"} Gasless {"->"} ERC20 Transfer +//

+ +//

ERC20 Transfer via Session Key

+ +//

+// This is an example to transfer ERC20 tokens makin use of enabled session. +//

+ +//
+// ); +// }; + +// const useStyles = makeStyles(() => ({ +// main: { +// padding: "10px 40px", +// color: "#EEEEEE", +// }, +// subTitle: { +// color: "#FFB999", +// fontSize: 36, +// margin: 0, +// }, +// h3Title: { +// color: "#e6e6e6", +// }, +// })); + +// export default ERC20Transfer; diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index 39273ec..c5c361c 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -1,148 +1,149 @@ -import React, { useState } from "react"; -import { ethers } from "ethers"; -import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy/modules"; - -import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; -import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { - configInfo as config, - showSuccessMessage, - showErrorMessage, -} from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; -import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; - -const HyphenLpUsingSession: React.FC = () => { - const classes = useStyles(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); - const [loading, setLoading] = useState(false); - - const hyphenLpUsingSession = async () => { - if (!scwAddress || !smartAccount || !signer) { - showErrorMessage("Please connect wallet first"); - return; - } - try { - setLoading(true); - let biconomySmartAccount = smartAccount; - const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; - const ccSessionValidationModuleAddr = - CONTRACT_CALL_SESSION_VALIDATION_MODULE; - - // get session key from local storage - const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); - - if (!sessionKeyPrivKey) { - showErrorMessage("Session key not found"); - return; - } - const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); - console.log("sessionSigner", sessionSigner); - - // generate sessionManagerModule - const sessionManagerModule = await SessionKeyManagerModule.create({ - moduleAddress: sessionKeyManagerModuleAddr, - smartAccountAddress: scwAddress, - }); - - // set active module to sessionManagerModule - // This time we will make use of enabled session hence transaction needs to via go through session manager module - // Hence it is set as runtime active module - biconomySmartAccount = - biconomySmartAccount.setActiveValidationModule(sessionManagerModule); - - const hyphenContract = new ethers.Contract( - config.hyphenLP.address, - config.hyphenLP.abi, - signer - ); - - const addLiquidityData = hyphenContract.interface.encodeFunctionData( - "addTokenLiquidity", - [config.usdc.address, ethers.BigNumber.from("1000000")] - ); // 1 USDC (mumbai USDC has 6 decimals) - const tx1 = { - to: config.hyphenLP.address, - data: addLiquidityData, - value: "0", - }; - - // build user op - // with calldata to provide LP - let userOp = await biconomySmartAccount.buildUserOp([tx1], { - skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode - // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) - params: { - sessionSigner: sessionSigner, - sessionValidationModule: ccSessionValidationModuleAddr, - }, - }); - - // send user operation - const userOpResponse = await biconomySmartAccount.sendUserOp( - userOp, - // below params are required for passing on this information to session key manager module to create padded signature - { - sessionSigner: sessionSigner, - sessionValidationModule: ccSessionValidationModuleAddr, - // optionally can also provide simulationType - simulationType: "validation_and_execution", - } - ); - - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); - console.log("txHash", transactionHash); - showSuccessMessage(`LP Deposit ${transactionHash}`, transactionHash); - setLoading(false); - } catch (err: any) { - console.error(err); - setLoading(false); - showErrorMessage(err.message || "Error in sending the transaction"); - } - }; - - return ( -
-

- Use Cases {"->"} Gasless {"->"} Deposit into Hyphen Pool using session - key -

- -

- Deposit into Hyphen Pool via Session Key -

- -

- This is an example to Deposit into Hyphen Pool making use of enabled - session. Requires prior approval from smart account -

- -
- ); -}; - -const useStyles = makeStyles(() => ({ - main: { - padding: "10px 40px", - color: "#EEEEEE", - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - h3Title: { - color: "#e6e6e6", - }, -})); - -export default HyphenLpUsingSession; +export {}; +// import React, { useState } from "react"; +// import { ethers } from "ethers"; +// import { makeStyles } from "@mui/styles"; +// import { SessionKeyManagerModule } from "@biconomy-devx/modules"; + +// import Button from "../Button"; +// import { useEthersSigner } from "../../contexts/ethers"; +// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +// import { +// configInfo as config, +// showSuccessMessage, +// showErrorMessage, +// } from "../../utils"; +// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +// import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; + +// const HyphenLpUsingSession: React.FC = () => { +// const classes = useStyles(); +// const signer = useEthersSigner(); +// const { smartAccount, scwAddress } = useSmartAccountContext(); +// const [loading, setLoading] = useState(false); + +// const hyphenLpUsingSession = async () => { +// if (!scwAddress || !smartAccount || !signer) { +// showErrorMessage("Please connect wallet first"); +// return; +// } +// try { +// setLoading(true); +// let biconomySmartAccount = smartAccount; +// const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; +// const ccSessionValidationModuleAddr = +// CONTRACT_CALL_SESSION_VALIDATION_MODULE; + +// // get session key from local storage +// const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + +// if (!sessionKeyPrivKey) { +// showErrorMessage("Session key not found"); +// return; +// } +// const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); +// console.log("sessionSigner", sessionSigner); + +// // generate sessionManagerModule +// const sessionManagerModule = await SessionKeyManagerModule.create({ +// moduleAddress: sessionKeyManagerModuleAddr, +// smartAccountAddress: scwAddress, +// }); + +// // set active module to sessionManagerModule +// // This time we will make use of enabled session hence transaction needs to via go through session manager module +// // Hence it is set as runtime active module +// biconomySmartAccount = +// biconomySmartAccount.setActiveValidationModule(sessionManagerModule); + +// const hyphenContract = new ethers.Contract( +// config.hyphenLP.address, +// config.hyphenLP.abi, +// signer +// ); + +// const addLiquidityData = hyphenContract.interface.encodeFunctionData( +// "addTokenLiquidity", +// [config.usdc.address, ethers.BigNumber.from("1000000")] +// ); // 1 USDC (mumbai USDC has 6 decimals) +// const tx1 = { +// to: config.hyphenLP.address, +// data: addLiquidityData, +// value: "0", +// }; + +// // build user op +// // with calldata to provide LP +// let userOp = await biconomySmartAccount.buildUserOp([tx1], { +// skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode +// // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) +// params: { +// sessionSigner: sessionSigner, +// sessionValidationModule: ccSessionValidationModuleAddr, +// }, +// }); + +// // send user operation +// const userOpResponse = await biconomySmartAccount.sendUserOp( +// userOp, +// // below params are required for passing on this information to session key manager module to create padded signature +// { +// sessionSigner: sessionSigner, +// sessionValidationModule: ccSessionValidationModuleAddr, +// // optionally can also provide simulationType +// simulationType: "validation_and_execution", +// } +// ); + +// console.log("userOpHash", userOpResponse); +// const { transactionHash } = await userOpResponse.waitForTxHash(); +// console.log("txHash", transactionHash); +// showSuccessMessage(`LP Deposit ${transactionHash}`, transactionHash); +// setLoading(false); +// } catch (err: any) { +// console.error(err); +// setLoading(false); +// showErrorMessage(err.message || "Error in sending the transaction"); +// } +// }; + +// return ( +//
+//

+// Use Cases {"->"} Gasless {"->"} Deposit into Hyphen Pool using session +// key +//

+ +//

+// Deposit into Hyphen Pool via Session Key +//

+ +//

+// This is an example to Deposit into Hyphen Pool making use of enabled +// session. Requires prior approval from smart account +//

+ +//
+// ); +// }; + +// const useStyles = makeStyles(() => ({ +// main: { +// padding: "10px 40px", +// color: "#EEEEEE", +// }, +// subTitle: { +// color: "#FFB999", +// fontSize: 36, +// margin: 0, +// }, +// h3Title: { +// color: "#e6e6e6", +// }, +// })); + +// export default HyphenLpUsingSession; diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 075549e..5807ff5 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -1,191 +1,192 @@ -import React, { useState } from "react"; -import { ethers } from "ethers"; -import { makeStyles } from "@mui/styles"; -import { - BatchedSessionRouterModule, - SessionKeyManagerModule, -} from "@biconomy/modules"; -import Button from "../Button"; -import { useAccount } from "wagmi"; -import { useEthersSigner } from "../../contexts/ethers"; -import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { - configInfo as config, - showSuccessMessage, - showErrorMessage, -} from "../../utils"; -import { - DEFAULT_BATCHED_SESSION_ROUTER_MODULE, - DEFAULT_SESSION_KEY_MANAGER_MODULE, -} from "@biconomy/modules"; - -const ERC20RouterTransfer: React.FC = () => { - const classes = useStyles(); - const { address } = useAccount(); - const signer = useEthersSigner(); - const { smartAccount, scwAddress } = useSmartAccountContext(); - const [loading, setLoading] = useState(false); - - const erc20Transfer = async () => { - if (!scwAddress || !smartAccount || !address) { - showErrorMessage("Please connect wallet first"); - return; - } - try { - setLoading(true); - let biconomySmartAccount = smartAccount; - const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; - const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; - const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; - const mockSessionModuleAddr = - "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; - - // get session key from local storage - const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); - - if (!sessionKeyPrivKey) { - showErrorMessage("Session key not found"); - return; - } - const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); - console.log("sessionSigner", sessionSigner); - - // generate sessionModule - const sessionModule = await SessionKeyManagerModule.create({ - moduleAddress: managerModuleAddr, - smartAccountAddress: scwAddress, - }); - const sessionRouterModule = await BatchedSessionRouterModule.create({ - moduleAddress: routerModuleAddr, - sessionKeyManagerModule: sessionModule, - smartAccountAddress: scwAddress, - }); - - // set active module to sessionRouterModule - biconomySmartAccount = - biconomySmartAccount.setActiveValidationModule(sessionRouterModule); - - // er20 transfer data generation - const tokenContract = new ethers.Contract( - config.usdc.address, - config.usdc.abi, - signer - ); - let decimals = 18; - try { - decimals = await tokenContract.decimals(); - } catch (error) { - throw new Error("invalid token address supplied"); - } - const amountGwei = ethers.utils.parseUnits("5".toString(), decimals); - const data = ( - await tokenContract.populateTransaction.transfer( - "0x42138576848E839827585A3539305774D36B9602", // receiver address - amountGwei - ) - ).data; - const data2 = ( - await tokenContract.populateTransaction.transfer( - "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 - amountGwei - ) - ).data; - // generate tx data to erc20 transfer - const tx1 = { - to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address - data: data, - value: "0", - }; - const tx2 = { - to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address - data: data2, - value: "0", - }; - - // build user op - // build user op - let userOp = await biconomySmartAccount.buildUserOp([tx1, tx2], { - overrides: { - // signature: "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000456b395c4e107e0302553b90d1ef4a32e9000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000db3d753a1da5a6074a9f74f39a0a779d3300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000bfe121a6dcf92c49f6c2ebd4f306ba0ba0ab6f1c000000000000000000000000da5289fcaaf71d52a80a254da614a192b693e97700000000000000000000000042138576848e839827585a3539305774d36b96020000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041feefc797ef9e9d8a6a41266a85ddf5f85c8f2a3d2654b10b415d348b150dabe82d34002240162ed7f6b7ffbc40162b10e62c3e35175975e43659654697caebfe1c00000000000000000000000000000000000000000000000000000000000000" - callGasLimit: 400000, // only if undeployed account - verificationGasLimit: 900000, - }, - skipBundlerGasEstimation: true, - params: { - batchSessionParams: [ - { - sessionSigner: sessionSigner, - // sessionID: "67e910ef2c", // only require session id filter when multiple leafs have same SVM - sessionValidationModule: erc20ModuleAddr, - }, - { - sessionSigner: sessionSigner, - sessionValidationModule: mockSessionModuleAddr, - }, - ], - }, - }); - - // send user op - const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, { - batchSessionParams: [ - { - sessionSigner: sessionSigner, - sessionValidationModule: erc20ModuleAddr, - }, - { - sessionSigner: sessionSigner, - sessionValidationModule: mockSessionModuleAddr, - }, - ], - }); - - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); - console.log("txHash", transactionHash); - showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); - setLoading(false); - } catch (err: any) { - console.error(err); - setLoading(false); - showErrorMessage(err.message || "Error in sending the transaction"); - } - }; - - return ( -
-

- Use Cases {"->"} Gasless {"->"} ERC20 Transfer -

- -

ERC20 Transfer via Session Key

- -

- This is an example gasless transaction to transfer ERC20 tokens. -

- -
- ); -}; - -const useStyles = makeStyles(() => ({ - main: { - padding: "10px 40px", - color: "#EEEEEE", - }, - subTitle: { - color: "#FFB999", - fontSize: 36, - margin: 0, - }, - h3Title: { - color: "#e6e6e6", - }, -})); - -export default ERC20RouterTransfer; +export {}; +// import React, { useState } from "react"; +// import { ethers } from "ethers"; +// import { makeStyles } from "@mui/styles"; +// import { +// BatchedSessionRouterModule, +// SessionKeyManagerModule, +// } from "@biconomy-devx/modules"; +// import Button from "../Button"; +// import { useAccount } from "wagmi"; +// import { useEthersSigner } from "../../contexts/ethers"; +// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +// import { +// configInfo as config, +// showSuccessMessage, +// showErrorMessage, +// } from "../../utils"; +// import { +// DEFAULT_BATCHED_SESSION_ROUTER_MODULE, +// DEFAULT_SESSION_KEY_MANAGER_MODULE, +// } from "@biconomy-devx/modules"; + +// const ERC20RouterTransfer: React.FC = () => { +// const classes = useStyles(); +// const { address } = useAccount(); +// const signer = useEthersSigner(); +// const { smartAccount, scwAddress } = useSmartAccountContext(); +// const [loading, setLoading] = useState(false); + +// const erc20Transfer = async () => { +// if (!scwAddress || !smartAccount || !address) { +// showErrorMessage("Please connect wallet first"); +// return; +// } +// try { +// setLoading(true); +// let biconomySmartAccount = smartAccount; +// const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; +// const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; +// const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; +// const mockSessionModuleAddr = +// "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; + +// // get session key from local storage +// const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + +// if (!sessionKeyPrivKey) { +// showErrorMessage("Session key not found"); +// return; +// } +// const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); +// console.log("sessionSigner", sessionSigner); + +// // generate sessionModule +// const sessionModule = await SessionKeyManagerModule.create({ +// moduleAddress: managerModuleAddr, +// smartAccountAddress: scwAddress, +// }); +// const sessionRouterModule = await BatchedSessionRouterModule.create({ +// moduleAddress: routerModuleAddr, +// sessionKeyManagerModule: sessionModule, +// smartAccountAddress: scwAddress, +// }); + +// // set active module to sessionRouterModule +// biconomySmartAccount = +// biconomySmartAccount.setActiveValidationModule(sessionRouterModule); + +// // er20 transfer data generation +// const tokenContract = new ethers.Contract( +// config.usdc.address, +// config.usdc.abi, +// signer +// ); +// let decimals = 18; +// try { +// decimals = await tokenContract.decimals(); +// } catch (error) { +// throw new Error("invalid token address supplied"); +// } +// const amountGwei = ethers.utils.parseUnits("5".toString(), decimals); +// const data = ( +// await tokenContract.populateTransaction.transfer( +// "0x42138576848E839827585A3539305774D36B9602", // receiver address +// amountGwei +// ) +// ).data; +// const data2 = ( +// await tokenContract.populateTransaction.transfer( +// "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 +// amountGwei +// ) +// ).data; +// // generate tx data to erc20 transfer +// const tx1 = { +// to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address +// data: data, +// value: "0", +// }; +// const tx2 = { +// to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address +// data: data2, +// value: "0", +// }; + +// // build user op +// // build user op +// let userOp = await biconomySmartAccount.buildUserOp([tx1, tx2], { +// overrides: { +// // signature: "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000456b395c4e107e0302553b90d1ef4a32e9000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000db3d753a1da5a6074a9f74f39a0a779d3300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000bfe121a6dcf92c49f6c2ebd4f306ba0ba0ab6f1c000000000000000000000000da5289fcaaf71d52a80a254da614a192b693e97700000000000000000000000042138576848e839827585a3539305774d36b96020000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041feefc797ef9e9d8a6a41266a85ddf5f85c8f2a3d2654b10b415d348b150dabe82d34002240162ed7f6b7ffbc40162b10e62c3e35175975e43659654697caebfe1c00000000000000000000000000000000000000000000000000000000000000" +// callGasLimit: 400000, // only if undeployed account +// verificationGasLimit: 900000, +// }, +// skipBundlerGasEstimation: true, +// params: { +// batchSessionParams: [ +// { +// sessionSigner: sessionSigner, +// // sessionID: "67e910ef2c", // only require session id filter when multiple leafs have same SVM +// sessionValidationModule: erc20ModuleAddr, +// }, +// { +// sessionSigner: sessionSigner, +// sessionValidationModule: mockSessionModuleAddr, +// }, +// ], +// }, +// }); + +// // send user op +// const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, { +// batchSessionParams: [ +// { +// sessionSigner: sessionSigner, +// sessionValidationModule: erc20ModuleAddr, +// }, +// { +// sessionSigner: sessionSigner, +// sessionValidationModule: mockSessionModuleAddr, +// }, +// ], +// }); + +// console.log("userOpHash", userOpResponse); +// const { transactionHash } = await userOpResponse.waitForTxHash(); +// console.log("txHash", transactionHash); +// showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); +// setLoading(false); +// } catch (err: any) { +// console.error(err); +// setLoading(false); +// showErrorMessage(err.message || "Error in sending the transaction"); +// } +// }; + +// return ( +//
+//

+// Use Cases {"->"} Gasless {"->"} ERC20 Transfer +//

+ +//

ERC20 Transfer via Session Key

+ +//

+// This is an example gasless transaction to transfer ERC20 tokens. +//

+ +//
+// ); +// }; + +// const useStyles = makeStyles(() => ({ +// main: { +// padding: "10px 40px", +// color: "#EEEEEE", +// }, +// subTitle: { +// color: "#FFB999", +// fontSize: 36, +// margin: 0, +// }, +// h3Title: { +// color: "#e6e6e6", +// }, +// })); + +// export default ERC20RouterTransfer; diff --git a/src/components/Onboarding/index.tsx b/src/components/Onboarding/index.tsx index ca458fc..95ec207 100644 --- a/src/components/Onboarding/index.tsx +++ b/src/components/Onboarding/index.tsx @@ -77,7 +77,7 @@ const Onboarding: React.FC = ({ setValue }) => { useEffect(() => { const isDeployed = async () => { setLoading(true); - const dep = await smartAccount?.isAccountDeployed(scwAddress); + const dep = await smartAccount?.isAccountDeployed(); console.log("isDeployed", dep); if (dep) setisScwDeployed(true); setLoading(false); diff --git a/src/components/TabsBody.tsx b/src/components/TabsBody.tsx index 3b9f940..88d597e 100644 --- a/src/components/TabsBody.tsx +++ b/src/components/TabsBody.tsx @@ -39,10 +39,10 @@ import ForwardFlow from "./Forward"; import MintNftForward from "./Forward/MintNft"; import BatchLiquidityForward from "./Forward/BatchLiquidity"; // import CreateSession from "./Modules/CreateSession"; -import CreateCustomSession from "./Modules/CreateSessionForCustomSVM"; -import SessionFlow from "./Modules"; +// import CreateCustomSession from "./Modules/CreateSessionForCustomSVM"; +// import SessionFlow from "./Modules"; // import ERC20Transfer from "./Modules/ERC20TransferUsingSession"; -import HyphenLpUsingSession from "./Modules/HyphenLpUsingSession"; +// import HyphenLpUsingSession from "./Modules/HyphenLpUsingSession"; // import CreateBatchRouter from "./Modules/CreateSessionsWithBatchRouter"; // import ERC20RouterTransfer from "./Modules/UseSessionsBatch"; @@ -426,17 +426,17 @@ const TabsBody = ({ loading }: { loading: boolean }) => { - + /> */} - + {/* */} - + {/* */} ); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index 918cb0b..590cd02 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,63 +1,52 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; import { + BiconomyAccountProvider, BiconomySmartAccountV2, DEFAULT_ENTRYPOINT_ADDRESS, -} from "@biconomy/account"; -import { BiconomyPaymaster } from "@biconomy/paymaster"; -import { useAccount } from 'wagmi' +} from "@biconomy-devx/account"; +import { BiconomyPaymaster } from "@biconomy-devx/paymaster"; +import { useAccount, useWalletClient } from "wagmi"; import { activeChainId, bundlerUrl, paymasterApi } from "../utils/chainConfig"; -import { Bundler } from "@biconomy/bundler"; -import { MultiChainValidationModule } from "@biconomy/modules"; -import { useEthersSigner } from './ethers' +import { Bundler } from "@biconomy-devx/bundler"; +import { MultiChainValidationModule } from "@biconomy-devx/modules"; +import { WalletClientSigner } from "@alchemy/aa-core"; +import { polygonMumbai } from "viem/chains"; +// import { useEthersSigner } from './ethers' // Types -type Balance = { - totalBalanceInUsd: number; - alltokenBalances: any[]; -}; type smartAccountContextType = { smartAccount: BiconomySmartAccountV2 | null; + accountProvider: BiconomyAccountProvider | null; scwAddress: string; - balance: Balance; loading: boolean; - isFetchingBalance: boolean; getSmartAccount: () => void; - getSmartAccountBalance: () => void; }; // Context export const SmartAccountContext = React.createContext( { smartAccount: null, + accountProvider: null, scwAddress: "", - balance: { - totalBalanceInUsd: 0, - alltokenBalances: [], - }, loading: false, - isFetchingBalance: false, getSmartAccount: () => 0, - getSmartAccountBalance: () => 0, } ); export const useSmartAccountContext = () => useContext(SmartAccountContext); // Provider export const SmartAccountProvider = ({ children }: any) => { - const { address } = useAccount() - const signer = useEthersSigner() + const { address } = useAccount(); + const { data: walletClient } = useWalletClient(); const [smartAccount, setSmartAccount] = useState(null); + const [accountProvider, setAccountProvider] = + useState(null); const [scwAddress, setScwAddress] = useState(""); - const [balance, setBalance] = useState({ - totalBalanceInUsd: 0, - alltokenBalances: [], - }); - const [isFetchingBalance, setIsFetchingBalance] = useState(false); const [loading, setLoading] = useState(false); const getSmartAccount = useCallback(async () => { - if (!signer || !address) return "Wallet not connected"; + if (!walletClient || !address) return "Wallet not connected"; try { setLoading(true); @@ -70,6 +59,7 @@ export const SmartAccountProvider = ({ children }: any) => { const paymaster = new BiconomyPaymaster({ paymasterUrl: paymasterApi, }); + let signer = new WalletClientSigner(walletClient, "json-rpc"); // create multiChainModule const multiChainModule = await MultiChainValidationModule.create({ signer: signer, @@ -83,50 +73,23 @@ export const SmartAccountProvider = ({ children }: any) => { defaultValidationModule: multiChainModule, activeValidationModule: multiChainModule, }); - wallet = await wallet.init(); - console.log("biconomyAccount", wallet); - const scw = await wallet.getAccountAddress(); setSmartAccount(wallet); - setScwAddress(scw); - setLoading(false); - } catch (error: any) { - setLoading(false); - console.error(error); - } - }, [signer, address]); - const getSmartAccountBalance = async () => { - if (!signer || !address) return "Wallet not connected"; - if (!smartAccount) return "Smart Account not initialized"; + const scw = await wallet.getAccountAddress(); + setScwAddress(scw); - try { - setIsFetchingBalance(true); - // ethAdapter could be used like this - // const bal = await smartAccount.ethersAdapter().getBalance(state.address); - const balanceParams = { - chainId: activeChainId, - address: await smartAccount.getAccountAddress(), - tokenAddresses: [], - }; - const balFromSdk = await smartAccount.getAllTokenBalances(balanceParams); - console.info("getAlltokenBalances", balFromSdk); + const smartAccountProvider = new BiconomyAccountProvider({ + rpcProvider: polygonMumbai.rpcUrls.default.http[0], + chain: polygonMumbai, + }).connect((_rpcClient: any) => wallet); + setAccountProvider(smartAccountProvider); - const usdBalFromSdk = await smartAccount.getTotalBalanceInUsd( - balanceParams - ); - console.info("getTotalBalanceInUsd", usdBalFromSdk); - setBalance({ - totalBalanceInUsd: usdBalFromSdk.data.totalBalance, - alltokenBalances: balFromSdk.data, - }); - setIsFetchingBalance(false); - return ""; + setLoading(false); } catch (error: any) { - setIsFetchingBalance(false); + setLoading(false); console.error(error); - return error.message; } - }; + }, [walletClient, address]); useEffect(() => { getSmartAccount(); @@ -137,11 +100,9 @@ export const SmartAccountProvider = ({ children }: any) => { value={{ scwAddress, smartAccount, - balance, loading, - isFetchingBalance, getSmartAccount, - getSmartAccountBalance, + accountProvider, }} > {children} diff --git a/src/index.tsx b/src/index.tsx index d6754e9..26c3187 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -3,7 +3,7 @@ import { ThemeProvider } from "@mui/styles"; import "react-toastify/dist/ReactToastify.css"; import "@rainbow-me/rainbowkit/styles.css"; import { getDefaultWallets, RainbowKitProvider } from "@rainbow-me/rainbowkit"; -import { configureChains, createConfig, WagmiConfig } from "wagmi"; +import { configureChains, createConfig, WagmiConfig } from 'wagmi'; import { polygonMumbai, polygon } from "wagmi/chains"; import { publicProvider } from "wagmi/providers/public"; import { SmartAccountProvider } from "./contexts/SmartAccountContext"; diff --git a/yarn.lock b/yarn.lock index cdea771..346bc51 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7,32 +7,31 @@ resolved "https://registry.yarnpkg.com/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz#bd9154aec9983f77b3a034ecaa015c2e4201f6cf" integrity sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA== -"@account-abstraction/contracts@^0.4.0": - version "0.4.0" - resolved "https://registry.yarnpkg.com/@account-abstraction/contracts/-/contracts-0.4.0.tgz#2854e4eb7c3c48a0c6ac167ff3bdd0a1ee4816f0" - integrity sha512-gj8231zGnvyhMhU2Ek/szS2Yg6Km9dcSj994g3YsMPxfIRUhXlr6cP0Qae+emS+MAS5s5PCM5C/WpgnZEpvpMA== - -"@account-abstraction/contracts@^0.6.0": - version "0.6.0" - resolved "https://registry.yarnpkg.com/@account-abstraction/contracts/-/contracts-0.6.0.tgz#7188a01839999226e6b2796328af338329543b76" - integrity sha512-8ooRJuR7XzohMDM4MV34I12Ci2bmxfE9+cixakRL7lA4BAwJKQ3ahvd8FbJa9kiwkUPCUNtj+/zxDQWYYalLMQ== - -"@account-abstraction/utils@^0.4.0": - version "0.4.0" - resolved "https://registry.yarnpkg.com/@account-abstraction/utils/-/utils-0.4.0.tgz#0361791372797fd201c9d8e74c52dfe22565a856" - integrity sha512-xQ5OV+N8aKmGfNB6ifzDfp/4prZMMRwAXSkgPjnlphCe2D9lNV9008qc5oY7AO1xkBcT0do/S/j77bvRIuYJ5g== - dependencies: - "@account-abstraction/contracts" "^0.4.0" - "@ethersproject/abi" "^5.7.0" - "@ethersproject/providers" "^5.7.0" - "@openzeppelin/contracts" "^4.7.3" - ethers "^5.7.0" - "@adraffy/ens-normalize@1.10.0": version "1.10.0" resolved "https://registry.yarnpkg.com/@adraffy/ens-normalize/-/ens-normalize-1.10.0.tgz#d2a39395c587e092d77cbbc80acf956a54f38bf7" integrity sha512-nA9XHtlAkYfJxY7bce8DcN7eKxWWCWkU+1GR9d+U6MbNpfwQp8TI7vqOsBsMcHoT4mBu2kypKoSKnghEzOOq5Q== +"@alchemy/aa-core@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-1.2.2.tgz#a9bf45735e461dcfc4aa182c0fea7594866f0aa7" + integrity sha512-0Cftq6TdbvZHJjkdewMr+LufGKTJlAuz3dY3sbt11PUXNX8iv831uVzEtXzK0YZEkuWUcoil/gWfRSnAgpoUpQ== + dependencies: + abitype "^0.8.3" + eventemitter3 "^5.0.1" + viem "^1.16.2" + zod "^3.22.4" + +"@alchemy/aa-core@^1.2.2": + version "1.2.4" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-1.2.4.tgz#a224b04d82a51c4a3ccd258caf4433dfc6079420" + integrity sha512-Qj9N1V+X3LvFWAgdMV1FoLV+ZNqy8v5j/pjbNecvloDVadNSm4R//3YPjmfYOvSARjvubWzw+BGVRtyUvunKDQ== + dependencies: + abitype "^0.8.3" + eventemitter3 "^5.0.1" + viem "^1.21.4" + zod "^3.22.4" + "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -63,26 +62,26 @@ "@babel/highlight" "^7.23.4" chalk "^2.4.2" -"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.22.9", "@babel/compat-data@^7.23.3", "@babel/compat-data@^7.23.5": +"@babel/compat-data@^7.22.6", "@babel/compat-data@^7.23.3", "@babel/compat-data@^7.23.5": version "7.23.5" resolved "https://registry.yarnpkg.com/@babel/compat-data/-/compat-data-7.23.5.tgz#ffb878728bb6bdcb6f4510aa51b1be9afb8cfd98" integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== "@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.16.0", "@babel/core@^7.7.2", "@babel/core@^7.8.0": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.5.tgz#6e23f2acbcb77ad283c5ed141f824fd9f70101c7" - integrity sha512-Cwc2XjUrG4ilcfOw4wBAK+enbdgwAcAJCfGUItPBKR7Mjw4aEfAFYrLxeRp4jWgtNIKn3n2AlBOfwwafl+42/g== + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.7.tgz#4d8016e06a14b5f92530a13ed0561730b5c6483f" + integrity sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.5" - "@babel/helper-compilation-targets" "^7.22.15" + "@babel/generator" "^7.23.6" + "@babel/helper-compilation-targets" "^7.23.6" "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.23.5" - "@babel/parser" "^7.23.5" + "@babel/helpers" "^7.23.7" + "@babel/parser" "^7.23.6" "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.5" - "@babel/types" "^7.23.5" + "@babel/traverse" "^7.23.7" + "@babel/types" "^7.23.6" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -98,12 +97,12 @@ eslint-visitor-keys "^2.1.0" semver "^6.3.1" -"@babel/generator@^7.23.5", "@babel/generator@^7.7.2": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.5.tgz#17d0a1ea6b62f351d281350a5f80b87a810c4755" - integrity sha512-BPssCHrBD+0YrxviOa3QzpqwhNIXKEtOa2jQrm4FlmkC2apYgRnQcmPWiGZDlGxiNtltnUFolMe8497Esry+jA== +"@babel/generator@^7.23.6", "@babel/generator@^7.7.2": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/generator/-/generator-7.23.6.tgz#9e1fca4811c77a10580d17d26b57b036133f3c2e" + integrity sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw== dependencies: - "@babel/types" "^7.23.5" + "@babel/types" "^7.23.6" "@jridgewell/gen-mapping" "^0.3.2" "@jridgewell/trace-mapping" "^0.3.17" jsesc "^2.5.1" @@ -122,21 +121,21 @@ dependencies: "@babel/types" "^7.22.15" -"@babel/helper-compilation-targets@^7.22.15", "@babel/helper-compilation-targets@^7.22.6": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.22.15.tgz#0698fc44551a26cf29f18d4662d5bf545a6cfc52" - integrity sha512-y6EEzULok0Qvz8yyLkCvVX+02ic+By2UdOhylwUOvOn9dvYc9mKICJuuU1n1XBI02YWsNsnrY1kc6DVbjcXbtw== +"@babel/helper-compilation-targets@^7.22.15", "@babel/helper-compilation-targets@^7.22.6", "@babel/helper-compilation-targets@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/helper-compilation-targets/-/helper-compilation-targets-7.23.6.tgz#4d79069b16cbcf1461289eccfbbd81501ae39991" + integrity sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ== dependencies: - "@babel/compat-data" "^7.22.9" - "@babel/helper-validator-option" "^7.22.15" - browserslist "^4.21.9" + "@babel/compat-data" "^7.23.5" + "@babel/helper-validator-option" "^7.23.5" + browserslist "^4.22.2" lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.22.15", "@babel/helper-create-class-features-plugin@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.5.tgz#2a8792357008ae9ce8c0f2b78b9f646ac96b314b" - integrity sha512-QELlRWxSpgdwdJzSJn4WAhKC+hvw/AtHbbrIoncKHkhKKR/luAlKkgBDcri1EzWAo8f8VvYVryEHN4tax/V67A== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.22.15", "@babel/helper-create-class-features-plugin@^7.23.6", "@babel/helper-create-class-features-plugin@^7.23.7": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.7.tgz#b2e6826e0e20d337143655198b79d58fdc9bd43d" + integrity sha512-xCoqR/8+BoNnXOY7RVSgv6X+o7pmT5q1d+gGcRlXYkI+9B31glE4jeejhKVpA04O1AtzOt7OSQ6VYKP5FcRl9g== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" "@babel/helper-environment-visitor" "^7.22.20" @@ -157,10 +156,10 @@ regexpu-core "^5.3.1" semver "^6.3.1" -"@babel/helper-define-polyfill-provider@^0.4.3": - version "0.4.3" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.3.tgz#a71c10f7146d809f4a256c373f462d9bba8cf6ba" - integrity sha512-WBrLmuPP47n7PNwsZ57pqam6G/RGo1vw/87b0Blc53tZNGZ4x7YvZ6HgQe2vo1W/FR20OgjeZuGXzudPiXHFug== +"@babel/helper-define-polyfill-provider@^0.4.4": + version "0.4.4" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.4.tgz#64df615451cb30e94b59a9696022cffac9a10088" + integrity sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA== dependencies: "@babel/helper-compilation-targets" "^7.22.6" "@babel/helper-plugin-utils" "^7.22.5" @@ -288,14 +287,14 @@ "@babel/template" "^7.22.15" "@babel/types" "^7.22.19" -"@babel/helpers@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.5.tgz#52f522840df8f1a848d06ea6a79b79eefa72401e" - integrity sha512-oO7us8FzTEsG3U6ag9MfdF1iA/7Z6dz+MtFhifZk8C8o453rGJFFWUP1t+ULM9TUIAzC9uxXEiXjOiVMyd7QPg== +"@babel/helpers@^7.23.7": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.8.tgz#fc6b2d65b16847fd50adddbd4232c76378959e34" + integrity sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ== dependencies: "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.5" - "@babel/types" "^7.23.5" + "@babel/traverse" "^7.23.7" + "@babel/types" "^7.23.6" "@babel/highlight@^7.23.4": version "7.23.4" @@ -306,10 +305,10 @@ chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.5.tgz#37dee97c4752af148e1d38c34b856b2507660563" - integrity sha512-hOOqoiNXrmGdFbhgCzu6GiURxUgM27Xwd/aPuu8RfHEZPBzL1Z54okAHAQjXfcQNwvrlkAmAp4SlRTZ45vlthQ== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.6.tgz#ba1c9e512bda72a47e285ae42aff9d2a635a9e3b" + integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.23.3": version "7.23.3" @@ -327,10 +326,10 @@ "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" "@babel/plugin-transform-optional-chaining" "^7.23.3" -"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.23.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.23.3.tgz#20c60d4639d18f7da8602548512e9d3a4c8d7098" - integrity sha512-XaJak1qcityzrX0/IU5nKHb34VaibwP3saKqG6a/tppelgllOH13LUann4ZCIBcVOeE6H18K4Vx9QKkVww3z/w== +"@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly@^7.23.7": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly/-/plugin-bugfix-v8-static-class-fields-redefine-readonly-7.23.7.tgz#516462a95d10a9618f197d39ad291a9b47ae1d7b" + integrity sha512-LlRT7HgaifEpQA1ZgLVOIJZZFVPWN5iReq/7/JixwBtwcoeVGDBD53ZV28rrsLYOZs1Y/EHhA8N/Z6aazHR8cw== dependencies: "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-plugin-utils" "^7.22.5" @@ -344,14 +343,12 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-decorators@^7.16.4": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.23.5.tgz#eeaa49d0dc9229aec4d23378653738cdc5a3ea0a" - integrity sha512-6IsY8jOeWibsengGlWIezp7cuZEFzNlAghFpzh9wiZwhQ42/hRcPnY/QV9HJoKTlujupinSlnQPiEy/u2C1ZfQ== + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.23.7.tgz#1d827902cbd3d9054e54fb2f2056cdd1eaa0e368" + integrity sha512-b1s5JyeMvqj7d9m9KhJNHKc18gEJiSyVzVX3bwbiPalQBQpuvfPh6lA9F7Kk/dWH0TIiXRpB9yicwijY6buPng== dependencies: - "@babel/helper-create-class-features-plugin" "^7.23.5" + "@babel/helper-create-class-features-plugin" "^7.23.7" "@babel/helper-plugin-utils" "^7.22.5" - "@babel/helper-replace-supers" "^7.22.20" - "@babel/helper-split-export-declaration" "^7.22.6" "@babel/plugin-syntax-decorators" "^7.23.3" "@babel/plugin-proposal-nullish-coalescing-operator@^7.16.0": @@ -561,10 +558,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-async-generator-functions@^7.23.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.4.tgz#93ac8e3531f347fba519b4703f9ff2a75c6ae27a" - integrity sha512-efdkfPhHYTtn0G6n2ddrESE91fgXxjlqLsnUtPWnJs4a4mZIbUaK7ffqKIIUKXSHwcDvaCVX6GXkaJJFqtX7jw== +"@babel/plugin-transform-async-generator-functions@^7.23.7": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.7.tgz#3aa0b4f2fa3788b5226ef9346cf6d16ec61f99cd" + integrity sha512-PdxEpL71bJp1byMG0va5gwQcXHxuEYC/BgI/e88mGTtohbZN28O5Yit0Plkkm/dBzCF/BxmbNcses1RH1T+urA== dependencies: "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-plugin-utils" "^7.22.5" @@ -611,16 +608,15 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-class-static-block" "^7.14.5" -"@babel/plugin-transform-classes@^7.23.5": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.5.tgz#e7a75f815e0c534cc4c9a39c56636c84fc0d64f2" - integrity sha512-jvOTR4nicqYC9yzOHIhXG5emiFEOpappSJAl73SDSEDcybD+Puuze8Tnpb9p9qEyYup24tq891gkaygIFvWDqg== +"@babel/plugin-transform-classes@^7.23.8": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-classes/-/plugin-transform-classes-7.23.8.tgz#d08ae096c240347badd68cdf1b6d1624a6435d92" + integrity sha512-yAYslGsY1bX6Knmg46RjiCiNSwJKv2IUC8qOdYKqMMr0491SXFhcHqOdRDeCRohOOIzwN/90C6mQ9qAKgrP7dg== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-compilation-targets" "^7.23.6" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" - "@babel/helper-optimise-call-expression" "^7.22.5" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-replace-supers" "^7.22.20" "@babel/helper-split-export-declaration" "^7.22.6" @@ -688,12 +684,13 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-flow" "^7.23.3" -"@babel/plugin-transform-for-of@^7.23.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.3.tgz#afe115ff0fbce735e02868d41489093c63e15559" - integrity sha512-X8jSm8X1CMwxmK878qsUGJRmbysKNbdpTv/O1/v0LuY/ZkZrng5WYiekYSdg9m09OTmDDUWeEDsTE+17WYbAZw== +"@babel/plugin-transform-for-of@^7.23.6": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.23.6.tgz#81c37e24171b37b370ba6aaffa7ac86bcb46f94e" + integrity sha512-aYH4ytZ0qSuBbpfhuofbg/e96oQ7U2w1Aw/UQmKT+1l39uEhUPoFS3fHevDc1G0OvewyDudfMKY1OulczHzWIw== dependencies: "@babel/helper-plugin-utils" "^7.22.5" + "@babel/helper-skip-transparent-expression-wrappers" "^7.22.5" "@babel/plugin-transform-function-name@^7.23.3": version "7.23.3" @@ -924,15 +921,15 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-runtime@^7.16.4": - version "7.23.4" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.4.tgz#5132b388580002fc5cb7c84eccfb968acdc231cb" - integrity sha512-ITwqpb6V4btwUG0YJR82o2QvmWrLgDnx/p2A3CTPYGaRgULkDiC0DRA2C4jlRB9uXGUEfaSS/IGHfVW+ohzYDw== + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.7.tgz#52bbd20054855beb9deae3bee9ceb05289c343e6" + integrity sha512-fa0hnfmiXc9fq/weK34MUV0drz2pOL/vfKWvN7Qw127hiUPabFCUMgAbYWcchRzMJit4o5ARsK/s+5h0249pLw== dependencies: "@babel/helper-module-imports" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" - babel-plugin-polyfill-corejs2 "^0.4.6" - babel-plugin-polyfill-corejs3 "^0.8.5" - babel-plugin-polyfill-regenerator "^0.5.3" + babel-plugin-polyfill-corejs2 "^0.4.7" + babel-plugin-polyfill-corejs3 "^0.8.7" + babel-plugin-polyfill-regenerator "^0.5.4" semver "^6.3.1" "@babel/plugin-transform-shorthand-properties@^7.23.3": @@ -972,12 +969,12 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-typescript@^7.23.3": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.5.tgz#83da13ef62a1ebddf2872487527094b31c9adb84" - integrity sha512-2fMkXEJkrmwgu2Bsv1Saxgj30IXZdJ+84lQcKKI7sm719oXs0BBw2ZENKdJdR1PjWndgLCEBNXJOri0fk7RYQA== + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.23.6.tgz#aa36a94e5da8d94339ae3a4e22d40ed287feb34c" + integrity sha512-6cBG5mBvUu4VUD04OHKnYzbuHNP8huDsD3EDqqpIpsswTDoqHCjLoHb6+QgsV1WsT2nipRqCPgxD3LXnEO7XfA== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" - "@babel/helper-create-class-features-plugin" "^7.23.5" + "@babel/helper-create-class-features-plugin" "^7.23.6" "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-typescript" "^7.23.3" @@ -1013,17 +1010,17 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/preset-env@^7.11.0", "@babel/preset-env@^7.12.1", "@babel/preset-env@^7.16.4": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.23.5.tgz#350a3aedfa9f119ad045b068886457e895ba0ca1" - integrity sha512-0d/uxVD6tFGWXGDSfyMD1p2otoaKmu6+GD+NfAx0tMaH+dxORnp7T9TaVQ6mKyya7iBtCIVxHjWT7MuzzM9z+A== + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.23.8.tgz#7d6f8171ea7c221ecd28059e65ad37c20e441e3e" + integrity sha512-lFlpmkApLkEP6woIKprO6DO60RImpatTQKtz4sUcDjVcK8M8mQ4sZsuxaTMNOZf0sqAq/ReYW1ZBHnOQwKpLWA== dependencies: "@babel/compat-data" "^7.23.5" - "@babel/helper-compilation-targets" "^7.22.15" + "@babel/helper-compilation-targets" "^7.23.6" "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-validator-option" "^7.23.5" "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression" "^7.23.3" "@babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining" "^7.23.3" - "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.23.3" + "@babel/plugin-bugfix-v8-static-class-fields-redefine-readonly" "^7.23.7" "@babel/plugin-proposal-private-property-in-object" "7.21.0-placeholder-for-preset-env.2" "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-class-properties" "^7.12.13" @@ -1044,13 +1041,13 @@ "@babel/plugin-syntax-top-level-await" "^7.14.5" "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" "@babel/plugin-transform-arrow-functions" "^7.23.3" - "@babel/plugin-transform-async-generator-functions" "^7.23.4" + "@babel/plugin-transform-async-generator-functions" "^7.23.7" "@babel/plugin-transform-async-to-generator" "^7.23.3" "@babel/plugin-transform-block-scoped-functions" "^7.23.3" "@babel/plugin-transform-block-scoping" "^7.23.4" "@babel/plugin-transform-class-properties" "^7.23.3" "@babel/plugin-transform-class-static-block" "^7.23.4" - "@babel/plugin-transform-classes" "^7.23.5" + "@babel/plugin-transform-classes" "^7.23.8" "@babel/plugin-transform-computed-properties" "^7.23.3" "@babel/plugin-transform-destructuring" "^7.23.3" "@babel/plugin-transform-dotall-regex" "^7.23.3" @@ -1058,7 +1055,7 @@ "@babel/plugin-transform-dynamic-import" "^7.23.4" "@babel/plugin-transform-exponentiation-operator" "^7.23.3" "@babel/plugin-transform-export-namespace-from" "^7.23.4" - "@babel/plugin-transform-for-of" "^7.23.3" + "@babel/plugin-transform-for-of" "^7.23.6" "@babel/plugin-transform-function-name" "^7.23.3" "@babel/plugin-transform-json-strings" "^7.23.4" "@babel/plugin-transform-literals" "^7.23.3" @@ -1092,9 +1089,9 @@ "@babel/plugin-transform-unicode-regex" "^7.23.3" "@babel/plugin-transform-unicode-sets-regex" "^7.23.3" "@babel/preset-modules" "0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2 "^0.4.6" - babel-plugin-polyfill-corejs3 "^0.8.5" - babel-plugin-polyfill-regenerator "^0.5.3" + babel-plugin-polyfill-corejs2 "^0.4.7" + babel-plugin-polyfill-corejs3 "^0.8.7" + babel-plugin-polyfill-regenerator "^0.5.4" core-js-compat "^3.31.0" semver "^6.3.1" @@ -1135,10 +1132,10 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.21.0", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.5.tgz#11edb98f8aeec529b82b211028177679144242db" - integrity sha512-NdUTHcPe4C99WxPub+K9l9tK5/lV4UXIoaHSYgzco9BCyjKAAwzdBI+wWtYqHt7LJdbo74ZjRPJgzVweq1sz0w== +"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.23.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": + version "7.23.8" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.8.tgz#8ee6fe1ac47add7122902f257b8ddf55c898f650" + integrity sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw== dependencies: regenerator-runtime "^0.14.0" @@ -1151,26 +1148,26 @@ "@babel/parser" "^7.22.15" "@babel/types" "^7.22.15" -"@babel/traverse@^7.23.5", "@babel/traverse@^7.7.2": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.5.tgz#f546bf9aba9ef2b042c0e00d245990c15508e7ec" - integrity sha512-czx7Xy5a6sapWWRx61m1Ke1Ra4vczu1mCTtJam5zRTBOonfdJ+S/B6HYmGYu3fJtr8GGET3si6IhgWVBhJ/m8w== +"@babel/traverse@^7.23.7", "@babel/traverse@^7.7.2": + version "7.23.7" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.7.tgz#9a7bf285c928cb99b5ead19c3b1ce5b310c9c305" + integrity sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg== dependencies: "@babel/code-frame" "^7.23.5" - "@babel/generator" "^7.23.5" + "@babel/generator" "^7.23.6" "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.5" - "@babel/types" "^7.23.5" - debug "^4.1.0" + "@babel/parser" "^7.23.6" + "@babel/types" "^7.23.6" + debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.12.6", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.5", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.23.5" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.5.tgz#48d730a00c95109fa4393352705954d74fb5b602" - integrity sha512-ON5kSOJwVO6xXVRTvOI0eOnWe7VdUcIpsovGo9U/Br4Ie4UVFQTboO2cYnDhAGU6Fp+UxSiT+pMft0SMHfuq6w== +"@babel/types@^7.0.0", "@babel/types@^7.12.6", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.23.6" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd" + integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== dependencies: "@babel/helper-string-parser" "^7.23.4" "@babel/helper-validator-identifier" "^7.22.20" @@ -1181,110 +1178,43 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account-contracts-v2@npm:@biconomy-devx/account-contracts-v2@^1.0.0": - version "1.0.1" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account-contracts-v2/-/account-contracts-v2-1.0.1.tgz#12365978fb703ff71d57c2c98a2c307c6ff08197" - integrity sha512-7F4d7JL0zU5rHAMAW9j587/CdY0R4X1wBnmNNedx/d5OoEmNsquT1n+BK1QzXjy5eSn92UxYeUQO5CY81xm+zA== +"@biconomy-devx/account@2.0.60": + version "2.0.60" + resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.0.60.tgz#27f76af9a3982f7e94d05593df4c19faba7199c8" + integrity sha512-msF3a7SXkNKQJB14yjYozNc0KnW5SKHVZRwsbSCae9eCRzvbhOpnj6izGQHiAS5QpaJe2FF7hvpV0xAhJHBDCw== dependencies: - "@account-abstraction/contracts" "^0.6.0" - "@ethersproject/abstract-signer" "^5.6.2" - "@ethersproject/constants" "^5.6.1" - axios "^1.4.0" - dotenv "^16.0.3" - ethereumjs-util "^7.1.0" - -"@biconomy/account@3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/account/-/account-3.1.1.tgz#5340423dedb08761d9f3a496a35b6508181742f2" - integrity sha512-4I8Ev4rMsdnWXr0vMErKrJ4CSBarwIISYHsJEfCnaFYyujoEvxM4srpcfA1NMVhCWzNiD2gJiELt1blIY5quWg== - dependencies: - "@account-abstraction/contracts" "^0.6.0" - "@account-abstraction/utils" "^0.4.0" - "@biconomy-devx/account-contracts-v2" "npm:@biconomy-devx/account-contracts-v2@^1.0.0" - "@biconomy/bundler" "^3.1.1" - "@biconomy/common" "^3.1.1" - "@biconomy/core-types" "^3.1.1" - "@biconomy/modules" "^3.1.1" - "@biconomy/node-client" "^3.1.1" - "@biconomy/paymaster" "^3.1.1" - "@ethersproject/logger" "^5.7.0" - "@ethersproject/providers" "^5.7.2" - ethers "^5.7.0" + "@alchemy/aa-core" "^1.2.2" + "@biconomy-devx/bundler" "^2.0.60" + "@biconomy-devx/modules" "^2.0.60" + "@biconomy-devx/paymaster" "^2.0.60" loglevel "^1.8.1" lru-cache "^10.0.1" + viem "^1.20.3" -"@biconomy/bundler@3.1.1", "@biconomy/bundler@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/bundler/-/bundler-3.1.1.tgz#5405fe95eb96e840c368abd188f018b8580d4dd3" - integrity sha512-R4GvBuOtOIb5XHsQMJRV9WGmL8nIN0yu+Wt4h/PSxjxoDBsiuBfl2PkCm2OTJcpX7Q+hvzcc1ZcQCtOyDJkLdQ== +"@biconomy-devx/bundler@2.0.60", "@biconomy-devx/bundler@^2.0.60": + version "2.0.60" + resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.0.60.tgz#ecf547a36f8320729dc3da34755e45d955c9168e" + integrity sha512-ZB2/wvsodEHhtgMRjcprGBRJXHp1slxY2CTqm+qQdpgNBRg5TvCIYnCvy5/MvqJKwaz3nikWu4wLxISQfddVUw== dependencies: - "@biconomy/common" "^3.1.1" - "@biconomy/core-types" "^3.1.1" - "@ethersproject/providers" "^5.7.2" - ethers "^5.7.0" + "@alchemy/aa-core" "^1.2.2" + viem "^1.20.3" -"@biconomy/common@3.1.1", "@biconomy/common@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/common/-/common-3.1.1.tgz#1c830cd1476b8acac35e3bcec6d1a19b84d0ed9b" - integrity sha512-H8KJ4ZORVso6FJ388JcfY0vWK+vzfPwTYlnf+ns/Zc3UwkwLjyKGpCsvoA6XBe9GcvmEDOyssisXQVjxTirhGA== +"@biconomy-devx/modules@2.0.60", "@biconomy-devx/modules@^2.0.60": + version "2.0.60" + resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.0.60.tgz#6fdaf08e03f6036273e949b240cc795ac0a77d08" + integrity sha512-IpINmquwL4oe4jGvAyxFFJwINraxbOc55hwGAt/anDac7S7aGYV6Id6cpdnz+Epj0QjhzPnwkEse3LY9V2NXcQ== dependencies: - "@account-abstraction/contracts" "^0.6.0" - "@biconomy/core-types" "^3.1.1" - "@biconomy/node-client" "^3.1.1" - "@ethersproject/abi" "^5.7.0" - "@ethersproject/bytes" "^5.7.0" - "@ethersproject/providers" "^5.7.0" - "@openzeppelin/contracts" "^4.7.3" - "@typechain/ethers-v5" "^10.2.0" - concurrently "^7.4.0" - debug "^4.3.4" - ethers "^5.7.0" - node-fetch "^2.7.0" - typechain "^8.1.1" - -"@biconomy/core-types@3.1.1", "@biconomy/core-types@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/core-types/-/core-types-3.1.1.tgz#3a358ac66bdb355b5cf988ec33aa3b4efbe9ceda" - integrity sha512-BYRHYUxH755orvp5kAs5cAELfWEzZjD0QbDaB+xs7f+yk5EDe5cxTKQ72I+NsCjuABMlLEOFilV54fognyvSZA== - dependencies: - "@ethersproject/bignumber" "^5.6.0" - "@ethersproject/contracts" "^5.6.0" - "@ethersproject/providers" "^5.7.0" - ethers "^5.7.2" - web3-core "^1.7.1" - -"@biconomy/modules@3.1.1", "@biconomy/modules@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/modules/-/modules-3.1.1.tgz#f8fa676457c3d5c4eabfa743d274491e1da5312a" - integrity sha512-Y+z9i0NZW9DtYBYIZw94oquqc2tD4Z0aWGOxCREdz5AOEBEfjZRxjgvEoM1/ydQqZJexSRyP7tGzTwEgw9lAlQ== - dependencies: - "@biconomy/common" "^3.1.1" - "@biconomy/core-types" "^3.1.1" - "@biconomy/node-client" "^3.1.1" - ethereumjs-util "^7.1.5" - ethers "^5.7.2" + "@alchemy/aa-core" "^1.2.2" merkletreejs "^0.3.9" + viem "^1.20.3" -"@biconomy/node-client@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/node-client/-/node-client-3.1.1.tgz#770d8ca7dbaf68ea1395bed72799845a9809d9d1" - integrity sha512-6qw/5sSelJ6GjACmAWnNsgUQ9gBFKMgjyssCoYgMF4B9CaZVVJZ7Tlg75InQR+MsrvDaa/y9GE5ogVdgAuF+Fg== - dependencies: - "@biconomy/core-types" "^3.1.1" - "@ethersproject/abstract-signer" "^5.6.0" - "@nomiclabs/hardhat-ethers" "^2.1.0" - node-fetch "^2.6.6" - -"@biconomy/paymaster@3.1.1", "@biconomy/paymaster@^3.1.1": - version "3.1.1" - resolved "https://registry.yarnpkg.com/@biconomy/paymaster/-/paymaster-3.1.1.tgz#ef4eb0cfe7b2bc8763c712c4fe543f176daf5ef4" - integrity sha512-L3KPlVLmuXKzd0PRMhzQ3XDmQ4eVEjSFb04r/yWBtcvHINS3Q9VXFKMY0t55ScE0PmrDTIaWRE3XaOs9d0v7Jw== +"@biconomy-devx/paymaster@2.0.60", "@biconomy-devx/paymaster@^2.0.60": + version "2.0.60" + resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.0.60.tgz#ff29d68c049507bff03ee5cdda4c53d02e987478" + integrity sha512-ktEzachlVZEFWrLtQpXbBHU46tPKiISaNhhbn01aA5W2da/v2O5sIaylS48/iDzgkMIiBvrqT0eNZ0YQZtLgSA== dependencies: - "@biconomy/common" "^3.1.1" - "@biconomy/core-types" "^3.1.1" - "@ethersproject/abstract-provider" "^5.7.0" - "@ethersproject/properties" "^5.7.0" - ethers "^5.7.0" + "@alchemy/aa-core" "^1.2.2" + viem "^1.20.3" "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" @@ -1310,9 +1240,9 @@ util "^0.12.4" "@csstools/normalize.css@*": - version "12.0.0" - resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-12.0.0.tgz#a9583a75c3f150667771f30b60d9f059473e62c4" - integrity sha512-M0qqxAcwCsIVfpFQSlGN5XjXWu8l5JDZN+fPt1LeW5SZexQTgnaEvgXAY+CeygRw0EeppWHi12JxESWiWrB0Sg== + version "12.1.1" + resolved "https://registry.yarnpkg.com/@csstools/normalize.css/-/normalize.css-12.1.1.tgz#f0ad221b7280f3fc814689786fd9ee092776ef8f" + integrity sha512-YAYeJ+Xqh7fUou1d1j9XHl44BmsuThiTr4iNrgCQ3J27IbhXsxXDGZ1cXv8Qvs99d4rBbLiSKy3+WZiet32PcQ== "@csstools/postcss-cascade-layers@^1.1.1": version "1.1.1" @@ -1448,12 +1378,7 @@ "@emotion/weak-memoize" "^0.3.1" stylis "4.2.0" -"@emotion/hash@^0.8.0": - version "0.8.0" - resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.8.0.tgz#bbbff68978fefdbe68ccb533bc8cbe1d1afb5413" - integrity sha512-kBJtf7PH6aWwZ6fka3zQ0p6SBYzx4fl1LoZXE2RrnYST9Xljm7WfKJrU4g/Xr3Beg72MLrp1AWNUmuYJTL7Cow== - -"@emotion/hash@^0.9.1": +"@emotion/hash@^0.9.0", "@emotion/hash@^0.9.1": version "0.9.1" resolved "https://registry.yarnpkg.com/@emotion/hash/-/hash-0.9.1.tgz#4ffb0055f7ef676ebc3a5a91fb621393294e2f43" integrity sha512-gJB6HLm5rYwSLI6PQa+X1t5CFGrv1J1TWG+sOyMCeKz2ojaj6Fnl/rZEspogG+cvqbt4AE/2eIyD2QfLKTBNlQ== @@ -1471,23 +1396,23 @@ integrity sha512-W2P2c/VRW1/1tLox0mVUalvnWXxavmv/Oum2aPsRcoDJuob75FC3Y8FbpfLwUegRcxINtGUMPq0tFCvYNTBXNA== "@emotion/react@^11.10.6": - version "11.11.1" - resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.11.1.tgz#b2c36afac95b184f73b08da8c214fdf861fa4157" - integrity sha512-5mlW1DquU5HaxjLkfkGN1GA/fvVGdyHURRiX/0FHl2cfIfRxSOfmxEH5YS43edp0OldZrZ+dkBKbngxcNCdZvA== + version "11.11.3" + resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.11.3.tgz#96b855dc40a2a55f52a72f518a41db4f69c31a25" + integrity sha512-Cnn0kuq4DoONOMcnoVsTOR8E+AdnKFf//6kUWc4LCdnxj31pZWn7rIULd6Y7/Js1PiPHzn7SKCM9vB/jBni8eA== dependencies: "@babel/runtime" "^7.18.3" "@emotion/babel-plugin" "^11.11.0" "@emotion/cache" "^11.11.0" - "@emotion/serialize" "^1.1.2" + "@emotion/serialize" "^1.1.3" "@emotion/use-insertion-effect-with-fallbacks" "^1.0.1" "@emotion/utils" "^1.2.1" "@emotion/weak-memoize" "^0.3.1" hoist-non-react-statics "^3.3.1" -"@emotion/serialize@^1.1.2": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.2.tgz#017a6e4c9b8a803bd576ff3d52a0ea6fa5a62b51" - integrity sha512-zR6a/fkFP4EAcCMQtLOhIgpprZOwNmCldtpaISpvz348+DP4Mz8ZoKaGGCQpbzepNIUWbq4w6hNZkwDyKoS+HA== +"@emotion/serialize@^1.1.2", "@emotion/serialize@^1.1.3": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@emotion/serialize/-/serialize-1.1.3.tgz#84b77bfcfe3b7bb47d326602f640ccfcacd5ffb0" + integrity sha512-iD4D6QVZFDhcbH0RAG1uVu1CwVLMWUkCvAqqlewO/rxf8+87yIBAlt4+AxMiiKPLs5hFc0owNk/sLLAOROw3cA== dependencies: "@emotion/hash" "^0.9.1" "@emotion/memoize" "^0.8.1" @@ -1559,10 +1484,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@8.55.0": - version "8.55.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.55.0.tgz#b721d52060f369aa259cf97392403cb9ce892ec6" - integrity sha512-qQfo2mxH5yVom1kacMtZZJFVdW+E70mqHMJvVg6WTLo+VBuQJ4TojZlfWBjK0ve5BdEeNAVxOsl/nvNMpJOaJA== +"@eslint/js@8.56.0": + version "8.56.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" + integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== "@ethereumjs/rlp@^4.0.1": version "4.0.1" @@ -1606,7 +1531,7 @@ "@ethersproject/transactions" "^5.7.0" "@ethersproject/web" "^5.7.0" -"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.6.0", "@ethersproject/abstract-signer@^5.6.2", "@ethersproject/abstract-signer@^5.7.0": +"@ethersproject/abstract-signer@5.7.0", "@ethersproject/abstract-signer@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.7.0.tgz#13f4f32117868452191a4649723cb086d2b596b2" integrity sha512-a16V8bq1/Cz+TGCkE2OPMTOUDLS3grCpdjoJCYNnVBbdYEMSgKrU0+B90s8b6H+ByYTBZN7a3g76jdIJi7UfKQ== @@ -1643,7 +1568,7 @@ "@ethersproject/bytes" "^5.7.0" "@ethersproject/properties" "^5.7.0" -"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.6.0", "@ethersproject/bignumber@^5.7.0": +"@ethersproject/bignumber@5.7.0", "@ethersproject/bignumber@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.7.0.tgz#e2f03837f268ba655ffba03a57853e18a18dc9c2" integrity sha512-n1CAdIHRWjSucQO3MC1zPSVgV/6dy/fjL9pMrPP9peL+QxEg9wOsVqwD4+818B6LUEtaXzVHQiuivzRoxPxUGw== @@ -1659,14 +1584,14 @@ dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.6.1", "@ethersproject/constants@^5.7.0": +"@ethersproject/constants@5.7.0", "@ethersproject/constants@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.7.0.tgz#df80a9705a7e08984161f09014ea012d1c75295e" integrity sha512-DHI+y5dBNvkpYUMiRQyxRBYBefZkJfo70VUkUAsRjcPs47muV9evftfZ0PJVCXYbAiCgght0DtcF9srFQmIgWA== dependencies: "@ethersproject/bignumber" "^5.7.0" -"@ethersproject/contracts@5.7.0", "@ethersproject/contracts@^5.6.0": +"@ethersproject/contracts@5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.7.0.tgz#c305e775abd07e48aa590e1a877ed5c316f8bd1e" integrity sha512-5GJbzEU3X+d33CdfPhcyS+z8MzsTrBGk/sc+G+59+tPa9yFkl6HQ9D6L0QMgNTA9q8dT0XKxxkyp883XsQvbbg== @@ -1769,7 +1694,7 @@ dependencies: "@ethersproject/logger" "^5.7.0" -"@ethersproject/providers@5.7.2", "@ethersproject/providers@^5.7.0", "@ethersproject/providers@^5.7.2": +"@ethersproject/providers@5.7.2": version "5.7.2" resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.7.2.tgz#f8b1a4f275d7ce58cf0a2eec222269a08beb18cb" integrity sha512-g34EWZ1WWAVgr4aptGlVBF8mhl3VWjv+8hoAnzStu8Ah22VHBsuGzP17eb6xDVRzw895G4W7vvx60lFFur/1Rg== @@ -1853,7 +1778,7 @@ "@ethersproject/constants" "^5.7.0" "@ethersproject/logger" "^5.7.0" -"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.6.2", "@ethersproject/transactions@^5.7.0": +"@ethersproject/transactions@5.7.0", "@ethersproject/transactions@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.7.0.tgz#91318fc24063e057885a6af13fdb703e1f993d3b" integrity sha512-kmcNicCp1lp8qanMTC3RIikGgoJ80ztTyvtsFvCYpSCfkjhD0jZ2LOrnbcuxuToLIUYYf+4XwD1rP+B/erDIhQ== @@ -1920,32 +1845,32 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@floating-ui/core@^1.4.2": - version "1.5.1" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.1.tgz#62707d7ec585d0929f882321a1b1f4ea9c680da5" - integrity sha512-QgcKYwzcc8vvZ4n/5uklchy8KVdjJwcOeI+HnnTNclJjs2nYsy23DOCf+sSV1kBwD9yDAoVKCkv/gEPzgQU3Pw== +"@floating-ui/core@^1.5.3": + version "1.5.3" + resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.3.tgz#b6aa0827708d70971c8679a16cf680a515b8a52a" + integrity sha512-O0WKDOo0yhJuugCx6trZQj5jVJ9yR0ystG2JaNAemYUWce+pmM6WUEFIibnWyEJKdrDxhm75NoSRME35FNaM/Q== dependencies: - "@floating-ui/utils" "^0.1.3" + "@floating-ui/utils" "^0.2.0" -"@floating-ui/dom@^1.5.1": - version "1.5.3" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.3.tgz#54e50efcb432c06c23cd33de2b575102005436fa" - integrity sha512-ClAbQnEqJAKCJOEbbLo5IUlZHkNszqhuxS4fHAVxRPXPya6Ysf2G8KypnYcOTpx6I8xcgF9bbHb6g/2KpbV8qA== +"@floating-ui/dom@^1.5.4": + version "1.5.4" + resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.4.tgz#28df1e1cb373884224a463235c218dcbd81a16bb" + integrity sha512-jByEsHIY+eEdCjnTVu+E3ephzTOzkQ8hgUfGwos+bg7NlH33Zc5uO+QHz1mrQUOgIKKDD1RtS201P9NvAfq3XQ== dependencies: - "@floating-ui/core" "^1.4.2" - "@floating-ui/utils" "^0.1.3" + "@floating-ui/core" "^1.5.3" + "@floating-ui/utils" "^0.2.0" "@floating-ui/react-dom@^2.0.4": - version "2.0.4" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.4.tgz#b076fafbdfeb881e1d86ae748b7ff95150e9f3ec" - integrity sha512-CF8k2rgKeh/49UrnIBs4BdxPUV6vize/Db1d/YbCLyp9GiVZ0BEwf5AiDSxJRCr6yOkGqTFHtmrULxkEfYZ7dQ== + version "2.0.5" + resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.5.tgz#851522899c34e3e2be1e29f3294f150834936e28" + integrity sha512-UsBK30Bg+s6+nsgblXtZmwHhgS2vmbuQK22qgt2pTQM6M3X6H1+cQcLXqgRY3ihVLcZJE6IvqDQozhsnIVqK/Q== dependencies: - "@floating-ui/dom" "^1.5.1" + "@floating-ui/dom" "^1.5.4" -"@floating-ui/utils@^0.1.3": - version "0.1.6" - resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.1.6.tgz#22958c042e10b67463997bd6ea7115fe28cbcaf9" - integrity sha512-OfX7E2oUDYxtBvsuS4e/jSn4Q9Qb6DzgeYtsAdkPZ47znpoNsMgZw0+tVijiv3uGNR6dgNlty6r9rzIzHjtd/A== +"@floating-ui/utils@^0.2.0": + version "0.2.1" + resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.1.tgz#16308cea045f0fc777b6ff20a9f25474dd8293d2" + integrity sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q== "@humanwhocodes/config-array@^0.11.13": version "0.11.13" @@ -1971,6 +1896,18 @@ resolved "https://registry.yarnpkg.com/@ioredis/commands/-/commands-1.2.0.tgz#6d61b3097470af1fdbbe622795b8921d42018e11" integrity sha512-Sx1pU8EM64o2BrqNpEO1CNLtKQwyhuXuqyfH7oGKCk+1a33d2r5saW8zNwm3j6BTExtjrv2BxTgzzkMwts6vGg== +"@isaacs/cliui@^8.0.2": + version "8.0.2" + resolved "https://registry.yarnpkg.com/@isaacs/cliui/-/cliui-8.0.2.tgz#b37667b7bc181c168782259bab42474fbf52b550" + integrity sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA== + dependencies: + string-width "^5.1.2" + string-width-cjs "npm:string-width@^4.2.0" + strip-ansi "^7.0.1" + strip-ansi-cjs "npm:strip-ansi@^6.0.1" + wrap-ansi "^8.1.0" + wrap-ansi-cjs "npm:wrap-ansi@^7.0.0" + "@istanbuljs/load-nyc-config@^1.0.0": version "1.1.0" resolved "https://registry.yarnpkg.com/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz#fd3db1d59ecf7cf121e80650bb86712f9b55eced" @@ -2229,7 +2166,7 @@ resolved "https://registry.yarnpkg.com/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.4.15.tgz#d7c6e6755c78567a951e04ab52ef0fd26de59f32" integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== -"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.9": +"@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.9": version "0.3.20" resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== @@ -2237,11 +2174,6 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@ledgerhq/connect-kit-loader@^1.1.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@ledgerhq/connect-kit-loader/-/connect-kit-loader-1.1.2.tgz#d550e3c1f046e4c796f32a75324b03606b7e226a" - integrity sha512-mscwGroSJQrCTjtNGBu+18FQbZYA4+q6Tyx6K7CXHl6AwgZKbWfZYdgP2F+fyZcRUdGRsMX8QtvU61VcGGtO1A== - "@leichtgewicht/ip-codec@^2.0.1": version "2.0.4" resolved "https://registry.yarnpkg.com/@leichtgewicht/ip-codec/-/ip-codec-2.0.4.tgz#b2ac626d6cb9c8718ab459166d4bb405b8ffa78b" @@ -2274,43 +2206,43 @@ semver "^7.3.8" superstruct "^1.0.3" -"@motionone/animation@^10.15.1", "@motionone/animation@^10.16.3": - version "10.16.3" - resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.16.3.tgz#f5b71e27fd8b88b61f983adb0ed6c8e3e89281f9" - integrity sha512-QUGWpLbMFLhyqKlngjZhjtxM8IqiJQjLK0DF+XOF6od9nhSvlaeEpOY/UMCRVcZn/9Tr2rZO22EkuCIjYdI74g== +"@motionone/animation@^10.15.1", "@motionone/animation@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/animation/-/animation-10.17.0.tgz#7633c6f684b5fee2b61c405881b8c24662c68fca" + integrity sha512-ANfIN9+iq1kGgsZxs+Nz96uiNcPLGTXwfNo2Xz/fcJXniPYpaz/Uyrfa+7I5BPLxCP82sh7quVDudf1GABqHbg== dependencies: - "@motionone/easing" "^10.16.3" - "@motionone/types" "^10.16.3" - "@motionone/utils" "^10.16.3" + "@motionone/easing" "^10.17.0" + "@motionone/types" "^10.17.0" + "@motionone/utils" "^10.17.0" tslib "^2.3.1" "@motionone/dom@^10.16.2", "@motionone/dom@^10.16.4": - version "10.16.4" - resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.16.4.tgz#9385716928cc2d5b3208a7dcaf504b69b47fd1ae" - integrity sha512-HPHlVo/030qpRj9R8fgY50KTN4Ko30moWRTA3L3imrsRBmob93cTYmodln49HYFbQm01lFF7X523OkKY0DX6UA== - dependencies: - "@motionone/animation" "^10.16.3" - "@motionone/generators" "^10.16.4" - "@motionone/types" "^10.16.3" - "@motionone/utils" "^10.16.3" + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/dom/-/dom-10.17.0.tgz#519dd78aab0750a94614c69a82da5290cd617383" + integrity sha512-cMm33swRlCX/qOPHWGbIlCl0K9Uwi6X5RiL8Ma6OrlJ/TP7Q+Np5GE4xcZkFptysFjMTi4zcZzpnNQGQ5D6M0Q== + dependencies: + "@motionone/animation" "^10.17.0" + "@motionone/generators" "^10.17.0" + "@motionone/types" "^10.17.0" + "@motionone/utils" "^10.17.0" hey-listen "^1.0.8" tslib "^2.3.1" -"@motionone/easing@^10.16.3": - version "10.16.3" - resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.16.3.tgz#a62abe0ba2841861f167f286782e287eab8d7466" - integrity sha512-HWTMZbTmZojzwEuKT/xCdvoMPXjYSyQvuVM6jmM0yoGU6BWzsmYMeB4bn38UFf618fJCNtP9XeC/zxtKWfbr0w== +"@motionone/easing@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/easing/-/easing-10.17.0.tgz#d66cecf7e3ee30104ad00389fb3f0b2282d81aa9" + integrity sha512-Bxe2wSuLu/qxqW4rBFS5m9tMLOw+QBh8v5A7Z5k4Ul4sTj5jAOfZG5R0bn5ywmk+Fs92Ij1feZ5pmC4TeXA8Tg== dependencies: - "@motionone/utils" "^10.16.3" + "@motionone/utils" "^10.17.0" tslib "^2.3.1" -"@motionone/generators@^10.16.4": - version "10.16.4" - resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.16.4.tgz#4a38708244bce733bfcebd4a26d19f4bbabd36af" - integrity sha512-geFZ3w0Rm0ZXXpctWsSf3REGywmLLujEjxPYpBR0j+ymYwof0xbV6S5kGqqsDKgyWKVWpUInqQYvQfL6fRbXeg== +"@motionone/generators@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/generators/-/generators-10.17.0.tgz#878d292539c41434c13310d5f863a87a94e6e689" + integrity sha512-T6Uo5bDHrZWhIfxG/2Aut7qyWQyJIWehk6OB4qNvr/jwA/SRmixwbd7SOrxZi1z5rH3LIeFFBKK1xHnSbGPZSQ== dependencies: - "@motionone/types" "^10.16.3" - "@motionone/utils" "^10.16.3" + "@motionone/types" "^10.17.0" + "@motionone/utils" "^10.17.0" tslib "^2.3.1" "@motionone/svelte@^10.16.2": @@ -2321,17 +2253,17 @@ "@motionone/dom" "^10.16.4" tslib "^2.3.1" -"@motionone/types@^10.15.1", "@motionone/types@^10.16.3": - version "10.16.3" - resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.16.3.tgz#9284ea8a52f6b32c51c54b617214f20e43ac6c59" - integrity sha512-W4jkEGFifDq73DlaZs3HUfamV2t1wM35zN/zX7Q79LfZ2sc6C0R1baUHZmqc/K5F3vSw3PavgQ6HyHLd/MXcWg== +"@motionone/types@^10.15.1", "@motionone/types@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/types/-/types-10.17.0.tgz#179571ce98851bac78e19a1c3974767227f08ba3" + integrity sha512-EgeeqOZVdRUTEHq95Z3t8Rsirc7chN5xFAPMYFobx8TPubkEfRSm5xihmMUkbaR2ErKJTUw3347QDPTHIW12IA== -"@motionone/utils@^10.15.1", "@motionone/utils@^10.16.3": - version "10.16.3" - resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.16.3.tgz#ddf07ab6cf3000d89e3bcbdc9a8c3e1fd64f8520" - integrity sha512-WNWDksJIxQkaI9p9Z9z0+K27xdqISGNFy1SsWVGaiedTHq0iaT6iZujby8fT/ZnZxj1EOaxJtSfUPCFNU5CRoA== +"@motionone/utils@^10.15.1", "@motionone/utils@^10.17.0": + version "10.17.0" + resolved "https://registry.yarnpkg.com/@motionone/utils/-/utils-10.17.0.tgz#cc0ba8acdc6848ff48d8c1f2d0d3e7602f4f942e" + integrity sha512-bGwrki4896apMWIj9yp5rAS2m0xyhxblg6gTB/leWDPt+pb410W8lYWsxyurX+DH+gO1zsQsfx2su/c1/LtTpg== dependencies: - "@motionone/types" "^10.16.3" + "@motionone/types" "^10.17.0" hey-listen "^1.0.8" tslib "^2.3.1" @@ -2343,78 +2275,78 @@ "@motionone/dom" "^10.16.4" tslib "^2.3.1" -"@mui/base@5.0.0-beta.26": - version "5.0.0-beta.26" - resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.26.tgz#5fab6062238dc17dd840bf1a17ab759370452713" - integrity sha512-gPMRKC84VRw+tjqYoyBzyrBUqHQucMXdlBpYazHa5rCXrb91fYEQk5SqQ2U5kjxx9QxZxTBvWAmZ6DblIgaGhQ== +"@mui/base@5.0.0-beta.30": + version "5.0.0-beta.30" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.30.tgz#8feca6b70f2b9cd4d5cb97799ae9fcb5376c7f83" + integrity sha512-dc38W4W3K42atE9nSaOeoJ7/x9wGIfawdwC/UmMxMLlZ1iSsITQ8dQJaTATCbn98YvYPINK/EH541YA5enQIPQ== dependencies: - "@babel/runtime" "^7.23.4" + "@babel/runtime" "^7.23.6" "@floating-ui/react-dom" "^2.0.4" - "@mui/types" "^7.2.10" - "@mui/utils" "^5.14.20" + "@mui/types" "^7.2.12" + "@mui/utils" "^5.15.3" "@popperjs/core" "^2.11.8" clsx "^2.0.0" prop-types "^15.8.1" -"@mui/core-downloads-tracker@^5.14.20": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.14.20.tgz#c9ce5ccfcc7972d3bc1623440e041e0a01386626" - integrity sha512-fXoGe8VOrIYajqALysFuyal1q1YmBARqJ3tmnWYDVl0scu8f6h6tZQbS2K8BY28QwkWNGyv4WRfuUkzN5HR3Ow== +"@mui/core-downloads-tracker@^5.15.3": + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.3.tgz#40fc854d7cf5505a182a4e121149dfe21cd277ef" + integrity sha512-sWeihiVyxdJjpLkp8SHkTy9kt2M/o11M60G1MzwljGL2BXdM3Ktzqv5QaQHdi00y7Y1ulvtI3GOSxP2xU8mQJw== "@mui/icons-material@^5.11.11": - version "5.14.19" - resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.14.19.tgz#6e0f4e9d89f99517d3c0ee65dee7ac97753755af" - integrity sha512-yjP8nluXxZGe3Y7pS+yxBV+hWZSsSBampCxkZwaw+1l+feL+rfP74vbEFbMrX/Kil9I/Y1tWfy5bs/eNvwNpWw== + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.3.tgz#eee07582ea3ad913982b7843ff1612d0fad21278" + integrity sha512-7LEs8AnO2Se/XYH+CcJndRsGAE+M8KAExiiQHf0V11poqmPVGcbbY82Ry2IUYf9+rOilCVnWI18ErghZ625BPQ== dependencies: - "@babel/runtime" "^7.23.4" + "@babel/runtime" "^7.23.6" "@mui/material@^5.11.12": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.14.20.tgz#d9834187838011642779c57bbdd989275ef37b6d" - integrity sha512-SUcPZnN6e0h1AtrDktEl76Dsyo/7pyEUQ+SAVe9XhHg/iliA0b4Vo+Eg4HbNkELsMbpDsUF4WHp7rgflPG7qYQ== - dependencies: - "@babel/runtime" "^7.23.4" - "@mui/base" "5.0.0-beta.26" - "@mui/core-downloads-tracker" "^5.14.20" - "@mui/system" "^5.14.20" - "@mui/types" "^7.2.10" - "@mui/utils" "^5.14.20" - "@types/react-transition-group" "^4.4.9" + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.3.tgz#b77f1ac1275e5bf13b735e8224bdd301aab918c4" + integrity sha512-DODBBMouyq1B5f3YkEWL9vO8pGCxuEGqtfpltF6peMJzz/78tJFyLQsDas9MNLC/8AdFu2BQdkK7wox5UBPTAA== + dependencies: + "@babel/runtime" "^7.23.6" + "@mui/base" "5.0.0-beta.30" + "@mui/core-downloads-tracker" "^5.15.3" + "@mui/system" "^5.15.3" + "@mui/types" "^7.2.12" + "@mui/utils" "^5.15.3" + "@types/react-transition-group" "^4.4.10" clsx "^2.0.0" csstype "^3.1.2" prop-types "^15.8.1" react-is "^18.2.0" react-transition-group "^4.4.5" -"@mui/private-theming@^5.14.20": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.14.20.tgz#ccb0ef60d854510585cb266780d6e37589693c40" - integrity sha512-WV560e1vhs2IHCh0pgUaWHznrcrVoW9+cDCahU1VTkuwPokWVvb71ccWQ1f8Y3tRBPPcNkU2dChkkRJChLmQlQ== +"@mui/private-theming@^5.15.3": + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.15.3.tgz#2db0177d847dc6b28721d93308ed05d434a77c53" + integrity sha512-Q79MhVMmywC1l5bMsMZq5PsIudr1MNPJnx9/EqdMP0vpz5iNvFpnLmxsD7d8/hqTWgFAljI+LH3jX8MxlZH9Gw== dependencies: - "@babel/runtime" "^7.23.4" - "@mui/utils" "^5.14.20" + "@babel/runtime" "^7.23.6" + "@mui/utils" "^5.15.3" prop-types "^15.8.1" -"@mui/styled-engine@^5.14.19": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.14.20.tgz#b0e80294c35d2b68548f6f655fe80127b3169d05" - integrity sha512-Vs4nGptd9wRslo9zeRkuWcZeIEp+oYbODy+fiZKqqr4CH1Gfi9fdP0Q1tGYk8OiJ2EPB/tZSAyOy62Hyp/iP7g== +"@mui/styled-engine@^5.15.3": + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.15.3.tgz#85cb294d701b1a3f197bfc90e87ec0685a0943b2" + integrity sha512-+d5XZCTeemOO/vBfWGEeHgTm8fjU1Psdgm+xAw+uegycO2EnoA/EfGSaG5UwZ6g3b66y48Mkxi35AggShMr88w== dependencies: - "@babel/runtime" "^7.23.4" + "@babel/runtime" "^7.23.6" "@emotion/cache" "^11.11.0" csstype "^3.1.2" prop-types "^15.8.1" "@mui/styles@^5.11.12": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.14.20.tgz#198d9c74cf29cd2986415e0e56fefe515b27096c" - integrity sha512-6OErKSuqDTooheoyvcHY2sKSrDpYEYRR+2h9SCnhz2hU7tw0eLd+HUuK1d9YJnCaR1aMKRvmqd10gU3y0z4H1Q== + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.15.3.tgz#4fff156106528ffe610fa31527a9c4d2ff983db3" + integrity sha512-yePvO+0z35a1Cm7sXy3rL6F1oEJSiDFcQ/4Mkn/MHttwfBbbi7higBbUsBkuLPGoy40EiIUF+Tr+UoNW296/bA== dependencies: - "@babel/runtime" "^7.23.4" + "@babel/runtime" "^7.23.6" "@emotion/hash" "^0.9.1" - "@mui/private-theming" "^5.14.20" - "@mui/types" "^7.2.10" - "@mui/utils" "^5.14.20" + "@mui/private-theming" "^5.15.3" + "@mui/types" "^7.2.12" + "@mui/utils" "^5.15.3" clsx "^2.0.0" csstype "^3.1.2" hoist-non-react-statics "^3.3.2" @@ -2428,31 +2360,31 @@ jss-plugin-vendor-prefixer "^10.10.0" prop-types "^15.8.1" -"@mui/system@^5.14.20": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.14.20.tgz#4973883279377024ca2b4c98d311ec364f01875b" - integrity sha512-jKOGtK4VfYZG5kdaryUHss4X6hzcfh0AihT8gmnkfqRtWP7xjY+vPaUhhuSeibE5sqA5wCtdY75z6ep9pxFnIg== +"@mui/system@^5.15.3": + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.3.tgz#062d0d6b5259c3dc0e1d4026b85ffcc3acf8637b" + integrity sha512-ewVU4eRgo4VfNMGpO61cKlfWmH7l9s6rA8EknRzuMX3DbSLfmtW2WJJg6qPwragvpPIir0Pp/AdWVSDhyNy5Tw== dependencies: - "@babel/runtime" "^7.23.4" - "@mui/private-theming" "^5.14.20" - "@mui/styled-engine" "^5.14.19" - "@mui/types" "^7.2.10" - "@mui/utils" "^5.14.20" + "@babel/runtime" "^7.23.6" + "@mui/private-theming" "^5.15.3" + "@mui/styled-engine" "^5.15.3" + "@mui/types" "^7.2.12" + "@mui/utils" "^5.15.3" clsx "^2.0.0" csstype "^3.1.2" prop-types "^15.8.1" -"@mui/types@^7.2.10": - version "7.2.10" - resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.10.tgz#13e3e9aa07ee6d593cfacd538e02e8e896d7a12f" - integrity sha512-wX1vbDC+lzF7FlhT6A3ffRZgEoKWPF8VqRoTu4lZwouFX2t90KyCMsgepMw5DxLak1BSp/KP86CmtZttikb/gQ== +"@mui/types@^7.2.12": + version "7.2.12" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.12.tgz#602acbb5aa3eb56a31f569a19f87f75d33de5c01" + integrity sha512-3kaHiNm9khCAo0pVe0RenketDSFoZGAlVZ4zDjB/QNZV0XiCj+sh1zkX0VVhQPgYJDlBEzAag+MHJ1tU3vf0Zw== -"@mui/utils@^5.14.20": - version "5.14.20" - resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.14.20.tgz#6d57b8ef02633fbeef51de8f74a2388cde7da8b9" - integrity sha512-Y6yL5MoFmtQml20DZnaaK1znrCEwG6/vRSzW8PKOTrzhyqKIql0FazZRUR7sA5EPASgiyKZfq0FPwISRXm5NdA== +"@mui/utils@^5.15.3": + version "5.15.3" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.15.3.tgz#421043be5279d31ca9b221a6398feb7c9d61209b" + integrity sha512-mT3LiSt9tZWCdx1pl7q4Q5tNo6gdZbvJel286ZHGuj6LQQXjWNAh8qiF9d+LogvNUI+D7eLkTnj605d1zoazfg== dependencies: - "@babel/runtime" "^7.23.4" + "@babel/runtime" "^7.23.6" "@types/prop-types" "^15.7.11" prop-types "^15.8.1" react-is "^18.2.0" @@ -2471,23 +2403,35 @@ dependencies: "@noble/hashes" "1.3.1" -"@noble/curves@1.2.0", "@noble/curves@^1.2.0", "@noble/curves@~1.2.0": +"@noble/curves@1.2.0", "@noble/curves@~1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" integrity sha512-oYclrNgRaM9SsBUBVbb8M6DTV7ZHRTKugureoYEncY5c65HOmRzvSiTE3y5CYaPYJA/GVkrhXEoF0M3Ya9PMnw== dependencies: "@noble/hashes" "1.3.2" +"@noble/curves@^1.2.0": + version "1.3.0" + resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" + integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== + dependencies: + "@noble/hashes" "1.3.3" + "@noble/hashes@1.3.1": version "1.3.1" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== -"@noble/hashes@1.3.2", "@noble/hashes@^1.3.1", "@noble/hashes@~1.3.0", "@noble/hashes@~1.3.1", "@noble/hashes@~1.3.2": +"@noble/hashes@1.3.2": version "1.3.2" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== +"@noble/hashes@1.3.3", "@noble/hashes@^1.3.2", "@noble/hashes@~1.3.0", "@noble/hashes@~1.3.1", "@noble/hashes@~1.3.2": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" + integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== + "@nodelib/fs.scandir@2.1.5": version "2.1.5" resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" @@ -2509,16 +2453,6 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@nomiclabs/hardhat-ethers@^2.1.0": - version "2.2.3" - resolved "https://registry.yarnpkg.com/@nomiclabs/hardhat-ethers/-/hardhat-ethers-2.2.3.tgz#b41053e360c31a32c2640c9a45ee981a7e603fe0" - integrity sha512-YhzPdzb612X591FOe68q+qXVXGG2ANZRvDo0RRUtimev85rCrAlv/TLMEZw5c+kq9AbzocLTVX/h2jVIFPL9Xg== - -"@openzeppelin/contracts@^4.7.3": - version "4.9.3" - resolved "https://registry.yarnpkg.com/@openzeppelin/contracts/-/contracts-4.9.3.tgz#00d7a8cf35a475b160b3f0293a6403c511099364" - integrity sha512-He3LieZ1pP2TNt5JbkPA4PNT9WC3gOTOlDcFGJW4Le4QKqwmiNJCRt44APfxMxvq7OugU/cqYuPcSBzOw38DAg== - "@parcel/watcher-android-arm64@2.3.0": version "2.3.0" resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.3.0.tgz#d82e74bb564ebd4d8a88791d273a3d2bd61e27ab" @@ -2611,6 +2545,11 @@ "@parcel/watcher-win32-ia32" "2.3.0" "@parcel/watcher-win32-x64" "2.3.0" +"@pkgjs/parseargs@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" + integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== + "@pmmmwh/react-refresh-webpack-plugin@^0.5.3": version "0.5.11" resolved "https://registry.yarnpkg.com/@pmmmwh/react-refresh-webpack-plugin/-/react-refresh-webpack-plugin-0.5.11.tgz#7c2268cedaa0644d677e8c4f377bc8fb304f714a" @@ -2632,18 +2571,18 @@ integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== "@rainbow-me/rainbowkit@^1.2.0": - version "1.3.0" - resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-1.3.0.tgz#b5546a6b530bbe1dac13b88708ab17d4164327fa" - integrity sha512-y5/JZIdYjqc84QFqKc1AhOHctnFC7quaDE3K8bueGfa0TgyrXcA6XgN3Dko530b3sxJJiTgvu2LxWlNUg8Felg== + version "1.3.3" + resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-1.3.3.tgz#3826f7a4e6827c35f876a4c3008da43a8cbfed28" + integrity sha512-IsUlBCy4SZfo6zFEZgPvGr1MLe/rK4sZzoBtYHRPjRqDHTXrYqDsp3ThTIZWh2HSIq0jU5gMA/94mFnT5kwMLA== dependencies: - "@vanilla-extract/css" "1.9.1" - "@vanilla-extract/dynamic" "2.0.2" - "@vanilla-extract/sprinkles" "1.5.0" - clsx "1.1.1" + "@vanilla-extract/css" "1.14.0" + "@vanilla-extract/dynamic" "2.1.0" + "@vanilla-extract/sprinkles" "1.6.1" + clsx "2.1.0" i18n-js "^4.3.2" - qrcode "1.5.0" - react-remove-scroll "2.5.4" - ua-parser-js "^1.0.35" + qrcode "1.5.3" + react-remove-scroll "2.5.7" + ua-parser-js "^1.0.37" "@rollup/plugin-babel@^5.2.0": version "5.3.1" @@ -2683,27 +2622,19 @@ picomatch "^2.2.2" "@rushstack/eslint-patch@^1.1.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.6.0.tgz#1898e7a7b943680d757417a47fb10f5fcc230b39" - integrity sha512-2/U3GXA6YiPYQDLGwtGlnNgKYBSwCFIHf8Y9LUY5VATHdtbLlU0Y1R3QoBnT0aB4qv/BEiVVsj7LJXoQCgJ2vA== + version "1.6.1" + resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.6.1.tgz#9ab8f811930d7af3e3d549183a50884f9eb83f36" + integrity sha512-UY+FGM/2jjMkzQLn8pxcHGMaVLh9aEitG3zY2CiY7XHdLiz3bZOwa6oDxNqEMv7zZkV+cj5DOdz0cQ1BP5Hjgw== -"@safe-global/safe-apps-provider@^0.17.1": - version "0.17.1" - resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-provider/-/safe-apps-provider-0.17.1.tgz#72df2a66be5343940ed505efe594ed3b0f2f7015" - integrity sha512-lYfRqrbbK1aKU1/UGkYWc/X7PgySYcumXKc5FB2uuwAs2Ghj8uETuW5BrwPqyjBknRxutFbTv+gth/JzjxAhdQ== +"@safe-global/safe-apps-provider@^0.18.1": + version "0.18.2" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-provider/-/safe-apps-provider-0.18.2.tgz#336f3f4bb6ebbad9354e6551687491efc73991bc" + integrity sha512-yHHAcppwE7aIUWEeZiYAClQzZCdP5l0Kbd0CBlhKAsTcqZnx4Gh3G3G3frY5LlWcGzp9qmQ5jv+J1GBpaZLDgw== dependencies: - "@safe-global/safe-apps-sdk" "8.0.0" + "@safe-global/safe-apps-sdk" "^9.0.0" events "^3.3.0" -"@safe-global/safe-apps-sdk@8.0.0": - version "8.0.0" - resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-8.0.0.tgz#9bdfe0e0d85e1b2d279bb840f40c4b930aaf8bc1" - integrity sha512-gYw0ki/EAuV1oSyMxpqandHjnthZjYYy+YWpTAzf8BqfXM3ItcZLpjxfg+3+mXW8HIO+3jw6T9iiqEXsqHaMMw== - dependencies: - "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" - viem "^1.0.0" - -"@safe-global/safe-apps-sdk@^8.0.0": +"@safe-global/safe-apps-sdk@^8.1.0": version "8.1.0" resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-8.1.0.tgz#d1d0c69cd2bf4eef8a79c5d677d16971926aa64a" integrity sha512-XJbEPuaVc7b9n23MqlF6c+ToYIS3f7P2Sel8f3cSBQ9WORE4xrSuvhMpK9fDSFqJ7by/brc+rmJR/5HViRr0/w== @@ -2711,15 +2642,23 @@ "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" viem "^1.0.0" +"@safe-global/safe-apps-sdk@^9.0.0": + version "9.0.0" + resolved "https://registry.yarnpkg.com/@safe-global/safe-apps-sdk/-/safe-apps-sdk-9.0.0.tgz#56635663f5a73773c5929d9c45ffea2b75dab69b" + integrity sha512-fEqmQBU3JqTjORSl3XYrcaxdxkUqeeM39qsQjqCzzTHioN8DEfg3JCLq6EBoXzcKTVOYi8SPzLV7KJccdDw+4w== + dependencies: + "@safe-global/safe-gateway-typescript-sdk" "^3.5.3" + viem "^1.6.0" + "@safe-global/safe-gateway-typescript-sdk@^3.5.3": - version "3.13.2" - resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.13.2.tgz#f03884c7eb766f5508085d95ab96063a28e20920" - integrity sha512-kGlJecJHBzGrGTq/yhLANh56t+Zur6Ubpt+/w03ARX1poDb4TM8vKU3iV8tuYpk359PPWp+Qvjnqb9oW2YQcYw== + version "3.13.3" + resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.13.3.tgz#f0093af02ee0af3c0dcad9ef2dc96890a80fe481" + integrity sha512-qBDM469cVCedpBpeTSn+k5FUr9+rq5bMTflp/mKd7h35uafcexvOR/PHZn2qftqV8b1kc9b8t22cPRJ2365jew== "@scure/base@~1.1.0", "@scure/base@~1.1.2": - version "1.1.3" - resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.3.tgz#8584115565228290a6c6c4961973e0903bb3df2f" - integrity sha512-/+SgoRjLq7Xlf0CWuLHq2LUZeL/w65kfzAPG5NH9pcmBhs+nunQTn4gvdwgMTIXnt9b2C/1SeL2XiysZEyIC9Q== + version "1.1.5" + resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" + integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== "@scure/bip32@1.3.1": version "1.3.1" @@ -2766,7 +2705,7 @@ dependencies: "@sinonjs/commons" "^1.7.0" -"@solana/buffer-layout@^4.0.0": +"@solana/buffer-layout@^4.0.1": version "4.0.1" resolved "https://registry.yarnpkg.com/@solana/buffer-layout/-/buffer-layout-4.0.1.tgz#b996235eaec15b1e0b5092a8ed6028df77fa6c15" integrity sha512-E1ImOIAD1tBZFRdjeM4/pzTiTApC0AOBGwyAMS4fwIodCWArzJ3DWdoh8cKxeFM2fElkxBh2Aqts1BPC373rHA== @@ -2774,15 +2713,15 @@ buffer "~6.0.3" "@solana/web3.js@^1.70.1": - version "1.87.6" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.87.6.tgz#6744cfc5f4fc81e0f58241c0a92648a7320bb3bf" - integrity sha512-LkqsEBgTZztFiccZZXnawWa8qNCATEqE97/d0vIwjTclmVlc8pBpD1DmjfVHtZ1HS5fZorFlVhXfpwnCNDZfyg== + version "1.88.0" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.88.0.tgz#24e1482f63ac54914430b4ce5ab36eaf433ecdb8" + integrity sha512-E4BdfB0HZpb66OPFhIzPApNE2tG75Mc6XKIoeymUkx/IV+USSYuxDX29sjgE/KGNYxggrOf4YuYnRMI6UiPL8w== dependencies: - "@babel/runtime" "^7.23.2" + "@babel/runtime" "^7.23.4" "@noble/curves" "^1.2.0" - "@noble/hashes" "^1.3.1" - "@solana/buffer-layout" "^4.0.0" - agentkeepalive "^4.3.0" + "@noble/hashes" "^1.3.2" + "@solana/buffer-layout" "^4.0.1" + agentkeepalive "^4.5.0" bigint-buffer "^1.1.5" bn.js "^5.2.1" borsh "^0.7.0" @@ -2790,7 +2729,7 @@ buffer "6.0.3" fast-stable-stringify "^1.0.0" jayson "^4.1.0" - node-fetch "^2.6.12" + node-fetch "^2.7.0" rpc-websockets "^7.5.1" superstruct "^0.14.2" @@ -3085,14 +3024,6 @@ resolved "https://registry.yarnpkg.com/@trysound/sax/-/sax-0.2.0.tgz#cccaab758af56761eb7bf37af6f03f326dd798ad" integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA== -"@typechain/ethers-v5@^10.2.0": - version "10.2.1" - resolved "https://registry.yarnpkg.com/@typechain/ethers-v5/-/ethers-v5-10.2.1.tgz#50241e6957683281ecfa03fb5a6724d8a3ce2391" - integrity sha512-n3tQmCZjRE6IU4h6lqUGiQ1j866n5MTCBJreNEHHVWXa2u9GJTaeYyU1/k+1qLutkyw+sS6VAN+AbeiTqsxd/A== - dependencies: - lodash "^4.17.15" - ts-essentials "^7.0.1" - "@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14": version "7.20.5" resolved "https://registry.yarnpkg.com/@types/babel__core/-/babel__core-7.20.5.tgz#3df15f27ba85319caa07ba08d0721889bb39c017" @@ -3105,9 +3036,9 @@ "@types/babel__traverse" "*" "@types/babel__generator@*": - version "7.6.7" - resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.7.tgz#a7aebf15c7bc0eb9abd638bdb5c0b8700399c9d0" - integrity sha512-6Sfsq+EaaLrw4RmdFWE9Onp63TOUue71AWb4Gpa6JxzgTYtimbM086WnYTy2U67AofR++QKCo08ZP6pwx8YFHQ== + version "7.6.8" + resolved "https://registry.yarnpkg.com/@types/babel__generator/-/babel__generator-7.6.8.tgz#f836c61f48b1346e7d2b0d93c6dacc5b9535d3ab" + integrity sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw== dependencies: "@babel/types" "^7.0.0" @@ -3120,19 +3051,12 @@ "@babel/types" "^7.0.0" "@types/babel__traverse@*", "@types/babel__traverse@^7.0.4", "@types/babel__traverse@^7.0.6": - version "7.20.4" - resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.4.tgz#ec2c06fed6549df8bc0eb4615b683749a4a92e1b" - integrity sha512-mSM/iKUk5fDDrEV/e83qY+Cr3I1+Q3qqTuEn++HAWYjEa1+NxZr6CNrcJGf2ZTnq4HoFGC3zaTPZTobCzCFukA== + version "7.20.5" + resolved "https://registry.yarnpkg.com/@types/babel__traverse/-/babel__traverse-7.20.5.tgz#7b7502be0aa80cc4ef22978846b983edaafcd4dd" + integrity sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ== dependencies: "@babel/types" "^7.20.7" -"@types/bn.js@^5.1.0", "@types/bn.js@^5.1.1": - version "5.1.5" - resolved "https://registry.yarnpkg.com/@types/bn.js/-/bn.js-5.1.5.tgz#2e0dacdcce2c0f16b905d20ff87aedbc6f7b4bf0" - integrity sha512-V46N0zwKRF5Q00AZ6hWtN0T8gGmDUaUzLWQvHFo5yThtVwK/VCenFY3wXVbOvNfajEpsTfQM4IN9k/d6gUVX3A== - dependencies: - "@types/node" "*" - "@types/body-parser@*": version "1.19.5" resolved "https://registry.yarnpkg.com/@types/body-parser/-/body-parser-1.19.5.tgz#04ce9a3b677dc8bd681a17da1ab9835dc9d3ede4" @@ -3179,9 +3103,9 @@ "@types/estree" "*" "@types/eslint@*", "@types/eslint@^7.29.0 || ^8.4.1": - version "8.44.8" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.44.8.tgz#f4fe1dab9b3d3dd98082d4b9f80e59ab40f1261c" - integrity sha512-4K8GavROwhrYl2QXDXm0Rv9epkA8GBFu0EI+XrrnnuCl7u8CWBRusX7fXJfanhZTDWSAL24gDI/UqXyUM0Injw== + version "8.56.1" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.1.tgz#988cabb39c973e9200f35fdbb29d17992965bb08" + integrity sha512-18PLWRzhy9glDQp3+wOgfLYRWlhgX0azxgJ63rdpoUHyrC9z0f5CkFburjQx4uD7ZCruw85ZtMt6K+L+R8fLJQ== dependencies: "@types/estree" "*" "@types/json-schema" "*" @@ -3285,42 +3209,35 @@ integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g== "@types/node-forge@^1.3.0": - version "1.3.10" - resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.10.tgz#62a19d4f75a8b03290578c2b04f294b1a5a71b07" - integrity sha512-y6PJDYN4xYBxwd22l+OVH35N+1fCYWiuC3aiP2SlXVE6Lo7SS+rSx9r89hLxrP4pn6n1lBGhHJ12pj3F3Mpttw== + version "1.3.11" + resolved "https://registry.yarnpkg.com/@types/node-forge/-/node-forge-1.3.11.tgz#0972ea538ddb0f4d9c2fa0ec5db5724773a604da" + integrity sha512-FQx220y22OKNTqaByeBGqHWYz4cl94tpcxeFdvBo3wjG6XPBuZ0BNgNZRV5J5TFmmcsJ4IzsLkmGRiQbnYsBEQ== dependencies: "@types/node" "*" "@types/node@*": - version "20.10.3" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.3.tgz#4900adcc7fc189d5af5bb41da8f543cea6962030" - integrity sha512-XJavIpZqiXID5Yxnxv3RUDKTN5b81ddNC3ecsA0SoFXz/QU8OGBwZGMomiq0zw+uuqbL/krztv/DINAQ/EV4gg== + version "20.10.8" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.8.tgz#f1e223cbde9e25696661d167a5b93a9b2a5d57c7" + integrity sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA== dependencies: undici-types "~5.26.4" -"@types/node@^12.12.54", "@types/node@^12.12.6": +"@types/node@^12.12.54": version "12.20.55" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.55.tgz#c329cbd434c42164f846b909bd6f85b5537f6240" integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== "@types/node@^16.7.13": - version "16.18.67" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.67.tgz#518feb681958dedf2d187b8b4d20bf3530afe1fb" - integrity sha512-gUa0tDO9oxyAYO9V9tqxDJguVMDpqUwH5I5Q9ASYBCso+8CUdJlKPKDYS1YSS9kyZWIduDafZvucGM0zGNKFjg== + version "16.18.70" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.70.tgz#d4c819be1e9f8b69a794d6f2fd929d9ff76f6d4b" + integrity sha512-8eIk20G5VVVQNZNouHjLA2b8utE2NvGybLjMaF4lyhA9uhGwnmXF8o+icdXKGSQSNANJewXva/sFUoZLwAaYAg== "@types/parse-json@^4.0.0": version "4.0.2" resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.2.tgz#5950e50960793055845e956c427fc2b0d70c5239" integrity sha512-dISoDXWWQwUquiKsyZ4Ng+HX2KsPL7LyHKHQwgGFEA3IaKac4Obd+h2a/a6waisAoepJlBcx9paWqjA8/HVjCw== -"@types/pbkdf2@^3.0.0": - version "3.1.2" - resolved "https://registry.yarnpkg.com/@types/pbkdf2/-/pbkdf2-3.1.2.tgz#2dc43808e9985a2c69ff02e2d2027bd4fe33e8dc" - integrity sha512-uRwJqmiXmh9++aSu1VNEn3iIxWOhd8AHXNSdlaLfdAAdSTY9jYVeGWnzejM3dvrkbqE3/hyQkQQ29IFATEGlew== - dependencies: - "@types/node" "*" - -"@types/prettier@^2.1.1", "@types/prettier@^2.1.5": +"@types/prettier@^2.1.5": version "2.7.3" resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.3.tgz#3e51a17e291d01d17d3fc61422015a933af7a08f" integrity sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA== @@ -3336,9 +3253,9 @@ integrity sha512-hroOstUScF6zhIi+5+x0dzqrHA1EJi+Irri6b1fxolMTqqHIV/Cg77EtnQcZqZCu8hR3mX2BzIxN4/GzI68Kfw== "@types/qs@*": - version "6.9.10" - resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.10.tgz#0af26845b5067e1c9a622658a51f60a3934d51e8" - integrity sha512-3Gnx08Ns1sEoCrWssEgTSJs/rsT2vhGP+Ja9cnnk9k4ALxinORlQneLXFeFKOTJMOeZUFD1s7w+w2AphTpvzZw== + version "6.9.11" + resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.11.tgz#208d8a30bc507bd82e03ada29e4732ea46a6bbda" + integrity sha512-oGk0gmhnEJK4Yyk+oI7EfXsLayXatCWPHary1MtcmbAifkobT9cM9yutG/hZKIseOU0MqbIwQ/u2nn/Gb+ltuQ== "@types/range-parser@*": version "1.2.7" @@ -3346,23 +3263,23 @@ integrity sha512-hKormJbkJqzQGhziax5PItDUTMAM9uE2XXQmM37dyd4hVM+5aVl7oVxMVUiVQn2oCQFN/LKCZdvSM0pFRqbSmQ== "@types/react-dom@^18.0.0": - version "18.2.17" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.17.tgz#375c55fab4ae671bd98448dcfa153268d01d6f64" - integrity sha512-rvrT/M7Df5eykWFxn6MYt5Pem/Dbyc1N8Y0S9Mrkw2WFCRiqUgw9P7ul2NpwsXCSM1DVdENzdG9J5SreqfAIWg== + version "18.2.18" + resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-18.2.18.tgz#16946e6cd43971256d874bc3d0a72074bb8571dd" + integrity sha512-TJxDm6OfAX2KJWJdMEVTwWke5Sc/E/RlnPGvGfS0W7+6ocy2xhDVQVh/KvC2Uf7kACs+gDytdusDSdWfWkaNzw== dependencies: "@types/react" "*" -"@types/react-transition-group@^4.4.9": - version "4.4.9" - resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.9.tgz#12a1a1b5b8791067198149867b0823fbace31579" - integrity sha512-ZVNmWumUIh5NhH8aMD9CR2hdW0fNuYInlocZHaZ+dgk/1K49j1w/HoAuK1ki+pgscQrOFRTlXeoURtuzEkV3dg== +"@types/react-transition-group@^4.4.10": + version "4.4.10" + resolved "https://registry.yarnpkg.com/@types/react-transition-group/-/react-transition-group-4.4.10.tgz#6ee71127bdab1f18f11ad8fb3322c6da27c327ac" + integrity sha512-hT/+s0VQs2ojCX823m60m5f0sL5idt9SO6Tj6Dg+rdphGPIeJbJ6CxvBYkgkGKrYeDjvIpKTR38UzmtHJOGW3Q== dependencies: "@types/react" "*" "@types/react@*", "@types/react@^18.0.0": - version "18.2.42" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.42.tgz#6f6b11a904f6d96dda3c2920328a97011a00aba7" - integrity sha512-c1zEr96MjakLYus/wPnuWDo1/zErfdU9rNsIGmE+NV71nx88FG9Ttgo5dqorXTu/LImX2f63WBP986gJkMPNbA== + version "18.2.47" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.47.tgz#85074b27ab563df01fbc3f68dc64bf7050b0af40" + integrity sha512-xquNkkOirwyCgoClNk85BjP+aqnIS+ckAJ8i37gAbDs14jfW/J23f2GItAf33oiUPQnqNMALiFeoM9Y5mbjpVQ== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -3385,13 +3302,6 @@ resolved "https://registry.yarnpkg.com/@types/scheduler/-/scheduler-0.16.8.tgz#ce5ace04cfeabe7ef87c0091e50752e36707deff" integrity sha512-WZLiwShhwLRmeV6zH+GkbOFT6Z6VklCItrDioxUnv+u4Ll+8vKeFySoFyK/0ctcRpOmwAicELfmys1sDc/Rw+A== -"@types/secp256k1@^4.0.1": - version "4.0.6" - resolved "https://registry.yarnpkg.com/@types/secp256k1/-/secp256k1-4.0.6.tgz#d60ba2349a51c2cbc5e816dcd831a42029d376bf" - integrity sha512-hHxJU6PAEUn0TP4S/ZOzuTUvJWuZ6eIKeNKb5RBpODvSl6hp1Wrw4s7ATY50rklRCScUDpHzVA/DQdSjJ3UoYQ== - dependencies: - "@types/node" "*" - "@types/semver@^7.3.12": version "7.5.6" resolved "https://registry.yarnpkg.com/@types/semver/-/semver-7.5.6.tgz#c65b2bfce1bec346582c07724e3f8c1017a20339" @@ -3567,27 +3477,27 @@ resolved "https://registry.yarnpkg.com/@ungap/structured-clone/-/structured-clone-1.2.0.tgz#756641adb587851b5ccb3e095daf27ae581c8406" integrity sha512-zuVdFrMJiuCDQUMCzQaD6KL28MjnqqN8XnAqiEq9PNm/hCPTSGfrXCOfwj1ow4LFb/tNymJPwsNbVePc1xFqrQ== -"@vanilla-extract/css@1.9.1": - version "1.9.1" - resolved "https://registry.yarnpkg.com/@vanilla-extract/css/-/css-1.9.1.tgz#337b79faa5f8f98915a90c3fe3c30b54be746c09" - integrity sha512-pu2SFiff5jRhPwvGoj8cM5l/qIyLvigOmy22ss5DGjwV5pJYezRjDLxWumi2luIwioMWvh9EozCjyfH8nq+7fQ== +"@vanilla-extract/css@1.14.0": + version "1.14.0" + resolved "https://registry.yarnpkg.com/@vanilla-extract/css/-/css-1.14.0.tgz#45fab9c04d893e3e363cf2cde7559d21233b7f63" + integrity sha512-rYfm7JciWZ8PFzBM/HDiE2GLnKI3xJ6/vdmVJ5BSgcCZ5CxRlM9Cjqclni9lGzF3eMOijnUhCd/KV8TOzyzbMA== dependencies: - "@emotion/hash" "^0.8.0" + "@emotion/hash" "^0.9.0" "@vanilla-extract/private" "^1.0.3" - ahocorasick "1.0.2" chalk "^4.1.1" - css-what "^5.0.1" + css-what "^6.1.0" cssesc "^3.0.0" csstype "^3.0.7" - deep-object-diff "^1.1.0" + deep-object-diff "^1.1.9" deepmerge "^4.2.2" media-query-parser "^2.0.2" + modern-ahocorasick "^1.0.0" outdent "^0.8.0" -"@vanilla-extract/dynamic@2.0.2": - version "2.0.2" - resolved "https://registry.yarnpkg.com/@vanilla-extract/dynamic/-/dynamic-2.0.2.tgz#13a3e461964c8029a52e6b6b631009ca6a8b27f5" - integrity sha512-U4nKaEQ8Kuz+exXEr51DUpyaOuzo24/S/k1YbDPQR06cYcNjQqvwFRnwWtZ+9ImocqM1wTKtzrdUgSTtLGIwAg== +"@vanilla-extract/dynamic@2.1.0": + version "2.1.0" + resolved "https://registry.yarnpkg.com/@vanilla-extract/dynamic/-/dynamic-2.1.0.tgz#316d3bd4adfd5f5c9fb080445c41d55abe3b463c" + integrity sha512-8zl0IgBYRtgD1h+56Zu13wHTiMTJSVEa4F7RWX9vTB/5Xe2KtjoiqApy/szHPVFA56c+ex6A4GpCQjT1bKXbYw== dependencies: "@vanilla-extract/private" "^1.0.3" @@ -3596,41 +3506,40 @@ resolved "https://registry.yarnpkg.com/@vanilla-extract/private/-/private-1.0.3.tgz#7ec72bc2ff6fe51f9d650f962e8d1989b073690f" integrity sha512-17kVyLq3ePTKOkveHxXuIJZtGYs+cSoev7BlP+Lf4916qfDhk/HBjvlYDe8egrea7LNPHKwSZJK/bzZC+Q6AwQ== -"@vanilla-extract/sprinkles@1.5.0": - version "1.5.0" - resolved "https://registry.yarnpkg.com/@vanilla-extract/sprinkles/-/sprinkles-1.5.0.tgz#c921183ae518bb484299c2dc81f2acefd91c3dbe" - integrity sha512-W58f2Rzz5lLmk0jbhgStVlZl5wEiPB1Ur3fRvUaBM+MrifZ3qskmFq/CiH//fEYeG5Dh9vF1qRviMMH46cX9Nw== +"@vanilla-extract/sprinkles@1.6.1": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@vanilla-extract/sprinkles/-/sprinkles-1.6.1.tgz#2c8a832757a0d8104dc6bd5d961db2c70d1dbdcb" + integrity sha512-N/RGKwGAAidBupZ436RpuweRQHEFGU+mvAqBo8PRMAjJEmHoPDttV8RObaMLrJHWLqvX+XUMinHUnD0hFRQISw== -"@wagmi/connectors@3.1.6": - version "3.1.6" - resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-3.1.6.tgz#fdb139249fac710b1accf8ac1472e6e3b104b981" - integrity sha512-71ZW9ETmzFJbetMfGAUEtJtTyDGetAT/pkdsMwyvH+MBPoZuqHUQ7NxgvhSo9ddsAzsEbJJLCaJdZodj3CbosA== +"@wagmi/connectors@3.1.11": + version "3.1.11" + resolved "https://registry.yarnpkg.com/@wagmi/connectors/-/connectors-3.1.11.tgz#98c3a73555bd4c96e562b0258bb2c770fa37b621" + integrity sha512-wzxp9f9PtSUFjDUP/QDjc1t7HON4D8wrVKsw35ejdO8hToDpx1gU9lwH/47Zo/1zExGezQc392sjoHSszYd7OA== dependencies: "@coinbase/wallet-sdk" "^3.6.6" - "@ledgerhq/connect-kit-loader" "^1.1.0" - "@safe-global/safe-apps-provider" "^0.17.1" - "@safe-global/safe-apps-sdk" "^8.0.0" - "@walletconnect/ethereum-provider" "2.10.6" + "@safe-global/safe-apps-provider" "^0.18.1" + "@safe-global/safe-apps-sdk" "^8.1.0" + "@walletconnect/ethereum-provider" "2.11.0" "@walletconnect/legacy-provider" "^2.0.0" "@walletconnect/modal" "2.6.2" - "@walletconnect/utils" "2.10.2" + "@walletconnect/utils" "2.11.0" abitype "0.8.7" eventemitter3 "^4.0.7" -"@wagmi/core@1.4.8": - version "1.4.8" - resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-1.4.8.tgz#aa5addebf0edebd7a415e13fd34f8390cd480822" - integrity sha512-zIkyw8ZJlMwb04+yohQVMWKjcX5FFlM30tRDanr6dQ+qlYqtUoB70CJGpSRtCYmbK3JlYxH21JNykjOZzdM88Q== +"@wagmi/core@1.4.13": + version "1.4.13" + resolved "https://registry.yarnpkg.com/@wagmi/core/-/core-1.4.13.tgz#8a29bb0370141d48232e3d0b60011dbd8f91a37d" + integrity sha512-ytMCvXbBOgfDu9Qw67279wq/jNEe7EZLjLyekX7ROnvHRADqFr3lwZI6ih41UmtRZAmXAx8Ghyuqy154EjB5mQ== dependencies: - "@wagmi/connectors" "3.1.6" + "@wagmi/connectors" "3.1.11" abitype "0.8.7" eventemitter3 "^4.0.7" zustand "^4.3.1" -"@walletconnect/core@2.10.6": - version "2.10.6" - resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.10.6.tgz#786b0d2e2045c210c917e29bfa0498bbc210be20" - integrity sha512-Z4vh4ZdfcoQjgPEOxeuF9HUZCVLtV3MgRbS/awLIj/omDrFnOwlBhxi5Syr4Y8muVGC0ocRetQYHae0/gX5crQ== +"@walletconnect/core@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/core/-/core-2.11.0.tgz#3a4e301077b2f858fd916b7a20b5b984d1afce63" + integrity sha512-2Tjp5BCevI7dbmqo/OrCjX4tqgMqwJNQLlQAlphqPfvwlF9+tIu6pGcVbSN3U9zyXzWIZCeleqEaWUeSeET4Ew== dependencies: "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-provider" "1.0.13" @@ -3643,9 +3552,10 @@ "@walletconnect/relay-auth" "^1.0.4" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.6" - "@walletconnect/utils" "2.10.6" + "@walletconnect/types" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" + isomorphic-unfetch "3.1.0" lodash.isequal "4.5.0" uint8arrays "^3.1.0" @@ -3677,20 +3587,20 @@ dependencies: tslib "1.14.1" -"@walletconnect/ethereum-provider@2.10.6": - version "2.10.6" - resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.10.6.tgz#53720771cc2d6accd452916a853ac927f26acbaa" - integrity sha512-bBQ+yUfxLv8VxNttgNKY7nED35gSVayO/BnLHbNKvyV1gpvSCla5mWB9MsXuQs70MK0g+/qtgRVSrOtdSubaNQ== +"@walletconnect/ethereum-provider@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/ethereum-provider/-/ethereum-provider-2.11.0.tgz#feb90368d8b2608d7d120ac8feeb3e26eac8c709" + integrity sha512-YrTeHVjuSuhlUw7SQ6xBJXDuJ6iAC+RwINm9nVhoKYJSHAy3EVSJZOofMKrnecL0iRMtD29nj57mxAInIBRuZA== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "^1.0.13" "@walletconnect/jsonrpc-types" "^1.0.3" "@walletconnect/jsonrpc-utils" "^1.0.8" - "@walletconnect/modal" "^2.4.3" - "@walletconnect/sign-client" "2.10.6" - "@walletconnect/types" "2.10.6" - "@walletconnect/universal-provider" "2.10.6" - "@walletconnect/utils" "2.10.6" + "@walletconnect/modal" "^2.6.2" + "@walletconnect/sign-client" "2.11.0" + "@walletconnect/types" "2.11.0" + "@walletconnect/universal-provider" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" "@walletconnect/events@^1.0.1": @@ -3756,7 +3666,7 @@ events "^3.3.0" ws "^7.5.1" -"@walletconnect/keyvaluestorage@^1.0.2", "@walletconnect/keyvaluestorage@^1.1.1": +"@walletconnect/keyvaluestorage@^1.1.1": version "1.1.1" resolved "https://registry.yarnpkg.com/@walletconnect/keyvaluestorage/-/keyvaluestorage-1.1.1.tgz#dd2caddabfbaf80f6b8993a0704d8b83115a1842" integrity sha512-V7ZQq2+mSxAq7MrRqDxanTzu2RcElfK1PfNYiaVnJgJ7Q7G7hTVwF8voIBx92qsRyGHZihrwNPHuZd1aKkd0rA== @@ -3850,7 +3760,7 @@ motion "10.16.2" qrcode "1.5.3" -"@walletconnect/modal@2.6.2", "@walletconnect/modal@^2.4.3": +"@walletconnect/modal@2.6.2", "@walletconnect/modal@^2.6.2": version "2.6.2" resolved "https://registry.yarnpkg.com/@walletconnect/modal/-/modal-2.6.2.tgz#4b534a836f5039eeb3268b80be7217a94dd12651" integrity sha512-eFopgKi8AjKf/0U4SemvcYw9zlLpx9njVN8sf6DAkowC2Md0gPU/UNEbH1Wwj407pEKnEds98pKWib1NN1ACoA== @@ -3895,19 +3805,19 @@ dependencies: tslib "1.14.1" -"@walletconnect/sign-client@2.10.6": - version "2.10.6" - resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.10.6.tgz#722d2c2844565e2826dce6a6d3a36c9b3ca1ea91" - integrity sha512-EvUWjaZBQu2yKnH5/5F2qzbuiIuUN9ZgrNKgvXkw5z1Dq5RJCks0S9/MFlKH/ZSGqXnLl7uAzBXtoX4sMgbCMA== +"@walletconnect/sign-client@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/sign-client/-/sign-client-2.11.0.tgz#de10f976cc1b8ab04b7f7c27f6a298e4e083ab25" + integrity sha512-H2ukscibBS+6WrzQWh+WyVBqO5z4F5et12JcwobdwgHnJSlqIoZxqnUYYWNCI5rUR5UKsKWaUyto4AE9N5dw4Q== dependencies: - "@walletconnect/core" "2.10.6" + "@walletconnect/core" "2.11.0" "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" "@walletconnect/jsonrpc-utils" "1.0.8" "@walletconnect/logger" "^2.0.1" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.6" - "@walletconnect/utils" "2.10.6" + "@walletconnect/types" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" "@walletconnect/time@^1.0.2": @@ -3917,22 +3827,10 @@ dependencies: tslib "1.14.1" -"@walletconnect/types@2.10.2": - version "2.10.2" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.10.2.tgz#68e433a29ec2cf42d79d8b50c77bd5c1d91db721" - integrity sha512-luNV+07Wdla4STi9AejseCQY31tzWKQ5a7C3zZZaRK/di+rFaAAb7YW04OP4klE7tw/mJRGPTlekZElmHxO8kQ== - dependencies: - "@walletconnect/events" "^1.0.1" - "@walletconnect/heartbeat" "1.2.1" - "@walletconnect/jsonrpc-types" "1.0.3" - "@walletconnect/keyvaluestorage" "^1.0.2" - "@walletconnect/logger" "^2.0.1" - events "^3.3.0" - -"@walletconnect/types@2.10.6": - version "2.10.6" - resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.10.6.tgz#d9920ed4fd0113e0addbda8e7e73a5176a3163fd" - integrity sha512-WgHfiTG1yakmxheaBRiXhUdEmgxwrvsAdOIWaMf/spvrzVKYh6sHI3oyEEky5qj5jjiMiyQBeB57QamzCotbcQ== +"@walletconnect/types@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/types/-/types-2.11.0.tgz#474a009c56faa9ef4063b76ed84415c801dc9f1e" + integrity sha512-AB5b1lrEbCGHxqS2vqfCkIoODieH+ZAUp9rA1O2ftrhnqDJiJK983Df87JhYhECsQUBHHfALphA8ydER0q+9sw== dependencies: "@walletconnect/events" "^1.0.1" "@walletconnect/heartbeat" "1.2.1" @@ -3941,25 +3839,25 @@ "@walletconnect/logger" "^2.0.1" events "^3.3.0" -"@walletconnect/universal-provider@2.10.6": - version "2.10.6" - resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.10.6.tgz#1a6c42517581f11ce275474bc70d0eb4f1044525" - integrity sha512-CEivusqqoD31BhCTKp08DnrccfGjwD9MFjZs5BNRorDteRFE8zVm9LmP6DSiNJCw82ZajGlZThggLQ/BAATfwA== +"@walletconnect/universal-provider@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/universal-provider/-/universal-provider-2.11.0.tgz#89053c2360b5ce766c213ca4e33bb4ce4976b0be" + integrity sha512-zgJv8jDvIMP4Qse/D9oIRXGdfoNqonsrjPZanQ/CHNe7oXGOBiQND2IIeX+tS0H7uNA0TPvctljCLiIN9nw4eA== dependencies: "@walletconnect/jsonrpc-http-connection" "^1.0.7" "@walletconnect/jsonrpc-provider" "1.0.13" "@walletconnect/jsonrpc-types" "^1.0.2" "@walletconnect/jsonrpc-utils" "^1.0.7" "@walletconnect/logger" "^2.0.1" - "@walletconnect/sign-client" "2.10.6" - "@walletconnect/types" "2.10.6" - "@walletconnect/utils" "2.10.6" + "@walletconnect/sign-client" "2.11.0" + "@walletconnect/types" "2.11.0" + "@walletconnect/utils" "2.11.0" events "^3.3.0" -"@walletconnect/utils@2.10.2": - version "2.10.2" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.10.2.tgz#1f2c6a2f1bb95bcc4517b1e94aa7164c9286eb46" - integrity sha512-syxXRpc2yhSknMu3IfiBGobxOY7fLfLTJuw+ppKaeO6WUdZpIit3wfuGOcc0Ms3ZPFCrGfyGOoZsCvgdXtptRg== +"@walletconnect/utils@2.11.0": + version "2.11.0" + resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.11.0.tgz#31c95151c823022077883dda61800cdea71879b7" + integrity sha512-hxkHPlTlDQILHfIKXlmzgNJau/YcSBC3XHUSuZuKZbNEw3duFT6h6pm3HT/1+j1a22IG05WDsNBuTCRkwss+BQ== dependencies: "@stablelib/chacha20poly1305" "1.0.1" "@stablelib/hkdf" "1.0.1" @@ -3969,27 +3867,7 @@ "@walletconnect/relay-api" "^1.0.9" "@walletconnect/safe-json" "^1.0.2" "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.2" - "@walletconnect/window-getters" "^1.0.1" - "@walletconnect/window-metadata" "^1.0.1" - detect-browser "5.3.0" - query-string "7.1.3" - uint8arrays "^3.1.0" - -"@walletconnect/utils@2.10.6": - version "2.10.6" - resolved "https://registry.yarnpkg.com/@walletconnect/utils/-/utils-2.10.6.tgz#749b37d14e291e346862e7027ec7548463350226" - integrity sha512-oRsWWhN2+hi3aiDXrQEOfysz6FHQJGXLsNQPVt+WIBJplO6Szmdau9dbleD88u1iiT4GKPqE0R9FOYvvPm1H/w== - dependencies: - "@stablelib/chacha20poly1305" "1.0.1" - "@stablelib/hkdf" "1.0.1" - "@stablelib/random" "^1.0.2" - "@stablelib/sha256" "1.0.1" - "@stablelib/x25519" "^1.0.3" - "@walletconnect/relay-api" "^1.0.9" - "@walletconnect/safe-json" "^1.0.2" - "@walletconnect/time" "^1.0.2" - "@walletconnect/types" "2.10.6" + "@walletconnect/types" "2.11.0" "@walletconnect/window-getters" "^1.0.1" "@walletconnect/window-metadata" "^1.0.1" detect-browser "5.3.0" @@ -4165,10 +4043,10 @@ abitype@0.9.8: resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ== -abortcontroller-polyfill@^1.7.5: - version "1.7.5" - resolved "https://registry.yarnpkg.com/abortcontroller-polyfill/-/abortcontroller-polyfill-1.7.5.tgz#6738495f4e901fbb57b6c0611d0c75f76c485bed" - integrity sha512-JMJ5soJWP18htbbxJjG7bG6yuI6pRhgJ0scHHTfkUjf6wjP912xZWvM+A4sJK3gqd9E8fcPbDnOefbA9Th/FIQ== +abitype@^0.8.3: + version "0.8.11" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.8.11.tgz#66e1cf2cbf46f48d0e57132d7c1c392447536cc1" + integrity sha512-bM4v2dKvX08sZ9IU38IN5BKmN+ZkOSd2oI4a9f0ejHYZQYV6cDr7j+d95ga0z2XHG36Y4jzoG5Z7qDqxp7fi/A== accepts@~1.3.4, accepts@~1.3.5, accepts@~1.3.8: version "1.3.8" @@ -4207,9 +4085,9 @@ acorn@^7.1.1: integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== acorn@^8.10.0, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: - version "8.11.2" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.2.tgz#ca0d78b51895be5390a5903c5b3bdcdaf78ae40b" - integrity sha512-nc0Axzp/0FILLEVsm4fNwLCwMttvhEI263QtVPQcbpfZZ3ts0hLsZGOpE6czNlid7CJ9MlyH8reXkpsf3YUY4w== + version "8.11.3" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" + integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== address@^1.0.1, address@^1.1.2: version "1.2.2" @@ -4241,18 +4119,13 @@ agent-base@6: dependencies: debug "4" -agentkeepalive@^4.3.0: +agentkeepalive@^4.5.0: version "4.5.0" resolved "https://registry.yarnpkg.com/agentkeepalive/-/agentkeepalive-4.5.0.tgz#2673ad1389b3c418c5a20c5d7364f93ca04be923" integrity sha512-5GG/5IbQQpC9FpkRGsSvZI5QYeSCzlJHdpBQntCsuTOxhKD8lqKhrleg2Yi7yvMIf82Ycmmqln9U8V9qwEiJew== dependencies: humanize-ms "^1.2.1" -ahocorasick@1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/ahocorasick/-/ahocorasick-1.0.2.tgz#9eee93aef9d02bfb476d9b648d9b7a40ef2fd500" - integrity sha512-hCOfMzbFx5IDutmWLAt6MZwOUjIfSM9G9FyVxytmE4Rs/5YDPWQrD/+IR1w+FweD9H2oOZEnv36TmkjhNURBVA== - ajv-formats@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/ajv-formats/-/ajv-formats-2.1.1.tgz#6e669400659eb74973bbf2e33327180a0996b520" @@ -4333,6 +4206,11 @@ ansi-styles@^5.0.0: resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-5.2.0.tgz#07449690ad45777d1924ac2abb2fc8895dba836b" integrity sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA== +ansi-styles@^6.1.0: + version "6.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-6.2.1.tgz#0e62320cf99c21afff3b3012192546aacbfb05c5" + integrity sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug== + any-promise@^1.0.0: version "1.3.0" resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-1.3.0.tgz#abc6afeedcea52e809cdc0376aed3ce39635d17f" @@ -4346,11 +4224,6 @@ anymatch@^3.0.3, anymatch@^3.1.3, anymatch@~3.1.2: normalize-path "^3.0.0" picomatch "^2.0.4" -arch@^2.2.0: - version "2.2.0" - resolved "https://registry.yarnpkg.com/arch/-/arch-2.2.0.tgz#1bc47818f305764f23ab3306b0bfc086c5a29d11" - integrity sha512-Of/R0wqp83cgHozfIYLbBMnej79U/SVGOOyuB3VVFv1NRM/PSFMK12x9KVtiYzJqmnU5WR2qp0Z5rHb7sWGnFQ== - arg@^5.0.2: version "5.0.2" resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c" @@ -4375,16 +4248,6 @@ aria-query@^5.3.0: dependencies: dequal "^2.0.3" -array-back@^3.0.1, array-back@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/array-back/-/array-back-3.1.0.tgz#b8859d7a508871c9a7b2cf42f99428f65e96bfb0" - integrity sha512-TkuxA4UCOvxuDK6NZYXCalszEzj+TLszyASooky+i742l9TqsOdYCMJJupxRic61hwquNtppB3hgcuq9SVSH1Q== - -array-back@^4.0.1, array-back@^4.0.2: - version "4.0.2" - resolved "https://registry.yarnpkg.com/array-back/-/array-back-4.0.2.tgz#8004e999a6274586beeb27342168652fdb89fa1e" - integrity sha512-NbdMezxqf94cnNfWLL7V/im0Ub+Anbb0IoZhvzie8+4HJ4nMQuzHuy49FkGYCJK2yAloZ3meiB6AVMClbrI1vg== - array-buffer-byte-length@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" @@ -4398,11 +4261,6 @@ array-flatten@1.1.1: resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-1.1.1.tgz#9a5f699051b1e7073328f2a008968b64ea2955d2" integrity sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg== -array-flatten@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/array-flatten/-/array-flatten-2.1.2.tgz#24ef80a28c1a893617e2149b0c6d0d788293b099" - integrity sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ== - array-includes@^3.1.6, array-includes@^3.1.7: version "3.1.7" resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.1.7.tgz#8cd2e01b26f7a3086cbc87271593fe921c62abda" @@ -4572,15 +4430,6 @@ axe-core@=4.7.0: resolved "https://registry.yarnpkg.com/axe-core/-/axe-core-4.7.0.tgz#34ba5a48a8b564f67e103f0aa5768d76e15bbbbf" integrity sha512-M0JtH+hlOL5pLQwHOLNYZaXuhqmvS8oExsqB1SBYgA4Dk7u/xx+YdGHXaK5pyUfed5mYXdlYiphWq3G8cRi5JQ== -axios@^1.4.0: - version "1.6.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.6.2.tgz#de67d42c755b571d3e698df1b6504cde9b0ee9f2" - integrity sha512-7i24Ri4pmDRfJTR7LDBhsOTtcm+9kjX5WiY1X3wIisx6G9So3pfMkEiU7emUBe46oceVImccTEM3k6C5dbVW8A== - dependencies: - follow-redirects "^1.15.0" - form-data "^4.0.0" - proxy-from-env "^1.1.0" - axobject-query@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.2.1.tgz#39c378a6e3b06ca679f29138151e45b2b32da62a" @@ -4647,29 +4496,29 @@ babel-plugin-named-asset-import@^0.3.8: resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.8.tgz#6b7fa43c59229685368683c28bc9734f24524cc2" integrity sha512-WXiAc++qo7XcJ1ZnTYGtLxmBCVbddAml3CEXgWaBzNzLNoxtQ8AiGEFDMOhot9XjTCQbvP5E77Fj9Gk924f00Q== -babel-plugin-polyfill-corejs2@^0.4.6: - version "0.4.6" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.6.tgz#b2df0251d8e99f229a8e60fc4efa9a68b41c8313" - integrity sha512-jhHiWVZIlnPbEUKSSNb9YoWcQGdlTLq7z1GHL4AjFxaoOUMuuEVJ+Y4pAaQUGOGk93YsVCKPbqbfw3m0SM6H8Q== +babel-plugin-polyfill-corejs2@^0.4.7: + version "0.4.7" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.7.tgz#679d1b94bf3360f7682e11f2cb2708828a24fe8c" + integrity sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ== dependencies: "@babel/compat-data" "^7.22.6" - "@babel/helper-define-polyfill-provider" "^0.4.3" + "@babel/helper-define-polyfill-provider" "^0.4.4" semver "^6.3.1" -babel-plugin-polyfill-corejs3@^0.8.5: - version "0.8.6" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.6.tgz#25c2d20002da91fe328ff89095c85a391d6856cf" - integrity sha512-leDIc4l4tUgU7str5BWLS2h8q2N4Nf6lGZP6UrNDxdtfF2g69eJ5L0H7S8A5Ln/arfFAfHor5InAdZuIOwZdgQ== +babel-plugin-polyfill-corejs3@^0.8.7: + version "0.8.7" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.7.tgz#941855aa7fdaac06ed24c730a93450d2b2b76d04" + integrity sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.3" + "@babel/helper-define-polyfill-provider" "^0.4.4" core-js-compat "^3.33.1" -babel-plugin-polyfill-regenerator@^0.5.3: - version "0.5.3" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.3.tgz#d4c49e4b44614607c13fb769bcd85c72bb26a4a5" - integrity sha512-8sHeDOmXC8csczMrYEOf0UTNa4yE2SxV5JGeT/LP1n0OYVDUUFPxG9vdk2AlDlIit4t+Kf0xCtpgXPBwnn/9pw== +babel-plugin-polyfill-regenerator@^0.5.4: + version "0.5.4" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.4.tgz#c6fc8eab610d3a11eb475391e52584bacfc020f4" + integrity sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.3" + "@babel/helper-define-polyfill-provider" "^0.4.4" babel-plugin-transform-react-remove-prop-types@^0.4.24: version "0.4.24" @@ -4774,7 +4623,7 @@ bigint-buffer@^1.1.5: dependencies: bindings "^1.3.0" -bignumber.js@*, bignumber.js@^9.0.0, bignumber.js@^9.0.1: +bignumber.js@*, bignumber.js@^9.0.1: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== @@ -4796,11 +4645,6 @@ bindings@^1.3.0: dependencies: file-uri-to-path "1.0.0" -blakejs@^1.1.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/blakejs/-/blakejs-1.2.1.tgz#5057e4206eadb4a97f7c0b6e197a505042fc3814" - integrity sha512-QXUSXI3QVc/gJME0dBpXrag1kbzOqCjCX8/b54ntNyW6sjtoqxqRk3LTmXzaJoh71zMsDCjM+47jS7XiwN/+fQ== - bluebird@^3.7.2: version "3.7.2" resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" @@ -4816,7 +4660,7 @@ bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" integrity sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA== -bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.1.2, bn.js@^5.2.0, bn.js@^5.2.1: +bn.js@^5.0.0, bn.js@^5.1.1, bn.js@^5.2.0, bn.js@^5.2.1: version "5.2.1" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.1.tgz#0bc527a6a0d18d0aa8d5b0538ce4a77dccfa7b70" integrity sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ== @@ -4840,12 +4684,10 @@ body-parser@1.20.1: unpipe "1.0.0" bonjour-service@^1.0.11: - version "1.1.1" - resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.1.1.tgz#960948fa0e0153f5d26743ab15baf8e33752c135" - integrity sha512-Z/5lQRMOG9k7W+FkeGTNjh7htqn/2LMnfOvBZ8pynNZCM9MwkQkI3zeI4oz09uWdcgmgHugVvBqxGg4VQJ5PCg== + version "1.2.1" + resolved "https://registry.yarnpkg.com/bonjour-service/-/bonjour-service-1.2.1.tgz#eb41b3085183df3321da1264719fbada12478d02" + integrity sha512-oSzCS2zV14bh2kji6vNe7vrpJYCHGvcZnlffFQ1MEoX/WOeQ/teD8SYWKR942OI3INjq8OMNJlbPK5LLLUxFDw== dependencies: - array-flatten "^2.1.2" - dns-equal "^1.0.0" fast-deep-equal "^3.1.3" multicast-dns "^7.2.5" @@ -4895,7 +4737,7 @@ browser-process-hrtime@^1.0.0: resolved "https://registry.yarnpkg.com/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz#3c9b4b7d782c8121e56f10106d84c0d0ffc94626" integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow== -browserify-aes@^1.0.0, browserify-aes@^1.0.4, browserify-aes@^1.2.0: +browserify-aes@^1.0.0, browserify-aes@^1.0.4: version "1.2.0" resolved "https://registry.yarnpkg.com/browserify-aes/-/browserify-aes-1.2.0.tgz#326734642f403dabc3003209853bb70ad428ef48" integrity sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA== @@ -4956,7 +4798,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.21.9, browserslist@^4.22.1: +browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2: version "4.22.2" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== @@ -4973,15 +4815,6 @@ bs58@^4.0.0, bs58@^4.0.1: dependencies: base-x "^3.0.2" -bs58check@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/bs58check/-/bs58check-2.1.2.tgz#53b018291228d82a5aa08e7d796fdafda54aebfc" - integrity sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA== - dependencies: - bs58 "^4.0.0" - create-hash "^1.1.0" - safe-buffer "^5.1.2" - bser@2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/bser/-/bser-2.1.1.tgz#e6787da20ece9d07998533cfd9de6f5c38f4bc05" @@ -5094,9 +4927,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001565: - version "1.0.30001566" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001566.tgz#61a8e17caf3752e3e426d4239c549ebbb37fef0d" - integrity sha512-ggIhCsTxmITBAMmK8yZjEhCO5/47jKXPu6Dha/wuCS4JePVL+3uiDEBuhu2aIoT+bqTOR8L76Ip1ARL9xYsEJA== + version "1.0.30001576" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz#893be772cf8ee6056d6c1e2d07df365b9ec0a5c4" + integrity sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5168,7 +5001,7 @@ cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: inherits "^2.0.1" safe-buffer "^5.0.1" -citty@^0.1.3, citty@^0.1.4: +citty@^0.1.5: version "0.1.5" resolved "https://registry.yarnpkg.com/citty/-/citty-0.1.5.tgz#fe37ceae5dc764af75eb2fece99d2bf527ea4e50" integrity sha512-AS7n5NSc0OQVMV9v6wt3ByujNIrne0/cTjiC2MYqhvao57VNfiuVksTSr2p17nVOhEr2KtqiAkGwHcgMC/qUuQ== @@ -5187,14 +5020,14 @@ clean-css@^5.2.2: dependencies: source-map "~0.6.0" -clipboardy@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-3.0.0.tgz#f3876247404d334c9ed01b6f269c11d09a5e3092" - integrity sha512-Su+uU5sr1jkUy1sGRpLKjKrvEOVXgSgiSInwa/qeID6aJ07yh+5NWc3h2QfjHjBnfX4LhtFcuAWKUsJ3r+fjbg== +clipboardy@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/clipboardy/-/clipboardy-4.0.0.tgz#e73ced93a76d19dd379ebf1f297565426dffdca1" + integrity sha512-5mOlNS0mhX0707P2I0aZ2V/cmHUEO/fL7VFLqszkhUsxt7RwnmrInf/eEQKlf5GzvYeHIjT+Ov1HRfNmymlG0w== dependencies: - arch "^2.2.0" - execa "^5.1.1" - is-wsl "^2.2.0" + execa "^8.0.1" + is-wsl "^3.1.0" + is64bit "^2.0.0" cliui@^6.0.0: version "6.0.0" @@ -5214,30 +5047,16 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -cliui@^8.0.1: - version "8.0.1" - resolved "https://registry.yarnpkg.com/cliui/-/cliui-8.0.1.tgz#0c04b075db02cbfe60dc8e6cf2f5486b1a3608aa" - integrity sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ== - dependencies: - string-width "^4.2.0" - strip-ansi "^6.0.1" - wrap-ansi "^7.0.0" - -clsx@1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.1.1.tgz#98b3134f9abbdf23b2663491ace13c5c03a73188" - integrity sha512-6/bPho624p3S2pMyvP5kKBPXnI3ufHLObBFCfgx+LkeR5lg2XYy2hqZqUf45ypD8COn2bhgGJSUE+l5dhNBieA== +clsx@2.1.0, clsx@^2.0.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.0.tgz#e851283bcb5c80ee7608db18487433f7b23f77cb" + integrity sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg== clsx@^1.1.0, clsx@^1.1.1: version "1.2.1" resolved "https://registry.yarnpkg.com/clsx/-/clsx-1.2.1.tgz#0ddc4a20a549b59c93a4116bb26f5294ca17dc12" integrity sha512-EcR6r5a8bj6pu3ycsa/E/cKVGuTgZJZdsyUYHOksG/UHIiKfjxzRxYJpyVBwYaQeOvghal9fcc4PidlgzugAQg== -clsx@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.0.0.tgz#12658f3fd98fafe62075595a5c30e43d18f3d00b" - integrity sha512-rQ1+kcj+ttHG0MKVGBUXwayCCF1oh39BF5COIpRzuCEv8Mwjv0XucrI2ExNTOn9IlLifGClWQcU9BrZORvtw6Q== - cluster-key-slot@^1.1.0: version "1.1.2" resolved "https://registry.yarnpkg.com/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz#88ddaa46906e303b5de30d3153b7d9fe0a0c19ac" @@ -5303,26 +5122,6 @@ combined-stream@^1.0.8: dependencies: delayed-stream "~1.0.0" -command-line-args@^5.1.1: - version "5.2.1" - resolved "https://registry.yarnpkg.com/command-line-args/-/command-line-args-5.2.1.tgz#c44c32e437a57d7c51157696893c5909e9cec42e" - integrity sha512-H4UfQhZyakIjC74I9d34fGYDwk3XpSr17QhEd0Q3I9Xq1CETHo4Hcuo87WyWHpAF1aSLjLRf5lD9ZGX2qStUvg== - dependencies: - array-back "^3.1.0" - find-replace "^3.0.0" - lodash.camelcase "^4.3.0" - typical "^4.0.0" - -command-line-usage@^6.1.0: - version "6.1.3" - resolved "https://registry.yarnpkg.com/command-line-usage/-/command-line-usage-6.1.3.tgz#428fa5acde6a838779dfa30e44686f4b6761d957" - integrity sha512-sH5ZSPr+7UStsloltmDh7Ce5fb8XPlHyoPzTpyyMuYCtervL65+ubVZ6Q61cFtFl62UyJlc8/JwERRbAFPUqgw== - dependencies: - array-back "^4.0.2" - chalk "^2.4.2" - table-layout "^1.0.2" - typical "^5.2.0" - commander@^2.20.0, commander@^2.20.3: version "2.20.3" resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" @@ -5383,21 +5182,6 @@ concat-map@0.0.1: resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" integrity sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg== -concurrently@^7.4.0: - version "7.6.0" - resolved "https://registry.yarnpkg.com/concurrently/-/concurrently-7.6.0.tgz#531a6f5f30cf616f355a4afb8f8fcb2bba65a49a" - integrity sha512-BKtRgvcJGeZ4XttiDiNcFiRlxoAeZOseqUvyYRUp/Vtd+9p1ULmeoSqGsDA+2ivdeDFpqrJvGvmI+StKfKl5hw== - dependencies: - chalk "^4.1.0" - date-fns "^2.29.1" - lodash "^4.17.21" - rxjs "^7.0.0" - shell-quote "^1.7.3" - spawn-command "^0.0.2-1" - supports-color "^8.1.0" - tree-kill "^1.2.2" - yargs "^17.3.1" - confusing-browser-globals@^1.0.11: version "1.0.11" resolved "https://registry.yarnpkg.com/confusing-browser-globals/-/confusing-browser-globals-1.0.11.tgz#ae40e9b57cdd3915408a2805ebd3a5585608dc81" @@ -5458,21 +5242,21 @@ copy-to-clipboard@^3.3.3: toggle-selection "^1.0.6" core-js-compat@^3.31.0, core-js-compat@^3.33.1: - version "3.33.3" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.33.3.tgz#ec678b772c5a2d8a7c60a91c3a81869aa704ae01" - integrity sha512-cNzGqFsh3Ot+529GIXacjTJ7kegdt5fPXxCBVS1G0iaZpuo/tBz399ymceLJveQhFFZ8qThHiP3fzuoQjKN2ow== + version "3.35.0" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.35.0.tgz#c149a3d1ab51e743bc1da61e39cb51f461a41873" + integrity sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw== dependencies: - browserslist "^4.22.1" + browserslist "^4.22.2" core-js-pure@^3.23.3: - version "3.33.3" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.33.3.tgz#cbf9180ac4c4653823d784862bfb5c77eac0bf98" - integrity sha512-taJ00IDOP+XYQEA2dAe4ESkmHt1fL8wzYDo3mRWQey8uO9UojlBFMneA65kMyxfYP7106c6LzWaq7/haDT6BCQ== + version "3.35.0" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.35.0.tgz#4660033304a050215ae82e476bd2513a419fbb34" + integrity sha512-f+eRYmkou59uh7BPcyJ8MC76DiGhspj1KMxVIcF24tzP8NA9HVa1uC7BTW2tgx7E1QVCzDzsgp7kArrzhlz8Ew== core-js@^3.19.2: - version "3.33.3" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.33.3.tgz#3c644a323f0f533a0d360e9191e37f7fc059088d" - integrity sha512-lo0kOocUlLKmm6kv/FswQL8zbkH7mVsLJ/FULClOhv8WRVmKLVcs6XPNQAzstfeJTCHMyButEwG+z1kHxHoDZw== + version "3.35.0" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.35.0.tgz#58e651688484f83c34196ca13f099574ee53d6b4" + integrity sha512-ntakECeqg81KqMueeGJ79Q5ZgQNR+6eaE8sxGCx62zMbAIj65q+uYvatToew3m6eAGdU4gNZwpZ34NMe4GYswg== core-util-is@~1.0.0: version "1.0.3" @@ -5539,14 +5323,7 @@ cross-fetch@^3.1.4: dependencies: node-fetch "^2.6.12" -cross-fetch@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-4.0.0.tgz#f037aef1580bb3a1a35164ea2a848ba81b445983" - integrity sha512-e4a5N8lVvuLgAWgnCrLr2PP0YyDOTHa9H/Rj54dirp61qXnNq46m82bRhNqIA5VccJtWBvPTFRV3TtvHUKPB1g== - dependencies: - node-fetch "^2.6.12" - -cross-spawn@^7.0.2, cross-spawn@^7.0.3: +cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" integrity sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w== @@ -5602,18 +5379,18 @@ css-has-pseudo@^3.0.4: postcss-selector-parser "^6.0.9" css-loader@^6.5.1: - version "6.8.1" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.8.1.tgz#0f8f52699f60f5e679eab4ec0fcd68b8e8a50a88" - integrity sha512-xDAXtEVGlD0gJ07iclwWVkLoZOpEvAWaSyf6W18S2pOC//K8+qUDIx8IIT3D+HjnmkJPQeesOPv5aiUaJsCM2g== + version "6.9.0" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.9.0.tgz#0cc2f14df94ed97c526c5ae42b6b13916d1d8d0e" + integrity sha512-3I5Nu4ytWlHvOP6zItjiHlefBNtrH+oehq8tnQa2kO305qpVyx9XNIT1CXIj5bgCJs7qICBCkgCYxQLKPANoLA== dependencies: icss-utils "^5.1.0" - postcss "^8.4.21" + postcss "^8.4.31" postcss-modules-extract-imports "^3.0.0" postcss-modules-local-by-default "^4.0.3" - postcss-modules-scope "^3.0.0" + postcss-modules-scope "^3.1.0" postcss-modules-values "^4.0.0" postcss-value-parser "^4.2.0" - semver "^7.3.8" + semver "^7.5.4" css-minimizer-webpack-plugin@^3.2.0: version "3.4.1" @@ -5687,20 +5464,15 @@ css-what@^3.2.1: resolved "https://registry.yarnpkg.com/css-what/-/css-what-3.4.2.tgz#ea7026fcb01777edbde52124e21f327e7ae950e4" integrity sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ== -css-what@^5.0.1: - version "5.1.0" - resolved "https://registry.yarnpkg.com/css-what/-/css-what-5.1.0.tgz#3f7b707aadf633baf62c2ceb8579b545bb40f7fe" - integrity sha512-arSMRWIIFY0hV8pIxZMEfmMI47Wj3R/aWpZDDxWYCPEiOMv6tfOrnpDtgxBYPEQD4V0Y/958+1TdC3iWTFcUPw== - -css-what@^6.0.1: +css-what@^6.0.1, css-what@^6.1.0: version "6.1.0" resolved "https://registry.yarnpkg.com/css-what/-/css-what-6.1.0.tgz#fb5effcf76f1ddea2c81bdfaa4de44e79bac70f4" integrity sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw== cssdb@^7.1.0: - version "7.9.0" - resolved "https://registry.yarnpkg.com/cssdb/-/cssdb-7.9.0.tgz#d42d8269ff3d3e1c366280ab1f9f6207057b262c" - integrity sha512-WPMT9seTQq6fPAa1yN4zjgZZeoTriSN2LqW9C+otjar12DQIWA4LuSfFrvFJiKp4oD0xIk1vumDLw8K9ur4NBw== + version "7.10.0" + resolved "https://registry.yarnpkg.com/cssdb/-/cssdb-7.10.0.tgz#08816db7b793f088263e8f61dfe8d7f11a3459f2" + integrity sha512-yGZ5tmA57gWh/uvdQBHs45wwFY0IBh3ypABk5sEubPBPSzXzkNgsWReqx7gdx6uhC+QoFBe+V8JwBB9/hQ6cIA== cssesc@^3.0.0: version "3.0.0" @@ -5781,17 +5553,9 @@ cssstyle@^2.3.0: cssom "~0.3.6" csstype@^3.0.2, csstype@^3.0.7, csstype@^3.1.2: - version "3.1.2" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b" - integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ== - -d@1, d@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" - integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== - dependencies: - es5-ext "^0.10.50" - type "^1.0.1" + version "3.1.3" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.3.tgz#d80ff294d114fb0e6ac500fbf85b60137d7eff81" + integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== damerau-levenshtein@^1.0.8: version "1.0.8" @@ -5807,14 +5571,7 @@ data-urls@^2.0.0: whatwg-mimetype "^2.3.0" whatwg-url "^8.0.0" -date-fns@^2.29.1: - version "2.30.0" - resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0" - integrity sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw== - dependencies: - "@babel/runtime" "^7.21.0" - -debug@2.6.9, debug@^2.2.0, debug@^2.6.0: +debug@2.6.9, debug@^2.6.0: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== @@ -5855,17 +5612,12 @@ dedent@^0.7.0: resolved "https://registry.yarnpkg.com/dedent/-/dedent-0.7.0.tgz#2495ddbaf6eb874abb0e1be9df22d2e5a544326c" integrity sha512-Q6fKUPqnAHAyhiUgFU7BUzLiv0kd8saH9al7tnu5Q/okj6dnupxyTgFIBjVzJATdfIAm9NAsvXNzjaKa+bxVyA== -deep-extend@~0.6.0: - version "0.6.0" - resolved "https://registry.yarnpkg.com/deep-extend/-/deep-extend-0.6.0.tgz#c4fa7c95404a17a9c3e8ca7e1537312b736330ac" - integrity sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA== - deep-is@^0.1.3, deep-is@~0.1.3: version "0.1.4" resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.4.tgz#a6f2dce612fadd2ef1f519b73551f17e85199831" integrity sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ== -deep-object-diff@^1.1.0: +deep-object-diff@^1.1.9: version "1.1.9" resolved "https://registry.yarnpkg.com/deep-object-diff/-/deep-object-diff-1.1.9.tgz#6df7ef035ad6a0caa44479c536ed7b02570f4595" integrity sha512-Rn+RuwkmkDwCi2/oXOFS9Gsr5lJZu/yTGpK7wAaAIE75CC+LCGEZHpY6VQJa/RoJcrmaA/docWJZvYohlNkWPA== @@ -5905,10 +5657,10 @@ define-properties@^1.1.3, define-properties@^1.2.0, define-properties@^1.2.1: has-property-descriptors "^1.0.0" object-keys "^1.1.1" -defu@^6.1.2, defu@^6.1.3: - version "6.1.3" - resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.3.tgz#6d7f56bc61668e844f9f593ace66fd67ef1205fd" - integrity sha512-Vy2wmG3NTkmHNg/kzpuvHhkqeIx3ODWqasgCRbKtbXEN0G+HpEEv9BtJLp7ZG1CZloFaC41Ah3ZFbq7aqCqMeQ== +defu@^6.1.3, defu@^6.1.4: + version "6.1.4" + resolved "https://registry.yarnpkg.com/defu/-/defu-6.1.4.tgz#4e0c9cf9ff68fe5f3d7f2765cc1a012dfdcb0479" + integrity sha512-mEQCMmwJu317oSz8CwdIOdwf3xMif1ttiM8LTufzc3g6kR+9Pe236twL8j3IYT1F7GfRgGcW6MWxzZjLIkuHIg== delay@^5.0.0: version "5.0.0" @@ -6027,11 +5779,6 @@ dlv@^1.1.3: resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== -dns-equal@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/dns-equal/-/dns-equal-1.0.0.tgz#b39e7f1da6eb0a75ba9c17324b34753c47e0654d" - integrity sha512-z+paD6YUQsk+AbGCEM4PrOXSss5gd66QfcVBFTKR/HpFL9jCqikS94HYwKww6fQyO7IxrIIyUu+g0Ka9tUS2Cg== - dns-packet@^5.2.2: version "5.6.1" resolved "https://registry.yarnpkg.com/dns-packet/-/dns-packet-5.6.1.tgz#ae888ad425a9d1478a0674256ab866de1012cf2f" @@ -6144,11 +5891,6 @@ dotenv@^10.0.0: resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-10.0.0.tgz#3d4227b8fb95f81096cdd2b66653fb2c7085ba81" integrity sha512-rlBi9d8jpv9Sf1klPjNfFAuWDjKLwTIJJ/VxtoTwIR6hnZxcEOQCZg2oIL3MWBYw5GpUDKOEnND7LXTbIpQ03Q== -dotenv@^16.0.3: - version "16.3.1" - resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.3.1.tgz#369034de7d7e5b120972693352a3bf112172cc3e" - integrity sha512-IPzF4w4/Rd94bA9imS68tZBaYyBWSCE47V1RGuMrB94iyTOIEwRmVL2x/4An+6mETpLrKJ5hQkB8W4kFAadeIQ== - duplexer@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/duplexer/-/duplexer-0.1.2.tgz#3abe43aef3835f8ae077d136ddce0f276b0400e6" @@ -6164,6 +5906,11 @@ duplexify@^4.1.2: readable-stream "^3.1.1" stream-shift "^1.0.0" +eastasianwidth@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/eastasianwidth/-/eastasianwidth-0.2.0.tgz#696ce2ec0aa0e6ea93a397ffcf24aa7840c827cb" + integrity sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA== + ee-first@1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/ee-first/-/ee-first-1.1.1.tgz#590c61156b0ae2f4f0255732a158b266bc56b21d" @@ -6177,9 +5924,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.601: - version "1.4.603" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.603.tgz#446907c21d333b55d0beaba1cb5b48430775a8a7" - integrity sha512-Dvo5OGjnl7AZTU632dFJtWj0uJK835eeOVQIuRcmBmsFsTNn3cL05FqOyHAfGQDIoHfLhyJ1Tya3PJ0ceMz54g== + version "1.4.625" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.625.tgz#a9a1d18ee911f9074a9c42d9e84b1c79b29f4059" + integrity sha512-DENMhh3MFgaPDoXWrVIqSPInQoLImywfCwrSmVl3cf9QHzoZSiutHwGaB/Ql3VkqcQV30rzgdM+BjKqBAJxo5Q== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6363,25 +6110,7 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" -es5-ext@^0.10.35, es5-ext@^0.10.50: - version "0.10.62" - resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.62.tgz#5e6adc19a6da524bf3d1e02bbc8960e5eb49a9a5" - integrity sha512-BHLqn0klhEpnOKSrzn/Xsz2UIW8j+cGmo9JLzr8BiUapV8hPL9+FliFqjwr9ngW7jWdnxv6eO+/LqyhJVqgrjA== - dependencies: - es6-iterator "^2.0.3" - es6-symbol "^3.1.3" - next-tick "^1.1.0" - -es6-iterator@^2.0.3: - version "2.0.3" - resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" - integrity sha512-zw4SRzoUkd+cl+ZoE15A9o1oQd920Bb0iOJMQkQhl3jNc03YqVjAhG7scf9C5KWRU/R13Orf588uCC6525o02g== - dependencies: - d "1" - es5-ext "^0.10.35" - es6-symbol "^3.1.1" - -es6-promise@^4.0.3, es6-promise@^4.2.8: +es6-promise@^4.0.3: version "4.2.8" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" integrity sha512-HJDGx5daxeIvxdBxvG2cb9g4tEvwIk3i8+nhX0yGrYmZUzbkdg8QbDevheDB8gd0//uPj4c1EQua8Q+MViT0/w== @@ -6393,14 +6122,6 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" -es6-symbol@^3.1.1, es6-symbol@^3.1.3: - version "3.1.3" - resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" - integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== - dependencies: - d "^1.0.1" - ext "^1.1.2" - escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -6494,9 +6215,9 @@ eslint-plugin-flowtype@^8.0.3: string-natural-compare "^3.0.1" eslint-plugin-import@^2.25.3: - version "2.29.0" - resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.0.tgz#8133232e4329ee344f2f612885ac3073b0b7e155" - integrity sha512-QPOO5NO6Odv5lpoTkddtutccQjysJuFxoPS7fAHO+9m9udNHvTCPSAMW9zGAYj8lAIdr40I8yPCdUYrncXtrwg== + version "2.29.1" + resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.29.1.tgz#d45b37b5ef5901d639c15270d74d46d161150643" + integrity sha512-BbPC0cuExzhiMo4Ff1BTVwHpjjv28C5R+btTOGaCRC7UEz801up0JadwkeSk5Ued6TG34uaczuVuH6qyy5YUxw== dependencies: array-includes "^3.1.7" array.prototype.findlastindex "^1.2.3" @@ -6514,7 +6235,7 @@ eslint-plugin-import@^2.25.3: object.groupby "^1.0.1" object.values "^1.1.7" semver "^6.3.1" - tsconfig-paths "^3.14.2" + tsconfig-paths "^3.15.0" eslint-plugin-jest@^25.3.0: version "25.7.0" @@ -6617,14 +6338,14 @@ eslint-webpack-plugin@^3.1.1: schema-utils "^4.0.0" eslint@^8.3.0: - version "8.55.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.55.0.tgz#078cb7b847d66f2c254ea1794fa395bf8e7e03f8" - integrity sha512-iyUUAM0PCKj5QpwGfmCAG9XXbZCWsqP/eWAWrG/W0umvjuLRBECwSFdt+rCntju0xEH7teIABPwXpahftIaTdA== + version "8.56.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.56.0.tgz#4957ce8da409dc0809f99ab07a1b94832ab74b15" + integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.6.1" "@eslint/eslintrc" "^2.1.4" - "@eslint/js" "8.55.0" + "@eslint/js" "8.56.0" "@humanwhocodes/config-array" "^0.11.13" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" @@ -6768,27 +6489,6 @@ ethereum-bloom-filters@^1.0.6: dependencies: js-sha3 "^0.8.0" -ethereum-cryptography@^0.1.3: - version "0.1.3" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz#8d6143cfc3d74bf79bbd8edecdf29e4ae20dd191" - integrity sha512-w8/4x1SGGzc+tO97TASLja6SLd3fRIK2tLVcV2Gx4IB21hE19atll5Cq9o3d0ZmAYC/8aw0ipieTSiekAea4SQ== - dependencies: - "@types/pbkdf2" "^3.0.0" - "@types/secp256k1" "^4.0.1" - blakejs "^1.1.0" - browserify-aes "^1.2.0" - bs58check "^2.1.2" - create-hash "^1.2.0" - create-hmac "^1.1.7" - hash.js "^1.1.7" - keccak "^3.0.0" - pbkdf2 "^3.0.17" - randombytes "^2.1.0" - safe-buffer "^5.1.2" - scrypt-js "^3.0.0" - secp256k1 "^4.0.1" - setimmediate "^1.0.5" - ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: version "2.1.2" resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.2.tgz#18fa7108622e56481157a5cb7c01c0c6a672eb67" @@ -6799,18 +6499,7 @@ ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: "@scure/bip32" "1.3.1" "@scure/bip39" "1.2.1" -ethereumjs-util@^7.1.0, ethereumjs-util@^7.1.5: - version "7.1.5" - resolved "https://registry.yarnpkg.com/ethereumjs-util/-/ethereumjs-util-7.1.5.tgz#9ecf04861e4fbbeed7465ece5f23317ad1129181" - integrity sha512-SDl5kKrQAudFBUe5OJM9Ac6WmMyYmXX/6sTmLZ3ffG2eY6ZIGBes3pEDxNN6V72WyOw4CPD5RomKdsa8DAAwLg== - dependencies: - "@types/bn.js" "^5.1.0" - bn.js "^5.1.2" - create-hash "^1.1.2" - ethereum-cryptography "^0.1.3" - rlp "^2.2.4" - -ethers@^5.6.9, ethers@^5.7.0, ethers@^5.7.2: +ethers@^5.6.9: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" integrity sha512-wswUsmWo1aOK8rR7DIKiWSw9DbLWe6x98Jrn8wcTflTVvaXhAMaB5zGAXy0GYQEQp9iO1iSHWVyARQm11zUtyg== @@ -6854,16 +6543,16 @@ ethjs-unit@0.1.6: bn.js "4.11.6" number-to-bn "1.7.0" -eventemitter3@4.0.4: - version "4.0.4" - resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.4.tgz#b5463ace635a083d018bdc7c917b4c5f10a85384" - integrity sha512-rlaVLnVxtxvoyLsQQFBx53YmXHDxRIzzTLbdfxqi4yocpSjAxXwkU0cScM5JgSKMqEhrZpnvQ2D9gjylR0AimQ== - eventemitter3@^4.0.0, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" integrity sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw== +eventemitter3@^5.0.1: + version "5.0.1" + resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-5.0.1.tgz#53f5ffd0a492ac800721bb42c66b841de96423c4" + integrity sha512-GWkBvjiSZK87ELrYOSESUYeVIc9mvLLf/nXalMOS5dYrgZq9o5OVkbZAVM06CVxYsCwH9BDZFPlQTlPA1j4ahA== + events@^3.2.0, events@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/events/-/events-3.3.0.tgz#31a95ad0a924e2d2c419a813aeb2c4e878ea7400" @@ -6877,7 +6566,7 @@ evp_bytestokey@^1.0.0, evp_bytestokey@^1.0.3: md5.js "^1.3.4" safe-buffer "^5.1.1" -execa@^5.0.0, execa@^5.1.1: +execa@^5.0.0: version "5.1.1" resolved "https://registry.yarnpkg.com/execa/-/execa-5.1.1.tgz#f80ad9cbf4298f7bd1d4c9555c21e93741c411dd" integrity sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg== @@ -6892,6 +6581,21 @@ execa@^5.0.0, execa@^5.1.1: signal-exit "^3.0.3" strip-final-newline "^2.0.0" +execa@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/execa/-/execa-8.0.1.tgz#51f6a5943b580f963c3ca9c6321796db8cc39b8c" + integrity sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg== + dependencies: + cross-spawn "^7.0.3" + get-stream "^8.0.1" + human-signals "^5.0.0" + is-stream "^3.0.0" + merge-stream "^2.0.0" + npm-run-path "^5.1.0" + onetime "^6.0.0" + signal-exit "^4.1.0" + strip-final-newline "^3.0.0" + exit@^0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/exit/-/exit-0.1.2.tgz#0632638f8d877cc82107d30a0fff1a17cba1cd0c" @@ -6944,13 +6648,6 @@ express@^4.17.3: utils-merge "1.0.1" vary "~1.1.2" -ext@^1.1.2: - version "1.7.0" - resolved "https://registry.yarnpkg.com/ext/-/ext-1.7.0.tgz#0ea4383c0103d60e70be99e9a7f11027a33c4f5f" - integrity sha512-6hxeJYaL110a9b5TEJSj0gojyHQAmA2ch5Os+ySCiA1QGdS697XWY1pzsrSjqA9LDEEgdB/KypIlR59RcLuHYw== - dependencies: - type "^2.7.2" - eyes@^0.1.8: version "0.1.8" resolved "https://registry.yarnpkg.com/eyes/-/eyes-0.1.8.tgz#62cf120234c683785d902348a800ef3e0cc20bc0" @@ -6998,9 +6695,9 @@ fast-stable-stringify@^1.0.0: integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== fastq@^1.6.0: - version "1.15.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" - integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== + version "1.16.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.16.0.tgz#83b9a9375692db77a822df081edb6a9cf6839320" + integrity sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA== dependencies: reusify "^1.0.4" @@ -7084,13 +6781,6 @@ find-cache-dir@^3.3.1: make-dir "^3.0.2" pkg-dir "^4.1.0" -find-replace@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/find-replace/-/find-replace-3.0.0.tgz#3e7e23d3b05167a76f770c9fbd5258b0def68c38" - integrity sha512-6Tb2myMioCAgv5kfvP5/PkZZ/ntTpVK39fHY7WkWBgvbeE+VHd/tZuZ4mrC+bxh4cfOZeYKVPaJIZtZXV7GNCQ== - dependencies: - array-back "^3.0.1" - find-root@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" @@ -7133,10 +6823,10 @@ flatted@^3.2.9: resolved "https://registry.yarnpkg.com/flatted/-/flatted-3.2.9.tgz#7eb4c67ca1ba34232ca9d2d93e9886e611ad7daf" integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== -follow-redirects@^1.0.0, follow-redirects@^1.15.0: - version "1.15.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.3.tgz#fe2f3ef2690afce7e82ed0b44db08165b207123a" - integrity sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q== +follow-redirects@^1.0.0: + version "1.15.4" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" + integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== for-each@^0.3.3: version "0.3.3" @@ -7145,6 +6835,14 @@ for-each@^0.3.3: dependencies: is-callable "^1.1.3" +foreground-child@^3.1.0: + version "3.1.1" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.1.1.tgz#1d173e776d75d2772fed08efe4a0de1ea1b12d0d" + integrity sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg== + dependencies: + cross-spawn "^7.0.0" + signal-exit "^4.0.1" + fork-ts-checker-webpack-plugin@^6.5.0: version "6.5.3" resolved "https://registry.yarnpkg.com/fork-ts-checker-webpack-plugin/-/fork-ts-checker-webpack-plugin-6.5.3.tgz#eda2eff6e22476a2688d10661688c47f611b37f3" @@ -7173,15 +6871,6 @@ form-data@^3.0.0: combined-stream "^1.0.8" mime-types "^2.1.12" -form-data@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.0.tgz#93919daeaf361ee529584b9b31664dc12c9fa452" - integrity sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww== - dependencies: - asynckit "^0.4.0" - combined-stream "^1.0.8" - mime-types "^2.1.12" - forwarded@0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" @@ -7206,15 +6895,6 @@ fs-extra@^10.0.0: jsonfile "^6.0.1" universalify "^2.0.0" -fs-extra@^7.0.0: - version "7.0.1" - resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9" - integrity sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw== - dependencies: - graceful-fs "^4.1.2" - jsonfile "^4.0.0" - universalify "^0.1.0" - fs-extra@^9.0.0, fs-extra@^9.0.1: version "9.1.0" resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d" @@ -7295,16 +6975,21 @@ get-package-type@^0.1.0: resolved "https://registry.yarnpkg.com/get-package-type/-/get-package-type-0.1.0.tgz#8de2d803cff44df3bc6c456e6668b36c3926e11a" integrity sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q== -get-port-please@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/get-port-please/-/get-port-please-3.1.1.tgz#2556623cddb4801d823c0a6a15eec038abb483be" - integrity sha512-3UBAyM3u4ZBVYDsxOQfJDxEa6XTbpBDrOjp4mf7ExFRt5BKs/QywQQiJsh2B+hxcZLSapWqCRvElUe8DnKcFHA== +get-port-please@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/get-port-please/-/get-port-please-3.1.2.tgz#502795e56217128e4183025c89a48c71652f4e49" + integrity sha512-Gxc29eLs1fbn6LQ4jSU4vXjlwyZhF5HsGuMAa7gqBP4Rw4yxxltyDUuF5MBclFzDTXO+ACchGQoeela4DSfzdQ== get-stream@^6.0.0: version "6.0.1" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-6.0.1.tgz#a262d8eef67aced57c2852ad6167526a43cbf7b7" integrity sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg== +get-stream@^8.0.1: + version "8.0.1" + resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-8.0.1.tgz#def9dfd71742cd7754a7761ed43749a27d02eca2" + integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== + get-symbol-description@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" @@ -7332,29 +7017,16 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@7.1.6: - version "7.1.6" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.6.tgz#141f33b81a7c2492e125594307480c46679278a6" - integrity sha512-LwaxwyZ72Lk7vZINtNNrywX0ZuLyStrdDtabefZKAY5ZGJhVtgdznluResxNmPitE0SAO+O26sWTHeKSI2wMBA== - dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" - -glob@7.1.7: - version "7.1.7" - resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" - integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== +glob@^10.3.10: + version "10.3.10" + resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b" + integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g== dependencies: - fs.realpath "^1.0.0" - inflight "^1.0.4" - inherits "2" - minimatch "^3.0.4" - once "^1.3.0" - path-is-absolute "^1.0.0" + foreground-child "^3.1.0" + jackspeak "^2.3.5" + minimatch "^9.0.1" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-scurry "^1.10.1" glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6: version "7.2.3" @@ -7390,9 +7062,9 @@ globals@^11.1.0: integrity sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA== globals@^13.19.0: - version "13.23.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-13.23.0.tgz#ef31673c926a0976e1f61dab4dca57e0c0a8af02" - integrity sha512-XAmF0RjlrjY23MA51q3HltdlGxUpXPvg0GioKiD9X6HD28iMjo2dKC8Vqwm7lne4GNr78+RHTfliktR6ZH09wA== + version "13.24.0" + resolved "https://registry.yarnpkg.com/globals/-/globals-13.24.0.tgz#8432a19d78ce0c1e833949c36adb345400bb1171" + integrity sha512-AhO5QUcj8llrbG09iWhPU2B204J1xnPeL8kQmVorSsy+Sjj1sk8gIyh6cUocGmH4L0UuhAJy+hJMRA4mgA4mFQ== dependencies: type-fest "^0.20.2" @@ -7439,10 +7111,10 @@ gzip-size@^6.0.0: dependencies: duplexer "^0.1.2" -h3@^1.8.1, h3@^1.8.2: - version "1.9.0" - resolved "https://registry.yarnpkg.com/h3/-/h3-1.9.0.tgz#c5f512a93026df9837db6f30c9ef51135dd46752" - integrity sha512-+F3ZqrNV/CFXXfZ2lXBINHi+rM4Xw3CDC5z2CDK3NMPocjonKipGLLDSkrqY9DOrioZNPTIdDMWfQKm//3X2DA== +h3@^1.10.0, h3@^1.8.2: + version "1.10.0" + resolved "https://registry.yarnpkg.com/h3/-/h3-1.10.0.tgz#55ac36deb6e250ada5ff1940b6324bc6acc4085f" + integrity sha512-Tw1kcIC+AeimwRmviiObaD5EB430Yt+lTgOxLJxNr96Vd/fGRu04EF7aKfOAcpwKCI+U2JlbxOLhycD86p3Ciw== dependencies: cookie-es "^1.0.0" defu "^6.1.3" @@ -7451,7 +7123,7 @@ h3@^1.8.1, h3@^1.8.2: radix3 "^1.1.0" ufo "^1.3.2" uncrypto "^0.1.3" - unenv "^1.7.4" + unenv "^1.8.0" handle-thing@^2.0.0: version "2.0.1" @@ -7598,9 +7270,9 @@ html-minifier-terser@^6.0.2: terser "^5.10.0" html-webpack-plugin@^5.5.0: - version "5.5.3" - resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.5.3.tgz#72270f4a78e222b5825b296e5e3e1328ad525a3e" - integrity sha512-6YrDKTuqaP/TquFH7h4srYWsZx+x6k6+FbsTm0ziCwGHDP78Unr1r9F/H4+sGmMbX08GQcJ+K64x55b+7VM/jg== + version "5.6.0" + resolved "https://registry.yarnpkg.com/html-webpack-plugin/-/html-webpack-plugin-5.6.0.tgz#50a8fa6709245608cb00e811eacecb8e0d7b7ea0" + integrity sha512-iwaY4wzbe48AfKLZ/Cc8k0L+FKG6oSNRaZ8x5A/T/IVDGyXcbHncM9TdDa93wn0FsSm82FhTKW7f3vS61thXAw== dependencies: "@types/html-minifier-terser" "^6.0.0" html-minifier-terser "^6.0.2" @@ -7644,11 +7316,6 @@ http-errors@~1.6.2: setprototypeof "1.1.0" statuses ">= 1.4.0 < 2" -http-https@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/http-https/-/http-https-1.0.0.tgz#2f908dd5f1db4068c058cd6e6d4ce392c913389b" - integrity sha512-o0PWwVCSp3O0wS6FvNr6xfBCHgt0m1tvPLFOCc2iFDKTRAXhB7m8klDf7ErowFH8POa6dVdGatKU5I1YYwzUyg== - http-parser-js@>=0.5.1: version "0.5.8" resolved "https://registry.yarnpkg.com/http-parser-js/-/http-parser-js-0.5.8.tgz#af23090d9ac4e24573de6f6aecc9d84a48bf20e3" @@ -7706,6 +7373,11 @@ human-signals@^2.1.0: resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-2.1.0.tgz#dc91fcba42e4d06e4abaed33b3e7a3c02f514ea0" integrity sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw== +human-signals@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-5.0.0.tgz#42665a284f9ae0dade3ba41ebc37eb4b852f3a28" + integrity sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ== + humanize-ms@^1.2.1: version "1.2.1" resolved "https://registry.yarnpkg.com/humanize-ms/-/humanize-ms-1.2.1.tgz#c46e3159a293f6b896da29316d8b6fe8bb79bbed" @@ -7943,6 +7615,11 @@ is-docker@^2.0.0, is-docker@^2.1.1: resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-2.2.1.tgz#33eeabe23cfe86f14bde4408a02c0cfb853acdaa" integrity sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ== +is-docker@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-docker/-/is-docker-3.0.0.tgz#90093aa3106277d8a77a5910dbae71747e15a200" + integrity sha512-eljcgEDlEns/7AXFosB5K/2nCM4P7FQPkGc/DWLy5rmFEWvZayGrik1d9/QIY5nJ4f9YsVvBkA6kJpHn9rISdQ== + is-extglob@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" @@ -7989,6 +7666,13 @@ is-in-browser@^1.0.2, is-in-browser@^1.1.3: resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835" integrity sha512-FeXIBgG/CPGd/WUxuEyvgGTEfwiG9Z4EKGxjNMRqviiIIfsmgrpnHLffEDdwUHqNva1VEW91o3xBT/m8Elgl9g== +is-inside-container@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-inside-container/-/is-inside-container-1.0.0.tgz#e81fba699662eb31dbdaf26766a61d4814717ea4" + integrity sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA== + dependencies: + is-docker "^3.0.0" + is-map@^2.0.1: version "2.0.2" resolved "https://registry.yarnpkg.com/is-map/-/is-map-2.0.2.tgz#00922db8c9bf73e81b7a335827bc2a43f2b91127" @@ -8079,6 +7763,11 @@ is-stream@^2.0.0: resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-2.0.1.tgz#fac1e3d53b97ad5a9d0ae9cef2389f5810a5c077" integrity sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg== +is-stream@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-3.0.0.tgz#e6bfd7aa6bef69f4f472ce9bb681e3e57b4319ac" + integrity sha512-LnQR4bZ9IADDRSkvpqMGvt/tEJWclzklNgSw48V5EAaAeDd6qGvN8ei6k5p0tvxSR171VmGyHuTiAOfxAbr8kA== + is-string@^1.0.5, is-string@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/is-string/-/is-string-1.0.7.tgz#0dd12bf2006f255bb58f695110eff7491eebc0fd" @@ -8132,6 +7821,20 @@ is-wsl@^2.2.0: dependencies: is-docker "^2.0.0" +is-wsl@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/is-wsl/-/is-wsl-3.1.0.tgz#e1c657e39c10090afcbedec61720f6b924c3cbd2" + integrity sha512-UcVfVfaK4Sc4m7X3dUSoHoozQGBEFeDC+zVo06t98xe8CzHSZZBekNXH+tu0NalHolcJ/QAGqS46Hef7QXBIMw== + dependencies: + is-inside-container "^1.0.0" + +is64bit@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is64bit/-/is64bit-2.0.0.tgz#198c627cbcb198bbec402251f88e5e1a51236c07" + integrity sha512-jv+8jaWCl0g2lSBkNSVXdzfBA0npK1HGC2KtWM9FumFRoGS94g3NbCCLVnCYHLjp4GrW2KZeeSTMo5ddtznmGw== + dependencies: + system-architecture "^0.1.0" + isarray@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" @@ -8147,6 +7850,14 @@ isexe@^2.0.0: resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw== +isomorphic-unfetch@3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/isomorphic-unfetch/-/isomorphic-unfetch-3.1.0.tgz#87341d5f4f7b63843d468438128cb087b7c3e98f" + integrity sha512-geDJjpoZ8N0kWexiwkX8F9NkTsXhetLPVbZFQ+JTW239QNOwvB0gniuR1Wc6f0AMTn7/mFGyXvHTifrCp/GH8Q== + dependencies: + node-fetch "^2.6.1" + unfetch "^4.2.0" + isomorphic-ws@^4.0.1: version "4.0.1" resolved "https://registry.yarnpkg.com/isomorphic-ws/-/isomorphic-ws-4.0.1.tgz#55fd4cd6c5e6491e76dc125938dd863f5cd4f2dc" @@ -8210,6 +7921,15 @@ iterator.prototype@^1.1.2: reflect.getprototypeof "^1.0.4" set-function-name "^2.0.1" +jackspeak@^2.3.5: + version "2.3.6" + resolved "https://registry.yarnpkg.com/jackspeak/-/jackspeak-2.3.6.tgz#647ecc472238aee4b06ac0e461acc21a8c505ca8" + integrity sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ== + dependencies: + "@isaacs/cliui" "^8.0.2" + optionalDependencies: + "@pkgjs/parseargs" "^0.11.0" + jake@^10.8.5: version "10.8.7" resolved "https://registry.yarnpkg.com/jake/-/jake-10.8.7.tgz#63a32821177940c33f356e0ba44ff9d34e1c7d8f" @@ -8720,7 +8440,7 @@ jest@^27.4.3: import-local "^3.0.2" jest-cli "^27.5.1" -jiti@^1.19.1, jiti@^1.20.0: +jiti@^1.19.1, jiti@^1.21.0: version "1.21.0" resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== @@ -8858,13 +8578,6 @@ jsonc-parser@^3.2.0: resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== -jsonfile@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" - integrity sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg== - optionalDependencies: - graceful-fs "^4.1.6" - jsonfile@^6.0.1: version "6.1.0" resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-6.1.0.tgz#bc55b2634793c679ec6403094eb13698a6ec0aae" @@ -8973,7 +8686,7 @@ jss@10.10.0, jss@^10.10.0: object.assign "^4.1.4" object.values "^1.1.6" -keccak@^3.0.0, keccak@^3.0.1: +keccak@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/keccak/-/keccak-3.0.4.tgz#edc09b89e633c0549da444432ecf062ffadee86d" integrity sha512-3vKuW0jV8J3XNTzvfyicFR5qvxrSAGl7KIhvgOu5cmWwM7tZRj3fMbj/pfIf4be7aznbc+prBWGjywox/g2Y6Q== @@ -9066,26 +8779,26 @@ lines-and-columns@^1.1.6: integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== listhen@^1.5.5: - version "1.5.5" - resolved "https://registry.yarnpkg.com/listhen/-/listhen-1.5.5.tgz#58915512af70f770aa3e9fb19367adf479bb58c4" - integrity sha512-LXe8Xlyh3gnxdv4tSjTjscD1vpr/2PRpzq8YIaMJgyKzRG8wdISlWVWnGThJfHnlJ6hmLt2wq1yeeix0TEbuoA== + version "1.5.6" + resolved "https://registry.yarnpkg.com/listhen/-/listhen-1.5.6.tgz#8dc8cdccef225e39c69bcc6f6bd704447b499b51" + integrity sha512-gTpEJhT5L85L0bFgmu+Boqu5rP4DwDtEb4Exq5gdQUxWRwx4jbzdInZkmyLONo5EwIcQB0k7ZpWlpCDPdL77EQ== dependencies: "@parcel/watcher" "^2.3.0" "@parcel/watcher-wasm" "2.3.0" - citty "^0.1.4" - clipboardy "^3.0.0" + citty "^0.1.5" + clipboardy "^4.0.0" consola "^3.2.3" - defu "^6.1.2" - get-port-please "^3.1.1" - h3 "^1.8.1" + defu "^6.1.4" + get-port-please "^3.1.2" + h3 "^1.10.0" http-shutdown "^1.2.2" - jiti "^1.20.0" + jiti "^1.21.0" mlly "^1.4.2" node-forge "^1.3.1" pathe "^1.1.1" - std-env "^3.4.3" - ufo "^1.3.0" - untun "^0.1.2" + std-env "^3.7.0" + ufo "^1.3.2" + untun "^0.1.3" uqr "^0.1.2" lit-element@^3.3.0: @@ -9154,11 +8867,6 @@ locate-path@^6.0.0: dependencies: p-locate "^5.0.0" -lodash.camelcase@^4.3.0: - version "4.3.0" - resolved "https://registry.yarnpkg.com/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz#b28aa6288a2b9fc651035c7711f65ab6190331a6" - integrity sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA== - lodash.debounce@^4.0.8: version "4.0.8" resolved "https://registry.yarnpkg.com/lodash.debounce/-/lodash.debounce-4.0.8.tgz#82d79bff30a67c4005ffd5e2515300ad9ca4d7af" @@ -9199,7 +8907,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== -lodash@*, lodash@^4.17.15, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: +lodash@*, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -9223,7 +8931,7 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lru-cache@^10.0.1, lru-cache@^10.0.2: +lru-cache@^10.0.1, lru-cache@^10.0.2, "lru-cache@^9.1.1 || ^10.0.0": version "10.1.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.1.0.tgz#2098d41c2dc56500e6c88584aa656c84de7d0484" integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag== @@ -9392,6 +9100,11 @@ mimic-fn@^2.1.0: resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-2.1.0.tgz#7ed2c2ccccaf84d3ffcb7a69b57711fc2083401b" integrity sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg== +mimic-fn@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-4.0.0.tgz#60a90550d5cb0b239cca65d893b1a53b29871ecc" + integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== + mini-css-extract-plugin@^2.4.5: version "2.7.6" resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz#282a3d38863fddcd2e0c220aaed5b90bc156564d" @@ -9423,15 +9136,22 @@ minimatch@^5.0.1: dependencies: brace-expansion "^2.0.1" +minimatch@^9.0.1: + version "9.0.3" + resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-9.0.3.tgz#a6e00c3de44c3a542bfaae70abfc22420a6da825" + integrity sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg== + dependencies: + brace-expansion "^2.0.1" + minimist@^1.2.0, minimist@^1.2.6: version "1.2.8" resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.8.tgz#c1a464e7693302e082a075cee0c057741ac4772c" integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA== -mkdirp@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" - integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== +"minipass@^5.0.0 || ^6.0.2 || ^7.0.0": + version "7.0.4" + resolved "https://registry.yarnpkg.com/minipass/-/minipass-7.0.4.tgz#dbce03740f50a4786ba994c1fb908844d27b038c" + integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ== mkdirp@~0.5.1: version "0.5.6" @@ -9450,6 +9170,11 @@ mlly@^1.2.0, mlly@^1.4.2: pkg-types "^1.0.3" ufo "^1.3.0" +modern-ahocorasick@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/modern-ahocorasick/-/modern-ahocorasick-1.0.1.tgz#dec373444f51b5458ac05216a8ec376e126dd283" + integrity sha512-yoe+JbhTClckZ67b2itRtistFKf8yPYelHLc7e5xAwtNAXxM6wJTUx2C7QeVSJFDzKT7bCIFyBVybPMKvmB9AA== + motion@10.16.2: version "10.16.2" resolved "https://registry.yarnpkg.com/motion/-/motion-10.16.2.tgz#7dc173c6ad62210a7e9916caeeaf22c51e598d21" @@ -9539,11 +9264,6 @@ net@^1.0.2: resolved "https://registry.yarnpkg.com/net/-/net-1.0.2.tgz#d1757ec9a7fb2371d83cf4755ce3e27e10829388" integrity sha512-kbhcj2SVVR4caaVnGLJKmlk2+f+oLkjqdKeQlmUtz6nGzOpbcobwVIeSURNgraV/v3tlmGIX82OcPCl0K6RbHQ== -next-tick@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" - integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== - no-case@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" @@ -9567,12 +9287,12 @@ node-addon-api@^7.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== -node-fetch-native@^1.4.0, node-fetch-native@^1.4.1: - version "1.4.1" - resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.4.1.tgz#5a336e55b4e1b1e72b9927da09fecd2b374c9be5" - integrity sha512-NsXBU0UgBxo2rQLOeWNZqS3fvflWePMECr8CoSWoSTqCqGbVVsvl9vZu1HfQicYN0g5piV9Gh8RTEvo/uP752w== +node-fetch-native@^1.4.0, node-fetch-native@^1.4.1, node-fetch-native@^1.6.1: + version "1.6.1" + resolved "https://registry.yarnpkg.com/node-fetch-native/-/node-fetch-native-1.6.1.tgz#f95c74917d3cebc794cdae0cd2a9c7594aad0cb4" + integrity sha512-bW9T/uJDPAJB2YNYEpWzE54U5O3MQidXsOyTfnbKYtTtFexRvGzb1waphBN4ZwP6EcIvYYEOwW0b72BpAqydTw== -node-fetch@^2.6.12, node-fetch@^2.6.6, node-fetch@^2.7.0: +node-fetch@^2.6.1, node-fetch@^2.6.12, node-fetch@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d" integrity sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A== @@ -9585,9 +9305,9 @@ node-forge@^1, node-forge@^1.3.1: integrity sha512-dPEtOeMvF9VMcYV/1Wb8CPoVAXtp6MKMlcbAt4ddqmGqUJ6fQZFXkNZNkNlfevtNkGtaSoXf/vNNNSvgrdXwtA== node-gyp-build@^4.2.0, node-gyp-build@^4.3.0: - version "4.7.1" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.7.1.tgz#cd7d2eb48e594874053150a9418ac85af83ca8f7" - integrity sha512-wTSrZ+8lsRRa3I3H8Xr65dLWSgCvY2l4AOnaeKdPA9TB/WYMPaTcrzf3rXvFoVvjKNVnu0CcWSx54qq9GKRUYg== + version "4.8.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.8.0.tgz#3fee9c1731df4581a3f9ead74664369ff00d26dd" + integrity sha512-u6fs2AEUljNho3EYTJNBfImO5QTo/J/1Etd+NVdCj7qWKUSN/bSLkZwhDv7I+w/MSC6qJ4cknepkAYykDdK8og== node-int64@^0.4.0: version "0.4.0" @@ -9621,6 +9341,13 @@ npm-run-path@^4.0.1: dependencies: path-key "^3.0.0" +npm-run-path@^5.1.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-5.2.0.tgz#224cdd22c755560253dd71b83a1ef2f758b2e955" + integrity sha512-W4/tgAXFqFA0iL7fk0+uQ3g7wkL8xJmx3XdK0VGb4cHW//eZTtKGvFBBoRKVTpY7n6ze4NL9ly7rgXcHufqXKg== + dependencies: + path-key "^4.0.0" + nth-check@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/nth-check/-/nth-check-1.0.2.tgz#b2bd295c37e3dd58a3bf0700376663ba4d9cf05c" @@ -9742,13 +9469,6 @@ object.values@^1.1.0, object.values@^1.1.6, object.values@^1.1.7: define-properties "^1.2.0" es-abstract "^1.22.1" -oboe@2.1.5: - version "2.1.5" - resolved "https://registry.yarnpkg.com/oboe/-/oboe-2.1.5.tgz#5554284c543a2266d7a38f17e073821fbde393cd" - integrity sha512-zRFWiF+FoicxEs3jNI/WYUrVEgA7DeET/InK0XQuudGHRg8iIob3cNPrJTKaz4004uaA9Pbe+Dwa8iluhjLZWA== - dependencies: - http-https "^1.0.0" - obuf@^1.0.0, obuf@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.2.tgz#09bea3343d41859ebd446292d11c9d4db619084e" @@ -9794,6 +9514,13 @@ onetime@^5.1.2: dependencies: mimic-fn "^2.1.0" +onetime@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/onetime/-/onetime-6.0.0.tgz#7c24c18ed1fd2e9bca4bd26806a33613c77d34b4" + integrity sha512-1FlR+gjXK7X+AsAHso35MnyN5KqGwJRi/31ft6x0M194ht7S+rWAvd7PHss9xSKMzE0asv1pyIHaJYq+BbacAQ== + dependencies: + mimic-fn "^4.0.0" + open@^8.0.9, open@^8.4.0: version "8.4.2" resolved "https://registry.yarnpkg.com/open/-/open-8.4.2.tgz#5b5ffe2a8f793dcd2aad73e550cb87b59cb084f9" @@ -9969,11 +9696,24 @@ path-key@^3.0.0, path-key@^3.1.0: resolved "https://registry.yarnpkg.com/path-key/-/path-key-3.1.1.tgz#581f6ade658cbba65a0d3380de7753295054f375" integrity sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q== +path-key@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-key/-/path-key-4.0.0.tgz#295588dc3aee64154f877adb9d780b81c554bf18" + integrity sha512-haREypq7xkM7ErfgIyA0z+Bj4AGKlMSdlQE2jvJo6huWD1EdkKYV+G/T4nq0YEF2vgTT8kqMFKo1uHn950r4SQ== + path-parse@^1.0.7: version "1.0.7" resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-scurry@^1.10.1: + version "1.10.1" + resolved "https://registry.yarnpkg.com/path-scurry/-/path-scurry-1.10.1.tgz#9ba6bf5aa8500fe9fd67df4f0d9483b2b0bfc698" + integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ== + dependencies: + lru-cache "^9.1.1 || ^10.0.0" + minipass "^5.0.0 || ^6.0.2 || ^7.0.0" + path-to-regexp@0.1.7: version "0.1.7" resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-0.1.7.tgz#df604178005f522f15eb4490e7247a1bfaa67f8c" @@ -9989,7 +9729,7 @@ pathe@^1.1.0, pathe@^1.1.1: resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.1.tgz#1dd31d382b974ba69809adc9a7a347e65d84829a" integrity sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q== -pbkdf2@^3.0.17, pbkdf2@^3.0.3: +pbkdf2@^3.0.3: version "3.1.2" resolved "https://registry.yarnpkg.com/pbkdf2/-/pbkdf2-3.1.2.tgz#dd822aa0887580e52f1a039dc3eda108efae3075" integrity sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA== @@ -10383,10 +10123,10 @@ postcss-modules-local-by-default@^4.0.3: postcss-selector-parser "^6.0.2" postcss-value-parser "^4.1.0" -postcss-modules-scope@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06" - integrity sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg== +postcss-modules-scope@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.1.0.tgz#fbfddfda93a31f310f1d152c2bb4d3f3c5592ee0" + integrity sha512-SaIbK8XW+MZbd0xHPf7kdfA/3eOt7vxJ72IRecn3EzuZVLr1r0orzf0MX/pN8m+NMDoo6X/SQd8oeKqGZd8PXg== dependencies: postcss-selector-parser "^6.0.4" @@ -10606,9 +10346,9 @@ postcss-selector-not@^6.0.1: postcss-selector-parser "^6.0.10" postcss-selector-parser@^6.0.10, postcss-selector-parser@^6.0.11, postcss-selector-parser@^6.0.2, postcss-selector-parser@^6.0.4, postcss-selector-parser@^6.0.5, postcss-selector-parser@^6.0.9: - version "6.0.13" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.13.tgz#d05d8d76b1e8e173257ef9d60b706a8e5e99bf1b" - integrity sha512-EaV1Gl4mUEV4ddhDnv/xtj7sxwrwxdetHdWUGnT4VJQf+4d05v6lHYZr8N573k5Z0BViss7BDhfWtKS3+sfAqQ== + version "6.0.15" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.0.15.tgz#11cc2b21eebc0b99ea374ffb9887174855a01535" + integrity sha512-rEYkQOMUCEMhsKbK66tbEU9QVIxbhN18YiniAwA7XQYTVBqrBy+P2p5JcdqsHgKM2zWylp8d7J6eszocfds5Sw== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" @@ -10641,19 +10381,19 @@ postcss@^7.0.35: picocolors "^0.2.1" source-map "^0.6.1" -postcss@^8.3.5, postcss@^8.4.21, postcss@^8.4.23, postcss@^8.4.4: - version "8.4.32" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.32.tgz#1dac6ac51ab19adb21b8b34fd2d93a86440ef6c9" - integrity sha512-D/kj5JNu6oo2EIy+XL/26JEDTlIbB8hw85G8StOE6L74RQAVVP5rej6wxCNqyMbR4RkPfqvezVbPw81Ngd6Kcw== +postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.31, postcss@^8.4.4: + version "8.4.33" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.33.tgz#1378e859c9f69bf6f638b990a0212f43e2aaa742" + integrity sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg== dependencies: nanoid "^3.3.7" picocolors "^1.0.0" source-map-js "^1.0.2" preact@^10.12.0, preact@^10.5.9: - version "10.19.2" - resolved "https://registry.yarnpkg.com/preact/-/preact-10.19.2.tgz#841797620dba649aaac1f8be42d37c3202dcea8b" - integrity sha512-UA9DX/OJwv6YwP9Vn7Ti/vF80XL+YA5H2l7BpCtUr3ya8LWHFzpiO5R+N7dN16ujpIxhekRFuOOF82bXX7K/lg== + version "10.19.3" + resolved "https://registry.yarnpkg.com/preact/-/preact-10.19.3.tgz#7a7107ed2598a60676c943709ea3efb8aaafa899" + integrity sha512-nHHTeFVBTHRGxJXKkKu5hT8C/YWBkPso4/Gad6xuj5dbptt9iF9NZr9pHbPhBrnT2klheu7mHTxTZ/LjwJiEiQ== prelude-ls@^1.2.1: version "1.2.1" @@ -10665,11 +10405,6 @@ prelude-ls@~1.1.2: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" integrity sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w== -prettier@^2.3.1: - version "2.8.8" - resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.8.8.tgz#e8c5d7e98a4305ffe3de2e1fc4aca1a71c28b1da" - integrity sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q== - pretty-bytes@^5.3.0, pretty-bytes@^5.4.1: version "5.6.0" resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb" @@ -10754,11 +10489,6 @@ proxy-compare@2.5.1: resolved "https://registry.yarnpkg.com/proxy-compare/-/proxy-compare-2.5.1.tgz#17818e33d1653fbac8c2ec31406bce8a2966f600" integrity sha512-oyfc0Tx87Cpwva5ZXezSp5V9vht1c7dZBhvuV/y3ctkgMVUmiAGDVeeB0dKhGSyT0v1ZTEQYpe/RXlBVBNuCLA== -proxy-from-env@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" - integrity sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg== - psl@^1.1.33: version "1.9.0" resolved "https://registry.yarnpkg.com/psl/-/psl-1.9.0.tgz#d0df2a137f00794565fcaf3b2c00cd09f8d5a5a7" @@ -10791,16 +10521,6 @@ q@^1.1.2: resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" integrity sha512-kV/CThkXo6xyFEZUugw/+pIOywXcDbFYgSct5cT3gqlbkBE1SJdwy6UQoZvodiWF/ckQLZyDE/Bu1M6gVu5lVw== -qrcode@1.5.0: - version "1.5.0" - resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.0.tgz#95abb8a91fdafd86f8190f2836abbfc500c72d1b" - integrity sha512-9MgRpgVc+/+47dFvQeD6U2s0Z92EsKzcHogtum4QB+UNd025WOJSHvn/hjk9xmzj7Stj95CyUAs31mrjxliEsQ== - dependencies: - dijkstrajs "^1.0.1" - encode-utf8 "^1.0.3" - pngjs "^5.0.0" - yargs "^15.3.1" - qrcode@1.5.3, qrcode@^1.5.1: version "1.5.3" resolved "https://registry.yarnpkg.com/qrcode/-/qrcode-1.5.3.tgz#03afa80912c0dccf12bc93f615a535aad1066170" @@ -10984,7 +10704,7 @@ react-refresh@^0.11.0: resolved "https://registry.yarnpkg.com/react-refresh/-/react-refresh-0.11.0.tgz#77198b944733f0f1f1a90e791de4541f9f074046" integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A== -react-remove-scroll-bar@^2.3.3: +react-remove-scroll-bar@^2.3.4: version "2.3.4" resolved "https://registry.yarnpkg.com/react-remove-scroll-bar/-/react-remove-scroll-bar-2.3.4.tgz#53e272d7a5cb8242990c7f144c44d8bd8ab5afd9" integrity sha512-63C4YQBUt0m6ALadE9XV56hV8BgJWDmmTPY758iIJjfQKt2nYwoUrPk0LXRXcB/yIj82T1/Ixfdpdk68LwIB0A== @@ -10992,12 +10712,12 @@ react-remove-scroll-bar@^2.3.3: react-style-singleton "^2.2.1" tslib "^2.0.0" -react-remove-scroll@2.5.4: - version "2.5.4" - resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.4.tgz#afe6491acabde26f628f844b67647645488d2ea0" - integrity sha512-xGVKJJr0SJGQVirVFAUZ2k1QLyO6m+2fy0l8Qawbp5Jgrv3DeLalrfMNBFSlmz5kriGGzsVBtGVnf4pTKIhhWA== +react-remove-scroll@2.5.7: + version "2.5.7" + resolved "https://registry.yarnpkg.com/react-remove-scroll/-/react-remove-scroll-2.5.7.tgz#15a1fd038e8497f65a695bf26a4a57970cac1ccb" + integrity sha512-FnrTWO4L7/Bhhf3CYBNArEG/yROV0tKmTv7/3h9QCFvH6sndeFf1wPqOcbFVu5VAulS5dV1wGT3GZZ/1GawqiA== dependencies: - react-remove-scroll-bar "^2.3.3" + react-remove-scroll-bar "^2.3.4" react-style-singleton "^2.2.1" tslib "^2.1.0" use-callback-ref "^1.3.0" @@ -11151,11 +10871,6 @@ redis-parser@^3.0.0: dependencies: redis-errors "^1.0.0" -reduce-flatten@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/reduce-flatten/-/reduce-flatten-2.0.0.tgz#734fd84e65f375d7ca4465c69798c25c9d10ae27" - integrity sha512-EJ4UNY/U1t2P/2k6oqotuX2Cc3T6nxJwsM0N0asT7dhrtH1ltUxDn4NalSYmPE2rCkVpcf/X6R0wDwcFpzhd4w== - reflect.getprototypeof@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz#aaccbf41aca3821b87bb71d9dcbc7ad0ba50a3f3" @@ -11186,9 +10901,9 @@ regenerator-runtime@^0.13.9: integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg== regenerator-runtime@^0.14.0: - version "0.14.0" - resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.0.tgz#5e19d68eb12d486f797e15a3c6a918f7cec5eb45" - integrity sha512-srw17NI0TUWHuGa5CFGGmhfNIeja30WMBfbslPNhf6JrqQlLN5gcrvig1oqPxiVaXb0oW0XRKtH6Nngs5lKCIA== + version "0.14.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.14.1.tgz#356ade10263f685dda125100cd862c1db895327f" + integrity sha512-dYnhHh0nJoMfnkZs6GmmhFknAGRrLznOu5nc9ML+EJxGvrx6H7teuevqVqCuPcPK//3eDrrjQhehXVx9cnkGdw== regenerator-transform@^0.15.2: version "0.15.2" @@ -11198,9 +10913,9 @@ regenerator-transform@^0.15.2: "@babel/runtime" "^7.8.4" regex-parser@^2.2.11: - version "2.2.11" - resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.2.11.tgz#3b37ec9049e19479806e878cabe7c1ca83ccfe58" - integrity sha512-jbD/FT0+9MBU2XAZluI7w2OBs1RBi6p9M83nkoZayQXXU9e8Robt69FcZc7wU4eJD/YFTjn1JdCk3rbMJajz8Q== + version "2.3.0" + resolved "https://registry.yarnpkg.com/regex-parser/-/regex-parser-2.3.0.tgz#4bb61461b1a19b8b913f3960364bb57887f920ee" + integrity sha512-TVILVSz2jY5D47F4mA4MppkBrafEaiUWJO/TcZHEIuI13AqoZMkK1WMA4Om1YkYbTx+9Ki1/tSUXbceyr9saRg== regexp.prototype.flags@^1.5.0, regexp.prototype.flags@^1.5.1: version "1.5.1" @@ -11342,13 +11057,6 @@ ripemd160@^2.0.0, ripemd160@^2.0.1: hash-base "^3.0.0" inherits "^2.0.1" -rlp@^2.2.4: - version "2.2.7" - resolved "https://registry.yarnpkg.com/rlp/-/rlp-2.2.7.tgz#33f31c4afac81124ac4b283e2bd4d9720b30beaf" - integrity sha512-d5gdPmgQ0Z+AklL2NVXr/IoSjNZFfTVvQWzL/AM2AOcSzYP2xjlb0AC8YyCLc41MSNf6P6QVtjgPdmVtzb+4lQ== - dependencies: - bn.js "^5.2.0" - rollup-plugin-terser@^7.0.0: version "7.0.2" resolved "https://registry.yarnpkg.com/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz#e8fbba4869981b2dc35ae7e8a502d5c6c04d324d" @@ -11367,9 +11075,9 @@ rollup@^2.43.1: fsevents "~2.3.2" rpc-websockets@^7.5.1: - version "7.8.0" - resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.8.0.tgz#1bcf571f65c51803e81f0824e9540a0da35a5287" - integrity sha512-AStkq6KDvSAmA4WiwlK1pDvj/33BWmExTATUokC0v+NhWekXSTNzXS5OGXeYwq501/pj6lBZMofg/h4dx4/tCg== + version "7.9.0" + resolved "https://registry.yarnpkg.com/rpc-websockets/-/rpc-websockets-7.9.0.tgz#a3938e16d6f134a3999fdfac422a503731bf8973" + integrity sha512-DwKewQz1IUA5wfLvgM8wDpPRcr+nWSxuFxx5CbrI2z/MyyZ4nXLM86TvIA+cI1ZAdqC8JIBR1mZR55dzaLU+Hw== dependencies: "@babel/runtime" "^7.17.2" eventemitter3 "^4.0.7" @@ -11393,13 +11101,6 @@ rxjs@^6.6.3: dependencies: tslib "^1.9.0" -rxjs@^7.0.0: - version "7.8.1" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.8.1.tgz#6f6f3d99ea8044291efd92e7c7fcf562c4057543" - integrity sha512-AA3TVj+0A2iuIoQkWEK/tqFjBq2j+6PO6Y0zJcvzLAFhEFIO3HL0vls9hWLncZbAAbK0mar7oZ4V079I/qPMxg== - dependencies: - tslib "^2.1.0" - safe-array-concat@^1.0.0, safe-array-concat@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" @@ -11421,12 +11122,12 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== safe-regex-test@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.0.tgz#793b874d524eb3640d1873aad03596db2d4f2295" - integrity sha512-JBUUzyOgEwXQY1NuPtvcj/qcBDbDmEvWufhlnXZIm75DEHp+afM1r1ujJpJsV/gSM4t59tpDyPi1sd6ZaPFfsA== + version "1.0.1" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.1.tgz#207369b445fd007e534864635b28b2ae7b105783" + integrity sha512-Y5NejJTTliTyY4H7sipGqY+RX5P87i3F7c4Rcepy72nq+mNLhIsD0W4c7kEmduMDQCSqtPsXPlSTsFhh2LQv+g== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.3" + call-bind "^1.0.5" + get-intrinsic "^1.2.2" is-regex "^1.1.4" safe-stable-stringify@^2.1.0: @@ -11508,20 +11209,11 @@ schema-utils@^4.0.0: ajv-formats "^2.1.1" ajv-keywords "^5.1.0" -scrypt-js@3.0.1, scrypt-js@^3.0.0: +scrypt-js@3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/scrypt-js/-/scrypt-js-3.0.1.tgz#d314a57c2aef69d1ad98a138a21fe9eafa9ee312" integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA== -secp256k1@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/secp256k1/-/secp256k1-4.0.3.tgz#c4559ecd1b8d3c1827ed2d1b94190d69ce267303" - integrity sha512-NLZVf+ROMxwtEj3Xa562qgv2BK5e2WNmXPiOdVIPLgs6lyTzMvBq0aWTYMI5XCP9jZMVKOcqZLw/Wc4vDkuxhA== - dependencies: - elliptic "^6.5.4" - node-addon-api "^2.0.0" - node-gyp-build "^4.2.0" - select-hose@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/select-hose/-/select-hose-2.0.0.tgz#625d8658f865af43ec962bfc376a37359a4994ca" @@ -11545,7 +11237,7 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.1.tgz#556d2ef8689146e46dcea4bfdd095f3434dffcb4" integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== -semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3: +semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: version "7.5.4" resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== @@ -11579,9 +11271,9 @@ serialize-javascript@^4.0.0: randombytes "^2.1.0" serialize-javascript@^6.0.0, serialize-javascript@^6.0.1: - version "6.0.1" - resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.1.tgz#b206efb27c3da0b0ab6b52f48d170b7996458e5c" - integrity sha512-owoXEFjWRllis8/M1Q+Cw5k8ZH40e3zhp/ovX+Xr/vi1qj6QesbyXXViFbpNvWvPNAD62SutwEXavefrLJWj7w== + version "6.0.2" + resolved "https://registry.yarnpkg.com/serialize-javascript/-/serialize-javascript-6.0.2.tgz#defa1e055c83bf6d59ea805d8da862254eb6a6c2" + integrity sha512-Saa1xPByTTq2gdeFZYLLo+RFE35NHZkAbqZeWNd3BpzppeVisAqpDjcp8dyf6uIvEqJRd46jemmyA4iFIeVk8g== dependencies: randombytes "^2.1.0" @@ -11632,11 +11324,6 @@ set-function-name@^2.0.0, set-function-name@^2.0.1: functions-have-names "^1.2.3" has-property-descriptors "^1.0.0" -setimmediate@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" - integrity sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA== - setprototypeof@1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/setprototypeof/-/setprototypeof-1.1.0.tgz#d0bd85536887b6fe7c0d818cb962d9d91c54e656" @@ -11686,6 +11373,11 @@ signal-exit@^3.0.2, signal-exit@^3.0.3: resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.7.tgz#a9a1767f8af84155114eaabd73f99273c8f59ad9" integrity sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ== +signal-exit@^4.0.1, signal-exit@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-4.1.0.tgz#952188c1cbd546070e2dd20d0f41c0ae0530cb04" + integrity sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw== + sisteransi@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/sisteransi/-/sisteransi-1.0.5.tgz#134d681297756437cc05ca01370d3a7a571075ed" @@ -11771,11 +11463,6 @@ sourcemap-codec@^1.4.8: resolved "https://registry.yarnpkg.com/sourcemap-codec/-/sourcemap-codec-1.4.8.tgz#ea804bd94857402e6992d05a38ef1ae35a9ab4c4" integrity sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA== -spawn-command@^0.0.2-1: - version "0.0.2-1" - resolved "https://registry.yarnpkg.com/spawn-command/-/spawn-command-0.0.2-1.tgz#62f5e9466981c1b796dc5929937e11c9c6921bd0" - integrity sha512-n98l9E2RMSJ9ON1AKisHzz7V42VDiBQGY6PB1BwRglz99wpVsSuGzQ+jOi6lFXBGVTCrRpltvjm+/XA+tpeJrg== - spdy-transport@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/spdy-transport/-/spdy-transport-3.0.0.tgz#00d4863a6400ad75df93361a1608605e5dcdcf31" @@ -11853,10 +11540,10 @@ statuses@2.0.1: resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.5.0.tgz#161c7dac177659fd9811f43771fa99381478628c" integrity sha512-OpZ3zP+jT1PI7I8nemJX4AKmAX070ZkYPVWV/AaKTJl+tXCTGyVdC1a4SL8RUQYEwk/f34ZX8UTykN68FwrqAA== -std-env@^3.4.3: - version "3.6.0" - resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.6.0.tgz#94807562bddc68fa90f2e02c5fd5b6865bb4e98e" - integrity sha512-aFZ19IgVmhdB2uX599ve2kE6BIE3YMnQ6Gp6BURhW/oIzpXGKr878TQfAQZn1+i0Flcc/UKUy1gOlcfaUBCryg== +std-env@^3.7.0: + version "3.7.0" + resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.7.0.tgz#c9f7386ced6ecf13360b6c6c55b8aaa4ef7481d2" + integrity sha512-JPbdCEQLj1w5GilpiHAx3qJvFndqybBysA3qUOnznweH4QbNYUsW/ea8QzSrnh0vNsezMMw5bcVool8lM0gwzg== stream-browserify@^3.0.0: version "3.0.0" @@ -11886,11 +11573,6 @@ strict-uri-encode@^2.0.0: resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-2.0.0.tgz#b9c7330c7042862f6b142dc274bbcc5866ce3546" integrity sha512-QwiXZgpRcKkhTj2Scnn++4PKtWsH0kpzZ62L2R6c/LUVYv7hVnZqcg2+sMuT6R7Jusu1vviK/MFsu6kNJfWlEQ== -string-format@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/string-format/-/string-format-2.0.0.tgz#f2df2e7097440d3b65de31b6d40d54c96eaffb9b" - integrity sha512-bbEs3scLeYNXLecRRuk6uJxdXUSj6le/8rNPHChIJTn2V79aXVTR1EH2OH5zLKKoz0V02fOUKZZcw01pLUShZA== - string-length@^4.0.1: version "4.0.2" resolved "https://registry.yarnpkg.com/string-length/-/string-length-4.0.2.tgz#a8a8dc7bd5c1a82b9b3c8b87e125f66871b6e57a" @@ -11912,7 +11594,7 @@ string-natural-compare@^3.0.1: resolved "https://registry.yarnpkg.com/string-natural-compare/-/string-natural-compare-3.0.1.tgz#7a42d58474454963759e8e8b7ae63d71c1e7fdf4" integrity sha512-n3sPwynL1nwKi3WJ6AIsClwBMa0zTi54fn2oLU6ndfTSIO05xaznjSf15PcBZU6FNWbmN5Q6cxT4V5hGvB4taw== -string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: +"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.1.0, string-width@^4.2.0: version "4.2.3" resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010" integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g== @@ -11921,6 +11603,15 @@ string-width@^4.1.0, string-width@^4.2.0, string-width@^4.2.3: is-fullwidth-code-point "^3.0.0" strip-ansi "^6.0.1" +string-width@^5.0.1, string-width@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794" + integrity sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA== + dependencies: + eastasianwidth "^0.2.0" + emoji-regex "^9.2.2" + strip-ansi "^7.0.1" + string.prototype.matchall@^4.0.6, string.prototype.matchall@^4.0.8: version "4.0.10" resolved "https://registry.yarnpkg.com/string.prototype.matchall/-/string.prototype.matchall-4.0.10.tgz#a1553eb532221d4180c51581d6072cd65d1ee100" @@ -11986,7 +11677,7 @@ stringify-object@^3.3.0: is-obj "^1.0.1" is-regexp "^1.0.0" -strip-ansi@^6.0.0, strip-ansi@^6.0.1: +"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.0, strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A== @@ -12020,6 +11711,11 @@ strip-final-newline@^2.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad" integrity sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA== +strip-final-newline@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" + integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== + strip-hex-prefix@1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" @@ -12033,9 +11729,9 @@ strip-json-comments@^3.1.1: integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig== style-loader@^3.3.1: - version "3.3.3" - resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.3.tgz#bba8daac19930169c0c9c96706749a597ae3acff" - integrity sha512-53BiGLXAcll9maCYtZi2RCQZKa8NQQai5C4horqKyRmHj9H7QmcUyucrH+4KW/gBQbXM2AsB0axoEcFZPlfPcw== + version "3.3.4" + resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-3.3.4.tgz#f30f786c36db03a45cbd55b6a70d930c479090e7" + integrity sha512-0WqXzrsMTyb8yjZJHDqwmnwRJvhALK9LfRtRc6B4UTWe8AijYLZYZ9thuJTZc2VfQWINADW/j+LiJnfy2RoC1w== stylehacks@^5.1.1: version "5.1.1" @@ -12051,13 +11747,13 @@ stylis@4.2.0: integrity sha512-Orov6g6BB1sDfYgzWfTHDOxamtX1bE/zo104Dh9e6fqJ3PooipYyfJ0pUmrZO2wAvO8YbEyeFrkV91XTsGMSrw== sucrase@^3.32.0: - version "3.34.0" - resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.34.0.tgz#1e0e2d8fcf07f8b9c3569067d92fbd8690fb576f" - integrity sha512-70/LQEZ07TEcxiU2dz51FKaE6hCTWC6vr7FOk3Gr0U60C3shtAN+H+BFr9XlYe5xqf3RA8nrc+VIwzCfnxuXJw== + version "3.35.0" + resolved "https://registry.yarnpkg.com/sucrase/-/sucrase-3.35.0.tgz#57f17a3d7e19b36d8995f06679d121be914ae263" + integrity sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA== dependencies: "@jridgewell/gen-mapping" "^0.3.2" commander "^4.0.0" - glob "7.1.6" + glob "^10.3.10" lines-and-columns "^1.1.6" mz "^2.7.0" pirates "^4.0.1" @@ -12087,7 +11783,7 @@ supports-color@^7.0.0, supports-color@^7.1.0: dependencies: has-flag "^4.0.0" -supports-color@^8.0.0, supports-color@^8.1.0: +supports-color@^8.0.0: version "8.1.1" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-8.1.1.tgz#cd6fc17e28500cff56c1b86c0a7fd4a54a73005c" integrity sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q== @@ -12149,20 +11845,15 @@ symbol-tree@^3.2.4: resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" integrity sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw== -table-layout@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/table-layout/-/table-layout-1.0.2.tgz#c4038a1853b0136d63365a734b6931cf4fad4a04" - integrity sha512-qd/R7n5rQTRFi+Zf2sk5XVVd9UQl6ZkduPFC3S7WEGJAmetDTjY3qPN50eSKzwuzEyQKy5TN2TiZdkIjos2L6A== - dependencies: - array-back "^4.0.1" - deep-extend "~0.6.0" - typical "^5.2.0" - wordwrapjs "^4.0.0" +system-architecture@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/system-architecture/-/system-architecture-0.1.0.tgz#71012b3ac141427d97c67c56bc7921af6bff122d" + integrity sha512-ulAk51I9UVUyJgxlv9M6lFot2WP3e7t8Kz9+IS6D4rVba1tR9kON+Ey69f+1R4Q8cd45Lod6a4IcJIxnzGc/zA== tailwindcss@^3.0.2: - version "3.3.6" - resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.3.6.tgz#4dd7986bf4902ad385d90d45fd4b2fa5fab26d5f" - integrity sha512-AKjF7qbbLvLaPieoKeTjG1+FyNZT6KaJMJPFeQyLfIp7l82ggH1fbHJSsYIvnbTFQOlkh+gBYpyby5GT1LIdLw== + version "3.4.1" + resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.4.1.tgz#f512ca5d1dd4c9503c7d3d28a968f1ad8f5c839d" + integrity sha512-qAYmXRfk3ENzuPBakNK0SRrUDipP8NQnEY6772uDhflcQz5EhRdD7JNZxyrFHVQNCwULPBn6FNPp9brpO7ctcA== dependencies: "@alloc/quick-lru" "^5.2.0" arg "^5.0.2" @@ -12221,20 +11912,20 @@ terminal-link@^2.0.0: supports-hyperlinks "^2.0.0" terser-webpack-plugin@^5.2.5, terser-webpack-plugin@^5.3.7: - version "5.3.9" - resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.9.tgz#832536999c51b46d468067f9e37662a3b96adfe1" - integrity sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA== + version "5.3.10" + resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" + integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== dependencies: - "@jridgewell/trace-mapping" "^0.3.17" + "@jridgewell/trace-mapping" "^0.3.20" jest-worker "^27.4.5" schema-utils "^3.1.1" serialize-javascript "^6.0.1" - terser "^5.16.8" + terser "^5.26.0" -terser@^5.0.0, terser@^5.10.0, terser@^5.16.8: - version "5.25.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.25.0.tgz#6579b4cca45b08bf0fdaa1a04605fd5860dfb2ac" - integrity sha512-we0I9SIsfvNUMP77zC9HG+MylwYYsGFSBG8qm+13oud2Yh+O104y614FRbyjpxys16jZwot72Fpi827YvGzuqg== +terser@^5.0.0, terser@^5.10.0, terser@^5.26.0: + version "5.26.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.26.0.tgz#ee9f05d929f4189a9c28a0feb889d96d50126fe1" + integrity sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.8.2" @@ -12362,11 +12053,6 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -tree-kill@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc" - integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A== - treeify@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" @@ -12377,30 +12063,15 @@ tryer@^1.0.1: resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" integrity sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA== -ts-command-line-args@^2.2.0: - version "2.5.1" - resolved "https://registry.yarnpkg.com/ts-command-line-args/-/ts-command-line-args-2.5.1.tgz#e64456b580d1d4f6d948824c274cf6fa5f45f7f0" - integrity sha512-H69ZwTw3rFHb5WYpQya40YAX2/w7Ut75uUECbgBIsLmM+BNuYnxsltfyyLMxy6sEeKxgijLTnQtLd0nKd6+IYw== - dependencies: - chalk "^4.1.0" - command-line-args "^5.1.1" - command-line-usage "^6.1.0" - string-format "^2.0.0" - -ts-essentials@^7.0.1: - version "7.0.3" - resolved "https://registry.yarnpkg.com/ts-essentials/-/ts-essentials-7.0.3.tgz#686fd155a02133eedcc5362dc8b5056cde3e5a38" - integrity sha512-8+gr5+lqO3G84KdiTSMRLtuyJ+nTBVRKuCrK4lidMPdVeEp0uqC875uE5NMcaA7YYMN7XsNiFQuMvasF8HT/xQ== - ts-interface-checker@^0.1.9: version "0.1.13" resolved "https://registry.yarnpkg.com/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz#784fd3d679722bc103b1b4b8030bcddb5db2a699" integrity sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA== -tsconfig-paths@^3.14.2: - version "3.14.2" - resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.2.tgz#6e32f1f79412decd261f92d633a9dc1cfa99f088" - integrity sha512-o/9iXgCYc5L/JxCHPe3Hvh8Q/2xm5Z+p18PESBU6Ff33695QnCHBEjcytY2q19ua7Mbl/DavtBOLq+oG0RCL+g== +tsconfig-paths@^3.15.0: + version "3.15.0" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.15.0.tgz#5299ec605e55b1abb23ec939ef15edaf483070d4" + integrity sha512-2Ac2RgzDe/cn48GvOe3M+o82pEFewD3UPbyoUHHdKasHwJKjds4fLXWf/Ux5kATBKN20oaFGu+jbElp1pos0mg== dependencies: "@types/json5" "^0.0.29" json5 "^1.0.2" @@ -12466,32 +12137,6 @@ type-is@~1.6.18: media-typer "0.3.0" mime-types "~2.1.24" -type@^1.0.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" - integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== - -type@^2.7.2: - version "2.7.2" - resolved "https://registry.yarnpkg.com/type/-/type-2.7.2.tgz#2376a15a3a28b1efa0f5350dcf72d24df6ef98d0" - integrity sha512-dzlvlNlt6AXU7EBSfpAscydQ7gXB+pPGsPnfJnZpiNJBDj7IaJzQlBZYGdEi4R9HmPdBv2XmWJ6YUtoTa7lmCw== - -typechain@^8.1.1: - version "8.3.2" - resolved "https://registry.yarnpkg.com/typechain/-/typechain-8.3.2.tgz#1090dd8d9c57b6ef2aed3640a516bdbf01b00d73" - integrity sha512-x/sQYr5w9K7yv3es7jo4KTX05CLxOf7TRWwoHlrjRh8H82G64g+k7VuWPJlgMo6qrjfCulOdfBjiaDtmhFYD/Q== - dependencies: - "@types/prettier" "^2.1.1" - debug "^4.3.1" - fs-extra "^7.0.0" - glob "7.1.7" - js-sha3 "^0.8.0" - lodash "^4.17.15" - mkdirp "^1.0.4" - prettier "^2.3.1" - ts-command-line-args "^2.2.0" - ts-essentials "^7.0.1" - typed-array-buffer@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/typed-array-buffer/-/typed-array-buffer-1.0.0.tgz#18de3e7ed7974b0a729d3feecb94338d1472cd60" @@ -12543,17 +12188,7 @@ typescript@^4.4.2: resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== -typical@^4.0.0: - version "4.0.0" - resolved "https://registry.yarnpkg.com/typical/-/typical-4.0.0.tgz#cbeaff3b9d7ae1e2bbfaf5a4e6f11eccfde94fc4" - integrity sha512-VAH4IvQ7BDFYglMd7BPRDfLgxZZX4O4TFcRDA6EN5X7erNJJq+McIEp8np9aVtxrCJ6qx4GTYVfOWNjcqwZgRw== - -typical@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/typical/-/typical-5.2.0.tgz#4daaac4f2b5315460804f0acf6cb69c52bb93066" - integrity sha512-dvdQgNDNJo+8B2uBQoqdb11eUCE1JQXhvjC/CZtgvZseVd5TYMXnq0+vuUemXbd/Se29cTaUuPX3YIc2xgbvIg== - -ua-parser-js@^1.0.35: +ua-parser-js@^1.0.37: version "1.0.37" resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-1.0.37.tgz#b5dc7b163a5c1f0c510b08446aed4da92c46373f" integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== @@ -12595,17 +12230,22 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -unenv@^1.7.4: - version "1.8.0" - resolved "https://registry.yarnpkg.com/unenv/-/unenv-1.8.0.tgz#0f860d5278405700bd95d47b23bc01f3a735d68c" - integrity sha512-uIGbdCWZfhRRmyKj1UioCepQ0jpq638j/Cf0xFTn4zD1nGJ2lSdzYHLzfdXN791oo/0juUiSWW1fBklXMTsuqg== +unenv@^1.8.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/unenv/-/unenv-1.9.0.tgz#469502ae85be1bd3a6aa60f810972b1a904ca312" + integrity sha512-QKnFNznRxmbOF1hDgzpqrlIf6NC5sbZ2OJ+5Wl3OX8uM+LUJXbj4TXvLJCtwbPTmbMHCLIz6JLKNinNsMShK9g== dependencies: consola "^3.2.3" defu "^6.1.3" mime "^3.0.0" - node-fetch-native "^1.4.1" + node-fetch-native "^1.6.1" pathe "^1.1.1" +unfetch@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/unfetch/-/unfetch-4.2.0.tgz#7e21b0ef7d363d8d9af0fb929a5555f6ef97a3be" + integrity sha512-F9p7yYCn6cIW9El1zi0HI6vqpeIvBsr3dSuRO6Xuppb1u5rXpCPmMvLSyECLhybr9isec8Ohl0hPekMVrEinDA== + unicode-canonical-property-names-ecmascript@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-2.0.0.tgz#301acdc525631670d39f6146e0e77ff6bbdebddc" @@ -12636,11 +12276,6 @@ unique-string@^2.0.0: dependencies: crypto-random-string "^2.0.0" -universalify@^0.1.0: - version "0.1.2" - resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.2.tgz#b646f69be3942dabcecc9d6639c80dc105efaa66" - integrity sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg== - universalify@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0" @@ -12678,12 +12313,12 @@ unstorage@^1.9.0: ofetch "^1.3.3" ufo "^1.3.1" -untun@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/untun/-/untun-0.1.2.tgz#fa42a62ae24c1c5c6f3209692a2b0e1f573f1353" - integrity sha512-wLAMWvxfqyTiBODA1lg3IXHQtjggYLeTK7RnSfqtOXixWJ3bAa2kK/HHmOOg19upteqO3muLvN6O/icbyQY33Q== +untun@^0.1.3: + version "0.1.3" + resolved "https://registry.yarnpkg.com/untun/-/untun-0.1.3.tgz#5d10dee37a3a5737ff03d158be877dae0a0e58a6" + integrity sha512-4luGP9LMYszMRZwsvyUd9MrxgEGZdZuZgpVQHEEX0lCYFESasVRvZd0EYpCkOIbJKHMuv0LskpXc/8Un+MJzEQ== dependencies: - citty "^0.1.3" + citty "^0.1.5" consola "^3.2.3" pathe "^1.1.1" @@ -12729,9 +12364,9 @@ url@^0.11.0: qs "^6.11.2" use-callback-ref@^1.3.0: - version "1.3.0" - resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.0.tgz#772199899b9c9a50526fedc4993fc7fa1f7e32d5" - integrity sha512-3FT9PRuRdbB9HfXhEq35u4oZkvpJ5kuYbpqhCfmiZyReuRgpnhDlbr2ZEnnuS0RrJAPn6l23xjFg9kpDM+Ms7w== + version "1.3.1" + resolved "https://registry.yarnpkg.com/use-callback-ref/-/use-callback-ref-1.3.1.tgz#9be64c3902cbd72b07fe55e56408ae3a26036fd0" + integrity sha512-Lg4Vx1XZQauB42Hw3kK7JM6yjVjgFmFC5/Ab797s79aARomD2nEErc4mCgM8EZrARLmmbWpi5DGCadmK50DcAQ== dependencies: tslib "^2.0.0" @@ -12823,10 +12458,10 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.18.3: - version "1.19.11" - resolved "https://registry.yarnpkg.com/viem/-/viem-1.19.11.tgz#de4ee7537ee036894bd818aa316a8faecaf017e9" - integrity sha512-dbsXEWDBZkByuzJXAs/e01j7dpUJ5ICF5WcyntFwf8Y97n5vnC/91lAleSa6DA5V4WJvYZbhDpYeTctsMAQnhA== +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: + version "1.21.4" + resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" + integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== dependencies: "@adraffy/ens-normalize" "1.10.0" "@noble/curves" "1.2.0" @@ -12852,14 +12487,14 @@ w3c-xmlserializer@^2.0.0: xml-name-validator "^3.0.0" wagmi@^1.4.5: - version "1.4.8" - resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-1.4.8.tgz#0094c37d730e1ac35a884280835114dd9ad69b2b" - integrity sha512-WoumwBB3Lw6QhVNxiN2m7jY2rzhKnUx7toDR5OsAVwpqlt6j9UrbNWfj6LKQE33fu7t0pSh0FAuXp1s33RCthA== + version "1.4.13" + resolved "https://registry.yarnpkg.com/wagmi/-/wagmi-1.4.13.tgz#dc8dc077c7c2195877d7e33477b0417f5d2add4f" + integrity sha512-AScVYFjqNt1wMgL99Bob7MLdhoTZ3XKiOZL5HVBdy4W1sh7QodA3gQ8IsmTuUrQ7oQaTxjiXEhwg7sWNrPBvJA== dependencies: "@tanstack/query-sync-storage-persister" "^4.27.1" "@tanstack/react-query" "^4.28.0" "@tanstack/react-query-persist-client" "^4.28.0" - "@wagmi/core" "1.4.8" + "@wagmi/core" "1.4.13" abitype "0.8.7" use-sync-external-store "^1.2.0" @@ -12890,100 +12525,7 @@ web-vitals@^2.1.0: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-2.1.4.tgz#76563175a475a5e835264d373704f9dde718290c" integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== -web3-core-helpers@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-core-helpers/-/web3-core-helpers-1.10.3.tgz#f2db40ea57e888795e46f229b06113b60bcd671c" - integrity sha512-Yv7dQC3B9ipOc5sWm3VAz1ys70Izfzb8n9rSiQYIPjpqtJM+3V4EeK6ghzNR6CO2es0+Yu9CtCkw0h8gQhrTxA== - dependencies: - web3-eth-iban "1.10.3" - web3-utils "1.10.3" - -web3-core-method@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-core-method/-/web3-core-method-1.10.3.tgz#63f16310ccab4eec8eca0a337d534565c2ba8d33" - integrity sha512-VZ/Dmml4NBmb0ep5PTSg9oqKoBtG0/YoMPei/bq/tUdlhB2dMB79sbeJPwx592uaV0Vpk7VltrrrBv5hTM1y4Q== - dependencies: - "@ethersproject/transactions" "^5.6.2" - web3-core-helpers "1.10.3" - web3-core-promievent "1.10.3" - web3-core-subscriptions "1.10.3" - web3-utils "1.10.3" - -web3-core-promievent@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-core-promievent/-/web3-core-promievent-1.10.3.tgz#9765dd42ce6cf2dc0a08eaffee607b855644f290" - integrity sha512-HgjY+TkuLm5uTwUtaAfkTgRx/NzMxvVradCi02gy17NxDVdg/p6svBHcp037vcNpkuGeFznFJgULP+s2hdVgUQ== - dependencies: - eventemitter3 "4.0.4" - -web3-core-requestmanager@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-core-requestmanager/-/web3-core-requestmanager-1.10.3.tgz#c34ca8e998a18d6ca3fa7f7a11d4391da401c987" - integrity sha512-VT9sKJfgM2yBOIxOXeXiDuFMP4pxzF6FT+y8KTLqhDFHkbG3XRe42Vm97mB/IvLQCJOmokEjl3ps8yP1kbggyw== - dependencies: - util "^0.12.5" - web3-core-helpers "1.10.3" - web3-providers-http "1.10.3" - web3-providers-ipc "1.10.3" - web3-providers-ws "1.10.3" - -web3-core-subscriptions@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-core-subscriptions/-/web3-core-subscriptions-1.10.3.tgz#58768cd72a9313252ef05dc52c09536f009a9479" - integrity sha512-KW0Mc8sgn70WadZu7RjQ4H5sNDJ5Lx8JMI3BWos+f2rW0foegOCyWhRu33W1s6ntXnqeBUw5rRCXZRlA3z+HNA== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.10.3" - -web3-core@^1.7.1: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-core/-/web3-core-1.10.3.tgz#4aeb8f4b0cb5775d9fa4edf1127864743f1c3ae3" - integrity sha512-Vbk0/vUNZxJlz3RFjAhNNt7qTpX8yE3dn3uFxfX5OHbuon5u65YEOd3civ/aQNW745N0vGUlHFNxxmn+sG9DIw== - dependencies: - "@types/bn.js" "^5.1.1" - "@types/node" "^12.12.6" - bignumber.js "^9.0.0" - web3-core-helpers "1.10.3" - web3-core-method "1.10.3" - web3-core-requestmanager "1.10.3" - web3-utils "1.10.3" - -web3-eth-iban@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-eth-iban/-/web3-eth-iban-1.10.3.tgz#91d458e5400195edc883a0d4383bf1cecd17240d" - integrity sha512-ZCfOjYKAjaX2TGI8uif5ah+J3BYFuo+47JOIV1RIz2l7kD9VfnxvRH5UiQDRyMALQC7KFd2hUqIEtHklapNyKA== - dependencies: - bn.js "^5.2.1" - web3-utils "1.10.3" - -web3-providers-http@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-providers-http/-/web3-providers-http-1.10.3.tgz#d8166ee89db82d37281ea9e15c5882a2d7928755" - integrity sha512-6dAgsHR3MxJ0Qyu3QLFlQEelTapVfWNTu5F45FYh8t7Y03T1/o+YAkVxsbY5AdmD+y5bXG/XPJ4q8tjL6MgZHw== - dependencies: - abortcontroller-polyfill "^1.7.5" - cross-fetch "^4.0.0" - es6-promise "^4.2.8" - web3-core-helpers "1.10.3" - -web3-providers-ipc@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-providers-ipc/-/web3-providers-ipc-1.10.3.tgz#a7e015957fc037d8a87bd4b6ae3561c1b1ad1f46" - integrity sha512-vP5WIGT8FLnGRfswTxNs9rMfS1vCbMezj/zHbBe/zB9GauBRTYVrUo2H/hVrhLg8Ut7AbsKZ+tCJ4mAwpKi2hA== - dependencies: - oboe "2.1.5" - web3-core-helpers "1.10.3" - -web3-providers-ws@1.10.3: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-providers-ws/-/web3-providers-ws-1.10.3.tgz#03c84958f9da251349cd26fd7a4ae567e3af6caa" - integrity sha512-/filBXRl48INxsh6AuCcsy4v5ndnTZ/p6bl67kmO9aK1wffv7CT++DrtclDtVMeDGCgB3van+hEf9xTAVXur7Q== - dependencies: - eventemitter3 "4.0.4" - web3-core-helpers "1.10.3" - websocket "^1.0.32" - -web3-utils@1.10.3, web3-utils@^1.3.4: +web3-utils@^1.3.4: version "1.10.3" resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== @@ -13137,18 +12679,6 @@ websocket-extensions@>=0.1.1: resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42" integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg== -websocket@^1.0.32: - version "1.0.34" - resolved "https://registry.yarnpkg.com/websocket/-/websocket-1.0.34.tgz#2bdc2602c08bf2c82253b730655c0ef7dcab3111" - integrity sha512-PRDso2sGwF6kM75QykIesBijKSVceR6jL2G8NGYyq2XrItNC2P5/qL5XeR056GhA+Ly7JMFvJb9I312mJfmqnQ== - dependencies: - bufferutil "^4.0.1" - debug "^2.2.0" - es5-ext "^0.10.50" - typedarray-to-buffer "^3.1.5" - utf-8-validate "^5.0.2" - yaeti "^0.0.6" - whatwg-encoding@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz#5abacf777c32166a51d085d6b4f3e7d27113ddb0" @@ -13157,9 +12687,9 @@ whatwg-encoding@^1.0.5: iconv-lite "0.4.24" whatwg-fetch@^3.6.2: - version "3.6.19" - resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.19.tgz#caefd92ae630b91c07345537e67f8354db470973" - integrity sha512-d67JP4dHSbm2TrpFj8AbO8DnL1JXL5J9u0Kq2xW6d0TFDbCA3Muhdt8orXC22utleTVj7Prqt82baN6RBvnEgw== + version "3.6.20" + resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-3.6.20.tgz#580ce6d791facec91d37c72890995a0b48d31c70" + integrity sha512-EqhiFU6daOA8kpjOWTL0olhVOF3i7OrFzSYiGsEMB8GcXS+RrzauAERX65xMeNWVqxA6HXH2m69Z9LaKKdisfg== whatwg-mimetype@^2.3.0: version "2.3.0" @@ -13266,14 +12796,6 @@ word-wrap@~1.2.3: resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.5.tgz#d2c45c6dd4fbce621a66f136cbe328afd0410b34" integrity sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA== -wordwrapjs@^4.0.0: - version "4.0.1" - resolved "https://registry.yarnpkg.com/wordwrapjs/-/wordwrapjs-4.0.1.tgz#d9790bccfb110a0fc7836b5ebce0937b37a8b98f" - integrity sha512-kKlNACbvHrkpIw6oPeYDSmdCTu2hdMHoyXLTcUKala++lx5Y+wjJ/e474Jqv5abnVmwxw08DiTuHmw69lJGksA== - dependencies: - reduce-flatten "^2.0.0" - typical "^5.2.0" - workbox-background-sync@6.6.1: version "6.6.1" resolved "https://registry.yarnpkg.com/workbox-background-sync/-/workbox-background-sync-6.6.1.tgz#08d603a33717ce663e718c30cc336f74909aff2f" @@ -13443,6 +12965,15 @@ workbox-window@6.6.1: "@types/trusted-types" "^2.0.2" workbox-core "6.6.1" +"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0: + version "7.0.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" + integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== + dependencies: + ansi-styles "^4.0.0" + string-width "^4.1.0" + strip-ansi "^6.0.0" + wrap-ansi@^6.2.0: version "6.2.0" resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-6.2.0.tgz#e9393ba07102e6c91a3b221478f0257cd2856e53" @@ -13452,14 +12983,14 @@ wrap-ansi@^6.2.0: string-width "^4.1.0" strip-ansi "^6.0.0" -wrap-ansi@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43" - integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q== +wrap-ansi@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214" + integrity sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ== dependencies: - ansi-styles "^4.0.0" - string-width "^4.1.0" - strip-ansi "^6.0.0" + ansi-styles "^6.1.0" + string-width "^5.0.1" + strip-ansi "^7.0.1" wrappy@1: version "1.0.2" @@ -13492,9 +13023,9 @@ ws@^7.4.5, ws@^7.4.6, ws@^7.5.1: integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q== ws@^8.13.0, ws@^8.5.0: - version "8.14.2" - resolved "https://registry.yarnpkg.com/ws/-/ws-8.14.2.tgz#6c249a806eb2db7a20d26d51e7709eab7b2e6c7f" - integrity sha512-wEBG1ftX4jcglPxgFCMJmZ2PLtSbJ2Peg6TmpJFTbe9GZYOQCDPdMYu/Tm0/bGZkw8paZnJY45J4K2PZrLYq8g== + version "8.16.0" + resolved "https://registry.yarnpkg.com/ws/-/ws-8.16.0.tgz#d1cd774f36fbc07165066a60e40323eab6446fd4" + integrity sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ== xml-name-validator@^3.0.0: version "3.0.0" @@ -13521,11 +13052,6 @@ y18n@^5.0.5: resolved "https://registry.yarnpkg.com/y18n/-/y18n-5.0.8.tgz#7f4934d0f7ca8c56f95314939ddcd2dd91ce1d55" integrity sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA== -yaeti@^0.0.6: - version "0.0.6" - resolved "https://registry.yarnpkg.com/yaeti/-/yaeti-0.0.6.tgz#f26f484d72684cf42bedfb76970aa1608fbf9577" - integrity sha512-MvQa//+KcZCUkBTIC9blM+CU9J2GzuTytsOUwf2lidtvkx/6gnEp1QvJv34t9vdjhFmha/mUiNDbN0D0mJWdug== - yallist@^3.0.2: version "3.1.1" resolved "https://registry.yarnpkg.com/yallist/-/yallist-3.1.1.tgz#dbb7daf9bfd8bac9ab45ebf602b8cbad0d5d08fd" @@ -13559,11 +13085,6 @@ yargs-parser@^20.2.2: resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-20.2.9.tgz#2eb7dc3b0289718fc295f362753845c41a0c94ee" integrity sha512-y11nGElTIV+CT3Zv9t7VKl+Q3hTQoT9a1Qzezhhl6Rp21gJ/IVTW7Z3y9EWXhuUBC2Shnf+DX0antecpAwSP8w== -yargs-parser@^21.1.1: - version "21.1.1" - resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-21.1.1.tgz#9096bceebf990d21bb31fa9516e0ede294a77d35" - integrity sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw== - yargs@^15.3.1: version "15.4.1" resolved "https://registry.yarnpkg.com/yargs/-/yargs-15.4.1.tgz#0d87a16de01aee9d8bec2bfbf74f67851730f4f8" @@ -13594,24 +13115,16 @@ yargs@^16.2.0: y18n "^5.0.5" yargs-parser "^20.2.2" -yargs@^17.3.1: - version "17.7.2" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269" - integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w== - dependencies: - cliui "^8.0.1" - escalade "^3.1.1" - get-caller-file "^2.0.5" - require-directory "^2.1.1" - string-width "^4.2.3" - y18n "^5.0.5" - yargs-parser "^21.1.1" - yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== +zod@^3.22.4: + version "3.22.4" + resolved "https://registry.yarnpkg.com/zod/-/zod-3.22.4.tgz#f31c3a9386f61b1f228af56faa9255e845cf3fff" + integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== + zustand@^4.3.1: version "4.4.7" resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.7.tgz#355406be6b11ab335f59a66d2cf9815e8f24038c" From 28cc6f4f58fe0393d1997511a048a24fa6455977 Mon Sep 17 00:00:00 2001 From: amanraj1608 Date: Fri, 26 Jan 2024 16:45:43 +0400 Subject: [PATCH 02/13] bump version --- package.json | 8 +- src/components/AA/BatchLiquidity.tsx | 13 +- src/components/AA/MintNft.tsx | 11 +- src/components/Faucet/index.tsx | 8 +- src/components/Modules/CreateSession.tsx | 11 +- .../Modules/CreateSessionForCustomSVM.tsx | 15 +- src/contexts/SmartAccountContext.tsx | 43 +- yarn.lock | 896 +++++++++--------- 8 files changed, 494 insertions(+), 511 deletions(-) diff --git a/package.json b/package.json index 880cfc8..1264a2d 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,10 @@ "private": true, "dependencies": { "@alchemy/aa-core": "1.2.2", - "@biconomy-devx/account": "2.0.60", - "@biconomy-devx/bundler": "2.0.60", - "@biconomy-devx/modules": "2.0.60", - "@biconomy-devx/paymaster": "2.0.60", + "@biconomy-devx/account": "2.2.0", + "@biconomy-devx/bundler": "2.2.0", + "@biconomy-devx/modules": "2.2.0", + "@biconomy-devx/paymaster": "2.2.0", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@mui/icons-material": "^5.11.11", diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index e710337..aaafdd9 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -11,11 +11,11 @@ import { const BatchLiquidity: React.FC = () => { const classes = useStyles(); - const { accountProvider, scwAddress } = useSmartAccountContext(); + const { smartAccount, scwAddress } = useSmartAccountContext(); const [loading, setLoading] = useState(false); const makeTx = async () => { - if (!scwAddress || !accountProvider) return; + if (!scwAddress || !smartAccount) return; try { setLoading(true); @@ -25,7 +25,7 @@ const BatchLiquidity: React.FC = () => { args: [config.hyphenLP.address, parseEther("0.001", "gwei")], }); const tx1 = { - target: config.usdc.address as Hex, + to: config.usdc.address as Hex, value: BigInt(0), data: approveCallData, }; @@ -36,14 +36,13 @@ const BatchLiquidity: React.FC = () => { args: [config.usdc.address, parseEther("0.001", "gwei")], }); const tx2 = { - target: config.hyphenLP.address as Hex, + to: config.hyphenLP.address as Hex, value: BigInt(0), data: addLiquidityData, }; - let userOpResponse = await accountProvider.sendUserOperations([tx1, tx2]); - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); + let { waitForTxHash } = await smartAccount.sendTransaction([tx1, tx2]); + const { transactionHash } = await waitForTxHash(); console.log("txHash", transactionHash); showSuccessMessage( `Added batch liquidity ${transactionHash}`, diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 536df22..17a49de 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -13,7 +13,7 @@ import { const MintNft: React.FC = () => { const classes = useStyles(); const publicClient = usePublicClient(); - const { accountProvider, scwAddress } = useSmartAccountContext(); + const { smartAccount, scwAddress } = useSmartAccountContext(); const [nftCount, setNftCount] = useState(null); const [loading, setLoading] = useState(false); @@ -34,7 +34,7 @@ const MintNft: React.FC = () => { }, [getNftCount, publicClient]); const mintNft = async () => { - if (!scwAddress || !accountProvider || !publicClient) return; + if (!scwAddress || !smartAccount || !publicClient) return; try { setLoading(true); const mintData = encodeFunctionData({ @@ -43,14 +43,13 @@ const MintNft: React.FC = () => { args: [scwAddress as Hex], }); const tx1 = { - target: config.nft.address as Hex, + to: config.nft.address as Hex, value: BigInt(0), data: mintData, }; - let userOpResponse = await accountProvider.sendUserOperations(tx1); - console.log("userOpHash", userOpResponse); - const { transactionHash } = await userOpResponse.waitForTxHash(); + let { waitForTxHash } = await smartAccount.sendTransaction([tx1]); + const { transactionHash } = await waitForTxHash(); console.log("txHash", transactionHash); showSuccessMessage(`Minted Nft ${transactionHash}`, transactionHash); setLoading(false); diff --git a/src/components/Faucet/index.tsx b/src/components/Faucet/index.tsx index fd32085..716a229 100644 --- a/src/components/Faucet/index.tsx +++ b/src/components/Faucet/index.tsx @@ -13,11 +13,11 @@ import { const Faucet: React.FC = () => { const classes = useStyles(); - const { accountProvider, scwAddress } = useSmartAccountContext(); + const { smartAccount, scwAddress } = useSmartAccountContext(); const [address, setAddress] = useState(scwAddress); const makeTx = async () => { - if (!accountProvider || !scwAddress) { + if (!smartAccount || !scwAddress) { showErrorMessage("Please connect your wallet"); return; } @@ -29,11 +29,11 @@ const Faucet: React.FC = () => { args: [address as Hex], }); const tx1 = { - target: config.faucet.address as Hex, + to: config.faucet.address as Hex, value: BigInt(0), data: faucetTxData, }; - let userOpResponse = await accountProvider.sendUserOperations(tx1); + let userOpResponse = await smartAccount.sendTransaction(tx1); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index 46699c2..fd1e671 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -18,8 +18,7 @@ import { const CreateSession: React.FC = () => { const classes = useStyles(); const { address } = useAccount(); - const { accountProvider, scwAddress, smartAccount } = - useSmartAccountContext(); + const { scwAddress, smartAccount } = useSmartAccountContext(); const [loading, setLoading] = useState(false); const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = useState(false); @@ -53,7 +52,7 @@ const CreateSession: React.FC = () => { }, [isSessionKeyModuleEnabled, scwAddress, smartAccount, address]); const createSession = async (enableSessionKeyModule: boolean) => { - if (!scwAddress || !smartAccount || !address || !accountProvider) { + if (!scwAddress || !smartAccount || !address) { showErrorMessage("Please connect wallet first"); return; } @@ -115,7 +114,7 @@ const CreateSession: React.FC = () => { // tx to set session key const tx2 = { - target: sessionKeyManagerModuleAddr as Hex, // session manager module address + to: sessionKeyManagerModuleAddr as Hex, // session manager module address value: BigInt(0), data: sessionTxData.data as Hex, }; @@ -127,14 +126,14 @@ const CreateSession: React.FC = () => { sessionKeyManagerModuleAddr ); transactionArray.push({ - target: tx1.to as Hex, + to: tx1.to as Hex, value: BigInt(0), data: tx1.data as Hex, }); } transactionArray.push(tx2); - let userOpResponse = await accountProvider.sendUserOperations( + let userOpResponse = await smartAccount.sendTransaction( transactionArray ); console.log("userOpHash", userOpResponse); diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index ed17f11..ee292a5 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -29,8 +29,7 @@ import { const CreateCustomSession: React.FC = () => { const classes = useStyles(); const { address } = useAccount(); - const { accountProvider, scwAddress, smartAccount } = - useSmartAccountContext(); + const { scwAddress, smartAccount } = useSmartAccountContext(); const [loading, setLoading] = useState(false); const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = useState(false); @@ -64,7 +63,7 @@ const CreateCustomSession: React.FC = () => { }, [isSessionKeyModuleEnabled, scwAddress, smartAccount, address]); const createSession = async (enableSessionKeyModule: boolean) => { - if (!scwAddress || !smartAccount || !address || !accountProvider) { + if (!scwAddress || !smartAccount || !address) { showErrorMessage("Please connect wallet first"); return; } @@ -125,7 +124,7 @@ const CreateCustomSession: React.FC = () => { // tx to set session key const tx2 = { - target: sessionKeyManagerModuleAddr as Hex, // session manager module address + to: sessionKeyManagerModuleAddr as Hex, // session manager module address value: BigInt(0), data: sessionTxData.data as Hex, }; @@ -137,7 +136,7 @@ const CreateCustomSession: React.FC = () => { sessionKeyManagerModuleAddr ); transactionArray.push({ - target: tx1.to as Hex, + to: tx1.to as Hex, value: BigInt(0), data: tx1.data as Hex, }); @@ -150,7 +149,7 @@ const CreateCustomSession: React.FC = () => { args: [config.hyphenLP.address, parseEther("100", "gwei")], }); const tx3 = { - target: config.usdc.address as Hex, + to: config.usdc.address as Hex, value: BigInt(0), data: approveCallData, }; @@ -158,9 +157,7 @@ const CreateCustomSession: React.FC = () => { // Building the user operation // If you're going to use sponsorship paymaster details can be provided at this step - let userOpResponse = await accountProvider.sendUserOperations( - transactionArray - ); + let userOpResponse = await smartAccount.sendTransaction(transactionArray); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index 590cd02..1601f65 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,22 +1,12 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; -import { - BiconomyAccountProvider, - BiconomySmartAccountV2, - DEFAULT_ENTRYPOINT_ADDRESS, -} from "@biconomy-devx/account"; -import { BiconomyPaymaster } from "@biconomy-devx/paymaster"; +import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; import { useAccount, useWalletClient } from "wagmi"; import { activeChainId, bundlerUrl, paymasterApi } from "../utils/chainConfig"; -import { Bundler } from "@biconomy-devx/bundler"; import { MultiChainValidationModule } from "@biconomy-devx/modules"; -import { WalletClientSigner } from "@alchemy/aa-core"; -import { polygonMumbai } from "viem/chains"; -// import { useEthersSigner } from './ethers' // Types type smartAccountContextType = { smartAccount: BiconomySmartAccountV2 | null; - accountProvider: BiconomyAccountProvider | null; scwAddress: string; loading: boolean; getSmartAccount: () => void; @@ -26,7 +16,6 @@ type smartAccountContextType = { export const SmartAccountContext = React.createContext( { smartAccount: null, - accountProvider: null, scwAddress: "", loading: false, getSmartAccount: () => 0, @@ -40,8 +29,6 @@ export const SmartAccountProvider = ({ children }: any) => { const { data: walletClient } = useWalletClient(); const [smartAccount, setSmartAccount] = useState(null); - const [accountProvider, setAccountProvider] = - useState(null); const [scwAddress, setScwAddress] = useState(""); const [loading, setLoading] = useState(false); @@ -50,27 +37,16 @@ export const SmartAccountProvider = ({ children }: any) => { try { setLoading(true); - // create bundler and paymaster instances - const bundler = new Bundler({ - bundlerUrl: bundlerUrl, - chainId: activeChainId, - entryPointAddress: DEFAULT_ENTRYPOINT_ADDRESS, - }); - const paymaster = new BiconomyPaymaster({ - paymasterUrl: paymasterApi, - }); - let signer = new WalletClientSigner(walletClient, "json-rpc"); // create multiChainModule const multiChainModule = await MultiChainValidationModule.create({ - signer: signer, + signer: walletClient, moduleAddress: "0x000000824dc138db84FD9109fc154bdad332Aa8E", }); - let wallet = await BiconomySmartAccountV2.create({ + let wallet = await createSmartAccountClient({ chainId: activeChainId, - paymaster: paymaster, - bundler: bundler, - entryPointAddress: DEFAULT_ENTRYPOINT_ADDRESS, - defaultValidationModule: multiChainModule, + biconomyPaymasterApiKey: paymasterApi, + bundlerUrl: bundlerUrl, + defaultValidationModule: multiChainModule, // TODO: need multichain or ecdsa module? activeValidationModule: multiChainModule, }); setSmartAccount(wallet); @@ -78,12 +54,6 @@ export const SmartAccountProvider = ({ children }: any) => { const scw = await wallet.getAccountAddress(); setScwAddress(scw); - const smartAccountProvider = new BiconomyAccountProvider({ - rpcProvider: polygonMumbai.rpcUrls.default.http[0], - chain: polygonMumbai, - }).connect((_rpcClient: any) => wallet); - setAccountProvider(smartAccountProvider); - setLoading(false); } catch (error: any) { setLoading(false); @@ -102,7 +72,6 @@ export const SmartAccountProvider = ({ children }: any) => { smartAccount, loading, getSmartAccount, - accountProvider, }} > {children} diff --git a/yarn.lock b/yarn.lock index 346bc51..4cad00a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -32,6 +32,16 @@ viem "^1.21.4" zod "^3.22.4" +"@alchemy/aa-core@^2.0.0": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" + integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== + dependencies: + abitype "^0.8.3" + eventemitter3 "^5.0.1" + viem "^1.21.4" + zod "^3.22.4" + "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -54,7 +64,7 @@ jsonpointer "^5.0.0" leven "^3.1.0" -"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.22.13", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.8.3": +"@babel/code-frame@^7.0.0", "@babel/code-frame@^7.10.4", "@babel/code-frame@^7.12.13", "@babel/code-frame@^7.16.0", "@babel/code-frame@^7.23.5", "@babel/code-frame@^7.8.3": version "7.23.5" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.23.5.tgz#9009b69a8c602293476ad598ff53e4562e15c244" integrity sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA== @@ -68,20 +78,20 @@ integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw== "@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.16.0", "@babel/core@^7.7.2", "@babel/core@^7.8.0": - version "7.23.7" - resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.7.tgz#4d8016e06a14b5f92530a13ed0561730b5c6483f" - integrity sha512-+UpDgowcmqe36d4NwqvKsyPMlOLNGMsfMmQ5WGCu+siCe3t3dfe9njrzGfdN4qq+bcNUt0+Vw6haRxBOycs4dw== + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/core/-/core-7.23.9.tgz#b028820718000f267870822fec434820e9b1e4d1" + integrity sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw== dependencies: "@ampproject/remapping" "^2.2.0" "@babel/code-frame" "^7.23.5" "@babel/generator" "^7.23.6" "@babel/helper-compilation-targets" "^7.23.6" "@babel/helper-module-transforms" "^7.23.3" - "@babel/helpers" "^7.23.7" - "@babel/parser" "^7.23.6" - "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.7" - "@babel/types" "^7.23.6" + "@babel/helpers" "^7.23.9" + "@babel/parser" "^7.23.9" + "@babel/template" "^7.23.9" + "@babel/traverse" "^7.23.9" + "@babel/types" "^7.23.9" convert-source-map "^2.0.0" debug "^4.1.0" gensync "^1.0.0-beta.2" @@ -89,9 +99,9 @@ semver "^6.3.1" "@babel/eslint-parser@^7.16.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.3.tgz#7bf0db1c53b54da0c8a12627373554a0828479ca" - integrity sha512-9bTuNlyx7oSstodm1cR1bECj4fkiknsDa1YniISkJemMY3DGhJNYBECbe6QD/q54mp2J8VO66jW3/7uP//iFCw== + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.9.tgz#052c13b39144e21fdd1e03fc9b67e98976a1ebfc" + integrity sha512-xPndlO7qxiJbn0ATvfXQBjCS7qApc9xmKHArgI/FTEFxXas5dnjC/VqM37lfZun9dclRYcn+YQAr6uDFy0bB2g== dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" @@ -132,10 +142,10 @@ lru-cache "^5.1.1" semver "^6.3.1" -"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.22.15", "@babel/helper-create-class-features-plugin@^7.23.6", "@babel/helper-create-class-features-plugin@^7.23.7": - version "7.23.7" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.7.tgz#b2e6826e0e20d337143655198b79d58fdc9bd43d" - integrity sha512-xCoqR/8+BoNnXOY7RVSgv6X+o7pmT5q1d+gGcRlXYkI+9B31glE4jeejhKVpA04O1AtzOt7OSQ6VYKP5FcRl9g== +"@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.22.15", "@babel/helper-create-class-features-plugin@^7.23.6", "@babel/helper-create-class-features-plugin@^7.23.9": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.9.tgz#fddfdf51fca28f23d16b9e3935a4732690acfad6" + integrity sha512-B2L9neXTIyPQoXDm+NtovPvG6VOLWnaXu3BIeVDWwdKFgG30oNa6CqVGiJPDWQwIAK49t9gnQI9c6K6RzabiKw== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" "@babel/helper-environment-visitor" "^7.22.20" @@ -156,10 +166,10 @@ regexpu-core "^5.3.1" semver "^6.3.1" -"@babel/helper-define-polyfill-provider@^0.4.4": - version "0.4.4" - resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.4.4.tgz#64df615451cb30e94b59a9696022cffac9a10088" - integrity sha512-QcJMILQCu2jm5TFPGA3lCpJJTeEP+mqeXooG/NZbg/h5FTFi6V0+99ahlRsW8/kRLyb24LZVCCiclDedhLKcBA== +"@babel/helper-define-polyfill-provider@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.5.0.tgz#465805b7361f461e86c680f1de21eaf88c25901b" + integrity sha512-NovQquuQLAQ5HuyjCz7WQP9MjRj7dx++yspwiyUiGl9ZyadHRSql1HZh5ogRd8W8w6YM6EQ/NTB8rgjLt5W65Q== dependencies: "@babel/helper-compilation-targets" "^7.22.6" "@babel/helper-plugin-utils" "^7.22.5" @@ -287,14 +297,14 @@ "@babel/template" "^7.22.15" "@babel/types" "^7.22.19" -"@babel/helpers@^7.23.7": - version "7.23.8" - resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.8.tgz#fc6b2d65b16847fd50adddbd4232c76378959e34" - integrity sha512-KDqYz4PiOWvDFrdHLPhKtCThtIcKVy6avWD2oG4GEvyQ+XDZwHD4YQd+H2vNMnq2rkdxsDkU82T+Vk8U/WXHRQ== +"@babel/helpers@^7.23.9": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/helpers/-/helpers-7.23.9.tgz#c3e20bbe7f7a7e10cb9b178384b4affdf5995c7d" + integrity sha512-87ICKgU5t5SzOT7sBMfCOZQ2rHjRU+Pcb9BoILMYz600W6DkVRLFBPwQ18gwUVvggqXivaUakpnxWQGbpywbBQ== dependencies: - "@babel/template" "^7.22.15" - "@babel/traverse" "^7.23.7" - "@babel/types" "^7.23.6" + "@babel/template" "^7.23.9" + "@babel/traverse" "^7.23.9" + "@babel/types" "^7.23.9" "@babel/highlight@^7.23.4": version "7.23.4" @@ -305,10 +315,10 @@ chalk "^2.4.2" js-tokens "^4.0.0" -"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.22.15", "@babel/parser@^7.23.6": - version "7.23.6" - resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.6.tgz#ba1c9e512bda72a47e285ae42aff9d2a635a9e3b" - integrity sha512-Z2uID7YJ7oNvAI20O9X0bblw7Qqs8Q2hFy0R9tAfnfLkp5MW0UH9eUvnDSnFwKZ0AvgS1ucqR4KzvVHgnke1VQ== +"@babel/parser@^7.1.0", "@babel/parser@^7.14.7", "@babel/parser@^7.20.7", "@babel/parser@^7.23.9": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/parser/-/parser-7.23.9.tgz#7b903b6149b0f8fa7ad564af646c4c38a77fc44b" + integrity sha512-9tcKgqKbs3xGJ+NtKF2ndOBBLVwPjl1SHxPQkd36r3Dlirw3xWUeGaTbqr7uGZcTaxkVNwc+03SVP7aCdWrTlA== "@babel/plugin-bugfix-safari-id-destructuring-collision-in-function-expression@^7.23.3": version "7.23.3" @@ -343,11 +353,11 @@ "@babel/helper-plugin-utils" "^7.18.6" "@babel/plugin-proposal-decorators@^7.16.4": - version "7.23.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.23.7.tgz#1d827902cbd3d9054e54fb2f2056cdd1eaa0e368" - integrity sha512-b1s5JyeMvqj7d9m9KhJNHKc18gEJiSyVzVX3bwbiPalQBQpuvfPh6lA9F7Kk/dWH0TIiXRpB9yicwijY6buPng== + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.23.9.tgz#126d947d62ee72022ec46813983c6dd861456fa3" + integrity sha512-hJhBCb0+NnTWybvWq2WpbCYDOcflSbx0t+BYP65e5R9GVnukiDTi+on5bFkk4p7QGuv190H6KfNiV9Knf/3cZA== dependencies: - "@babel/helper-create-class-features-plugin" "^7.23.7" + "@babel/helper-create-class-features-plugin" "^7.23.9" "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-syntax-decorators" "^7.23.3" @@ -558,10 +568,10 @@ dependencies: "@babel/helper-plugin-utils" "^7.22.5" -"@babel/plugin-transform-async-generator-functions@^7.23.7": - version "7.23.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.7.tgz#3aa0b4f2fa3788b5226ef9346cf6d16ec61f99cd" - integrity sha512-PdxEpL71bJp1byMG0va5gwQcXHxuEYC/BgI/e88mGTtohbZN28O5Yit0Plkkm/dBzCF/BxmbNcses1RH1T+urA== +"@babel/plugin-transform-async-generator-functions@^7.23.9": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-async-generator-functions/-/plugin-transform-async-generator-functions-7.23.9.tgz#9adaeb66fc9634a586c5df139c6240d41ed801ce" + integrity sha512-8Q3veQEDGe14dTYuwagbRtwxQDnytyg1JFu4/HwEMETeofocrB0U0ejBJIXoeG/t2oXZ8kzCyI0ZZfbT80VFNQ== dependencies: "@babel/helper-environment-visitor" "^7.22.20" "@babel/helper-plugin-utils" "^7.22.5" @@ -748,10 +758,10 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/helper-simple-access" "^7.22.5" -"@babel/plugin-transform-modules-systemjs@^7.23.3": - version "7.23.3" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.3.tgz#fa7e62248931cb15b9404f8052581c302dd9de81" - integrity sha512-ZxyKGTkF9xT9YJuKQRo19ewf3pXpopuYQd8cDXqNzc3mUNbOME0RKMoZxviQk74hwzfQsEe66dE92MaZbdHKNQ== +"@babel/plugin-transform-modules-systemjs@^7.23.9": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.23.9.tgz#105d3ed46e4a21d257f83a2f9e2ee4203ceda6be" + integrity sha512-KDlPRM6sLo4o1FkiSlXoAa8edLXFsKKIda779fbLrvmeuc3itnjCtaO6RrtoaANsIJANj+Vk1zqbZIMhkCAHVw== dependencies: "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-module-transforms" "^7.23.3" @@ -921,15 +931,15 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/plugin-transform-runtime@^7.16.4": - version "7.23.7" - resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.7.tgz#52bbd20054855beb9deae3bee9ceb05289c343e6" - integrity sha512-fa0hnfmiXc9fq/weK34MUV0drz2pOL/vfKWvN7Qw127hiUPabFCUMgAbYWcchRzMJit4o5ARsK/s+5h0249pLw== + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.23.9.tgz#2c64d0680fc8e09e1dfe8fd5c646fe72abd82004" + integrity sha512-A7clW3a0aSjm3ONU9o2HAILSegJCYlEZmOhmBRReVtIpY/Z/p7yIZ+wR41Z+UipwdGuqwtID/V/dOdZXjwi9gQ== dependencies: "@babel/helper-module-imports" "^7.22.15" "@babel/helper-plugin-utils" "^7.22.5" - babel-plugin-polyfill-corejs2 "^0.4.7" - babel-plugin-polyfill-corejs3 "^0.8.7" - babel-plugin-polyfill-regenerator "^0.5.4" + babel-plugin-polyfill-corejs2 "^0.4.8" + babel-plugin-polyfill-corejs3 "^0.9.0" + babel-plugin-polyfill-regenerator "^0.5.5" semver "^6.3.1" "@babel/plugin-transform-shorthand-properties@^7.23.3": @@ -1010,9 +1020,9 @@ "@babel/helper-plugin-utils" "^7.22.5" "@babel/preset-env@^7.11.0", "@babel/preset-env@^7.12.1", "@babel/preset-env@^7.16.4": - version "7.23.8" - resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.23.8.tgz#7d6f8171ea7c221ecd28059e65ad37c20e441e3e" - integrity sha512-lFlpmkApLkEP6woIKprO6DO60RImpatTQKtz4sUcDjVcK8M8mQ4sZsuxaTMNOZf0sqAq/ReYW1ZBHnOQwKpLWA== + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/preset-env/-/preset-env-7.23.9.tgz#beace3b7994560ed6bf78e4ae2073dff45387669" + integrity sha512-3kBGTNBBk9DQiPoXYS0g0BYlwTQYUTifqgKTjxUwEUkduRT2QOa0FPGBJ+NROQhGyYO5BuTJwGvBnqKDykac6A== dependencies: "@babel/compat-data" "^7.23.5" "@babel/helper-compilation-targets" "^7.23.6" @@ -1041,7 +1051,7 @@ "@babel/plugin-syntax-top-level-await" "^7.14.5" "@babel/plugin-syntax-unicode-sets-regex" "^7.18.6" "@babel/plugin-transform-arrow-functions" "^7.23.3" - "@babel/plugin-transform-async-generator-functions" "^7.23.7" + "@babel/plugin-transform-async-generator-functions" "^7.23.9" "@babel/plugin-transform-async-to-generator" "^7.23.3" "@babel/plugin-transform-block-scoped-functions" "^7.23.3" "@babel/plugin-transform-block-scoping" "^7.23.4" @@ -1063,7 +1073,7 @@ "@babel/plugin-transform-member-expression-literals" "^7.23.3" "@babel/plugin-transform-modules-amd" "^7.23.3" "@babel/plugin-transform-modules-commonjs" "^7.23.3" - "@babel/plugin-transform-modules-systemjs" "^7.23.3" + "@babel/plugin-transform-modules-systemjs" "^7.23.9" "@babel/plugin-transform-modules-umd" "^7.23.3" "@babel/plugin-transform-named-capturing-groups-regex" "^7.22.5" "@babel/plugin-transform-new-target" "^7.23.3" @@ -1089,9 +1099,9 @@ "@babel/plugin-transform-unicode-regex" "^7.23.3" "@babel/plugin-transform-unicode-sets-regex" "^7.23.3" "@babel/preset-modules" "0.1.6-no-external-plugins" - babel-plugin-polyfill-corejs2 "^0.4.7" - babel-plugin-polyfill-corejs3 "^0.8.7" - babel-plugin-polyfill-regenerator "^0.5.4" + babel-plugin-polyfill-corejs2 "^0.4.8" + babel-plugin-polyfill-corejs3 "^0.9.0" + babel-plugin-polyfill-regenerator "^0.5.5" core-js-compat "^3.31.0" semver "^6.3.1" @@ -1132,26 +1142,26 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.23.6", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": - version "7.23.8" - resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.8.tgz#8ee6fe1ac47add7122902f257b8ddf55c898f650" - integrity sha512-Y7KbAP984rn1VGMbGqKmBLio9V7y5Je9GvU4rQPCPinCyNfUcToxIXl06d59URp/F3LwinvODxab5N/G6qggkw== +"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.23.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7" + integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw== dependencies: regenerator-runtime "^0.14.0" -"@babel/template@^7.22.15", "@babel/template@^7.3.3": - version "7.22.15" - resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.22.15.tgz#09576efc3830f0430f4548ef971dde1350ef2f38" - integrity sha512-QPErUVm4uyJa60rkI73qneDacvdvzxshT3kksGqlGWYdOTIUOwJ7RDUL8sGqslY1uXWSL6xMFKEXDS3ox2uF0w== +"@babel/template@^7.22.15", "@babel/template@^7.23.9", "@babel/template@^7.3.3": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.23.9.tgz#f881d0487cba2828d3259dcb9ef5005a9731011a" + integrity sha512-+xrD2BWLpvHKNmX2QbpdpsBaWnRxahMwJjO+KZk2JOElj5nSmKezyS1B4u+QbHMTX69t4ukm6hh9lsYQ7GHCKA== dependencies: - "@babel/code-frame" "^7.22.13" - "@babel/parser" "^7.22.15" - "@babel/types" "^7.22.15" + "@babel/code-frame" "^7.23.5" + "@babel/parser" "^7.23.9" + "@babel/types" "^7.23.9" -"@babel/traverse@^7.23.7", "@babel/traverse@^7.7.2": - version "7.23.7" - resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.7.tgz#9a7bf285c928cb99b5ead19c3b1ce5b310c9c305" - integrity sha512-tY3mM8rH9jM0YHFGyfC0/xf+SB5eKUu7HPj7/k3fpi9dAlsMc5YbQvDi0Sh2QTPXqMhyaAtzAr807TIyfQrmyg== +"@babel/traverse@^7.23.9", "@babel/traverse@^7.7.2": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/traverse/-/traverse-7.23.9.tgz#2f9d6aead6b564669394c5ce0f9302bb65b9d950" + integrity sha512-I/4UJ9vs90OkBtY6iiiTORVMyIhJ4kAVmsKo9KFc8UOxMeUfi2hvtIBsET5u9GizXE6/GFSuKCTNfgCswuEjRg== dependencies: "@babel/code-frame" "^7.23.5" "@babel/generator" "^7.23.6" @@ -1159,15 +1169,15 @@ "@babel/helper-function-name" "^7.23.0" "@babel/helper-hoist-variables" "^7.22.5" "@babel/helper-split-export-declaration" "^7.22.6" - "@babel/parser" "^7.23.6" - "@babel/types" "^7.23.6" + "@babel/parser" "^7.23.9" + "@babel/types" "^7.23.9" debug "^4.3.1" globals "^11.1.0" -"@babel/types@^7.0.0", "@babel/types@^7.12.6", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6", "@babel/types@^7.3.3", "@babel/types@^7.4.4": - version "7.23.6" - resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.6.tgz#be33fdb151e1f5a56877d704492c240fc71c7ccd" - integrity sha512-+uarb83brBzPKN38NX1MkB6vb6+mwvR6amUulqAE7ccQw1pEl+bCia9TbdG1lsnFP7lZySvUn37CHyXQdfTwzg== +"@babel/types@^7.0.0", "@babel/types@^7.12.6", "@babel/types@^7.20.7", "@babel/types@^7.22.15", "@babel/types@^7.22.19", "@babel/types@^7.22.5", "@babel/types@^7.23.0", "@babel/types@^7.23.4", "@babel/types@^7.23.6", "@babel/types@^7.23.9", "@babel/types@^7.3.3", "@babel/types@^7.4.4": + version "7.23.9" + resolved "https://registry.yarnpkg.com/@babel/types/-/types-7.23.9.tgz#1dd7b59a9a2b5c87f8b41e52770b5ecbf492e002" + integrity sha512-dQjSq/7HaSjRM43FFGnv5keM2HsxpmyV1PfaSVm0nzzjwwTmjOe6J4bC8e3+pTEIgHaHj+1ZlLThRJ2auc/w1Q== dependencies: "@babel/helper-string-parser" "^7.23.4" "@babel/helper-validator-identifier" "^7.22.20" @@ -1178,42 +1188,54 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account@2.0.60": - version "2.0.60" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.0.60.tgz#27f76af9a3982f7e94d05593df4c19faba7199c8" - integrity sha512-msF3a7SXkNKQJB14yjYozNc0KnW5SKHVZRwsbSCae9eCRzvbhOpnj6izGQHiAS5QpaJe2FF7hvpV0xAhJHBDCw== +"@biconomy-devx/account@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.0.tgz#90e2e9c0c8d749b319fc3684dd89a53e6c238c37" + integrity sha512-212MOXMupzx8xJ6Nzz5TvyYKk/qhK4uoyPpDV9DJWIMPqpYINaj37tuqXjSX3IjUlSDZIsmSxMpsGosb55nYqw== + dependencies: + "@alchemy/aa-core" "^2.0.0" + "@biconomy-devx/bundler" "2.2.0" + "@biconomy-devx/common" "2.2.0" + "@biconomy-devx/modules" "2.2.0" + "@biconomy-devx/paymaster" "2.2.0" + lru-cache "^10.0.1" + viem "^1.20.3" + +"@biconomy-devx/bundler@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.0.tgz#302a4b45232181eaf6c8625dd513f0ad97df7c0a" + integrity sha512-KWBPbY/yiDLI/T/6PgyN0+/TnF2BjZ0LHACnEqACBsp2Gzr60ZRzdNCliWx03rn9DUAvGLa6g5w/t9jjXcUGhA== dependencies: "@alchemy/aa-core" "^1.2.2" - "@biconomy-devx/bundler" "^2.0.60" - "@biconomy-devx/modules" "^2.0.60" - "@biconomy-devx/paymaster" "^2.0.60" - loglevel "^1.8.1" - lru-cache "^10.0.1" + "@biconomy-devx/common" "2.2.0" viem "^1.20.3" -"@biconomy-devx/bundler@2.0.60", "@biconomy-devx/bundler@^2.0.60": - version "2.0.60" - resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.0.60.tgz#ecf547a36f8320729dc3da34755e45d955c9168e" - integrity sha512-ZB2/wvsodEHhtgMRjcprGBRJXHp1slxY2CTqm+qQdpgNBRg5TvCIYnCvy5/MvqJKwaz3nikWu4wLxISQfddVUw== +"@biconomy-devx/common@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.0.tgz#012b8c8301fa963f86d750ad2ff2fc3b1ae6813f" + integrity sha512-8ueyBbacMUZNPRwGKph5mBOHTmAIflRJ4sZMKWzk9iDbH0sWf9+cmd0mf+XcOhHJit4RzuYQJYk83C+3W9d9iQ== dependencies: "@alchemy/aa-core" "^1.2.2" + "@ethersproject/abstract-signer" "^5.7.0" viem "^1.20.3" -"@biconomy-devx/modules@2.0.60", "@biconomy-devx/modules@^2.0.60": - version "2.0.60" - resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.0.60.tgz#6fdaf08e03f6036273e949b240cc795ac0a77d08" - integrity sha512-IpINmquwL4oe4jGvAyxFFJwINraxbOc55hwGAt/anDac7S7aGYV6Id6cpdnz+Epj0QjhzPnwkEse3LY9V2NXcQ== +"@biconomy-devx/modules@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.0.tgz#288997361de1ef81142543f13fe7c7b875adc16b" + integrity sha512-3le8Sg8sgPDDqgJEHv7g7DZIfJ9LcnzO2TP/dUSzoJvBFIpC1dj6k8oNEOv9xtct/+OO7PioVfiI91DCninfxw== dependencies: "@alchemy/aa-core" "^1.2.2" + "@biconomy-devx/common" "2.2.0" merkletreejs "^0.3.9" viem "^1.20.3" -"@biconomy-devx/paymaster@2.0.60", "@biconomy-devx/paymaster@^2.0.60": - version "2.0.60" - resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.0.60.tgz#ff29d68c049507bff03ee5cdda4c53d02e987478" - integrity sha512-ktEzachlVZEFWrLtQpXbBHU46tPKiISaNhhbn01aA5W2da/v2O5sIaylS48/iDzgkMIiBvrqT0eNZ0YQZtLgSA== +"@biconomy-devx/paymaster@2.2.0": + version "2.2.0" + resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.0.tgz#2b5df8af0e136c700c378ef6540dc23f1abc86c7" + integrity sha512-5i7dIpRAs9hlsN6Z5yeWEPNEbCPTcsEMTIsp7PCrdfYQMb5yW7vGm2baaA34dvbzqwdiIh+A2hSFJrX5uG+14Q== dependencies: "@alchemy/aa-core" "^1.2.2" + "@biconomy-devx/common" "2.2.0" viem "^1.20.3" "@coinbase/wallet-sdk@^3.6.6": @@ -1845,40 +1867,40 @@ "@ethersproject/properties" "^5.7.0" "@ethersproject/strings" "^5.7.0" -"@floating-ui/core@^1.5.3": - version "1.5.3" - resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.5.3.tgz#b6aa0827708d70971c8679a16cf680a515b8a52a" - integrity sha512-O0WKDOo0yhJuugCx6trZQj5jVJ9yR0ystG2JaNAemYUWce+pmM6WUEFIibnWyEJKdrDxhm75NoSRME35FNaM/Q== +"@floating-ui/core@^1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@floating-ui/core/-/core-1.6.0.tgz#fa41b87812a16bf123122bf945946bae3fdf7fc1" + integrity sha512-PcF++MykgmTj3CIyOQbKA/hDzOAiqI3mhuoN44WRCopIs1sgoDoU4oty4Jtqaj/y3oDU6fnVSm4QG0a3t5i0+g== dependencies: - "@floating-ui/utils" "^0.2.0" + "@floating-ui/utils" "^0.2.1" -"@floating-ui/dom@^1.5.4": - version "1.5.4" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.5.4.tgz#28df1e1cb373884224a463235c218dcbd81a16bb" - integrity sha512-jByEsHIY+eEdCjnTVu+E3ephzTOzkQ8hgUfGwos+bg7NlH33Zc5uO+QHz1mrQUOgIKKDD1RtS201P9NvAfq3XQ== +"@floating-ui/dom@^1.6.0": + version "1.6.0" + resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.0.tgz#282f31c5c7d2aaef3999e09f2c06280a020364d1" + integrity sha512-SZ0BEXzsaaS6THZfZJUcAobbZTD+MvfGM42bxgeg0Tnkp4/an/avqwAXiVLsFtIBZtfsx3Ymvwx0+KnnhdA/9g== dependencies: - "@floating-ui/core" "^1.5.3" - "@floating-ui/utils" "^0.2.0" + "@floating-ui/core" "^1.6.0" + "@floating-ui/utils" "^0.2.1" -"@floating-ui/react-dom@^2.0.4": - version "2.0.5" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.5.tgz#851522899c34e3e2be1e29f3294f150834936e28" - integrity sha512-UsBK30Bg+s6+nsgblXtZmwHhgS2vmbuQK22qgt2pTQM6M3X6H1+cQcLXqgRY3ihVLcZJE6IvqDQozhsnIVqK/Q== +"@floating-ui/react-dom@^2.0.6": + version "2.0.7" + resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.7.tgz#873e0a55a25d8ddbbccd159d6ab4a4b98eb05494" + integrity sha512-B5GJxKUyPcGsvE1vua+Abvw0t6zVMyTbtG+Jk7BoI4hfc5Ahv50dstRIAn0nS0274kR9gnKwxIXyGA8EzBZJrA== dependencies: - "@floating-ui/dom" "^1.5.4" + "@floating-ui/dom" "^1.6.0" -"@floating-ui/utils@^0.2.0": +"@floating-ui/utils@^0.2.1": version "0.2.1" resolved "https://registry.yarnpkg.com/@floating-ui/utils/-/utils-0.2.1.tgz#16308cea045f0fc777b6ff20a9f25474dd8293d2" integrity sha512-9TANp6GPoMtYzQdt54kfAyMmz1+osLlXdg2ENroU7zzrtflTLrrC/lgrIfaSe+Wu0b89GKccT7vxXA0MoAIO+Q== "@humanwhocodes/config-array@^0.11.13": - version "0.11.13" - resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.13.tgz#075dc9684f40a531d9b26b0822153c1e832ee297" - integrity sha512-JSBDMiDKSzQVngfRjOdFXgFfklaXI4K9nLF49Auh21lmBWRLIK3+xTErTWD4KU54pb6coM6ESE7Awz/FNU3zgQ== + version "0.11.14" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.11.14.tgz#d78e481a039f7566ecc9660b4ea7fe6b1fec442b" + integrity sha512-3T8LkOmg45BV5FICb15QQMsyUSWrQ8AygVfC7ZG32zOalnqrilm018ZVCw0eapXux8FtA33q8PSRSstjee3jSg== dependencies: - "@humanwhocodes/object-schema" "^2.0.1" - debug "^4.1.1" + "@humanwhocodes/object-schema" "^2.0.2" + debug "^4.3.1" minimatch "^3.0.5" "@humanwhocodes/module-importer@^1.0.1": @@ -1886,10 +1908,10 @@ resolved "https://registry.yarnpkg.com/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz#af5b2691a22b44be847b0ca81641c5fb6ad0172c" integrity sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA== -"@humanwhocodes/object-schema@^2.0.1": - version "2.0.1" - resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.1.tgz#e5211452df060fa8522b55c7b3c0c4d1981cb044" - integrity sha512-dvuCeX5fC9dXgJn9t+X5atfmgQAzUOWqS1254Gh0m6i8wKd10ebXkfNKiRK+1GWi/yTvvLDHpoxLr0xxxeslWw== +"@humanwhocodes/object-schema@^2.0.2": + version "2.0.2" + resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz#d9fae00a2d5cb40f92cfe64b47ad749fbc38f917" + integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw== "@ioredis/commands@^1.1.1": version "1.2.0" @@ -2167,9 +2189,9 @@ integrity sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg== "@jridgewell/trace-mapping@^0.3.17", "@jridgewell/trace-mapping@^0.3.20", "@jridgewell/trace-mapping@^0.3.9": - version "0.3.20" - resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.20.tgz#72e45707cf240fa6b081d0366f8265b0cd10197f" - integrity sha512-R8LcPeWZol2zR8mmH3JeKQ6QRCFb7XgUhV9ZlGhHLGyg4wpPiPZNQOOWhFZhxKw8u//yTbNGI42Bx/3paXEQ+Q== + version "0.3.22" + resolved "https://registry.yarnpkg.com/@jridgewell/trace-mapping/-/trace-mapping-0.3.22.tgz#72a621e5de59f5f1ef792d0793a82ee20f645e4c" + integrity sha512-Wf963MzWtA2sjrNt+g18IAln9lKnlRp+K2eH4jjIoF1wYeq3aMREpG09xhlhdzS0EjwU7qmUJYangWa+151vZw== dependencies: "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" @@ -2275,79 +2297,79 @@ "@motionone/dom" "^10.16.4" tslib "^2.3.1" -"@mui/base@5.0.0-beta.30": - version "5.0.0-beta.30" - resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.30.tgz#8feca6b70f2b9cd4d5cb97799ae9fcb5376c7f83" - integrity sha512-dc38W4W3K42atE9nSaOeoJ7/x9wGIfawdwC/UmMxMLlZ1iSsITQ8dQJaTATCbn98YvYPINK/EH541YA5enQIPQ== +"@mui/base@5.0.0-beta.33": + version "5.0.0-beta.33" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.33.tgz#fbb844e2d840d47dd7a48850a03152aed2381d10" + integrity sha512-WcSpoJUw/UYHXpvgtl4HyMar2Ar97illUpqiS/X1gtSBp6sdDW6kB2BJ9OlVQ+Kk/RL2GDp/WHA9sbjAYV35ow== dependencies: - "@babel/runtime" "^7.23.6" - "@floating-ui/react-dom" "^2.0.4" - "@mui/types" "^7.2.12" - "@mui/utils" "^5.15.3" + "@babel/runtime" "^7.23.8" + "@floating-ui/react-dom" "^2.0.6" + "@mui/types" "^7.2.13" + "@mui/utils" "^5.15.6" "@popperjs/core" "^2.11.8" - clsx "^2.0.0" + clsx "^2.1.0" prop-types "^15.8.1" -"@mui/core-downloads-tracker@^5.15.3": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.3.tgz#40fc854d7cf5505a182a4e121149dfe21cd277ef" - integrity sha512-sWeihiVyxdJjpLkp8SHkTy9kt2M/o11M60G1MzwljGL2BXdM3Ktzqv5QaQHdi00y7Y1ulvtI3GOSxP2xU8mQJw== +"@mui/core-downloads-tracker@^5.15.6": + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.6.tgz#9b82ba86d5a0fe55e9479b68dd5068943cc3835b" + integrity sha512-0aoWS4qvk1uzm9JBs83oQmIMIQeTBUeqqu8u+3uo2tMznrB5fIKqQVCbCgq+4Tm4jG+5F7dIvnjvQ2aV7UKtdw== "@mui/icons-material@^5.11.11": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.3.tgz#eee07582ea3ad913982b7843ff1612d0fad21278" - integrity sha512-7LEs8AnO2Se/XYH+CcJndRsGAE+M8KAExiiQHf0V11poqmPVGcbbY82Ry2IUYf9+rOilCVnWI18ErghZ625BPQ== + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.6.tgz#6958232bef48972fcbafd5f69e6079a9be5951f1" + integrity sha512-GnkxMtlhs+8ieHLmCytg00ew0vMOiXGFCw8Ra9nxMsBjBqnrOI5gmXqUm+sGggeEU/HG8HyeqC1MX/IxOBJHzA== dependencies: - "@babel/runtime" "^7.23.6" + "@babel/runtime" "^7.23.8" "@mui/material@^5.11.12": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.3.tgz#b77f1ac1275e5bf13b735e8224bdd301aab918c4" - integrity sha512-DODBBMouyq1B5f3YkEWL9vO8pGCxuEGqtfpltF6peMJzz/78tJFyLQsDas9MNLC/8AdFu2BQdkK7wox5UBPTAA== - dependencies: - "@babel/runtime" "^7.23.6" - "@mui/base" "5.0.0-beta.30" - "@mui/core-downloads-tracker" "^5.15.3" - "@mui/system" "^5.15.3" - "@mui/types" "^7.2.12" - "@mui/utils" "^5.15.3" + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.6.tgz#e32944ae4e01f85b314bc26e4cbbb700d598f30c" + integrity sha512-rw7bDdpi2kzfmcDN78lHp8swArJ5sBCKsn+4G3IpGfu44ycyWAWX0VdlvkjcR9Yrws2KIm7c+8niXpWHUDbWoA== + dependencies: + "@babel/runtime" "^7.23.8" + "@mui/base" "5.0.0-beta.33" + "@mui/core-downloads-tracker" "^5.15.6" + "@mui/system" "^5.15.6" + "@mui/types" "^7.2.13" + "@mui/utils" "^5.15.6" "@types/react-transition-group" "^4.4.10" - clsx "^2.0.0" + clsx "^2.1.0" csstype "^3.1.2" prop-types "^15.8.1" react-is "^18.2.0" react-transition-group "^4.4.5" -"@mui/private-theming@^5.15.3": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.15.3.tgz#2db0177d847dc6b28721d93308ed05d434a77c53" - integrity sha512-Q79MhVMmywC1l5bMsMZq5PsIudr1MNPJnx9/EqdMP0vpz5iNvFpnLmxsD7d8/hqTWgFAljI+LH3jX8MxlZH9Gw== +"@mui/private-theming@^5.15.6": + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.15.6.tgz#224819694ed76df041b1257256152a45d1fd733d" + integrity sha512-ZBX9E6VNUSscUOtU8uU462VvpvBS7eFl5VfxAzTRVQBHflzL+5KtnGrebgf6Nd6cdvxa1o0OomiaxSKoN2XDmg== dependencies: - "@babel/runtime" "^7.23.6" - "@mui/utils" "^5.15.3" + "@babel/runtime" "^7.23.8" + "@mui/utils" "^5.15.6" prop-types "^15.8.1" -"@mui/styled-engine@^5.15.3": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.15.3.tgz#85cb294d701b1a3f197bfc90e87ec0685a0943b2" - integrity sha512-+d5XZCTeemOO/vBfWGEeHgTm8fjU1Psdgm+xAw+uegycO2EnoA/EfGSaG5UwZ6g3b66y48Mkxi35AggShMr88w== +"@mui/styled-engine@^5.15.6": + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.15.6.tgz#3f4a8804de6ddeee17cb52ec92225686f423398a" + integrity sha512-KAn8P8xP/WigFKMlEYUpU9z2o7jJnv0BG28Qu1dhNQVutsLVIFdRf5Nb+0ijp2qgtcmygQ0FtfRuXv5LYetZTg== dependencies: - "@babel/runtime" "^7.23.6" + "@babel/runtime" "^7.23.8" "@emotion/cache" "^11.11.0" csstype "^3.1.2" prop-types "^15.8.1" "@mui/styles@^5.11.12": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.15.3.tgz#4fff156106528ffe610fa31527a9c4d2ff983db3" - integrity sha512-yePvO+0z35a1Cm7sXy3rL6F1oEJSiDFcQ/4Mkn/MHttwfBbbi7higBbUsBkuLPGoy40EiIUF+Tr+UoNW296/bA== + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.15.6.tgz#128529bf50e7055974e48e51e9bf67fc8e143fcf" + integrity sha512-5WYJ4KjJ4eMEgWcqY8lPr1hbte5mw7/zVgB7IjonoyIEnG9JPKbT/ma4QW5Rm3q/dUxmpngrRdh60fZPIhQpfw== dependencies: - "@babel/runtime" "^7.23.6" + "@babel/runtime" "^7.23.8" "@emotion/hash" "^0.9.1" - "@mui/private-theming" "^5.15.3" - "@mui/types" "^7.2.12" - "@mui/utils" "^5.15.3" - clsx "^2.0.0" + "@mui/private-theming" "^5.15.6" + "@mui/types" "^7.2.13" + "@mui/utils" "^5.15.6" + clsx "^2.1.0" csstype "^3.1.2" hoist-non-react-statics "^3.3.2" jss "^10.10.0" @@ -2360,31 +2382,31 @@ jss-plugin-vendor-prefixer "^10.10.0" prop-types "^15.8.1" -"@mui/system@^5.15.3": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.3.tgz#062d0d6b5259c3dc0e1d4026b85ffcc3acf8637b" - integrity sha512-ewVU4eRgo4VfNMGpO61cKlfWmH7l9s6rA8EknRzuMX3DbSLfmtW2WJJg6qPwragvpPIir0Pp/AdWVSDhyNy5Tw== - dependencies: - "@babel/runtime" "^7.23.6" - "@mui/private-theming" "^5.15.3" - "@mui/styled-engine" "^5.15.3" - "@mui/types" "^7.2.12" - "@mui/utils" "^5.15.3" - clsx "^2.0.0" +"@mui/system@^5.15.6": + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.6.tgz#d278adb09d57ee21f4eef2f6bc335bf9bd062fca" + integrity sha512-J01D//u8IfXvaEHMBQX5aO2l7Q+P15nt96c4NskX7yp5/+UuZP8XCQJhtBtLuj+M2LLyXHYGmCPeblsmmscP2Q== + dependencies: + "@babel/runtime" "^7.23.8" + "@mui/private-theming" "^5.15.6" + "@mui/styled-engine" "^5.15.6" + "@mui/types" "^7.2.13" + "@mui/utils" "^5.15.6" + clsx "^2.1.0" csstype "^3.1.2" prop-types "^15.8.1" -"@mui/types@^7.2.12": - version "7.2.12" - resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.12.tgz#602acbb5aa3eb56a31f569a19f87f75d33de5c01" - integrity sha512-3kaHiNm9khCAo0pVe0RenketDSFoZGAlVZ4zDjB/QNZV0XiCj+sh1zkX0VVhQPgYJDlBEzAag+MHJ1tU3vf0Zw== +"@mui/types@^7.2.13": + version "7.2.13" + resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.13.tgz#d1584912942f9dc042441ecc2d1452be39c666b8" + integrity sha512-qP9OgacN62s+l8rdDhSFRe05HWtLLJ5TGclC9I1+tQngbssu0m2dmFZs+Px53AcOs9fD7TbYd4gc9AXzVqO/+g== -"@mui/utils@^5.15.3": - version "5.15.3" - resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.15.3.tgz#421043be5279d31ca9b221a6398feb7c9d61209b" - integrity sha512-mT3LiSt9tZWCdx1pl7q4Q5tNo6gdZbvJel286ZHGuj6LQQXjWNAh8qiF9d+LogvNUI+D7eLkTnj605d1zoazfg== +"@mui/utils@^5.15.6": + version "5.15.6" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.15.6.tgz#bbcc302b8e83e360a87230afe3ed8fc99e29fae9" + integrity sha512-qfEhf+zfU9aQdbzo1qrSWlbPQhH1nCgeYgwhOVnj9Bn39shJQitEnXpSQpSNag8+uty5Od6PxmlNKPTnPySRKA== dependencies: - "@babel/runtime" "^7.23.6" + "@babel/runtime" "^7.23.8" "@types/prop-types" "^15.7.11" prop-types "^15.8.1" react-is "^18.2.0" @@ -2396,13 +2418,6 @@ dependencies: eslint-scope "5.1.1" -"@noble/curves@1.1.0", "@noble/curves@~1.1.0": - version "1.1.0" - resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.1.0.tgz#f13fc667c89184bc04cccb9b11e8e7bae27d8c3d" - integrity sha512-091oBExgENk/kGj3AZmtBDMpxQPDtxQABR2B9lb1JbVTs6ytdzZNwvhxQ4MWasRNEzlbEH8jCWFCwhF/Obj5AA== - dependencies: - "@noble/hashes" "1.3.1" - "@noble/curves@1.2.0", "@noble/curves@~1.2.0": version "1.2.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.2.0.tgz#92d7e12e4e49b23105a2555c6984d41733d65c35" @@ -2410,24 +2425,19 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/curves@^1.2.0": +"@noble/curves@1.3.0", "@noble/curves@^1.2.0", "@noble/curves@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== dependencies: "@noble/hashes" "1.3.3" -"@noble/hashes@1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.1.tgz#8831ef002114670c603c458ab8b11328406953a9" - integrity sha512-EbqwksQwz9xDRGfDST86whPBgM65E0OH/pCgqW0GBVzO22bNE+NuIbeTb714+IfSjU3aRk47EUvXIb5bTsenKA== - "@noble/hashes@1.3.2": version "1.3.2" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.2.tgz#6f26dbc8fbc7205873ce3cee2f690eba0d421b39" integrity sha512-MVC8EAQp7MvEcm30KWENFjgR+Mkmf+D189XJTkFIlwohU5hcBbn1ZkKq7KVTi2Hme3PMGF390DaL52beVrIihQ== -"@noble/hashes@1.3.3", "@noble/hashes@^1.3.2", "@noble/hashes@~1.3.0", "@noble/hashes@~1.3.1", "@noble/hashes@~1.3.2": +"@noble/hashes@1.3.3", "@noble/hashes@^1.3.2", "@noble/hashes@~1.3.0", "@noble/hashes@~1.3.2": version "1.3.3" resolved "https://registry.yarnpkg.com/@noble/hashes/-/hashes-1.3.3.tgz#39908da56a4adc270147bb07968bf3b16cfe1699" integrity sha512-V7/fPHgl+jsVPXqqeOzT8egNj2iBIVt+ECeMMG8TdcnTikP3oaBtUVqpT/gYCR68aEBJSF+XbYUxStjbFMqIIA== @@ -2453,50 +2463,50 @@ "@nodelib/fs.scandir" "2.1.5" fastq "^1.6.0" -"@parcel/watcher-android-arm64@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.3.0.tgz#d82e74bb564ebd4d8a88791d273a3d2bd61e27ab" - integrity sha512-f4o9eA3dgk0XRT3XhB0UWpWpLnKgrh1IwNJKJ7UJek7eTYccQ8LR7XUWFKqw6aEq5KUNlCcGvSzKqSX/vtWVVA== +"@parcel/watcher-android-arm64@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.4.0.tgz#9c93763794153e4f76920994a423b6ea3257059d" + integrity sha512-+fPtO/GsbYX1LJnCYCaDVT3EOBjvSFdQN9Mrzh9zWAOOfvidPWyScTrHIZHHfJBvlHzNA0Gy0U3NXFA/M7PHUA== -"@parcel/watcher-darwin-arm64@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.3.0.tgz#c9cd03f8f233d512fcfc873d5b4e23f1569a82ad" - integrity sha512-mKY+oijI4ahBMc/GygVGvEdOq0L4DxhYgwQqYAz/7yPzuGi79oXrZG52WdpGA1wLBPrYb0T8uBaGFo7I6rvSKw== +"@parcel/watcher-darwin-arm64@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.4.0.tgz#2c79c2abde16aa24cac67e555b60802fd13fe210" + integrity sha512-T/At5pansFuQ8VJLRx0C6C87cgfqIYhW2N/kBfLCUvDhCah0EnLLwaD/6MW3ux+rpgkpQAnMELOCTKlbwncwiA== -"@parcel/watcher-darwin-x64@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.3.0.tgz#83c902994a2a49b9e1ab5050dba24876fdc2c219" - integrity sha512-20oBj8LcEOnLE3mgpy6zuOq8AplPu9NcSSSfyVKgfOhNAc4eF4ob3ldj0xWjGGbOF7Dcy1Tvm6ytvgdjlfUeow== +"@parcel/watcher-darwin-x64@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.4.0.tgz#23d82f198c5d033f047467c68d7c335f3df49b46" + integrity sha512-vZMv9jl+szz5YLsSqEGCMSllBl1gU1snfbRL5ysJU03MEa6gkVy9OMcvXV1j4g0++jHEcvzhs3Z3LpeEbVmY6Q== -"@parcel/watcher-freebsd-x64@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.3.0.tgz#7a0f4593a887e2752b706aff2dae509aef430cf6" - integrity sha512-7LftKlaHunueAEiojhCn+Ef2CTXWsLgTl4hq0pkhkTBFI3ssj2bJXmH2L67mKpiAD5dz66JYk4zS66qzdnIOgw== +"@parcel/watcher-freebsd-x64@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.4.0.tgz#7310cc86abc27dacd57624bcdba1f0ba092e76df" + integrity sha512-dHTRMIplPDT1M0+BkXjtMN+qLtqq24sLDUhmU+UxxLP2TEY2k8GIoqIJiVrGWGomdWsy5IO27aDV1vWyQ6gfHA== -"@parcel/watcher-linux-arm-glibc@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.3.0.tgz#3fc90c3ebe67de3648ed2f138068722f9b1d47da" - integrity sha512-1apPw5cD2xBv1XIHPUlq0cO6iAaEUQ3BcY0ysSyD9Kuyw4MoWm1DV+W9mneWI+1g6OeP6dhikiFE6BlU+AToTQ== +"@parcel/watcher-linux-arm-glibc@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.4.0.tgz#c31b76e695027eeb1078d3d6f1d641d0b900c335" + integrity sha512-9NQXD+qk46RwATNC3/UB7HWurscY18CnAPMTFcI9Y8CTbtm63/eex1SNt+BHFinEQuLBjaZwR2Lp+n7pmEJPpQ== -"@parcel/watcher-linux-arm64-glibc@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.3.0.tgz#f7bbbf2497d85fd11e4c9e9c26ace8f10ea9bcbc" - integrity sha512-mQ0gBSQEiq1k/MMkgcSB0Ic47UORZBmWoAWlMrTW6nbAGoLZP+h7AtUM7H3oDu34TBFFvjy4JCGP43JlylkTQA== +"@parcel/watcher-linux-arm64-glibc@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.4.0.tgz#56e09b86e9d8a4096f606be118b588da6e965080" + integrity sha512-QuJTAQdsd7PFW9jNGaV9Pw+ZMWV9wKThEzzlY3Lhnnwy7iW23qtQFPql8iEaSFMCVI5StNNmONUopk+MFKpiKg== -"@parcel/watcher-linux-arm64-musl@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.3.0.tgz#de131a9fcbe1fa0854e9cbf4c55bed3b35bcff43" - integrity sha512-LXZAExpepJew0Gp8ZkJ+xDZaTQjLHv48h0p0Vw2VMFQ8A+RKrAvpFuPVCVwKJCr5SE+zvaG+Etg56qXvTDIedw== +"@parcel/watcher-linux-arm64-musl@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.4.0.tgz#27ffd5ca5f510ecd638f9ad22e2e813049db54e7" + integrity sha512-oyN+uA9xcTDo/45bwsd6TFHa7Lc7hKujyMlvwrCLvSckvWogndCEoVYFNfZ6JJ2KNL/6fFiGPcbjp8jJmEh5Ng== -"@parcel/watcher-linux-x64-glibc@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.3.0.tgz#193dd1c798003cdb5a1e59470ff26300f418a943" - integrity sha512-P7Wo91lKSeSgMTtG7CnBS6WrA5otr1K7shhSjKHNePVmfBHDoAOHYRXgUmhiNfbcGk0uMCHVcdbfxtuiZCHVow== +"@parcel/watcher-linux-x64-glibc@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.4.0.tgz#44cbbb1e5884a1ca900655f47a0775218318f934" + integrity sha512-KphV8awJmxU3q52JQvJot0QMu07CIyEjV+2Tb2ZtbucEgqyRcxOBDMsqp1JNq5nuDXtcCC0uHQICeiEz38dPBQ== -"@parcel/watcher-linux-x64-musl@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.3.0.tgz#6dbdb86d96e955ab0fe4a4b60734ec0025a689dd" - integrity sha512-+kiRE1JIq8QdxzwoYY+wzBs9YbJ34guBweTK8nlzLKimn5EQ2b2FSC+tAOpq302BuIMjyuUGvBiUhEcLIGMQ5g== +"@parcel/watcher-linux-x64-musl@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.4.0.tgz#4c33993618c8d5113722852806239cb80360494b" + integrity sha512-7jzcOonpXNWcSijPpKD5IbC6xC7yTibjJw9jviVzZostYLGxbz8LDJLUnLzLzhASPlPGgpeKLtFUMjAAzM+gSA== "@parcel/watcher-wasm@2.3.0": version "2.3.0" @@ -2507,43 +2517,43 @@ micromatch "^4.0.5" napi-wasm "^1.1.0" -"@parcel/watcher-win32-arm64@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.3.0.tgz#59da26a431da946e6c74fa6b0f30b120ea6650b6" - integrity sha512-35gXCnaz1AqIXpG42evcoP2+sNL62gZTMZne3IackM+6QlfMcJLy3DrjuL6Iks7Czpd3j4xRBzez3ADCj1l7Aw== +"@parcel/watcher-win32-arm64@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.4.0.tgz#2a172fd2fda95fe5389298ca3e70b5a96316162a" + integrity sha512-NOej2lqlq8bQNYhUMnOD0nwvNql8ToQF+1Zhi9ULZoG+XTtJ9hNnCFfyICxoZLXor4bBPTOnzs/aVVoefYnjIg== -"@parcel/watcher-win32-ia32@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.3.0.tgz#3ee6a18b08929cd3b788e8cc9547fd9a540c013a" - integrity sha512-FJS/IBQHhRpZ6PiCjFt1UAcPr0YmCLHRbTc00IBTrelEjlmmgIVLeOx4MSXzx2HFEy5Jo5YdhGpxCuqCyDJ5ow== +"@parcel/watcher-win32-ia32@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-ia32/-/watcher-win32-ia32-2.4.0.tgz#279225b2ebe1fadd3c5137c9b2365ad422656904" + integrity sha512-IO/nM+K2YD/iwjWAfHFMBPz4Zqn6qBDqZxY4j2n9s+4+OuTSRM/y/irksnuqcspom5DjkSeF9d0YbO+qpys+JA== -"@parcel/watcher-win32-x64@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.3.0.tgz#14e7246289861acc589fd608de39fe5d8b4bb0a7" - integrity sha512-dLx+0XRdMnVI62kU3wbXvbIRhLck4aE28bIGKbRGS7BJNt54IIj9+c/Dkqb+7DJEbHUZAX1bwaoM8PqVlHJmCA== +"@parcel/watcher-win32-x64@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.0.tgz#93e0bd0ad1bda2c9a688764b9b30b71dc5b72a71" + integrity sha512-pAUyUVjfFjWaf/pShmJpJmNxZhbMvJASUpdes9jL6bTEJ+gDxPRSpXTIemNyNsb9AtbiGXs9XduP1reThmd+dA== "@parcel/watcher@^2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.3.0.tgz#803517abbc3981a1a1221791d9f59dc0590d50f9" - integrity sha512-pW7QaFiL11O0BphO+bq3MgqeX/INAk9jgBldVDYjlQPO4VddoZnF22TcF9onMhnLVHuNqBJeRf+Fj7eezi/+rQ== + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.4.0.tgz#2d3c4ef8832a5cdfdbb76b914f022489933e664f" + integrity sha512-XJLGVL0DEclX5pcWa2N9SX1jCGTDd8l972biNooLFtjneuGqodupPQh6XseXIBBeVIMaaJ7bTcs3qGvXwsp4vg== dependencies: detect-libc "^1.0.3" is-glob "^4.0.3" micromatch "^4.0.5" node-addon-api "^7.0.0" optionalDependencies: - "@parcel/watcher-android-arm64" "2.3.0" - "@parcel/watcher-darwin-arm64" "2.3.0" - "@parcel/watcher-darwin-x64" "2.3.0" - "@parcel/watcher-freebsd-x64" "2.3.0" - "@parcel/watcher-linux-arm-glibc" "2.3.0" - "@parcel/watcher-linux-arm64-glibc" "2.3.0" - "@parcel/watcher-linux-arm64-musl" "2.3.0" - "@parcel/watcher-linux-x64-glibc" "2.3.0" - "@parcel/watcher-linux-x64-musl" "2.3.0" - "@parcel/watcher-win32-arm64" "2.3.0" - "@parcel/watcher-win32-ia32" "2.3.0" - "@parcel/watcher-win32-x64" "2.3.0" + "@parcel/watcher-android-arm64" "2.4.0" + "@parcel/watcher-darwin-arm64" "2.4.0" + "@parcel/watcher-darwin-x64" "2.4.0" + "@parcel/watcher-freebsd-x64" "2.4.0" + "@parcel/watcher-linux-arm-glibc" "2.4.0" + "@parcel/watcher-linux-arm64-glibc" "2.4.0" + "@parcel/watcher-linux-arm64-musl" "2.4.0" + "@parcel/watcher-linux-x64-glibc" "2.4.0" + "@parcel/watcher-linux-x64-musl" "2.4.0" + "@parcel/watcher-win32-arm64" "2.4.0" + "@parcel/watcher-win32-ia32" "2.4.0" + "@parcel/watcher-win32-x64" "2.4.0" "@pkgjs/parseargs@^0.11.0": version "0.11.0" @@ -2622,9 +2632,9 @@ picomatch "^2.2.2" "@rushstack/eslint-patch@^1.1.0": - version "1.6.1" - resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.6.1.tgz#9ab8f811930d7af3e3d549183a50884f9eb83f36" - integrity sha512-UY+FGM/2jjMkzQLn8pxcHGMaVLh9aEitG3zY2CiY7XHdLiz3bZOwa6oDxNqEMv7zZkV+cj5DOdz0cQ1BP5Hjgw== + version "1.7.2" + resolved "https://registry.yarnpkg.com/@rushstack/eslint-patch/-/eslint-patch-1.7.2.tgz#2d4260033e199b3032a08b41348ac10de21c47e9" + integrity sha512-RbhOOTCNoCrbfkRyoXODZp75MlpiHMgbE5MEBZAnnnLyQNgrigEj4p0lzsMDyc1zVsJDLrivB58tgg3emX0eEA== "@safe-global/safe-apps-provider@^0.18.1": version "0.18.2" @@ -2651,24 +2661,15 @@ viem "^1.6.0" "@safe-global/safe-gateway-typescript-sdk@^3.5.3": - version "3.13.3" - resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.13.3.tgz#f0093af02ee0af3c0dcad9ef2dc96890a80fe481" - integrity sha512-qBDM469cVCedpBpeTSn+k5FUr9+rq5bMTflp/mKd7h35uafcexvOR/PHZn2qftqV8b1kc9b8t22cPRJ2365jew== + version "3.14.0" + resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.14.0.tgz#9581c524c1ea4956555f40761eb6b4007392aa82" + integrity sha512-/dqU66RvHw50n+7x3nwnJedq8V6iLQyoWitNdjx5cFTBmae+rpP+LvHq+LqZfXJVkB1qNytMdjFjdyES0t79gQ== -"@scure/base@~1.1.0", "@scure/base@~1.1.2": +"@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.4": version "1.1.5" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== -"@scure/bip32@1.3.1": - version "1.3.1" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.1.tgz#7248aea723667f98160f593d621c47e208ccbb10" - integrity sha512-osvveYtyzdEVbt3OfwwXFr4P2iVBL5u1Q3q4ONBfDY/UpOuXmOlbgwc1xECEboY8wIays8Yt6onaWMUdUbfl0A== - dependencies: - "@noble/curves" "~1.1.0" - "@noble/hashes" "~1.3.1" - "@scure/base" "~1.1.0" - "@scure/bip32@1.3.2": version "1.3.2" resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.2.tgz#90e78c027d5e30f0b22c1f8d50ff12f3fb7559f8" @@ -2678,6 +2679,15 @@ "@noble/hashes" "~1.3.2" "@scure/base" "~1.1.2" +"@scure/bip32@1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.3.tgz#a9624991dc8767087c57999a5d79488f48eae6c8" + integrity sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ== + dependencies: + "@noble/curves" "~1.3.0" + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@scure/bip39@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" @@ -2686,6 +2696,14 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" +"@scure/bip39@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.2.tgz#f3426813f4ced11a47489cbcf7294aa963966527" + integrity sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA== + dependencies: + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -2713,9 +2731,9 @@ buffer "~6.0.3" "@solana/web3.js@^1.70.1": - version "1.88.0" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.88.0.tgz#24e1482f63ac54914430b4ce5ab36eaf433ecdb8" - integrity sha512-E4BdfB0HZpb66OPFhIzPApNE2tG75Mc6XKIoeymUkx/IV+USSYuxDX29sjgE/KGNYxggrOf4YuYnRMI6UiPL8w== + version "1.89.1" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.89.1.tgz#52df6820f2d088c4558aa359af40580a03d10ec9" + integrity sha512-t9TTLtPQxtQB3SAf/5E8xPXfVDsC6WGOsgKY02l2cbe0HLymT7ynE8Hu48Lk5qynHCquj6nhISfEHcjMkYpu/A== dependencies: "@babel/runtime" "^7.23.4" "@noble/curves" "^1.2.0" @@ -3103,14 +3121,14 @@ "@types/estree" "*" "@types/eslint@*", "@types/eslint@^7.29.0 || ^8.4.1": - version "8.56.1" - resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.1.tgz#988cabb39c973e9200f35fdbb29d17992965bb08" - integrity sha512-18PLWRzhy9glDQp3+wOgfLYRWlhgX0azxgJ63rdpoUHyrC9z0f5CkFburjQx4uD7ZCruw85ZtMt6K+L+R8fLJQ== + version "8.56.2" + resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.56.2.tgz#1c72a9b794aa26a8b94ad26d5b9aa51c8a6384bb" + integrity sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw== dependencies: "@types/estree" "*" "@types/json-schema" "*" -"@types/estree@*", "@types/estree@^1.0.0": +"@types/estree@*", "@types/estree@^1.0.5": version "1.0.5" resolved "https://registry.yarnpkg.com/@types/estree/-/estree-1.0.5.tgz#a6ce3e556e00fd9895dd872dd172ad0d4bd687f4" integrity sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw== @@ -3121,9 +3139,9 @@ integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": - version "4.17.41" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.41.tgz#5077defa630c2e8d28aa9ffc2c01c157c305bef6" - integrity sha512-OaJ7XLaelTgrvlZD8/aa0vvvxZdUmlCn6MtWeB7TkiKW70BQLc9XEPpDLPdbo52ZhXUCrznlWdCHWxJWtdyajA== + version "4.17.42" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.42.tgz#2a276952acc73d1b8dc63fd4210647abbc553a71" + integrity sha512-ckM3jm2bf/MfB3+spLPWYPUH573plBFwpOhqQ2WottxYV85j1HQFlxmnTq57X1yHY9awZPig06hL/cLMgNWHIQ== dependencies: "@types/node" "*" "@types/qs" "*" @@ -3216,9 +3234,9 @@ "@types/node" "*" "@types/node@*": - version "20.10.8" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.10.8.tgz#f1e223cbde9e25696661d167a5b93a9b2a5d57c7" - integrity sha512-f8nQs3cLxbAFc00vEU59yf9UyGUftkPaLGfvbVOIDdx2i1b8epBqj2aNGyP19fiyXWvlmZ7qC1XLjAzw/OKIeA== + version "20.11.7" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.7.tgz#cb49aedd758c978c30806d0c38b520ed2a3df6e0" + integrity sha512-GPmeN1C3XAyV5uybAf4cMLWT9fDWcmQhZVtMFu7OR32WjrqGG+Wnk2V1d0bmtUyE/Zy1QJ9BxyiTih9z8Oks8A== dependencies: undici-types "~5.26.4" @@ -3228,9 +3246,9 @@ integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== "@types/node@^16.7.13": - version "16.18.70" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.70.tgz#d4c819be1e9f8b69a794d6f2fd929d9ff76f6d4b" - integrity sha512-8eIk20G5VVVQNZNouHjLA2b8utE2NvGybLjMaF4lyhA9uhGwnmXF8o+icdXKGSQSNANJewXva/sFUoZLwAaYAg== + version "16.18.76" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.76.tgz#deecdf6b71b9ef45ceda63fec7220ddf2354d7a1" + integrity sha512-/GsO2uv1Z6R42lBr59dtem56gVF/yHKQaScggwU+gLU6DXE25sDmOar4c4IfWb3h+X/7OYZznPOFk7oGF3jQSA== "@types/parse-json@^4.0.0": version "4.0.2" @@ -3277,9 +3295,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^18.0.0": - version "18.2.47" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.47.tgz#85074b27ab563df01fbc3f68dc64bf7050b0af40" - integrity sha512-xquNkkOirwyCgoClNk85BjP+aqnIS+ckAJ8i37gAbDs14jfW/J23f2GItAf33oiUPQnqNMALiFeoM9Y5mbjpVQ== + version "18.2.48" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.48.tgz#11df5664642d0bd879c1f58bc1d37205b064e8f1" + integrity sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -4084,7 +4102,7 @@ acorn@^7.1.1: resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa" integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== -acorn@^8.10.0, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: +acorn@^8.11.3, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0: version "8.11.3" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.11.3.tgz#71e0b14e13a4ec160724b38fb7b0f233b1b81d7a" integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg== @@ -4409,13 +4427,13 @@ atomic-sleep@^1.0.0: integrity sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ== autoprefixer@^10.4.13: - version "10.4.16" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.16.tgz#fad1411024d8670880bdece3970aa72e3572feb8" - integrity sha512-7vd3UC6xKp0HLfua5IjZlcXvGAGy7cBAXTg2lyQ/8WpNhd6SiZ8Be+xm3FyBSYJx5GKcpRCzBh7RH4/0dnY+uQ== + version "10.4.17" + resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.17.tgz#35cd5695cbbe82f536a50fa025d561b01fdec8be" + integrity sha512-/cpVNRLSfhOtcGflT13P2794gVSgmPgTR+erw5ifnMLZb0UnSlkK4tquLmkd3BhA+nLo5tX8Cu0upUsGKvKbmg== dependencies: - browserslist "^4.21.10" - caniuse-lite "^1.0.30001538" - fraction.js "^4.3.6" + browserslist "^4.22.2" + caniuse-lite "^1.0.30001578" + fraction.js "^4.3.7" normalize-range "^0.1.2" picocolors "^1.0.0" postcss-value-parser "^4.2.0" @@ -4496,29 +4514,29 @@ babel-plugin-named-asset-import@^0.3.8: resolved "https://registry.yarnpkg.com/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.8.tgz#6b7fa43c59229685368683c28bc9734f24524cc2" integrity sha512-WXiAc++qo7XcJ1ZnTYGtLxmBCVbddAml3CEXgWaBzNzLNoxtQ8AiGEFDMOhot9XjTCQbvP5E77Fj9Gk924f00Q== -babel-plugin-polyfill-corejs2@^0.4.7: - version "0.4.7" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.7.tgz#679d1b94bf3360f7682e11f2cb2708828a24fe8c" - integrity sha512-LidDk/tEGDfuHW2DWh/Hgo4rmnw3cduK6ZkOI1NPFceSK3n/yAGeOsNT7FLnSGHkXj3RHGSEVkN3FsCTY6w2CQ== +babel-plugin-polyfill-corejs2@^0.4.8: + version "0.4.8" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.4.8.tgz#dbcc3c8ca758a290d47c3c6a490d59429b0d2269" + integrity sha512-OtIuQfafSzpo/LhnJaykc0R/MMnuLSSVjVYy9mHArIZ9qTCSZ6TpWCuEKZYVoN//t8HqBNScHrOtCrIK5IaGLg== dependencies: "@babel/compat-data" "^7.22.6" - "@babel/helper-define-polyfill-provider" "^0.4.4" + "@babel/helper-define-polyfill-provider" "^0.5.0" semver "^6.3.1" -babel-plugin-polyfill-corejs3@^0.8.7: - version "0.8.7" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.8.7.tgz#941855aa7fdaac06ed24c730a93450d2b2b76d04" - integrity sha512-KyDvZYxAzkC0Aj2dAPyDzi2Ym15e5JKZSK+maI7NAwSqofvuFglbSsxE7wUOvTg9oFVnHMzVzBKcqEb4PJgtOA== +babel-plugin-polyfill-corejs3@^0.9.0: + version "0.9.0" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.9.0.tgz#9eea32349d94556c2ad3ab9b82ebb27d4bf04a81" + integrity sha512-7nZPG1uzK2Ymhy/NbaOWTg3uibM2BmGASS4vHS4szRZAIR8R6GwA/xAujpdrXU5iyklrimWnLWU+BLF9suPTqg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.4" - core-js-compat "^3.33.1" + "@babel/helper-define-polyfill-provider" "^0.5.0" + core-js-compat "^3.34.0" -babel-plugin-polyfill-regenerator@^0.5.4: - version "0.5.4" - resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.4.tgz#c6fc8eab610d3a11eb475391e52584bacfc020f4" - integrity sha512-S/x2iOCvDaCASLYsOOgWOq4bCfKYVqvO/uxjkaYyZ3rVsVE3CeAI/c84NpyuBBymEgNvHgjEot3a9/Z/kXvqsg== +babel-plugin-polyfill-regenerator@^0.5.5: + version "0.5.5" + resolved "https://registry.yarnpkg.com/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.5.5.tgz#8b0c8fc6434239e5d7b8a9d1f832bb2b0310f06a" + integrity sha512-OJGYZlhLqBh2DDHeqAxWB1XIvr49CxiJ2gIt61/PU55CQK4Z58OzMqjDe1zwQdQk+rBYsRc+1rJmdajM3gimHg== dependencies: - "@babel/helper-define-polyfill-provider" "^0.4.4" + "@babel/helper-define-polyfill-provider" "^0.5.0" babel-plugin-transform-react-remove-prop-types@^0.4.24: version "0.4.24" @@ -4798,7 +4816,7 @@ browserify-zlib@^0.2.0: dependencies: pako "~1.0.5" -browserslist@^4.0.0, browserslist@^4.14.5, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2: +browserslist@^4.0.0, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2: version "4.22.2" resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== @@ -4926,10 +4944,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001538, caniuse-lite@^1.0.30001565: - version "1.0.30001576" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001576.tgz#893be772cf8ee6056d6c1e2d07df365b9ec0a5c4" - integrity sha512-ff5BdakGe2P3SQsMsiqmt1Lc8221NR1VzHj5jXN5vBny9A6fpze94HiVV/n7XRosOlsShJcvMv5mdnpjOGCEgg== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001565, caniuse-lite@^1.0.30001578: + version "1.0.30001580" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001580.tgz#e3c76bc6fe020d9007647044278954ff8cd17d1e" + integrity sha512-mtj5ur2FFPZcCEpXFy8ADXbDACuNFXg6mxVDqp7tqooX6l3zwm+d8EPoeOSIFRDvHs8qu7/SLFOGniULkcH2iA== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5047,7 +5065,7 @@ cliui@^7.0.2: strip-ansi "^6.0.0" wrap-ansi "^7.0.0" -clsx@2.1.0, clsx@^2.0.0: +clsx@2.1.0, clsx@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/clsx/-/clsx-2.1.0.tgz#e851283bcb5c80ee7608db18487433f7b23f77cb" integrity sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg== @@ -5241,22 +5259,22 @@ copy-to-clipboard@^3.3.3: dependencies: toggle-selection "^1.0.6" -core-js-compat@^3.31.0, core-js-compat@^3.33.1: - version "3.35.0" - resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.35.0.tgz#c149a3d1ab51e743bc1da61e39cb51f461a41873" - integrity sha512-5blwFAddknKeNgsjBzilkdQ0+YK8L1PfqPYq40NOYMYFSS38qj+hpTcLLWwpIwA2A5bje/x5jmVn2tzUMg9IVw== +core-js-compat@^3.31.0, core-js-compat@^3.34.0: + version "3.35.1" + resolved "https://registry.yarnpkg.com/core-js-compat/-/core-js-compat-3.35.1.tgz#215247d7edb9e830efa4218ff719beb2803555e2" + integrity sha512-sftHa5qUJY3rs9Zht1WEnmkvXputCyDBczPnr7QDgL8n3qrF3CMXY4VPSYtOLLiOUJcah2WNXREd48iOl6mQIw== dependencies: browserslist "^4.22.2" core-js-pure@^3.23.3: - version "3.35.0" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.35.0.tgz#4660033304a050215ae82e476bd2513a419fbb34" - integrity sha512-f+eRYmkou59uh7BPcyJ8MC76DiGhspj1KMxVIcF24tzP8NA9HVa1uC7BTW2tgx7E1QVCzDzsgp7kArrzhlz8Ew== + version "3.35.1" + resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.35.1.tgz#f33ad7fdf9dddae260339a30e5f8363f5c49a3bc" + integrity sha512-zcIdi/CL3MWbBJYo5YCeVAAx+Sy9yJE9I3/u9LkFABwbeaPhTMRWraM8mYFp9jW5Z50hOy7FVzCc8dCrpZqtIQ== core-js@^3.19.2: - version "3.35.0" - resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.35.0.tgz#58e651688484f83c34196ca13f099574ee53d6b4" - integrity sha512-ntakECeqg81KqMueeGJ79Q5ZgQNR+6eaE8sxGCx62zMbAIj65q+uYvatToew3m6eAGdU4gNZwpZ34NMe4GYswg== + version "3.35.1" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.35.1.tgz#9c28f8b7ccee482796f8590cc8d15739eaaf980c" + integrity sha512-IgdsbxNyMskrTFxa9lWHyMwAJU5gXOPP+1yO+K59d50VLVAIDAbs7gIv705KzALModfK3ZrSZTPNpC0PQgIZuw== core-util-is@~1.0.0: version "1.0.3" @@ -5379,15 +5397,15 @@ css-has-pseudo@^3.0.4: postcss-selector-parser "^6.0.9" css-loader@^6.5.1: - version "6.9.0" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.9.0.tgz#0cc2f14df94ed97c526c5ae42b6b13916d1d8d0e" - integrity sha512-3I5Nu4ytWlHvOP6zItjiHlefBNtrH+oehq8tnQa2kO305qpVyx9XNIT1CXIj5bgCJs7qICBCkgCYxQLKPANoLA== + version "6.9.1" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.9.1.tgz#9ec9a434368f2bdfeffbf8f6901a1ce773586c6b" + integrity sha512-OzABOh0+26JKFdMzlK6PY1u5Zx8+Ck7CVRlcGNZoY9qwJjdfu2VWFuprTIpPW+Av5TZTVViYWcFQaEEQURLknQ== dependencies: icss-utils "^5.1.0" - postcss "^8.4.31" + postcss "^8.4.33" postcss-modules-extract-imports "^3.0.0" - postcss-modules-local-by-default "^4.0.3" - postcss-modules-scope "^3.1.0" + postcss-modules-local-by-default "^4.0.4" + postcss-modules-scope "^3.1.1" postcss-modules-values "^4.0.0" postcss-value-parser "^4.2.0" semver "^7.5.4" @@ -5924,9 +5942,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.601: - version "1.4.625" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.625.tgz#a9a1d18ee911f9074a9c42d9e84b1c79b29f4059" - integrity sha512-DENMhh3MFgaPDoXWrVIqSPInQoLImywfCwrSmVl3cf9QHzoZSiutHwGaB/Ql3VkqcQV30rzgdM+BjKqBAJxo5Q== + version "1.4.647" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.647.tgz#3c8d4815e5ed2fbdd37f4ab7333cd9f8fc56d53a" + integrity sha512-Z/fTNGwc45WrYQhPaEcz5tAJuZZ8G7S/DBnhS6Kgp4BxnS40Z/HqlJ0hHg3Z79IGVzuVartIlTcjw/cQbPLgOw== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6490,14 +6508,14 @@ ethereum-bloom-filters@^1.0.6: js-sha3 "^0.8.0" ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: - version "2.1.2" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.2.tgz#18fa7108622e56481157a5cb7c01c0c6a672eb67" - integrity sha512-Z5Ba0T0ImZ8fqXrJbpHcbpAvIswRte2wGNR/KePnu8GbbvgJ47lMxT/ZZPG6i9Jaht4azPDop4HaM00J0J59ug== + version "2.1.3" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.3.tgz#1352270ed3b339fe25af5ceeadcf1b9c8e30768a" + integrity sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA== dependencies: - "@noble/curves" "1.1.0" - "@noble/hashes" "1.3.1" - "@scure/bip32" "1.3.1" - "@scure/bip39" "1.2.1" + "@noble/curves" "1.3.0" + "@noble/hashes" "1.3.3" + "@scure/bip32" "1.3.3" + "@scure/bip39" "1.2.2" ethers@^5.6.9: version "5.7.2" @@ -6824,9 +6842,9 @@ flatted@^3.2.9: integrity sha512-36yxDn5H7OFZQla0/jFJmbIKTdZAQHngCedGxiMmpNfEZM0sdEeT+WczLQrjK6D7o2aiyLYDnkw0R3JK0Qv1RQ== follow-redirects@^1.0.0: - version "1.15.4" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.4.tgz#cdc7d308bf6493126b17ea2191ea0ccf3e535adf" - integrity sha512-Cr4D/5wlrb0z9dgERpUL3LrmPKVDsETIJhaCMeDfuFYcqa5bldGV6wBsAN6X/vxlXQtFBMrXdXxdL8CbDTGniw== + version "1.15.5" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.5.tgz#54d4d6d062c0fa7d9d17feb008461550e3ba8020" + integrity sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw== for-each@^0.3.3: version "0.3.3" @@ -6876,7 +6894,7 @@ forwarded@0.2.0: resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.2.0.tgz#2269936428aad4c15c7ebe9779a84bf0b2a81811" integrity sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow== -fraction.js@^4.3.6: +fraction.js@^4.3.7: version "4.3.7" resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-4.3.7.tgz#06ca0085157e42fda7f9e726e79fefc4068840f7" integrity sha512-ZsDfxO51wGAXREY55a7la9LScWpwv9RxIrYABrlvOFBlH/ShPnrtsXeuUIfXKKOVicNxQ+o8JTbJvjS4M89yew== @@ -7112,18 +7130,19 @@ gzip-size@^6.0.0: duplexer "^0.1.2" h3@^1.10.0, h3@^1.8.2: - version "1.10.0" - resolved "https://registry.yarnpkg.com/h3/-/h3-1.10.0.tgz#55ac36deb6e250ada5ff1940b6324bc6acc4085f" - integrity sha512-Tw1kcIC+AeimwRmviiObaD5EB430Yt+lTgOxLJxNr96Vd/fGRu04EF7aKfOAcpwKCI+U2JlbxOLhycD86p3Ciw== + version "1.10.1" + resolved "https://registry.yarnpkg.com/h3/-/h3-1.10.1.tgz#221634ca9bdb216a6b359bd2915be466a179b8a1" + integrity sha512-UBAUp47hmm4BB5/njB4LrEa9gpuvZj4/Qf/ynSMzO6Ku2RXaouxEfiG2E2IFnv6fxbhAkzjasDxmo6DFdEeXRg== dependencies: cookie-es "^1.0.0" - defu "^6.1.3" + defu "^6.1.4" destr "^2.0.2" iron-webcrypto "^1.0.0" + ohash "^1.1.3" radix3 "^1.1.0" ufo "^1.3.2" uncrypto "^0.1.3" - unenv "^1.8.0" + unenv "^1.9.0" handle-thing@^2.0.0: version "2.0.1" @@ -7150,7 +7169,7 @@ has-flag@^4.0.0: resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-4.0.0.tgz#944771fd9c81c81265c4d6941860da06bb59479b" integrity sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ== -has-property-descriptors@^1.0.0: +has-property-descriptors@^1.0.0, has-property-descriptors@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has-property-descriptors/-/has-property-descriptors-1.0.1.tgz#52ba30b6c5ec87fd89fa574bc1c39125c6f65340" integrity sha512-VsX8eaIewvas0xnvinAe9bw4WfIeODpGYikiWYLH+dma0Jw6KHYqWiWfhQlgOVK8D6PvjubK5Uc4P0iIhIcNVg== @@ -8574,9 +8593,9 @@ json5@^2.1.2, json5@^2.2.0, json5@^2.2.3: integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== jsonc-parser@^3.2.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.0.tgz#31ff3f4c2b9793f89c67212627c51c6394f88e76" - integrity sha512-gfFQZrcTc8CnKXp6Y4/CBT3fTc0OVuDofpre4aEeEpSBPV5X5v4+Vmx+8snU7RLPrNHPKSgLxGo9YuQzz20o+w== + version "3.2.1" + resolved "https://registry.yarnpkg.com/jsonc-parser/-/jsonc-parser-3.2.1.tgz#031904571ccf929d7670ee8c547545081cb37f1a" + integrity sha512-AilxAyFOAcK5wA1+LeaySVBrHsGQvUFCDWXKpZjzaL0PqW+xfBOttn8GNtWKFWqneyMZj41MWF9Kl6iPWLwgOA== jsonfile@^6.0.1: version "6.1.0" @@ -8912,11 +8931,6 @@ lodash@*, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -loglevel@^1.8.1: - version "1.8.1" - resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.1.tgz#5c621f83d5b48c54ae93b6156353f555963377b4" - integrity sha512-tCRIJM51SHjAayKwC+QAg8hT8vg6z7GSgLJKGvzuPb1Wc+hLzqtuVLxp6/HzSPOozuK+8ErAhy7U/sVzw8Dgfg== - loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" @@ -8932,9 +8946,9 @@ lower-case@^2.0.2: tslib "^2.0.3" lru-cache@^10.0.1, lru-cache@^10.0.2, "lru-cache@^9.1.1 || ^10.0.0": - version "10.1.0" - resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.1.0.tgz#2098d41c2dc56500e6c88584aa656c84de7d0484" - integrity sha512-/1clY/ui8CzjKFyjdvwPWJUYKiFVXG2I2cY0ssG7h4+hwk+XOIX7ZSG9Q7TW8TW3Kp3BUSqgFWBLgL4PJ+Blag== + version "10.2.0" + resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" + integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== lru-cache@^5.1.1: version "5.1.1" @@ -9106,9 +9120,9 @@ mimic-fn@^4.0.0: integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== mini-css-extract-plugin@^2.4.5: - version "2.7.6" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz#282a3d38863fddcd2e0c220aaed5b90bc156564d" - integrity sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw== + version "2.7.7" + resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.7.tgz#4acf02f362c641c38fb913bfcb7ca2fc4a7cf339" + integrity sha512-+0n11YGyRavUR3IlaOzJ0/4Il1avMvJ1VJfhWfCn24ITQXhRr1gghbhhrda6tgtNcpZaWKdSuwKq20Jb7fnlyw== dependencies: schema-utils "^4.0.0" @@ -9161,14 +9175,14 @@ mkdirp@~0.5.1: minimist "^1.2.6" mlly@^1.2.0, mlly@^1.4.2: - version "1.4.2" - resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.4.2.tgz#7cf406aa319ff6563d25da6b36610a93f2a8007e" - integrity sha512-i/Ykufi2t1EZ6NaPLdfnZk2AX8cs0d+mTzVKuPfqPKPatxLApaBoxJQ9x1/uckXtrS/U5oisPMDkNs0yQTaBRg== + version "1.5.0" + resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.5.0.tgz#8428a4617d54cc083d3009030ac79739a0e5447a" + integrity sha512-NPVQvAY1xr1QoVeG0cy8yUYC7FQcOx6evl/RjT1wL5FvzPnzOysoqB/jmx/DhssT2dYa8nxECLAaFI/+gVLhDQ== dependencies: - acorn "^8.10.0" - pathe "^1.1.1" + acorn "^8.11.3" + pathe "^1.1.2" pkg-types "^1.0.3" - ufo "^1.3.0" + ufo "^1.3.2" modern-ahocorasick@^1.0.0: version "1.0.1" @@ -9283,9 +9297,9 @@ node-addon-api@^5.0.0: integrity sha512-eh0GgfEkpnoWDq+VY8OyvYhFEzBk6jIYbRKdIlyTiAXIVJ8PyBaKb0rp7oDtoddbdoHWhq8wwr+XZ81F1rpNdA== node-addon-api@^7.0.0: - version "7.0.0" - resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e" - integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA== + version "7.1.0" + resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.1.0.tgz#71f609369379c08e251c558527a107107b5e0fdb" + integrity sha512-mNcltoe1R8o7STTegSOHdnJNN7s5EUvhoS7ShnTHDyOSd+8H+UdWODq6qSv67PjC8Zc5JRT8+oLAMCr0SIXw7g== node-fetch-native@^1.4.0, node-fetch-native@^1.4.1, node-fetch-native@^1.6.1: version "1.6.1" @@ -9483,6 +9497,11 @@ ofetch@^1.3.3: node-fetch-native "^1.4.0" ufo "^1.3.0" +ohash@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/ohash/-/ohash-1.1.3.tgz#f12c3c50bfe7271ce3fd1097d42568122ccdcf07" + integrity sha512-zuHHiGTYTA1sYJ/wZN+t5HKZaH23i4yI1HMwbuXm24Nid7Dv0KcuRlKoNKS9UNfAVSBlnGLcuQrnOKWOZoEGaw== + on-exit-leak-free@^0.2.0: version "0.2.0" resolved "https://registry.yarnpkg.com/on-exit-leak-free/-/on-exit-leak-free-0.2.0.tgz#b39c9e3bf7690d890f4861558b0d7b90a442d209" @@ -9724,10 +9743,10 @@ path-type@^4.0.0: resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== -pathe@^1.1.0, pathe@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.1.tgz#1dd31d382b974ba69809adc9a7a347e65d84829a" - integrity sha512-d+RQGp0MAYTIaDBIMmOfMwz3E+LOZnxx1HZd5R18mmCZY0QBlK0LDZfPc8FW8Ed2DlvsuE6PRjroDY+wg4+j/Q== +pathe@^1.1.0, pathe@^1.1.1, pathe@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/pathe/-/pathe-1.1.2.tgz#6c4cb47a945692e48a1ddd6e4094d170516437ec" + integrity sha512-whLdWMYL2TwI08hn8/ZqAbrVemu0LNaNNJZX73O6qaIdCTfXutsLhMkjdENX0qhsQ9uIimo4/aQOmXkoon2nDQ== pbkdf2@^3.0.3: version "3.1.2" @@ -10114,19 +10133,19 @@ postcss-modules-extract-imports@^3.0.0: resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d" integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw== -postcss-modules-local-by-default@^4.0.3: - version "4.0.3" - resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.3.tgz#b08eb4f083050708998ba2c6061b50c2870ca524" - integrity sha512-2/u2zraspoACtrbFRnTijMiQtb4GW4BvatjaG/bCjYQo8kLTdevCUlwuBHx2sCnSyrI3x3qj4ZK1j5LQBgzmwA== +postcss-modules-local-by-default@^4.0.4: + version "4.0.4" + resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.4.tgz#7cbed92abd312b94aaea85b68226d3dec39a14e6" + integrity sha512-L4QzMnOdVwRm1Qb8m4x8jsZzKAaPAgrUF1r/hjDR2Xj7R+8Zsf97jAlSQzWtKx5YNiNGN8QxmPFIc/sh+RQl+Q== dependencies: icss-utils "^5.0.0" postcss-selector-parser "^6.0.2" postcss-value-parser "^4.1.0" -postcss-modules-scope@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.1.0.tgz#fbfddfda93a31f310f1d152c2bb4d3f3c5592ee0" - integrity sha512-SaIbK8XW+MZbd0xHPf7kdfA/3eOt7vxJ72IRecn3EzuZVLr1r0orzf0MX/pN8m+NMDoo6X/SQd8oeKqGZd8PXg== +postcss-modules-scope@^3.1.1: + version "3.1.1" + resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.1.1.tgz#32cfab55e84887c079a19bbb215e721d683ef134" + integrity sha512-uZgqzdTleelWjzJY+Fhti6F3C9iF1JR/dODLs/JDefozYcKTBCdD8BIl6nNPbTbcLnGrk56hzwZC2DaGNvYjzA== dependencies: postcss-selector-parser "^6.0.4" @@ -10381,7 +10400,7 @@ postcss@^7.0.35: picocolors "^0.2.1" source-map "^0.6.1" -postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.31, postcss@^8.4.4: +postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.4: version "8.4.33" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.33.tgz#1378e859c9f69bf6f638b990a0212f43e2aaa742" integrity sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg== @@ -11102,12 +11121,12 @@ rxjs@^6.6.3: tslib "^1.9.0" safe-array-concat@^1.0.0, safe-array-concat@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.0.1.tgz#91686a63ce3adbea14d61b14c99572a8ff84754c" - integrity sha512-6XbUAseYE2KtOuGueyeobCySj9L4+66Tn6KQMOPQJrAJEowYKW/YR/MGJZl7FdydUdaFu4LYyDZjxf4/Nmo23Q== + version "1.1.0" + resolved "https://registry.yarnpkg.com/safe-array-concat/-/safe-array-concat-1.1.0.tgz#8d0cae9cb806d6d1c06e08ab13d847293ebe0692" + integrity sha512-ZdQ0Jeb9Ofti4hbt5lX3T2JcAamT9hfzYU1MNB+z/jaEbB6wfFfPIR/zEORmZqobkCCJhSjodobH6WHNmJ97dg== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.2.1" + call-bind "^1.0.5" + get-intrinsic "^1.2.2" has-symbols "^1.0.3" isarray "^2.0.5" @@ -11122,9 +11141,9 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== safe-regex-test@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.1.tgz#207369b445fd007e534864635b28b2ae7b105783" - integrity sha512-Y5NejJTTliTyY4H7sipGqY+RX5P87i3F7c4Rcepy72nq+mNLhIsD0W4c7kEmduMDQCSqtPsXPlSTsFhh2LQv+g== + version "1.0.2" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.2.tgz#3ba32bdb3ea35f940ee87e5087c60ee786c3f6c5" + integrity sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ== dependencies: call-bind "^1.0.5" get-intrinsic "^1.2.2" @@ -11306,14 +11325,15 @@ set-blocking@^2.0.0: integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== set-function-length@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.1.1.tgz#4bc39fafb0307224a33e106a7d35ca1218d659ed" - integrity sha512-VoaqjbBJKiWtg4yRcKBQ7g7wnGnLV3M8oLvVWwOk2PdYY6PEFegR1vezXR0tw6fZGF9csVakIRjrJiy2veSBFQ== + version "1.2.0" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.0.tgz#2f81dc6c16c7059bda5ab7c82c11f03a515ed8e1" + integrity sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w== dependencies: define-data-property "^1.1.1" - get-intrinsic "^1.2.1" + function-bind "^1.1.2" + get-intrinsic "^1.2.2" gopd "^1.0.1" - has-property-descriptors "^1.0.0" + has-property-descriptors "^1.0.1" set-function-name@^2.0.0, set-function-name@^2.0.1: version "2.0.1" @@ -11564,9 +11584,9 @@ stream-http@^3.2.0: xtend "^4.0.2" stream-shift@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.1.tgz#d7088281559ab2778424279b0877da3c392d5a3d" - integrity sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ== + version "1.0.3" + resolved "https://registry.yarnpkg.com/stream-shift/-/stream-shift-1.0.3.tgz#85b8fab4d71010fc3ba8772e8046cc49b8a3864b" + integrity sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ== strict-uri-encode@^2.0.0: version "2.0.0" @@ -11911,7 +11931,7 @@ terminal-link@^2.0.0: ansi-escapes "^4.2.1" supports-hyperlinks "^2.0.0" -terser-webpack-plugin@^5.2.5, terser-webpack-plugin@^5.3.7: +terser-webpack-plugin@^5.2.5, terser-webpack-plugin@^5.3.10: version "5.3.10" resolved "https://registry.yarnpkg.com/terser-webpack-plugin/-/terser-webpack-plugin-5.3.10.tgz#904f4c9193c6fd2a03f693a2150c62a92f40d199" integrity sha512-BKFPWlPDndPs+NGGCr1U59t0XScL5317Y0UReNrHaw9/FwhPENlq6bfgs+4yPfyP51vqC1bQ4rp1EfXW5ZSH9w== @@ -11923,9 +11943,9 @@ terser-webpack-plugin@^5.2.5, terser-webpack-plugin@^5.3.7: terser "^5.26.0" terser@^5.0.0, terser@^5.10.0, terser@^5.26.0: - version "5.26.0" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.26.0.tgz#ee9f05d929f4189a9c28a0feb889d96d50126fe1" - integrity sha512-dytTGoE2oHgbNV9nTzgBEPaqAWvcJNl66VZ0BkJqlvp71IjO8CxdBx/ykCNb47cLnCmCvRZ6ZR0tLkqvZCdVBQ== + version "5.27.0" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.27.0.tgz#70108689d9ab25fef61c4e93e808e9fd092bf20c" + integrity sha512-bi1HRwVRskAjheeYl291n3JC4GgO/Ty4z1nVs5AAsmonJulGxpSektecnNedrwK9C7vpvVtcX3cw00VSLt7U2A== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.8.2" @@ -12230,7 +12250,7 @@ undici-types@~5.26.4: resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617" integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA== -unenv@^1.8.0: +unenv@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/unenv/-/unenv-1.9.0.tgz#469502ae85be1bd3a6aa60f810972b1a904ca312" integrity sha512-QKnFNznRxmbOF1hDgzpqrlIf6NC5sbZ2OJ+5Wl3OX8uM+LUJXbj4TXvLJCtwbPTmbMHCLIz6JLKNinNsMShK9g== @@ -12636,18 +12656,18 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.64.4: - version "5.89.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.89.0.tgz#56b8bf9a34356e93a6625770006490bf3a7f32dc" - integrity sha512-qyfIC10pOr70V+jkmud8tMfajraGCZMBWJtrmuBymQKCrLTRejBI8STDp1MCyZu/QTdZSeacCQYpYNQVOzX5kw== + version "5.90.0" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.90.0.tgz#313bfe16080d8b2fee6e29b6c986c0714ad4290e" + integrity sha512-bdmyXRCXeeNIePv6R6tGPyy20aUobw4Zy8r0LUS2EWO+U+Ke/gYDgsCh7bl5rB6jPpr4r0SZa6dPxBxLooDT3w== dependencies: "@types/eslint-scope" "^3.7.3" - "@types/estree" "^1.0.0" + "@types/estree" "^1.0.5" "@webassemblyjs/ast" "^1.11.5" "@webassemblyjs/wasm-edit" "^1.11.5" "@webassemblyjs/wasm-parser" "^1.11.5" acorn "^8.7.1" acorn-import-assertions "^1.9.0" - browserslist "^4.14.5" + browserslist "^4.21.10" chrome-trace-event "^1.0.2" enhanced-resolve "^5.15.0" es-module-lexer "^1.2.1" @@ -12661,7 +12681,7 @@ webpack@^5.64.4: neo-async "^2.6.2" schema-utils "^3.2.0" tapable "^2.1.1" - terser-webpack-plugin "^5.3.7" + terser-webpack-plugin "^5.3.10" watchpack "^2.4.0" webpack-sources "^3.2.3" @@ -13126,8 +13146,8 @@ zod@^3.22.4: integrity sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg== zustand@^4.3.1: - version "4.4.7" - resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.4.7.tgz#355406be6b11ab335f59a66d2cf9815e8f24038c" - integrity sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw== + version "4.5.0" + resolved "https://registry.yarnpkg.com/zustand/-/zustand-4.5.0.tgz#141354af56f91de378aa6c4b930032ab338f3ef0" + integrity sha512-zlVFqS5TQ21nwijjhJlx4f9iGrXSL0o/+Dpy4txAP22miJ8Ti6c1Ol1RLNN98BMib83lmDH/2KmLwaNXpjrO1A== dependencies: use-sync-external-store "1.2.0" From 4b63bbf0723dfe195067752db76d728ca8d3f15b Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Mon, 29 Jan 2024 17:00:04 +0400 Subject: [PATCH 03/13] fix: typescript and viem compatibility + local linked v4 packages --- package.json | 6 +- src/components/Forward/BatchLiquidity.tsx | 2 +- src/components/Forward/MintNft.tsx | 2 +- src/components/Modules/CreateSession.tsx | 4 +- .../Modules/CreateSessionForCustomSVM.tsx | 4 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 4 +- .../Modules/ERC20TransferUsingSession.tsx | 4 +- .../Modules/HyphenLpUsingSession.tsx | 4 +- src/components/Modules/UseSessionsBatch.tsx | 4 +- src/contexts/SmartAccountContext.tsx | 4 +- yarn.lock | 311 ++++-------------- 11 files changed, 75 insertions(+), 274 deletions(-) diff --git a/package.json b/package.json index 1264a2d..a87a836 100644 --- a/package.json +++ b/package.json @@ -4,10 +4,6 @@ "private": true, "dependencies": { "@alchemy/aa-core": "1.2.2", - "@biconomy-devx/account": "2.2.0", - "@biconomy-devx/bundler": "2.2.0", - "@biconomy-devx/modules": "2.2.0", - "@biconomy-devx/paymaster": "2.2.0", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@mui/icons-material": "^5.11.11", @@ -24,7 +20,7 @@ "react-dom": "^18.2.0", "react-scripts": "5.0.1", "react-toastify": "^9.0.8", - "typescript": "^4.4.2", + "typescript": "5.2.0", "viem": "^1.20.3", "wagmi": "^1.4.5", "web-vitals": "^2.1.0" diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index ebc5e32..59f60c7 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy-devx/paymaster"; +} from "@biconomy/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index fbb94fe..98e353b 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy-devx/paymaster"; +} from "@biconomy/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index fd1e671..426a61d 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -3,8 +3,8 @@ import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { SessionKeyManagerModule } from "@biconomy/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index ee292a5..48f2f59 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -11,8 +11,8 @@ import { slice, } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { SessionKeyManagerModule } from "@biconomy/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { diff --git a/src/components/Modules/CreateSessionsWithBatchRouter.tsx b/src/components/Modules/CreateSessionsWithBatchRouter.tsx index e8d7501..092cd5d 100644 --- a/src/components/Modules/CreateSessionsWithBatchRouter.tsx +++ b/src/components/Modules/CreateSessionsWithBatchRouter.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // import { useAccount } from "wagmi"; // import Button from "../Button"; // import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; @@ -15,7 +15,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // const CreateBatchRouter: React.FC = () => { // const classes = useStyles(); diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index ad1b9f5..cbddf02 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -2,7 +2,7 @@ export {}; // import React, { useState } from "react"; // import { ethers } from "ethers"; // import { makeStyles } from "@mui/styles"; -// import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +// import { SessionKeyManagerModule } from "@biconomy/modules"; // import Button from "../Button"; // import { useEthersSigner } from "../../contexts/ethers"; @@ -12,7 +12,7 @@ export {}; // showSuccessMessage, // showErrorMessage, // } from "../../utils"; -// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; // import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; // const ERC20Transfer: React.FC = () => { diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index c5c361c..aa87c05 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -2,7 +2,7 @@ export {}; // import React, { useState } from "react"; // import { ethers } from "ethers"; // import { makeStyles } from "@mui/styles"; -// import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +// import { SessionKeyManagerModule } from "@biconomy/modules"; // import Button from "../Button"; // import { useEthersSigner } from "../../contexts/ethers"; @@ -12,7 +12,7 @@ export {}; // showSuccessMessage, // showErrorMessage, // } from "../../utils"; -// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; // import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; // const HyphenLpUsingSession: React.FC = () => { diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 5807ff5..4adc6a7 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // import Button from "../Button"; // import { useAccount } from "wagmi"; // import { useEthersSigner } from "../../contexts/ethers"; @@ -18,7 +18,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // const ERC20RouterTransfer: React.FC = () => { // const classes = useStyles(); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index 1601f65..0434449 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,8 +1,8 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; -import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; +import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy/account"; import { useAccount, useWalletClient } from "wagmi"; import { activeChainId, bundlerUrl, paymasterApi } from "../utils/chainConfig"; -import { MultiChainValidationModule } from "@biconomy-devx/modules"; +import { MultiChainValidationModule } from "@biconomy/modules"; // Types type smartAccountContextType = { diff --git a/yarn.lock b/yarn.lock index 4cad00a..7562d07 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,26 +22,6 @@ viem "^1.16.2" zod "^3.22.4" -"@alchemy/aa-core@^1.2.2": - version "1.2.4" - resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-1.2.4.tgz#a224b04d82a51c4a3ccd258caf4433dfc6079420" - integrity sha512-Qj9N1V+X3LvFWAgdMV1FoLV+ZNqy8v5j/pjbNecvloDVadNSm4R//3YPjmfYOvSARjvubWzw+BGVRtyUvunKDQ== - dependencies: - abitype "^0.8.3" - eventemitter3 "^5.0.1" - viem "^1.21.4" - zod "^3.22.4" - -"@alchemy/aa-core@^2.0.0": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" - integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== - dependencies: - abitype "^0.8.3" - eventemitter3 "^5.0.1" - viem "^1.21.4" - zod "^3.22.4" - "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -1188,56 +1168,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.0.tgz#90e2e9c0c8d749b319fc3684dd89a53e6c238c37" - integrity sha512-212MOXMupzx8xJ6Nzz5TvyYKk/qhK4uoyPpDV9DJWIMPqpYINaj37tuqXjSX3IjUlSDZIsmSxMpsGosb55nYqw== - dependencies: - "@alchemy/aa-core" "^2.0.0" - "@biconomy-devx/bundler" "2.2.0" - "@biconomy-devx/common" "2.2.0" - "@biconomy-devx/modules" "2.2.0" - "@biconomy-devx/paymaster" "2.2.0" - lru-cache "^10.0.1" - viem "^1.20.3" - -"@biconomy-devx/bundler@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.0.tgz#302a4b45232181eaf6c8625dd513f0ad97df7c0a" - integrity sha512-KWBPbY/yiDLI/T/6PgyN0+/TnF2BjZ0LHACnEqACBsp2Gzr60ZRzdNCliWx03rn9DUAvGLa6g5w/t9jjXcUGhA== - dependencies: - "@alchemy/aa-core" "^1.2.2" - "@biconomy-devx/common" "2.2.0" - viem "^1.20.3" - -"@biconomy-devx/common@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.0.tgz#012b8c8301fa963f86d750ad2ff2fc3b1ae6813f" - integrity sha512-8ueyBbacMUZNPRwGKph5mBOHTmAIflRJ4sZMKWzk9iDbH0sWf9+cmd0mf+XcOhHJit4RzuYQJYk83C+3W9d9iQ== - dependencies: - "@alchemy/aa-core" "^1.2.2" - "@ethersproject/abstract-signer" "^5.7.0" - viem "^1.20.3" - -"@biconomy-devx/modules@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.0.tgz#288997361de1ef81142543f13fe7c7b875adc16b" - integrity sha512-3le8Sg8sgPDDqgJEHv7g7DZIfJ9LcnzO2TP/dUSzoJvBFIpC1dj6k8oNEOv9xtct/+OO7PioVfiI91DCninfxw== - dependencies: - "@alchemy/aa-core" "^1.2.2" - "@biconomy-devx/common" "2.2.0" - merkletreejs "^0.3.9" - viem "^1.20.3" - -"@biconomy-devx/paymaster@2.2.0": - version "2.2.0" - resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.0.tgz#2b5df8af0e136c700c378ef6540dc23f1abc86c7" - integrity sha512-5i7dIpRAs9hlsN6Z5yeWEPNEbCPTcsEMTIsp7PCrdfYQMb5yW7vGm2baaA34dvbzqwdiIh+A2hSFJrX5uG+14Q== - dependencies: - "@alchemy/aa-core" "^1.2.2" - "@biconomy-devx/common" "2.2.0" - viem "^1.20.3" - "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.2.tgz#7a89bd9e3a06a1f26d4480d8642af33fb0c7e3aa" @@ -1511,20 +1441,6 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== -"@ethereumjs/rlp@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" - integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== - -"@ethereumjs/util@^8.1.0": - version "8.1.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" - integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== - dependencies: - "@ethereumjs/rlp" "^4.0.1" - ethereum-cryptography "^2.0.0" - micro-ftch "^0.3.1" - "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" @@ -1874,20 +1790,20 @@ dependencies: "@floating-ui/utils" "^0.2.1" -"@floating-ui/dom@^1.6.0": - version "1.6.0" - resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.0.tgz#282f31c5c7d2aaef3999e09f2c06280a020364d1" - integrity sha512-SZ0BEXzsaaS6THZfZJUcAobbZTD+MvfGM42bxgeg0Tnkp4/an/avqwAXiVLsFtIBZtfsx3Ymvwx0+KnnhdA/9g== +"@floating-ui/dom@^1.6.1": + version "1.6.1" + resolved "https://registry.yarnpkg.com/@floating-ui/dom/-/dom-1.6.1.tgz#d552e8444f77f2d88534372369b3771dc3a2fa5d" + integrity sha512-iA8qE43/H5iGozC3W0YSnVSW42Vh522yyM1gj+BqRwVsTNOyr231PsXDaV04yT39PsO0QL2QpbI/M0ZaLUQgRQ== dependencies: "@floating-ui/core" "^1.6.0" "@floating-ui/utils" "^0.2.1" "@floating-ui/react-dom@^2.0.6": - version "2.0.7" - resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.7.tgz#873e0a55a25d8ddbbccd159d6ab4a4b98eb05494" - integrity sha512-B5GJxKUyPcGsvE1vua+Abvw0t6zVMyTbtG+Jk7BoI4hfc5Ahv50dstRIAn0nS0274kR9gnKwxIXyGA8EzBZJrA== + version "2.0.8" + resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.8.tgz#afc24f9756d1b433e1fe0d047c24bd4d9cefaa5d" + integrity sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw== dependencies: - "@floating-ui/dom" "^1.6.0" + "@floating-ui/dom" "^1.6.1" "@floating-ui/utils@^0.2.1": version "0.2.1" @@ -2425,7 +2341,7 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/curves@1.3.0", "@noble/curves@^1.2.0", "@noble/curves@~1.3.0": +"@noble/curves@^1.2.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== @@ -2508,10 +2424,10 @@ resolved "https://registry.yarnpkg.com/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.4.0.tgz#4c33993618c8d5113722852806239cb80360494b" integrity sha512-7jzcOonpXNWcSijPpKD5IbC6xC7yTibjJw9jviVzZostYLGxbz8LDJLUnLzLzhASPlPGgpeKLtFUMjAAzM+gSA== -"@parcel/watcher-wasm@2.3.0": - version "2.3.0" - resolved "https://registry.yarnpkg.com/@parcel/watcher-wasm/-/watcher-wasm-2.3.0.tgz#73b66c6fbd2a3326ae86a1ec77eab7139d0dd725" - integrity sha512-ejBAX8H0ZGsD8lSICDNyMbSEtPMWgDL0WFCt/0z7hyf5v8Imz4rAM8xY379mBsECkq/Wdqa5WEDLqtjZ+6NxfA== +"@parcel/watcher-wasm@2.4.0": + version "2.4.0" + resolved "https://registry.yarnpkg.com/@parcel/watcher-wasm/-/watcher-wasm-2.4.0.tgz#84a3959c8ef1cd67b36b9fec487edbc8f27719f6" + integrity sha512-MNgQ4WCbBybqQ97KwR/hqJGYTg3+s8qHpgIyFWB2qJOBvoJWbXuJGmm4ZkPLq2bMaANqCZqrXwmKYagZTkMKZA== dependencies: is-glob "^4.0.3" micromatch "^4.0.5" @@ -2532,7 +2448,7 @@ resolved "https://registry.yarnpkg.com/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.4.0.tgz#93e0bd0ad1bda2c9a688764b9b30b71dc5b72a71" integrity sha512-pAUyUVjfFjWaf/pShmJpJmNxZhbMvJASUpdes9jL6bTEJ+gDxPRSpXTIemNyNsb9AtbiGXs9XduP1reThmd+dA== -"@parcel/watcher@^2.3.0": +"@parcel/watcher@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@parcel/watcher/-/watcher-2.4.0.tgz#2d3c4ef8832a5cdfdbb76b914f022489933e664f" integrity sha512-XJLGVL0DEclX5pcWa2N9SX1jCGTDd8l972biNooLFtjneuGqodupPQh6XseXIBBeVIMaaJ7bTcs3qGvXwsp4vg== @@ -2665,7 +2581,7 @@ resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.14.0.tgz#9581c524c1ea4956555f40761eb6b4007392aa82" integrity sha512-/dqU66RvHw50n+7x3nwnJedq8V6iLQyoWitNdjx5cFTBmae+rpP+LvHq+LqZfXJVkB1qNytMdjFjdyES0t79gQ== -"@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.4": +"@scure/base@~1.1.0", "@scure/base@~1.1.2": version "1.1.5" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== @@ -2679,15 +2595,6 @@ "@noble/hashes" "~1.3.2" "@scure/base" "~1.1.2" -"@scure/bip32@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.3.tgz#a9624991dc8767087c57999a5d79488f48eae6c8" - integrity sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ== - dependencies: - "@noble/curves" "~1.3.0" - "@noble/hashes" "~1.3.2" - "@scure/base" "~1.1.4" - "@scure/bip39@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" @@ -2696,14 +2603,6 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" -"@scure/bip39@1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.2.tgz#f3426813f4ced11a47489cbcf7294aa963966527" - integrity sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA== - dependencies: - "@noble/hashes" "~1.3.2" - "@scure/base" "~1.1.4" - "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -3234,9 +3133,9 @@ "@types/node" "*" "@types/node@*": - version "20.11.7" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.7.tgz#cb49aedd758c978c30806d0c38b520ed2a3df6e0" - integrity sha512-GPmeN1C3XAyV5uybAf4cMLWT9fDWcmQhZVtMFu7OR32WjrqGG+Wnk2V1d0bmtUyE/Zy1QJ9BxyiTih9z8Oks8A== + version "20.11.10" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.10.tgz#6c3de8974d65c362f82ee29db6b5adf4205462f9" + integrity sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg== dependencies: undici-types "~5.26.4" @@ -4641,7 +4540,7 @@ bigint-buffer@^1.1.5: dependencies: bindings "^1.3.0" -bignumber.js@*, bignumber.js@^9.0.1: +bignumber.js@*: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== @@ -4668,11 +4567,6 @@ bluebird@^3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@4.11.6: - version "4.11.6" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" - integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== - bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" @@ -4817,12 +4711,12 @@ browserify-zlib@^0.2.0: pako "~1.0.5" browserslist@^4.0.0, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2: - version "4.22.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.2.tgz#704c4943072bd81ea18997f3bd2180e89c77874b" - integrity sha512-0UgcrvQmBDvZHFGdYUehrCNIazki7/lUP3kkoi/r3YB2amZbFM9J43ZRkJTXBUZK4gmx56+Sqk9+Vs9mwZx9+A== + version "4.22.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.22.3.tgz#299d11b7e947a6b843981392721169e27d60c5a6" + integrity sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A== dependencies: - caniuse-lite "^1.0.30001565" - electron-to-chromium "^1.4.601" + caniuse-lite "^1.0.30001580" + electron-to-chromium "^1.4.648" node-releases "^2.0.14" update-browserslist-db "^1.0.13" @@ -4845,11 +4739,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-reverse@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/buffer-reverse/-/buffer-reverse-1.0.1.tgz#49283c8efa6f901bc01fa3304d06027971ae2f60" - integrity sha512-M87YIUBsZ6N924W57vDwT/aOu8hw7ZgdByz6ijksLjmHJELBASmYTTlNHRgjE+pTsT9oJXGaDSgqqwfdHotDUg== - buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" @@ -4944,10 +4833,10 @@ caniuse-api@^3.0.0: lodash.memoize "^4.1.2" lodash.uniq "^4.5.0" -caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001565, caniuse-lite@^1.0.30001578: - version "1.0.30001580" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001580.tgz#e3c76bc6fe020d9007647044278954ff8cd17d1e" - integrity sha512-mtj5ur2FFPZcCEpXFy8ADXbDACuNFXg6mxVDqp7tqooX6l3zwm+d8EPoeOSIFRDvHs8qu7/SLFOGniULkcH2iA== +caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001578, caniuse-lite@^1.0.30001580: + version "1.0.30001581" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz#0dfd4db9e94edbdca67d57348ebc070dece279f4" + integrity sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5350,6 +5239,11 @@ cross-spawn@^7.0.0, cross-spawn@^7.0.2, cross-spawn@^7.0.3: shebang-command "^2.0.0" which "^2.0.1" +crossws@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/crossws/-/crossws-0.1.1.tgz#3a85a8140568e4828d9747a884171ea7e6a8bbe2" + integrity sha512-c9c/o7bS3OjsdpSkvexpka0JNlesBF2JU9B2V1yNsYGwRbAafxhJQ7VI9b48D5bpONz/oxbPGMzBojy9sXoQIQ== + crypto-browserify@^3.12.0: version "3.12.0" resolved "https://registry.yarnpkg.com/crypto-browserify/-/crypto-browserify-3.12.0.tgz#396cf9f3137f03e4b8e532c58f698254e00f80ec" @@ -5367,11 +5261,6 @@ crypto-browserify@^3.12.0: randombytes "^2.0.0" randomfill "^1.0.3" -crypto-js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" - integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== - crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" @@ -5941,10 +5830,10 @@ ejs@^3.1.6: dependencies: jake "^10.8.5" -electron-to-chromium@^1.4.601: - version "1.4.647" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.647.tgz#3c8d4815e5ed2fbdd37f4ab7333cd9f8fc56d53a" - integrity sha512-Z/fTNGwc45WrYQhPaEcz5tAJuZZ8G7S/DBnhS6Kgp4BxnS40Z/HqlJ0hHg3Z79IGVzuVartIlTcjw/cQbPLgOw== +electron-to-chromium@^1.4.648: + version "1.4.648" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.648.tgz#c7b46c9010752c37bb4322739d6d2dd82354fbe4" + integrity sha512-EmFMarXeqJp9cUKu/QEciEApn0S/xRcpZWuAm32U7NgoZCimjsilKXHRO9saeEW55eHZagIDg6XTUOv32w9pjg== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6500,23 +6389,6 @@ eth-rpc-errors@^4.0.2: dependencies: fast-safe-stringify "^2.0.6" -ethereum-bloom-filters@^1.0.6: - version "1.0.10" - resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" - integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== - dependencies: - js-sha3 "^0.8.0" - -ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.3.tgz#1352270ed3b339fe25af5ceeadcf1b9c8e30768a" - integrity sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA== - dependencies: - "@noble/curves" "1.3.0" - "@noble/hashes" "1.3.3" - "@scure/bip32" "1.3.3" - "@scure/bip39" "1.2.2" - ethers@^5.6.9: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" @@ -6553,14 +6425,6 @@ ethers@^5.6.9: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" -ethjs-unit@0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" - integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== - dependencies: - bn.js "4.11.6" - number-to-bn "1.7.0" - eventemitter3@^4.0.0, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -6713,9 +6577,9 @@ fast-stable-stringify@^1.0.0: integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== fastq@^1.6.0: - version "1.16.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.16.0.tgz#83b9a9375692db77a822df081edb6a9cf6839320" - integrity sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA== + version "1.17.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.0.tgz#ca5e1a90b5e68f97fc8b61330d5819b82f5fab03" + integrity sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w== dependencies: reusify "^1.0.4" @@ -7129,7 +6993,7 @@ gzip-size@^6.0.0: dependencies: duplexer "^0.1.2" -h3@^1.10.0, h3@^1.8.2: +h3@^1.10.1, h3@^1.8.2: version "1.10.1" resolved "https://registry.yarnpkg.com/h3/-/h3-1.10.1.tgz#221634ca9bdb216a6b359bd2915be466a179b8a1" integrity sha512-UBAUp47hmm4BB5/njB4LrEa9gpuvZj4/Qf/ynSMzO6Ku2RXaouxEfiG2E2IFnv6fxbhAkzjasDxmo6DFdEeXRg== @@ -7675,11 +7539,6 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" -is-hex-prefixed@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" - integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== - is-in-browser@^1.0.2, is-in-browser@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835" @@ -8464,7 +8323,7 @@ jiti@^1.19.1, jiti@^1.21.0: resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== -js-sha3@0.8.0, js-sha3@^0.8.0: +js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== @@ -8798,23 +8657,24 @@ lines-and-columns@^1.1.6: integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg== listhen@^1.5.5: - version "1.5.6" - resolved "https://registry.yarnpkg.com/listhen/-/listhen-1.5.6.tgz#8dc8cdccef225e39c69bcc6f6bd704447b499b51" - integrity sha512-gTpEJhT5L85L0bFgmu+Boqu5rP4DwDtEb4Exq5gdQUxWRwx4jbzdInZkmyLONo5EwIcQB0k7ZpWlpCDPdL77EQ== + version "1.6.0" + resolved "https://registry.yarnpkg.com/listhen/-/listhen-1.6.0.tgz#df26c527c59b87557be4d0408d4a09626bd946c8" + integrity sha512-z0RcEXVX5oTpY1bO02SKoTU/kmZSrFSngNNzHRM6KICR17PTq7ANush6AE6ztGJwJD4RLpBrVHd9GnV51J7s3w== dependencies: - "@parcel/watcher" "^2.3.0" - "@parcel/watcher-wasm" "2.3.0" + "@parcel/watcher" "^2.4.0" + "@parcel/watcher-wasm" "2.4.0" citty "^0.1.5" clipboardy "^4.0.0" consola "^3.2.3" + crossws "^0.1.0" defu "^6.1.4" get-port-please "^3.1.2" - h3 "^1.10.0" + h3 "^1.10.1" http-shutdown "^1.2.2" jiti "^1.21.0" - mlly "^1.4.2" + mlly "^1.5.0" node-forge "^1.3.1" - pathe "^1.1.1" + pathe "^1.1.2" std-env "^3.7.0" ufo "^1.3.2" untun "^0.1.3" @@ -8945,7 +8805,7 @@ lower-case@^2.0.2: dependencies: tslib "^2.0.3" -lru-cache@^10.0.1, lru-cache@^10.0.2, "lru-cache@^9.1.1 || ^10.0.0": +lru-cache@^10.0.2, "lru-cache@^9.1.1 || ^10.0.0": version "10.2.0" resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-10.2.0.tgz#0bd445ca57363465900f4d1f9bd8db343a4d95c3" integrity sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q== @@ -9050,27 +8910,11 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -merkletreejs@^0.3.9: - version "0.3.11" - resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.11.tgz#e0de05c3ca1fd368de05a12cb8efb954ef6fc04f" - integrity sha512-LJKTl4iVNTndhL+3Uz/tfkjD0klIWsHlUzgtuNnNrsf7bAlXR30m+xYB7lHr5Z/l6e/yAIsr26Dabx6Buo4VGQ== - dependencies: - bignumber.js "^9.0.1" - buffer-reverse "^1.0.1" - crypto-js "^4.2.0" - treeify "^1.1.0" - web3-utils "^1.3.4" - methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== -micro-ftch@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" - integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== - micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -9174,7 +9018,7 @@ mkdirp@~0.5.1: dependencies: minimist "^1.2.6" -mlly@^1.2.0, mlly@^1.4.2: +mlly@^1.2.0, mlly@^1.5.0: version "1.5.0" resolved "https://registry.yarnpkg.com/mlly/-/mlly-1.5.0.tgz#8428a4617d54cc083d3009030ac79739a0e5447a" integrity sha512-NPVQvAY1xr1QoVeG0cy8yUYC7FQcOx6evl/RjT1wL5FvzPnzOysoqB/jmx/DhssT2dYa8nxECLAaFI/+gVLhDQ== @@ -9376,14 +9220,6 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" -number-to-bn@1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" - integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== - dependencies: - bn.js "4.11.6" - strip-hex-prefix "1.0.0" - nwsapi@^2.2.0: version "2.2.7" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" @@ -11736,13 +11572,6 @@ strip-final-newline@^3.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== -strip-hex-prefix@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" - integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== - dependencies: - is-hex-prefixed "1.0.0" - strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -12073,11 +11902,6 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -treeify@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" - integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A== - tryer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" @@ -12203,10 +12027,10 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: dependencies: is-typedarray "^1.0.0" -typescript@^4.4.2: - version "4.9.5" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.9.5.tgz#095979f9bcc0d09da324d58d03ce8f8374cbe65a" - integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g== +typescript@5.2.0: + version "5.1.6" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" + integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== ua-parser-js@^1.0.37: version "1.0.37" @@ -12410,11 +12234,6 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" -utf8@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" - integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== - util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -12478,7 +12297,7 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.6.0: version "1.21.4" resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== @@ -12545,20 +12364,6 @@ web-vitals@^2.1.0: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-2.1.4.tgz#76563175a475a5e835264d373704f9dde718290c" integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== -web3-utils@^1.3.4: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" - integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== - dependencies: - "@ethereumjs/util" "^8.1.0" - bn.js "^5.2.1" - ethereum-bloom-filters "^1.0.6" - ethereum-cryptography "^2.1.2" - ethjs-unit "0.1.6" - number-to-bn "1.7.0" - randombytes "^2.1.0" - utf8 "3.0.0" - webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" From 21e34de074b4af83a56ceccc4fca8c118cdd09c9 Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Wed, 31 Jan 2024 23:29:57 +0400 Subject: [PATCH 04/13] updated with v4 and devx --- package.json | 4 + src/components/AA/BatchLiquidity.tsx | 3 +- src/components/AA/MintNft.tsx | 3 +- src/components/Forward/BatchLiquidity.tsx | 2 +- src/components/Forward/MintNft.tsx | 2 +- src/components/Modules/CreateSession.tsx | 4 +- .../Modules/CreateSessionForCustomSVM.tsx | 8 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 4 +- .../Modules/ERC20TransferUsingSession.tsx | 308 +++++++++--------- .../Modules/HyphenLpUsingSession.tsx | 300 ++++++++--------- src/components/Modules/UseSessionsBatch.tsx | 4 +- src/components/TabsBody.tsx | 14 +- src/contexts/SmartAccountContext.tsx | 15 +- src/utils/chainConfig.ts | 2 +- yarn.lock | 230 +++++++++++-- 15 files changed, 553 insertions(+), 350 deletions(-) diff --git a/package.json b/package.json index a87a836..0127743 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,10 @@ "version": "1.0.0", "private": true, "dependencies": { + "@biconomy-devx/account": "2.2.8", + "@biconomy-devx/modules": "2.2.8", + "@biconomy-devx/paymaster": "2.2.8", + "@biconomy-devx/bundler": "2.2.8", "@alchemy/aa-core": "1.2.2", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index aaafdd9..b6ba65d 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -8,6 +8,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; +import { PaymasterMode } from "@biconomy-devx/paymaster"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); @@ -41,7 +42,7 @@ const BatchLiquidity: React.FC = () => { data: addLiquidityData, }; - let { waitForTxHash } = await smartAccount.sendTransaction([tx1, tx2]); + let { waitForTxHash } = await smartAccount.sendTransaction([tx1, tx2], { paymasterServiceData: { mode: PaymasterMode.SPONSORED } }); const { transactionHash } = await waitForTxHash(); console.log("txHash", transactionHash); showSuccessMessage( diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 17a49de..32bdb12 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -9,6 +9,7 @@ import { showErrorMessage, showSuccessMessage, } from "../../utils"; +import { PaymasterMode } from "@biconomy-devx/paymaster"; const MintNft: React.FC = () => { const classes = useStyles(); @@ -48,7 +49,7 @@ const MintNft: React.FC = () => { data: mintData, }; - let { waitForTxHash } = await smartAccount.sendTransaction([tx1]); + let { waitForTxHash } = await smartAccount.sendTransaction([tx1], { paymasterServiceData: { mode: PaymasterMode.SPONSORED } }); const { transactionHash } = await waitForTxHash(); console.log("txHash", transactionHash); showSuccessMessage(`Minted Nft ${transactionHash}`, transactionHash); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index 59f60c7..ebc5e32 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy/paymaster"; +} from "@biconomy-devx/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index 98e353b..fbb94fe 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy/paymaster"; +} from "@biconomy-devx/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index 426a61d..fd1e671 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -3,8 +3,8 @@ import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index 48f2f59..225e4db 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -11,8 +11,8 @@ import { slice, } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { @@ -84,6 +84,8 @@ const CreateCustomSession: React.FC = () => { // If you have session key-pair on the client side you can keep using those without making part of any storage window.localStorage.setItem("sessionPKey", sessionPKey); + console.log("here it works "); + // Create an instance of Session Key Manager module from modules package // This module is responsible for below tasks/helpers: // a. Maintain session leaf storage in defined storage client (Biconomy by default using browser local storage which works for front-end apps) @@ -94,6 +96,8 @@ const CreateCustomSession: React.FC = () => { smartAccountAddress: scwAddress, }); + console.log("ever here? "); + // Cretae session key data // Session key data is always corrsponding to the Session Validation Module being used // It always requires the public address of the session key diff --git a/src/components/Modules/CreateSessionsWithBatchRouter.tsx b/src/components/Modules/CreateSessionsWithBatchRouter.tsx index 092cd5d..e8d7501 100644 --- a/src/components/Modules/CreateSessionsWithBatchRouter.tsx +++ b/src/components/Modules/CreateSessionsWithBatchRouter.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // import { useAccount } from "wagmi"; // import Button from "../Button"; // import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; @@ -15,7 +15,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // const CreateBatchRouter: React.FC = () => { // const classes = useStyles(); diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index cbddf02..f6fe6c6 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -1,153 +1,155 @@ -export {}; -// import React, { useState } from "react"; -// import { ethers } from "ethers"; -// import { makeStyles } from "@mui/styles"; -// import { SessionKeyManagerModule } from "@biconomy/modules"; - -// import Button from "../Button"; -// import { useEthersSigner } from "../../contexts/ethers"; -// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -// import { -// configInfo as config, -// showSuccessMessage, -// showErrorMessage, -// } from "../../utils"; -// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; -// import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; - -// const ERC20Transfer: React.FC = () => { -// const classes = useStyles(); -// const signer = useEthersSigner(); -// const { smartAccount, scwAddress } = useSmartAccountContext(); -// const [loading, setLoading] = useState(false); - -// const erc20Transfer = async () => { -// if (!scwAddress || !smartAccount || !signer) { -// showErrorMessage("Please connect wallet first"); -// return; -// } -// try { -// setLoading(true); -// let biconomySmartAccount = smartAccount; -// const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; -// const erc20SessionValidationModuleAddr = ERC20_SESSION_VALIDATION_MODULE; - -// // get session key from local storage -// const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); - -// if (!sessionKeyPrivKey) { -// showErrorMessage("Session key not found"); -// return; -// } -// const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); -// console.log("sessionSigner", sessionSigner); - -// // generate sessionManagerModule -// const sessionManagerModule = await SessionKeyManagerModule.create({ -// moduleAddress: sessionKeyManagerModuleAddr, -// smartAccountAddress: scwAddress, -// }); - -// // set active module to sessionManagerModule -// // This time we will make use of enabled session hence transaction needs to via go through session manager module -// // Hence it is set as runtime active module -// biconomySmartAccount = -// biconomySmartAccount.setActiveValidationModule(sessionManagerModule); - -// const tokenContract = new ethers.Contract( -// config.usdc.address, -// config.usdc.abi, -// signer -// ); -// let decimals = 18; - -// try { -// decimals = await tokenContract.decimals(); -// } catch (error) { -// throw new Error("invalid token address supplied"); -// } - -// const { data } = await tokenContract.populateTransaction.transfer( -// "0x42138576848E839827585A3539305774D36B9602", // receiver address // Has to be the same receiver for which session permissions are set -// ethers.utils.parseUnits("5".toString(), decimals) -// ); - -// // generate tx data to erc20 transfer -// // NOTE: It can only be used for single transaction and not part of batch calldata -// // If you want to make use of batch calldata then you need to use the session router module -// const tx1 = { -// to: config.usdc.address, //erc20 token address -// data: data, -// value: "0", -// }; - -// // build user op -// // with calldata to transfer ERC20 tokens -// let userOp = await biconomySmartAccount.buildUserOp([tx1], { -// skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode -// // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) -// params: { -// sessionSigner: sessionSigner, -// sessionValidationModule: erc20SessionValidationModuleAddr, -// }, -// }); - -// // send user operation -// const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, -// // below params are required for passing on this information to session key manager module to create padded signature -// { -// sessionSigner: sessionSigner, -// sessionValidationModule: erc20SessionValidationModuleAddr, -// // optionally can also provide simulationType -// simulationType: 'validation_and_execution' -// }); - -// console.log("userOpHash", userOpResponse); -// const { transactionHash } = await userOpResponse.waitForTxHash(); -// console.log("txHash", transactionHash); -// showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); -// setLoading(false); -// } catch (err: any) { -// console.error(err); -// setLoading(false); -// showErrorMessage(err.message || "Error in sending the transaction"); -// } -// }; - -// return ( -//
-//

-// Use Cases {"->"} Gasless {"->"} ERC20 Transfer -//

- -//

ERC20 Transfer via Session Key

- -//

-// This is an example to transfer ERC20 tokens makin use of enabled session. -//

- -//
-// ); -// }; - -// const useStyles = makeStyles(() => ({ -// main: { -// padding: "10px 40px", -// color: "#EEEEEE", -// }, -// subTitle: { -// color: "#FFB999", -// fontSize: 36, -// margin: 0, -// }, -// h3Title: { -// color: "#e6e6e6", -// }, -// })); - -// export default ERC20Transfer; +import React, { useState } from "react"; +import { ethers } from "ethers"; +import { makeStyles } from "@mui/styles"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; + +import Button from "../Button"; +import { useEthersSigner } from "../../contexts/ethers"; +import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +import { + configInfo as config, + showSuccessMessage, + showErrorMessage, +} from "../../utils"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; +import { EthersSigner } from "@biconomy-devx/account"; + +const ERC20Transfer: React.FC = () => { + const classes = useStyles(); + const signer = useEthersSigner(); + const { smartAccount, scwAddress } = useSmartAccountContext(); + const [loading, setLoading] = useState(false); + + const erc20Transfer = async () => { + if (!scwAddress || !smartAccount || !signer) { + showErrorMessage("Please connect wallet first"); + return; + } + try { + setLoading(true); + let biconomySmartAccount = smartAccount; + const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; + const erc20SessionValidationModuleAddr = ERC20_SESSION_VALIDATION_MODULE; + + // get session key from local storage + const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + + if (!sessionKeyPrivKey) { + showErrorMessage("Session key not found"); + return; + } + const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); + console.log("sessionSigner", sessionSigner); + + const newSigner = new EthersSigner(sessionSigner, 'ethers') + + // generate sessionManagerModule + const sessionManagerModule = await SessionKeyManagerModule.create({ + moduleAddress: sessionKeyManagerModuleAddr, + smartAccountAddress: scwAddress, + }); + + // set active module to sessionManagerModule + // This time we will make use of enabled session hence transaction needs to via go through session manager module + // Hence it is set as runtime active module + biconomySmartAccount = + biconomySmartAccount.setActiveValidationModule(sessionManagerModule); + + const tokenContract = new ethers.Contract( + config.usdc.address, + config.usdc.abi, + signer + ); + let decimals = 18; + + try { + decimals = await tokenContract.decimals(); + } catch (error) { + throw new Error("invalid token address supplied"); + } + + const { data } = await tokenContract.populateTransaction.transfer( + "0x42138576848E839827585A3539305774D36B9602", // receiver address // Has to be the same receiver for which session permissions are set + ethers.utils.parseUnits("5".toString(), decimals) + ); + + // generate tx data to erc20 transfer + // NOTE: It can only be used for single transaction and not part of batch calldata + // If you want to make use of batch calldata then you need to use the session router module + const tx1 = { + to: config.usdc.address, //erc20 token address + data: data, + value: 0, + }; + + // build user op + // with calldata to transfer ERC20 tokens + let userOp = await biconomySmartAccount.buildUserOp([tx1], { + skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode + // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) + params: { + sessionSigner: newSigner, + sessionValidationModule: erc20SessionValidationModuleAddr, + }, + }); + + // send user operation + const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, + // below params are required for passing on this information to session key manager module to create padded signature + { + sessionSigner: newSigner, + sessionValidationModule: erc20SessionValidationModuleAddr, + // optionally can also provide simulationType + simulationType: 'validation_and_execution' + }); + + console.log("userOpHash", userOpResponse); + const { transactionHash } = await userOpResponse.waitForTxHash(); + console.log("txHash", transactionHash); + showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); + setLoading(false); + } catch (err: any) { + console.error(err); + setLoading(false); + showErrorMessage(err.message || "Error in sending the transaction"); + } + }; + + return ( +
+

+ Use Cases {"->"} Gasless {"->"} ERC20 Transfer +

+ +

ERC20 Transfer via Session Key

+ +

+ This is an example to transfer ERC20 tokens makin use of enabled session. +

+ +
+ ); +}; + +const useStyles = makeStyles(() => ({ + main: { + padding: "10px 40px", + color: "#EEEEEE", + }, + subTitle: { + color: "#FFB999", + fontSize: 36, + margin: 0, + }, + h3Title: { + color: "#e6e6e6", + }, +})); + +export default ERC20Transfer; diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index aa87c05..9aa1940 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -1,149 +1,151 @@ -export {}; -// import React, { useState } from "react"; -// import { ethers } from "ethers"; -// import { makeStyles } from "@mui/styles"; -// import { SessionKeyManagerModule } from "@biconomy/modules"; - -// import Button from "../Button"; -// import { useEthersSigner } from "../../contexts/ethers"; -// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -// import { -// configInfo as config, -// showSuccessMessage, -// showErrorMessage, -// } from "../../utils"; -// import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; -// import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; - -// const HyphenLpUsingSession: React.FC = () => { -// const classes = useStyles(); -// const signer = useEthersSigner(); -// const { smartAccount, scwAddress } = useSmartAccountContext(); -// const [loading, setLoading] = useState(false); - -// const hyphenLpUsingSession = async () => { -// if (!scwAddress || !smartAccount || !signer) { -// showErrorMessage("Please connect wallet first"); -// return; -// } -// try { -// setLoading(true); -// let biconomySmartAccount = smartAccount; -// const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; -// const ccSessionValidationModuleAddr = -// CONTRACT_CALL_SESSION_VALIDATION_MODULE; - -// // get session key from local storage -// const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); - -// if (!sessionKeyPrivKey) { -// showErrorMessage("Session key not found"); -// return; -// } -// const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); -// console.log("sessionSigner", sessionSigner); - -// // generate sessionManagerModule -// const sessionManagerModule = await SessionKeyManagerModule.create({ -// moduleAddress: sessionKeyManagerModuleAddr, -// smartAccountAddress: scwAddress, -// }); - -// // set active module to sessionManagerModule -// // This time we will make use of enabled session hence transaction needs to via go through session manager module -// // Hence it is set as runtime active module -// biconomySmartAccount = -// biconomySmartAccount.setActiveValidationModule(sessionManagerModule); - -// const hyphenContract = new ethers.Contract( -// config.hyphenLP.address, -// config.hyphenLP.abi, -// signer -// ); - -// const addLiquidityData = hyphenContract.interface.encodeFunctionData( -// "addTokenLiquidity", -// [config.usdc.address, ethers.BigNumber.from("1000000")] -// ); // 1 USDC (mumbai USDC has 6 decimals) -// const tx1 = { -// to: config.hyphenLP.address, -// data: addLiquidityData, -// value: "0", -// }; - -// // build user op -// // with calldata to provide LP -// let userOp = await biconomySmartAccount.buildUserOp([tx1], { -// skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode -// // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) -// params: { -// sessionSigner: sessionSigner, -// sessionValidationModule: ccSessionValidationModuleAddr, -// }, -// }); - -// // send user operation -// const userOpResponse = await biconomySmartAccount.sendUserOp( -// userOp, -// // below params are required for passing on this information to session key manager module to create padded signature -// { -// sessionSigner: sessionSigner, -// sessionValidationModule: ccSessionValidationModuleAddr, -// // optionally can also provide simulationType -// simulationType: "validation_and_execution", -// } -// ); - -// console.log("userOpHash", userOpResponse); -// const { transactionHash } = await userOpResponse.waitForTxHash(); -// console.log("txHash", transactionHash); -// showSuccessMessage(`LP Deposit ${transactionHash}`, transactionHash); -// setLoading(false); -// } catch (err: any) { -// console.error(err); -// setLoading(false); -// showErrorMessage(err.message || "Error in sending the transaction"); -// } -// }; - -// return ( -//
-//

-// Use Cases {"->"} Gasless {"->"} Deposit into Hyphen Pool using session -// key -//

- -//

-// Deposit into Hyphen Pool via Session Key -//

- -//

-// This is an example to Deposit into Hyphen Pool making use of enabled -// session. Requires prior approval from smart account -//

- -//
-// ); -// }; - -// const useStyles = makeStyles(() => ({ -// main: { -// padding: "10px 40px", -// color: "#EEEEEE", -// }, -// subTitle: { -// color: "#FFB999", -// fontSize: 36, -// margin: 0, -// }, -// h3Title: { -// color: "#e6e6e6", -// }, -// })); - -// export default HyphenLpUsingSession; +import React, { useState } from "react"; +import { ethers } from "ethers"; +import { makeStyles } from "@mui/styles"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; + +import Button from "../Button"; +import { useEthersSigner } from "../../contexts/ethers"; +import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +import { + configInfo as config, + showSuccessMessage, + showErrorMessage, +} from "../../utils"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; +import { EthersSigner } from "@biconomy-devx/account"; + +const HyphenLpUsingSession: React.FC = () => { + const classes = useStyles(); + const signer = useEthersSigner(); + const { smartAccount, scwAddress } = useSmartAccountContext(); + const [loading, setLoading] = useState(false); + + const hyphenLpUsingSession = async () => { + if (!scwAddress || !smartAccount || !signer) { + showErrorMessage("Please connect wallet first"); + return; + } + try { + setLoading(true); + let biconomySmartAccount = smartAccount; + const sessionKeyManagerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; + const ccSessionValidationModuleAddr = + CONTRACT_CALL_SESSION_VALIDATION_MODULE; + + // get session key from local storage + const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + + if (!sessionKeyPrivKey) { + showErrorMessage("Session key not found"); + return; + } + const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); + console.log("sessionSigner", sessionSigner); + + const newSigner = new EthersSigner(sessionSigner, 'ethers') + + // generate sessionManagerModule + const sessionManagerModule = await SessionKeyManagerModule.create({ + moduleAddress: sessionKeyManagerModuleAddr, + smartAccountAddress: scwAddress, + }); + + // set active module to sessionManagerModule + // This time we will make use of enabled session hence transaction needs to via go through session manager module + // Hence it is set as runtime active module + biconomySmartAccount = + biconomySmartAccount.setActiveValidationModule(sessionManagerModule); + + const hyphenContract = new ethers.Contract( + config.hyphenLP.address, + config.hyphenLP.abi, + signer + ); + + const addLiquidityData = hyphenContract.interface.encodeFunctionData( + "addTokenLiquidity", + [config.usdc.address, ethers.BigNumber.from("1000000")] + ); // 1 USDC (mumbai USDC has 6 decimals) + const tx1 = { + to: config.hyphenLP.address, + data: addLiquidityData, + value: 0, + }; + + // build user op + // with calldata to provide LP + let userOp = await biconomySmartAccount.buildUserOp([tx1], { + skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode + // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) + params: { + sessionSigner: newSigner, + sessionValidationModule: ccSessionValidationModuleAddr, + }, + }); + + // send user operation + const userOpResponse = await biconomySmartAccount.sendUserOp( + userOp, + // below params are required for passing on this information to session key manager module to create padded signature + { + sessionSigner: newSigner, + sessionValidationModule: ccSessionValidationModuleAddr, + // optionally can also provide simulationType + simulationType: "validation_and_execution", + } + ); + + console.log("userOpHash", userOpResponse); + const { transactionHash } = await userOpResponse.waitForTxHash(); + console.log("txHash", transactionHash); + showSuccessMessage(`LP Deposit ${transactionHash}`, transactionHash); + setLoading(false); + } catch (err: any) { + console.error(err); + setLoading(false); + showErrorMessage(err.message || "Error in sending the transaction"); + } + }; + + return ( +
+

+ Use Cases {"->"} Gasless {"->"} Deposit into Hyphen Pool using session + key +

+ +

+ Deposit into Hyphen Pool via Session Key +

+ +

+ This is an example to Deposit into Hyphen Pool making use of enabled + session. Requires prior approval from smart account +

+ +
+ ); +}; + +const useStyles = makeStyles(() => ({ + main: { + padding: "10px 40px", + color: "#EEEEEE", + }, + subTitle: { + color: "#FFB999", + fontSize: 36, + margin: 0, + }, + h3Title: { + color: "#e6e6e6", + }, +})); + +export default HyphenLpUsingSession; diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 4adc6a7..5807ff5 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // import Button from "../Button"; // import { useAccount } from "wagmi"; // import { useEthersSigner } from "../../contexts/ethers"; @@ -18,7 +18,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // const ERC20RouterTransfer: React.FC = () => { // const classes = useStyles(); diff --git a/src/components/TabsBody.tsx b/src/components/TabsBody.tsx index 88d597e..0617af4 100644 --- a/src/components/TabsBody.tsx +++ b/src/components/TabsBody.tsx @@ -38,11 +38,11 @@ import BatchLiquidity from "./AA/BatchLiquidity"; import ForwardFlow from "./Forward"; import MintNftForward from "./Forward/MintNft"; import BatchLiquidityForward from "./Forward/BatchLiquidity"; -// import CreateSession from "./Modules/CreateSession"; -// import CreateCustomSession from "./Modules/CreateSessionForCustomSVM"; -// import SessionFlow from "./Modules"; -// import ERC20Transfer from "./Modules/ERC20TransferUsingSession"; -// import HyphenLpUsingSession from "./Modules/HyphenLpUsingSession"; +import HyphenLpUsingSession from "./Modules/HyphenLpUsingSession"; +import CreateSession from "./Modules/CreateSession"; +import CreateCustomSession from "./Modules/CreateSessionForCustomSVM"; +import SessionFlow from "./Modules"; +import ERC20Transfer from "./Modules/ERC20TransferUsingSession"; // import CreateBatchRouter from "./Modules/CreateSessionsWithBatchRouter"; // import ERC20RouterTransfer from "./Modules/UseSessionsBatch"; @@ -433,10 +433,10 @@ const TabsBody = ({ loading }: { loading: boolean }) => { /> */} - {/* */} + - {/* */} + ); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index 0434449..a9734b9 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,8 +1,8 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; -import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy/account"; +import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; import { useAccount, useWalletClient } from "wagmi"; -import { activeChainId, bundlerUrl, paymasterApi } from "../utils/chainConfig"; -import { MultiChainValidationModule } from "@biconomy/modules"; +import { activeChainId, bundlerUrl, paymasterApiKey } from "../utils/chainConfig"; +// import { MultiChainValidationModule } from "@biconomy-devx/modules"; // Types type smartAccountContextType = { @@ -38,16 +38,15 @@ export const SmartAccountProvider = ({ children }: any) => { try { setLoading(true); // create multiChainModule - const multiChainModule = await MultiChainValidationModule.create({ + /*const multiChainModule = await MultiChainValidationModule.create({ signer: walletClient, moduleAddress: "0x000000824dc138db84FD9109fc154bdad332Aa8E", - }); + });*/ let wallet = await createSmartAccountClient({ chainId: activeChainId, - biconomyPaymasterApiKey: paymasterApi, + biconomyPaymasterApiKey: paymasterApiKey, bundlerUrl: bundlerUrl, - defaultValidationModule: multiChainModule, // TODO: need multichain or ecdsa module? - activeValidationModule: multiChainModule, + signer: walletClient }); setSmartAccount(wallet); diff --git a/src/utils/chainConfig.ts b/src/utils/chainConfig.ts index 7bcd0c3..a1196bb 100644 --- a/src/utils/chainConfig.ts +++ b/src/utils/chainConfig.ts @@ -7,7 +7,7 @@ export const ChainId = { }; export let activeChainId = ChainId.POLYGON_MUMBAI; -export const paymasterApi = "https://paymaster.biconomy.io/api/v1/80001/WEX9LXdFW.13107308-4631-4ba5-9e23-2a8bf8270948"; +export const paymasterApiKey = "WEX9LXdFW.13107308-4631-4ba5-9e23-2a8bf8270948"; export const bundlerUrl = "https://bundler.biconomy.io/api/v2/80001/WEX9LXdFW.13107308-4631-4ba5-9e23-2a8bf8270948"; export const supportedChains = [ diff --git a/yarn.lock b/yarn.lock index 7562d07..76e118e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,6 +22,16 @@ viem "^1.16.2" zod "^3.22.4" +"@alchemy/aa-core@^2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" + integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== + dependencies: + abitype "^0.8.3" + eventemitter3 "^5.0.1" + viem "^1.21.4" + zod "^3.22.4" + "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -1168,6 +1178,55 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@biconomy-devx/account@2.2.8": + version "2.2.8" + resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.8.tgz#c58acaa46d96cc97de66edf232573b3a2b57140b" + integrity sha512-wUyZBBUFS/hAVczVUNxgXnK9NAmJqtVYPLx5H0Gd9FzAnM6mr2fQtClmaNiBtc/vQb1fZ1CmlIL4t1oCdW1Esg== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/bundler" "2.2.8" + "@biconomy-devx/common" "2.2.8" + "@biconomy-devx/modules" "2.2.8" + "@biconomy-devx/paymaster" "2.2.8" + viem "^1.21.4" + +"@biconomy-devx/bundler@2.2.8": + version "2.2.8" + resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.8.tgz#4abba31aff09c49a1ff0c3b53beb27ccf0de3a34" + integrity sha512-vzn2iuLGEnuBQ4Fop7WnW5srn7/tyAtlsRTwNGER6Y6bWd5IdjewJMZ9IZol6BLP6w/AbkqNzNKXm7CxZfjjIw== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/common" "2.2.8" + viem "^1.21.4" + +"@biconomy-devx/common@2.2.8": + version "2.2.8" + resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.8.tgz#125ded41ab73019c871e668df5b3e2b7695f9755" + integrity sha512-if5XxDlnPQioBg9Ic4vk1jemjPlCxkpKZIJKda7ofGxRlEIBa5rkk5556+5zI/I/czvXroSebOpdmAGi2hAT0A== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@ethersproject/abstract-signer" "^5.7.0" + viem "^1.21.4" + +"@biconomy-devx/modules@2.2.8": + version "2.2.8" + resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.8.tgz#9e59d0959dd2e2bca1aff5a2054e91814ba099d4" + integrity sha512-fz47pScn7hXimbeDAYqiGjS2oJXyxkw52EqU1UHM4d8mImoDqntT0ePzes3okPmvVcMePe9yXErnk0/Lw2zH8w== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/common" "2.2.8" + merkletreejs "^0.3.9" + viem "^1.21.4" + +"@biconomy-devx/paymaster@2.2.8": + version "2.2.8" + resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.8.tgz#3f68f19f49ee463e741f530e0c428e09bd114fa9" + integrity sha512-wXA1rv6ALKJzGweOulizZc7j8k/g0I6DLusfaPotcNP/MU4gLZcKqMI6ayn2oJhhzJ+CLZuFUi38m79ABEyy/g== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/common" "2.2.8" + viem "^1.21.4" + "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.2.tgz#7a89bd9e3a06a1f26d4480d8642af33fb0c7e3aa" @@ -1441,6 +1500,20 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== +"@ethereumjs/rlp@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" + integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== + +"@ethereumjs/util@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" + integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== + dependencies: + "@ethereumjs/rlp" "^4.0.1" + ethereum-cryptography "^2.0.0" + micro-ftch "^0.3.1" + "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" @@ -2341,7 +2414,7 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/curves@^1.2.0": +"@noble/curves@1.3.0", "@noble/curves@^1.2.0", "@noble/curves@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== @@ -2581,7 +2654,7 @@ resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.14.0.tgz#9581c524c1ea4956555f40761eb6b4007392aa82" integrity sha512-/dqU66RvHw50n+7x3nwnJedq8V6iLQyoWitNdjx5cFTBmae+rpP+LvHq+LqZfXJVkB1qNytMdjFjdyES0t79gQ== -"@scure/base@~1.1.0", "@scure/base@~1.1.2": +"@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.4": version "1.1.5" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== @@ -2595,6 +2668,15 @@ "@noble/hashes" "~1.3.2" "@scure/base" "~1.1.2" +"@scure/bip32@1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.3.tgz#a9624991dc8767087c57999a5d79488f48eae6c8" + integrity sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ== + dependencies: + "@noble/curves" "~1.3.0" + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@scure/bip39@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" @@ -2603,6 +2685,14 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" +"@scure/bip39@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.2.tgz#f3426813f4ced11a47489cbcf7294aa963966527" + integrity sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA== + dependencies: + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -3133,9 +3223,9 @@ "@types/node" "*" "@types/node@*": - version "20.11.10" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.10.tgz#6c3de8974d65c362f82ee29db6b5adf4205462f9" - integrity sha512-rZEfe/hJSGYmdfX9tvcPMYeYPW2sNl50nsw4jZmRcaG0HIAb0WYEpsB05GOb53vjqpyE9GUhlDQ4jLSoB5q9kg== + version "20.11.12" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.12.tgz#1121e03005516671bd30b4f9cc6b86284291af87" + integrity sha512-N/Az9BkJ6IWCJ3GeKea/vMQLfV37ci1fApx2x5UQvfa0N5OTjR/c17hEkt6Q0LSF6XSF7hcgrd/DOobibskPNw== dependencies: undici-types "~5.26.4" @@ -3145,9 +3235,9 @@ integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== "@types/node@^16.7.13": - version "16.18.76" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.76.tgz#deecdf6b71b9ef45ceda63fec7220ddf2354d7a1" - integrity sha512-/GsO2uv1Z6R42lBr59dtem56gVF/yHKQaScggwU+gLU6DXE25sDmOar4c4IfWb3h+X/7OYZznPOFk7oGF3jQSA== + version "16.18.77" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.77.tgz#85b3b0a7026d9c9caea0e201c78b4433b876ae55" + integrity sha512-zwqAbRkHjGlxH9PBv8i9dmeaDpBRgfQDSFuREMF2Z+WUi8uc13gfRquMV/8LxBqwm+7jBz+doTVkEEA1CIWOnQ== "@types/parse-json@^4.0.0": version "4.0.2" @@ -4540,7 +4630,7 @@ bigint-buffer@^1.1.5: dependencies: bindings "^1.3.0" -bignumber.js@*: +bignumber.js@*, bignumber.js@^9.0.1: version "9.1.2" resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== @@ -4567,6 +4657,11 @@ bluebird@^3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== +bn.js@4.11.6: + version "4.11.6" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" + integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== + bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" @@ -4739,6 +4834,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +buffer-reverse@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/buffer-reverse/-/buffer-reverse-1.0.1.tgz#49283c8efa6f901bc01fa3304d06027971ae2f60" + integrity sha512-M87YIUBsZ6N924W57vDwT/aOu8hw7ZgdByz6ijksLjmHJELBASmYTTlNHRgjE+pTsT9oJXGaDSgqqwfdHotDUg== + buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" @@ -5261,6 +5361,11 @@ crypto-browserify@^3.12.0: randombytes "^2.0.0" randomfill "^1.0.3" +crypto-js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" + integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== + crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" @@ -5286,9 +5391,9 @@ css-has-pseudo@^3.0.4: postcss-selector-parser "^6.0.9" css-loader@^6.5.1: - version "6.9.1" - resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.9.1.tgz#9ec9a434368f2bdfeffbf8f6901a1ce773586c6b" - integrity sha512-OzABOh0+26JKFdMzlK6PY1u5Zx8+Ck7CVRlcGNZoY9qwJjdfu2VWFuprTIpPW+Av5TZTVViYWcFQaEEQURLknQ== + version "6.10.0" + resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-6.10.0.tgz#7c172b270ec7b833951b52c348861206b184a4b7" + integrity sha512-LTSA/jWbwdMlk+rhmElbDR2vbtQoTBPr7fkJE+mxrHj+7ru0hUmHafDRzWIjIHTwpitWVaqY2/UWGRca3yUgRw== dependencies: icss-utils "^5.1.0" postcss "^8.4.33" @@ -5831,9 +5936,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.648: - version "1.4.648" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.648.tgz#c7b46c9010752c37bb4322739d6d2dd82354fbe4" - integrity sha512-EmFMarXeqJp9cUKu/QEciEApn0S/xRcpZWuAm32U7NgoZCimjsilKXHRO9saeEW55eHZagIDg6XTUOv32w9pjg== + version "1.4.651" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.651.tgz#ef1e822233c6fc953df3caf943f78c21b254a080" + integrity sha512-jjks7Xx+4I7dslwsbaFocSwqBbGHQmuXBJUK9QBZTIrzPq3pzn6Uf2szFSP728FtLYE3ldiccmlkOM/zhGKCpA== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6389,6 +6494,23 @@ eth-rpc-errors@^4.0.2: dependencies: fast-safe-stringify "^2.0.6" +ethereum-bloom-filters@^1.0.6: + version "1.0.10" + resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" + integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== + dependencies: + js-sha3 "^0.8.0" + +ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.3.tgz#1352270ed3b339fe25af5ceeadcf1b9c8e30768a" + integrity sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA== + dependencies: + "@noble/curves" "1.3.0" + "@noble/hashes" "1.3.3" + "@scure/bip32" "1.3.3" + "@scure/bip39" "1.2.2" + ethers@^5.6.9: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" @@ -6425,6 +6547,14 @@ ethers@^5.6.9: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" +ethjs-unit@0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" + integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== + dependencies: + bn.js "4.11.6" + number-to-bn "1.7.0" + eventemitter3@^4.0.0, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -7539,6 +7669,11 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" +is-hex-prefixed@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" + integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== + is-in-browser@^1.0.2, is-in-browser@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835" @@ -8323,7 +8458,7 @@ jiti@^1.19.1, jiti@^1.21.0: resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== -js-sha3@0.8.0: +js-sha3@0.8.0, js-sha3@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== @@ -8910,11 +9045,27 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== +merkletreejs@^0.3.9: + version "0.3.11" + resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.11.tgz#e0de05c3ca1fd368de05a12cb8efb954ef6fc04f" + integrity sha512-LJKTl4iVNTndhL+3Uz/tfkjD0klIWsHlUzgtuNnNrsf7bAlXR30m+xYB7lHr5Z/l6e/yAIsr26Dabx6Buo4VGQ== + dependencies: + bignumber.js "^9.0.1" + buffer-reverse "^1.0.1" + crypto-js "^4.2.0" + treeify "^1.1.0" + web3-utils "^1.3.4" + methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== +micro-ftch@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" + integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== + micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -9220,6 +9371,14 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" +number-to-bn@1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" + integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== + dependencies: + bn.js "4.11.6" + strip-hex-prefix "1.0.0" + nwsapi@^2.2.0: version "2.2.7" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" @@ -11572,6 +11731,13 @@ strip-final-newline@^3.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== +strip-hex-prefix@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" + integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== + dependencies: + is-hex-prefixed "1.0.0" + strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -11902,6 +12068,11 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +treeify@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" + integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A== + tryer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" @@ -12028,9 +12199,9 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@5.2.0: - version "5.1.6" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.1.6.tgz#02f8ac202b6dad2c0dd5e0913745b47a37998274" - integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== + version "5.2.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" + integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== ua-parser-js@^1.0.37: version "1.0.37" @@ -12234,6 +12405,11 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" +utf8@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" + integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== + util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -12297,7 +12473,7 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.6.0: +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: version "1.21.4" resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== @@ -12364,6 +12540,20 @@ web-vitals@^2.1.0: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-2.1.4.tgz#76563175a475a5e835264d373704f9dde718290c" integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== +web3-utils@^1.3.4: + version "1.10.3" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" + integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== + dependencies: + "@ethereumjs/util" "^8.1.0" + bn.js "^5.2.1" + ethereum-bloom-filters "^1.0.6" + ethereum-cryptography "^2.1.2" + ethjs-unit "0.1.6" + number-to-bn "1.7.0" + randombytes "^2.1.0" + utf8 "3.0.0" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" From 82ff870d3735a412edfc9137971376fb17a94307 Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Thu, 1 Feb 2024 20:48:40 +0400 Subject: [PATCH 05/13] update latest code --- package.json | 4 - src/components/AA/BatchLiquidity.tsx | 2 +- src/components/AA/MintNft.tsx | 2 +- src/components/Forward/BatchLiquidity.tsx | 2 +- src/components/Forward/MintNft.tsx | 2 +- src/components/Modules/CreateSession.tsx | 4 +- .../Modules/CreateSessionForCustomSVM.tsx | 12 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 4 +- .../Modules/ERC20TransferUsingSession.tsx | 6 +- .../Modules/HyphenLpUsingSession.tsx | 6 +- src/components/Modules/UseSessionsBatch.tsx | 4 +- src/contexts/SmartAccountContext.tsx | 4 +- yarn.lock | 404 +++++------------- 13 files changed, 123 insertions(+), 333 deletions(-) diff --git a/package.json b/package.json index 0127743..a87a836 100644 --- a/package.json +++ b/package.json @@ -3,10 +3,6 @@ "version": "1.0.0", "private": true, "dependencies": { - "@biconomy-devx/account": "2.2.8", - "@biconomy-devx/modules": "2.2.8", - "@biconomy-devx/paymaster": "2.2.8", - "@biconomy-devx/bundler": "2.2.8", "@alchemy/aa-core": "1.2.2", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index b6ba65d..1f5c328 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -8,7 +8,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy-devx/paymaster"; +import { PaymasterMode } from "@biconomy/paymaster"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 32bdb12..b7d4e24 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -9,7 +9,7 @@ import { showErrorMessage, showSuccessMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy-devx/paymaster"; +import { PaymasterMode } from "@biconomy/paymaster"; const MintNft: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index ebc5e32..59f60c7 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy-devx/paymaster"; +} from "@biconomy/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index fbb94fe..98e353b 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy-devx/paymaster"; +} from "@biconomy/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index fd1e671..426a61d 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -3,8 +3,8 @@ import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { SessionKeyManagerModule } from "@biconomy/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index 225e4db..508686d 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -11,8 +11,8 @@ import { slice, } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { SessionKeyManagerModule } from "@biconomy/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { @@ -107,9 +107,13 @@ const CreateCustomSession: React.FC = () => { config.hyphenLP.address, slice(getFunctionSelector("addTokenLiquidity(address,uint256)"), 0, 4), ]; + const sessionKeyData = encodeAbiParameters( - parseAbiParameters("address, tuple(address, bytes4)"), - [sessionKeyEOA, permission] + [{ type: "address" }, { type: "tuple(address, bytes4)" }], + [ + sessionKeyEOA, + permission + ], ); // Below helper gives you tx data to be used to make a call from Smart Account to enable session on-chain diff --git a/src/components/Modules/CreateSessionsWithBatchRouter.tsx b/src/components/Modules/CreateSessionsWithBatchRouter.tsx index e8d7501..092cd5d 100644 --- a/src/components/Modules/CreateSessionsWithBatchRouter.tsx +++ b/src/components/Modules/CreateSessionsWithBatchRouter.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // import { useAccount } from "wagmi"; // import Button from "../Button"; // import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; @@ -15,7 +15,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // const CreateBatchRouter: React.FC = () => { // const classes = useStyles(); diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index f6fe6c6..56fb081 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -1,7 +1,7 @@ import React, { useState } from "react"; import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { SessionKeyManagerModule } from "@biconomy/modules"; import Button from "../Button"; import { useEthersSigner } from "../../contexts/ethers"; @@ -11,9 +11,9 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { EthersSigner } from "@biconomy-devx/account"; +import { EthersSigner } from "@biconomy/account"; const ERC20Transfer: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index 9aa1940..a96e091 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -1,7 +1,7 @@ import React, { useState } from "react"; import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { SessionKeyManagerModule } from "@biconomy/modules"; import Button from "../Button"; import { useEthersSigner } from "../../contexts/ethers"; @@ -11,9 +11,9 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { EthersSigner } from "@biconomy-devx/account"; +import { EthersSigner } from "@biconomy/account"; const HyphenLpUsingSession: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 5807ff5..4adc6a7 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // import Button from "../Button"; // import { useAccount } from "wagmi"; // import { useEthersSigner } from "../../contexts/ethers"; @@ -18,7 +18,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy-devx/modules"; +// } from "@biconomy/modules"; // const ERC20RouterTransfer: React.FC = () => { // const classes = useStyles(); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index a9734b9..d6d9f8c 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,8 +1,8 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; -import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; +import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy/account"; import { useAccount, useWalletClient } from "wagmi"; import { activeChainId, bundlerUrl, paymasterApiKey } from "../utils/chainConfig"; -// import { MultiChainValidationModule } from "@biconomy-devx/modules"; +// import { MultiChainValidationModule } from "@biconomy/modules"; // Types type smartAccountContextType = { diff --git a/yarn.lock b/yarn.lock index 76e118e..e098168 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,16 +22,6 @@ viem "^1.16.2" zod "^3.22.4" -"@alchemy/aa-core@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" - integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== - dependencies: - abitype "^0.8.3" - eventemitter3 "^5.0.1" - viem "^1.21.4" - zod "^3.22.4" - "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -89,9 +79,9 @@ semver "^6.3.1" "@babel/eslint-parser@^7.16.3": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.9.tgz#052c13b39144e21fdd1e03fc9b67e98976a1ebfc" - integrity sha512-xPndlO7qxiJbn0ATvfXQBjCS7qApc9xmKHArgI/FTEFxXas5dnjC/VqM37lfZun9dclRYcn+YQAr6uDFy0bB2g== + version "7.23.10" + resolved "https://registry.yarnpkg.com/@babel/eslint-parser/-/eslint-parser-7.23.10.tgz#2d4164842d6db798873b40e0c4238827084667a2" + integrity sha512-3wSYDPZVnhseRnxRJH6ZVTNknBz76AEnyC+AYYhasjP3Yy23qz0ERR7Fcd2SHmYuSFJ2kY9gaaDd3vyqU09eSw== dependencies: "@nicolo-ribaudo/eslint-scope-5-internals" "5.1.1-v1" eslint-visitor-keys "^2.1.0" @@ -133,9 +123,9 @@ semver "^6.3.1" "@babel/helper-create-class-features-plugin@^7.18.6", "@babel/helper-create-class-features-plugin@^7.22.15", "@babel/helper-create-class-features-plugin@^7.23.6", "@babel/helper-create-class-features-plugin@^7.23.9": - version "7.23.9" - resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.9.tgz#fddfdf51fca28f23d16b9e3935a4732690acfad6" - integrity sha512-B2L9neXTIyPQoXDm+NtovPvG6VOLWnaXu3BIeVDWwdKFgG30oNa6CqVGiJPDWQwIAK49t9gnQI9c6K6RzabiKw== + version "7.23.10" + resolved "https://registry.yarnpkg.com/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.23.10.tgz#25d55fafbaea31fd0e723820bb6cc3df72edf7ea" + integrity sha512-2XpP2XhkXzgxecPNEEK8Vz8Asj9aRxt08oKOqtiZoqV2UGZ5T+EkyP9sXQ9nwMxBIG34a7jmasVqoMop7VdPUw== dependencies: "@babel/helper-annotate-as-pure" "^7.22.5" "@babel/helper-environment-visitor" "^7.22.20" @@ -1132,7 +1122,7 @@ resolved "https://registry.yarnpkg.com/@babel/regjsgen/-/regjsgen-0.8.0.tgz#f0ba69b075e1f05fb2825b7fad991e7adbb18310" integrity sha512-x/rqGMdzj+fWZvCOYForTghzbtqPDZ5gPwaoNGHdgDfF2QA/XZbCBp4Moo5scrkAMPhB7z26XM/AaHuIJdgauA== -"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.23.8", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": +"@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.18.3", "@babel/runtime@^7.23.2", "@babel/runtime@^7.23.4", "@babel/runtime@^7.23.9", "@babel/runtime@^7.3.1", "@babel/runtime@^7.5.5", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.4", "@babel/runtime@^7.8.7": version "7.23.9" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.9.tgz#47791a15e4603bb5f905bc0753801cf21d6345f7" integrity sha512-0CX6F+BI2s9dkUqr08KFrAIZgNFj75rdBU/DjCyYLIaV/quFjkk6T+EJ2LkZHyZTbEV4L5p97mNkUsHl2wLFAw== @@ -1178,55 +1168,6 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account@2.2.8": - version "2.2.8" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.8.tgz#c58acaa46d96cc97de66edf232573b3a2b57140b" - integrity sha512-wUyZBBUFS/hAVczVUNxgXnK9NAmJqtVYPLx5H0Gd9FzAnM6mr2fQtClmaNiBtc/vQb1fZ1CmlIL4t1oCdW1Esg== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/bundler" "2.2.8" - "@biconomy-devx/common" "2.2.8" - "@biconomy-devx/modules" "2.2.8" - "@biconomy-devx/paymaster" "2.2.8" - viem "^1.21.4" - -"@biconomy-devx/bundler@2.2.8": - version "2.2.8" - resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.8.tgz#4abba31aff09c49a1ff0c3b53beb27ccf0de3a34" - integrity sha512-vzn2iuLGEnuBQ4Fop7WnW5srn7/tyAtlsRTwNGER6Y6bWd5IdjewJMZ9IZol6BLP6w/AbkqNzNKXm7CxZfjjIw== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.8" - viem "^1.21.4" - -"@biconomy-devx/common@2.2.8": - version "2.2.8" - resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.8.tgz#125ded41ab73019c871e668df5b3e2b7695f9755" - integrity sha512-if5XxDlnPQioBg9Ic4vk1jemjPlCxkpKZIJKda7ofGxRlEIBa5rkk5556+5zI/I/czvXroSebOpdmAGi2hAT0A== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@ethersproject/abstract-signer" "^5.7.0" - viem "^1.21.4" - -"@biconomy-devx/modules@2.2.8": - version "2.2.8" - resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.8.tgz#9e59d0959dd2e2bca1aff5a2054e91814ba099d4" - integrity sha512-fz47pScn7hXimbeDAYqiGjS2oJXyxkw52EqU1UHM4d8mImoDqntT0ePzes3okPmvVcMePe9yXErnk0/Lw2zH8w== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.8" - merkletreejs "^0.3.9" - viem "^1.21.4" - -"@biconomy-devx/paymaster@2.2.8": - version "2.2.8" - resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.8.tgz#3f68f19f49ee463e741f530e0c428e09bd114fa9" - integrity sha512-wXA1rv6ALKJzGweOulizZc7j8k/g0I6DLusfaPotcNP/MU4gLZcKqMI6ayn2oJhhzJ+CLZuFUi38m79ABEyy/g== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.8" - viem "^1.21.4" - "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.2.tgz#7a89bd9e3a06a1f26d4480d8642af33fb0c7e3aa" @@ -1500,20 +1441,6 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== -"@ethereumjs/rlp@^4.0.1": - version "4.0.1" - resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" - integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== - -"@ethereumjs/util@^8.1.0": - version "8.1.0" - resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" - integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== - dependencies: - "@ethereumjs/rlp" "^4.0.1" - ethereum-cryptography "^2.0.0" - micro-ftch "^0.3.1" - "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" @@ -1871,7 +1798,7 @@ "@floating-ui/core" "^1.6.0" "@floating-ui/utils" "^0.2.1" -"@floating-ui/react-dom@^2.0.6": +"@floating-ui/react-dom@^2.0.8": version "2.0.8" resolved "https://registry.yarnpkg.com/@floating-ui/react-dom/-/react-dom-2.0.8.tgz#afc24f9756d1b433e1fe0d047c24bd4d9cefaa5d" integrity sha512-HOdqOt3R3OGeTKidaLvJKcgg75S6tibQ3Tif4eyd91QnIJWr0NLvoXFpJA/j8HqkFSL68GDca9AuyWEHlhyClw== @@ -2191,9 +2118,9 @@ integrity sha512-Hcv+nVC0kZnQ3tD9GVu5xSMR4VVYOteQIr/hwFPVEvPdlXqgGEuRjiheChHgdM+JyqdgNcmzZOX/tnl0JOiI7A== "@lit-labs/ssr-dom-shim@^1.0.0", "@lit-labs/ssr-dom-shim@^1.1.0": - version "1.1.2" - resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.1.2.tgz#d693d972974a354034454ec1317eb6afd0b00312" - integrity sha512-jnOD+/+dSrfTWYfSXBXlo5l5f0q1UuJo3tkbMDCYA2lKUYq79jaxqtGEvnRoh049nt1vdo1+45RinipU6FGY2g== + version "1.2.0" + resolved "https://registry.yarnpkg.com/@lit-labs/ssr-dom-shim/-/ssr-dom-shim-1.2.0.tgz#353ce4a76c83fadec272ea5674ede767650762fd" + integrity sha512-yWJKmpGE6lUURKAaIltoPIE/wrbY3TEkqQt+X0m+7fQNnAv0keydnYvbiJFP1PnMhizmIWRWOG5KLhYyc/xl+g== "@lit/reactive-element@^1.3.0", "@lit/reactive-element@^1.6.0": version "1.6.3" @@ -2286,42 +2213,42 @@ "@motionone/dom" "^10.16.4" tslib "^2.3.1" -"@mui/base@5.0.0-beta.33": - version "5.0.0-beta.33" - resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.33.tgz#fbb844e2d840d47dd7a48850a03152aed2381d10" - integrity sha512-WcSpoJUw/UYHXpvgtl4HyMar2Ar97illUpqiS/X1gtSBp6sdDW6kB2BJ9OlVQ+Kk/RL2GDp/WHA9sbjAYV35ow== +"@mui/base@5.0.0-beta.34": + version "5.0.0-beta.34" + resolved "https://registry.yarnpkg.com/@mui/base/-/base-5.0.0-beta.34.tgz#44b0f203250a6e3b2d810f37c9720d114182abd0" + integrity sha512-e2mbTGTtReD/y5RFwnhkl1Tgl3XwgJhY040IlfkTVaU9f5LWrVhEnpRsYXu3B1CtLrwiWs4cu7aMHV9yRd4jpw== dependencies: - "@babel/runtime" "^7.23.8" - "@floating-ui/react-dom" "^2.0.6" + "@babel/runtime" "^7.23.9" + "@floating-ui/react-dom" "^2.0.8" "@mui/types" "^7.2.13" - "@mui/utils" "^5.15.6" + "@mui/utils" "^5.15.7" "@popperjs/core" "^2.11.8" clsx "^2.1.0" prop-types "^15.8.1" -"@mui/core-downloads-tracker@^5.15.6": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.6.tgz#9b82ba86d5a0fe55e9479b68dd5068943cc3835b" - integrity sha512-0aoWS4qvk1uzm9JBs83oQmIMIQeTBUeqqu8u+3uo2tMznrB5fIKqQVCbCgq+4Tm4jG+5F7dIvnjvQ2aV7UKtdw== +"@mui/core-downloads-tracker@^5.15.7": + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/core-downloads-tracker/-/core-downloads-tracker-5.15.7.tgz#78a0e98ecbd84906bf7339f780e8f41c5d505754" + integrity sha512-AuF+Wo2Mp/edaO6vJnWjg+gj4tzEz5ChMZnAQpc22DXpSvM8ddgGcZvM7D7F99pIBoSv8ub+Iz0viL+yuGVmhg== "@mui/icons-material@^5.11.11": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.6.tgz#6958232bef48972fcbafd5f69e6079a9be5951f1" - integrity sha512-GnkxMtlhs+8ieHLmCytg00ew0vMOiXGFCw8Ra9nxMsBjBqnrOI5gmXqUm+sGggeEU/HG8HyeqC1MX/IxOBJHzA== + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/icons-material/-/icons-material-5.15.7.tgz#6b1cc370894f505b756fa1aa1cbd25b5890d54d5" + integrity sha512-EDAc8TVJGIA/imAvR3u4nANl2W5h3QeHieu2gK7Ypez/nIA55p08tHjf8UrMXEpxCAvfZO6piY9S9uaxETdicA== dependencies: - "@babel/runtime" "^7.23.8" + "@babel/runtime" "^7.23.9" "@mui/material@^5.11.12": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.6.tgz#e32944ae4e01f85b314bc26e4cbbb700d598f30c" - integrity sha512-rw7bDdpi2kzfmcDN78lHp8swArJ5sBCKsn+4G3IpGfu44ycyWAWX0VdlvkjcR9Yrws2KIm7c+8niXpWHUDbWoA== - dependencies: - "@babel/runtime" "^7.23.8" - "@mui/base" "5.0.0-beta.33" - "@mui/core-downloads-tracker" "^5.15.6" - "@mui/system" "^5.15.6" + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/material/-/material-5.15.7.tgz#8496d8a2b9f0409a0f82b93f819a48f6f82bc12f" + integrity sha512-l6+AiKZH3iOJmZCnlpel8ghYQe9Lq0BEuKP8fGj3g5xz4arO9GydqYAtLPMvuHKtArj8lJGNuT2yHYxmejincA== + dependencies: + "@babel/runtime" "^7.23.9" + "@mui/base" "5.0.0-beta.34" + "@mui/core-downloads-tracker" "^5.15.7" + "@mui/system" "^5.15.7" "@mui/types" "^7.2.13" - "@mui/utils" "^5.15.6" + "@mui/utils" "^5.15.7" "@types/react-transition-group" "^4.4.10" clsx "^2.1.0" csstype "^3.1.2" @@ -2329,35 +2256,35 @@ react-is "^18.2.0" react-transition-group "^4.4.5" -"@mui/private-theming@^5.15.6": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.15.6.tgz#224819694ed76df041b1257256152a45d1fd733d" - integrity sha512-ZBX9E6VNUSscUOtU8uU462VvpvBS7eFl5VfxAzTRVQBHflzL+5KtnGrebgf6Nd6cdvxa1o0OomiaxSKoN2XDmg== +"@mui/private-theming@^5.15.7": + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/private-theming/-/private-theming-5.15.7.tgz#a1b2aeac22ac2b71cd18f7ac61bb10dd6adfe173" + integrity sha512-bcEeeXm7GyQCQvN9dwo8htGv8/6tP05p0i02Z7GXm5EoDPlBcqTNGugsjNLoGq6B0SsdyanjJGw0Jw00o1yAOA== dependencies: - "@babel/runtime" "^7.23.8" - "@mui/utils" "^5.15.6" + "@babel/runtime" "^7.23.9" + "@mui/utils" "^5.15.7" prop-types "^15.8.1" -"@mui/styled-engine@^5.15.6": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.15.6.tgz#3f4a8804de6ddeee17cb52ec92225686f423398a" - integrity sha512-KAn8P8xP/WigFKMlEYUpU9z2o7jJnv0BG28Qu1dhNQVutsLVIFdRf5Nb+0ijp2qgtcmygQ0FtfRuXv5LYetZTg== +"@mui/styled-engine@^5.15.7": + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/styled-engine/-/styled-engine-5.15.7.tgz#011fd98d57af927b1a744efc0186089bd0add57b" + integrity sha512-ixSdslOjK1kzdGcxqj7O3d14By/LPQ7EWknsViQ8RaeT863EAQemS+zvUJDTcOpkfJh6q6gPnYMIb2TJCs9eWA== dependencies: - "@babel/runtime" "^7.23.8" + "@babel/runtime" "^7.23.9" "@emotion/cache" "^11.11.0" csstype "^3.1.2" prop-types "^15.8.1" "@mui/styles@^5.11.12": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.15.6.tgz#128529bf50e7055974e48e51e9bf67fc8e143fcf" - integrity sha512-5WYJ4KjJ4eMEgWcqY8lPr1hbte5mw7/zVgB7IjonoyIEnG9JPKbT/ma4QW5Rm3q/dUxmpngrRdh60fZPIhQpfw== + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/styles/-/styles-5.15.7.tgz#f73d4967c51aaa8aca8edd84b3829a8edf4e9c3f" + integrity sha512-3F/ZIPyVLz5mlc6fZRSdfj8i3JBn+lPrXikFJ5NlK2n23cXZSEYe14hpbYRCflxumPNnvSjkYnGc/RvBgb5ZAQ== dependencies: - "@babel/runtime" "^7.23.8" + "@babel/runtime" "^7.23.9" "@emotion/hash" "^0.9.1" - "@mui/private-theming" "^5.15.6" + "@mui/private-theming" "^5.15.7" "@mui/types" "^7.2.13" - "@mui/utils" "^5.15.6" + "@mui/utils" "^5.15.7" clsx "^2.1.0" csstype "^3.1.2" hoist-non-react-statics "^3.3.2" @@ -2371,16 +2298,16 @@ jss-plugin-vendor-prefixer "^10.10.0" prop-types "^15.8.1" -"@mui/system@^5.15.6": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.6.tgz#d278adb09d57ee21f4eef2f6bc335bf9bd062fca" - integrity sha512-J01D//u8IfXvaEHMBQX5aO2l7Q+P15nt96c4NskX7yp5/+UuZP8XCQJhtBtLuj+M2LLyXHYGmCPeblsmmscP2Q== +"@mui/system@^5.15.7": + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/system/-/system-5.15.7.tgz#5ded95c14c78e0a2b5cb9a8643c6fc05c621be7f" + integrity sha512-9alZ4/dLxsTwUOdqakgzxiL5YW6ntqj0CfzWImgWnBMTZhgGcPsbYpBLniNkkk7/jptma4/bykWXHwju/ls/pg== dependencies: - "@babel/runtime" "^7.23.8" - "@mui/private-theming" "^5.15.6" - "@mui/styled-engine" "^5.15.6" + "@babel/runtime" "^7.23.9" + "@mui/private-theming" "^5.15.7" + "@mui/styled-engine" "^5.15.7" "@mui/types" "^7.2.13" - "@mui/utils" "^5.15.6" + "@mui/utils" "^5.15.7" clsx "^2.1.0" csstype "^3.1.2" prop-types "^15.8.1" @@ -2390,12 +2317,12 @@ resolved "https://registry.yarnpkg.com/@mui/types/-/types-7.2.13.tgz#d1584912942f9dc042441ecc2d1452be39c666b8" integrity sha512-qP9OgacN62s+l8rdDhSFRe05HWtLLJ5TGclC9I1+tQngbssu0m2dmFZs+Px53AcOs9fD7TbYd4gc9AXzVqO/+g== -"@mui/utils@^5.15.6": - version "5.15.6" - resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.15.6.tgz#bbcc302b8e83e360a87230afe3ed8fc99e29fae9" - integrity sha512-qfEhf+zfU9aQdbzo1qrSWlbPQhH1nCgeYgwhOVnj9Bn39shJQitEnXpSQpSNag8+uty5Od6PxmlNKPTnPySRKA== +"@mui/utils@^5.15.7": + version "5.15.7" + resolved "https://registry.yarnpkg.com/@mui/utils/-/utils-5.15.7.tgz#a71e08c4a2f5ba9c8a07106083ebf1b4c864ebb1" + integrity sha512-8qhsxQRNV6aEOjjSk6YQIYJxkF5klhj8oG1FEEU4z6HV78TjNqRxMP08QGcdsibEbez+nihAaz6vu83b4XqbAg== dependencies: - "@babel/runtime" "^7.23.8" + "@babel/runtime" "^7.23.9" "@types/prop-types" "^15.7.11" prop-types "^15.8.1" react-is "^18.2.0" @@ -2414,7 +2341,7 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/curves@1.3.0", "@noble/curves@^1.2.0", "@noble/curves@~1.3.0": +"@noble/curves@^1.2.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== @@ -2570,15 +2497,14 @@ integrity sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A== "@rainbow-me/rainbowkit@^1.2.0": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-1.3.3.tgz#3826f7a4e6827c35f876a4c3008da43a8cbfed28" - integrity sha512-IsUlBCy4SZfo6zFEZgPvGr1MLe/rK4sZzoBtYHRPjRqDHTXrYqDsp3ThTIZWh2HSIq0jU5gMA/94mFnT5kwMLA== + version "1.3.4" + resolved "https://registry.yarnpkg.com/@rainbow-me/rainbowkit/-/rainbowkit-1.3.4.tgz#e506b48e92a7cb4c155530090a6300efcbe5446b" + integrity sha512-mGs+PQfl/sZXPlQCXSkfmIpmpHehn/lfIwbY8zFe4NBc+Pa4y1HbKIAdORz+yZbbwC3GFXSkloEFPD9qXd4JQg== dependencies: "@vanilla-extract/css" "1.14.0" "@vanilla-extract/dynamic" "2.1.0" "@vanilla-extract/sprinkles" "1.6.1" clsx "2.1.0" - i18n-js "^4.3.2" qrcode "1.5.3" react-remove-scroll "2.5.7" ua-parser-js "^1.0.37" @@ -2654,7 +2580,7 @@ resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.14.0.tgz#9581c524c1ea4956555f40761eb6b4007392aa82" integrity sha512-/dqU66RvHw50n+7x3nwnJedq8V6iLQyoWitNdjx5cFTBmae+rpP+LvHq+LqZfXJVkB1qNytMdjFjdyES0t79gQ== -"@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.4": +"@scure/base@~1.1.0", "@scure/base@~1.1.2": version "1.1.5" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== @@ -2668,15 +2594,6 @@ "@noble/hashes" "~1.3.2" "@scure/base" "~1.1.2" -"@scure/bip32@1.3.3": - version "1.3.3" - resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.3.tgz#a9624991dc8767087c57999a5d79488f48eae6c8" - integrity sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ== - dependencies: - "@noble/curves" "~1.3.0" - "@noble/hashes" "~1.3.2" - "@scure/base" "~1.1.4" - "@scure/bip39@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" @@ -2685,14 +2602,6 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" -"@scure/bip39@1.2.2": - version "1.2.2" - resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.2.tgz#f3426813f4ced11a47489cbcf7294aa963966527" - integrity sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA== - dependencies: - "@noble/hashes" "~1.3.2" - "@scure/base" "~1.1.4" - "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -3223,9 +3132,9 @@ "@types/node" "*" "@types/node@*": - version "20.11.12" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.12.tgz#1121e03005516671bd30b4f9cc6b86284291af87" - integrity sha512-N/Az9BkJ6IWCJ3GeKea/vMQLfV37ci1fApx2x5UQvfa0N5OTjR/c17hEkt6Q0LSF6XSF7hcgrd/DOobibskPNw== + version "20.11.15" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.15.tgz#b853a86cfedbc768360c552b4653302b4e7417bf" + integrity sha512-gscmuADZfvNULx1eyirVbr3kVOVZtpQtzKMCZpeSZcN6MfbkRXAR4s9/gsQ4CzxLHw6EStDtKLNtSDL3vbq05A== dependencies: undici-types "~5.26.4" @@ -3235,9 +3144,9 @@ integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== "@types/node@^16.7.13": - version "16.18.77" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.77.tgz#85b3b0a7026d9c9caea0e201c78b4433b876ae55" - integrity sha512-zwqAbRkHjGlxH9PBv8i9dmeaDpBRgfQDSFuREMF2Z+WUi8uc13gfRquMV/8LxBqwm+7jBz+doTVkEEA1CIWOnQ== + version "16.18.78" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.78.tgz#3d97264128712f2eb59f1f8456bcfc5d56d8105c" + integrity sha512-2poPMDdsGfvhcLmgJZ85QrIfN6z3PijYRMiV0FWIEUiQW/t/lzH7BEm4vN+HMhjZXbtIKssMcAxTcgu4Rm83YA== "@types/parse-json@^4.0.0": version "4.0.2" @@ -3284,9 +3193,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^18.0.0": - version "18.2.48" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.48.tgz#11df5664642d0bd879c1f58bc1d37205b064e8f1" - integrity sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w== + version "18.2.51" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.51.tgz#01ede6dfc712796257a3443bf8d613149e5c322a" + integrity sha512-XeoMaU4CzyjdRr3c4IQQtiH7Rpo18V07rYZUucEZQwOUEtGgTXv7e6igQiQ+xnV6MbMe1qjEmKdgMNnfppnXfg== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -4428,9 +4337,9 @@ autoprefixer@^10.4.13: postcss-value-parser "^4.2.0" available-typed-arrays@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz#92f95616501069d07d10edb2fc37d3e1c65123b7" - integrity sha512-DMD0KiN46eipeziST1LPP/STfDU0sufISXmjSgvVsoU2tqxctQeASejWcfNtxYKqETM1UxQ8sp2OrSBWpHY6sw== + version "1.0.6" + resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.6.tgz#ac812d8ce5a6b976d738e1c45f08d0b00bc7d725" + integrity sha512-j1QzY8iPNPG4o4xmO3ptzpRxTciqD3MgEHtifP/YnJpIo58Xu+ne4BejlbkuaLfXn/nz6HFiw29bLpj2PNMdGg== axe-core@=4.7.0: version "4.7.0" @@ -4630,11 +4539,6 @@ bigint-buffer@^1.1.5: dependencies: bindings "^1.3.0" -bignumber.js@*, bignumber.js@^9.0.1: - version "9.1.2" - resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" - integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== - binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" @@ -4657,11 +4561,6 @@ bluebird@^3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@4.11.6: - version "4.11.6" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" - integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== - bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" @@ -4834,11 +4733,6 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== -buffer-reverse@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/buffer-reverse/-/buffer-reverse-1.0.1.tgz#49283c8efa6f901bc01fa3304d06027971ae2f60" - integrity sha512-M87YIUBsZ6N924W57vDwT/aOu8hw7ZgdByz6ijksLjmHJELBASmYTTlNHRgjE+pTsT9oJXGaDSgqqwfdHotDUg== - buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" @@ -4934,9 +4828,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001578, caniuse-lite@^1.0.30001580: - version "1.0.30001581" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001581.tgz#0dfd4db9e94edbdca67d57348ebc070dece279f4" - integrity sha512-whlTkwhqV2tUmP3oYhtNfaWGYHDdS3JYFQBKXxcUR9qqPWsRhFHhoISO2Xnl/g0xyKzht9mI1LZpiNWfMzHixQ== + version "1.0.30001582" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001582.tgz#db3070547ce0b48d9f44a509b86c4a02ba5d9055" + integrity sha512-vsJG3V5vgfduaQGVxL53uSX/HUzxyr2eA8xCo36OLal7sRcSZbibJtLeh0qja4sFOr/QQGt4opB4tOy+eOgAxg== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5361,11 +5255,6 @@ crypto-browserify@^3.12.0: randombytes "^2.0.0" randomfill "^1.0.3" -crypto-js@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" - integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== - crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" @@ -5936,9 +5825,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.648: - version "1.4.651" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.651.tgz#ef1e822233c6fc953df3caf943f78c21b254a080" - integrity sha512-jjks7Xx+4I7dslwsbaFocSwqBbGHQmuXBJUK9QBZTIrzPq3pzn6Uf2szFSP728FtLYE3ldiccmlkOM/zhGKCpA== + version "1.4.653" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.653.tgz#832ab25e80ad698ac09c1ca547bd9ee6cce7df10" + integrity sha512-wA2A2LQCqnEwQAvwADQq3KpMpNwgAUBnRmrFgRzHnPhbQUFArTR32Ab46f4p0MovDLcg4uqd4nCsN2hTltslpA== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6494,23 +6383,6 @@ eth-rpc-errors@^4.0.2: dependencies: fast-safe-stringify "^2.0.6" -ethereum-bloom-filters@^1.0.6: - version "1.0.10" - resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" - integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== - dependencies: - js-sha3 "^0.8.0" - -ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: - version "2.1.3" - resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.3.tgz#1352270ed3b339fe25af5ceeadcf1b9c8e30768a" - integrity sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA== - dependencies: - "@noble/curves" "1.3.0" - "@noble/hashes" "1.3.3" - "@scure/bip32" "1.3.3" - "@scure/bip39" "1.2.2" - ethers@^5.6.9: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" @@ -6547,14 +6419,6 @@ ethers@^5.6.9: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" -ethjs-unit@0.1.6: - version "0.1.6" - resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" - integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== - dependencies: - bn.js "4.11.6" - number-to-bn "1.7.0" - eventemitter3@^4.0.0, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -7403,15 +7267,6 @@ hyphenate-style-name@^1.0.3: resolved "https://registry.yarnpkg.com/hyphenate-style-name/-/hyphenate-style-name-1.0.4.tgz#691879af8e220aea5750e8827db4ef62a54e361d" integrity sha512-ygGZLjmXfPHj+ZWh6LwbC37l43MhfztxetbFCoYTM2VjkIUpeHgSNn7QIyVFj7YQ1Wl9Cbw5sholVJPzWvC2MQ== -i18n-js@^4.3.2: - version "4.3.2" - resolved "https://registry.yarnpkg.com/i18n-js/-/i18n-js-4.3.2.tgz#ec5391f23c76f5374b53645c83d272914eb81291" - integrity sha512-n8gbEbQEueym2/q2yrZk5/xKWjFcKtg3/Escw4JHSVWa8qtKqP8j7se3UjkRbHlO/REqFA0V/MG1q8tEfyHeOA== - dependencies: - bignumber.js "*" - lodash "*" - make-plural "*" - iconv-lite@0.4.24: version "0.4.24" resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.24.tgz#2022b4b25fbddc21d2f524974a474aafe733908b" @@ -7454,9 +7309,9 @@ ieee754@^1.2.1: integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== ignore@^5.2.0: - version "5.3.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.0.tgz#67418ae40d34d6999c95ff56016759c718c82f78" - integrity sha512-g7dmpshy+gD7mh88OC9NwSGTKoc3kyLAZQRU1mt53Aw/vnvfXnbC+F/7F7QoYVKbV+KNvJx8wArewKy1vXMtlg== + version "5.3.1" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" + integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== immer@^9.0.7: version "9.0.21" @@ -7669,11 +7524,6 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" -is-hex-prefixed@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" - integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== - is-in-browser@^1.0.2, is-in-browser@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835" @@ -8458,7 +8308,7 @@ jiti@^1.19.1, jiti@^1.21.0: resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== -js-sha3@0.8.0, js-sha3@^0.8.0: +js-sha3@0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== @@ -8921,7 +8771,7 @@ lodash.uniq@^4.5.0: resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773" integrity sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ== -lodash@*, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: +lodash@^4.17.20, lodash@^4.17.21, lodash@^4.7.0: version "4.17.21" resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== @@ -8980,11 +8830,6 @@ make-dir@^4.0.0: dependencies: semver "^7.5.3" -make-plural@*: - version "7.3.0" - resolved "https://registry.yarnpkg.com/make-plural/-/make-plural-7.3.0.tgz#2889dbafca2fb097037c47967d3e3afa7e48a52c" - integrity sha512-/K3BC0KIsO+WK2i94LkMPv3wslMrazrQhfi5We9fMbLlLjzoOSJWr7TAdupLlDWaJcWxwoNosBkhFDejiu5VDw== - makeerror@1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" @@ -9045,27 +8890,11 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -merkletreejs@^0.3.9: - version "0.3.11" - resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.11.tgz#e0de05c3ca1fd368de05a12cb8efb954ef6fc04f" - integrity sha512-LJKTl4iVNTndhL+3Uz/tfkjD0klIWsHlUzgtuNnNrsf7bAlXR30m+xYB7lHr5Z/l6e/yAIsr26Dabx6Buo4VGQ== - dependencies: - bignumber.js "^9.0.1" - buffer-reverse "^1.0.1" - crypto-js "^4.2.0" - treeify "^1.1.0" - web3-utils "^1.3.4" - methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== -micro-ftch@^0.3.1: - version "0.3.1" - resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" - integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== - micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -9371,14 +9200,6 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" -number-to-bn@1.7.0: - version "1.7.0" - resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" - integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== - dependencies: - bn.js "4.11.6" - strip-hex-prefix "1.0.0" - nwsapi@^2.2.0: version "2.2.7" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" @@ -11731,13 +11552,6 @@ strip-final-newline@^3.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== -strip-hex-prefix@1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" - integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== - dependencies: - is-hex-prefixed "1.0.0" - strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -12068,11 +11882,6 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== -treeify@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" - integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A== - tryer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" @@ -12199,9 +12008,9 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@5.2.0: - version "5.2.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.2.2.tgz#5ebb5e5a5b75f085f22bc3f8460fba308310fa78" - integrity sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w== + version "5.3.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" + integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== ua-parser-js@^1.0.37: version "1.0.37" @@ -12405,11 +12214,6 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" -utf8@3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" - integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== - util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -12473,7 +12277,7 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.6.0: version "1.21.4" resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== @@ -12540,20 +12344,6 @@ web-vitals@^2.1.0: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-2.1.4.tgz#76563175a475a5e835264d373704f9dde718290c" integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== -web3-utils@^1.3.4: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" - integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== - dependencies: - "@ethereumjs/util" "^8.1.0" - bn.js "^5.2.1" - ethereum-bloom-filters "^1.0.6" - ethereum-cryptography "^2.1.2" - ethjs-unit "0.1.6" - number-to-bn "1.7.0" - randombytes "^2.1.0" - utf8 "3.0.0" - webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" From 648a09a7f25f7c76a911b137c2c04e48665d4ca5 Mon Sep 17 00:00:00 2001 From: amanraj1608 Date: Fri, 2 Feb 2024 00:15:36 +0400 Subject: [PATCH 06/13] fix: encoding type --- .../Modules/CreateSessionForCustomSVM.tsx | 15 +++++++-------- yarn.lock | 6 +++--- 2 files changed, 10 insertions(+), 11 deletions(-) diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index 508686d..12b3403 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -6,7 +6,6 @@ import { encodeAbiParameters, encodeFunctionData, getFunctionSelector, - parseAbiParameters, parseEther, slice, } from "viem"; @@ -15,10 +14,7 @@ import { SessionKeyManagerModule } from "@biconomy/modules"; import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -import { - CONTRACT_CALL_SESSION_VALIDATION_MODULE, - // ERC20_SESSION_VALIDATION_MODULE, -} from "../../utils/chainConfig"; +import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; import { getActionForErrorMessage } from "../../utils/error-utils"; import { configInfo as config, @@ -109,11 +105,14 @@ const CreateCustomSession: React.FC = () => { ]; const sessionKeyData = encodeAbiParameters( - [{ type: "address" }, { type: "tuple(address, bytes4)" }], [ - sessionKeyEOA, - permission + { type: "address" }, + { + type: "tuple", + components: [{ type: "address" }, { type: "bytes4" }], + }, ], + [sessionKeyEOA, [permission[0] as Hex, permission[1] as Hex]] ); // Below helper gives you tx data to be used to make a call from Smart Account to enable session on-chain diff --git a/yarn.lock b/yarn.lock index e098168..7ee7cd7 100644 --- a/yarn.lock +++ b/yarn.lock @@ -12008,9 +12008,9 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@5.2.0: - version "5.3.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" - integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== + version "5.3.2" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43" + integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ== ua-parser-js@^1.0.37: version "1.0.37" From 027aa9320c1ee51a9e109cd2c929d7bd8bbf888b Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Fri, 2 Feb 2024 14:05:08 +0400 Subject: [PATCH 07/13] updated with devx --- package.json | 3 + src/components/AA/BatchLiquidity.tsx | 2 +- src/components/AA/MintNft.tsx | 2 +- src/components/Forward/BatchLiquidity.tsx | 2 +- src/components/Forward/MintNft.tsx | 2 +- src/components/Modules/CreateSession.tsx | 4 +- .../Modules/CreateSessionForCustomSVM.tsx | 4 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 4 +- .../Modules/ERC20TransferUsingSession.tsx | 6 +- .../Modules/HyphenLpUsingSession.tsx | 6 +- src/components/Modules/UseSessionsBatch.tsx | 4 +- src/contexts/SmartAccountContext.tsx | 4 +- yarn.lock | 284 +++++++++++++++--- 13 files changed, 263 insertions(+), 64 deletions(-) diff --git a/package.json b/package.json index a87a836..baa4f4e 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.0.0", "private": true, "dependencies": { + "@biconomy-devx/account": "2.2.9", + "@biconomy-devx/modules": "2.2.9", + "@biconomy-devx/paymaster": "2.2.9", "@alchemy/aa-core": "1.2.2", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index 1f5c328..b6ba65d 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -8,7 +8,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy/paymaster"; +import { PaymasterMode } from "@biconomy-devx/paymaster"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index b7d4e24..32bdb12 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -9,7 +9,7 @@ import { showErrorMessage, showSuccessMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy/paymaster"; +import { PaymasterMode } from "@biconomy-devx/paymaster"; const MintNft: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index 59f60c7..ebc5e32 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy/paymaster"; +} from "@biconomy-devx/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index 98e353b..fbb94fe 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -6,7 +6,7 @@ import { PaymasterFeeQuote, PaymasterMode, SponsorUserOperationDto, -} from "@biconomy/paymaster"; +} from "@biconomy-devx/paymaster"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index 426a61d..fd1e671 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -3,8 +3,8 @@ import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index 12b3403..57b6a9f 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -10,8 +10,8 @@ import { slice, } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionsWithBatchRouter.tsx b/src/components/Modules/CreateSessionsWithBatchRouter.tsx index 092cd5d..e8d7501 100644 --- a/src/components/Modules/CreateSessionsWithBatchRouter.tsx +++ b/src/components/Modules/CreateSessionsWithBatchRouter.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // import { useAccount } from "wagmi"; // import Button from "../Button"; // import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; @@ -15,7 +15,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // const CreateBatchRouter: React.FC = () => { // const classes = useStyles(); diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index 56fb081..f6fe6c6 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -1,7 +1,7 @@ import React, { useState } from "react"; import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy/modules"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; import Button from "../Button"; import { useEthersSigner } from "../../contexts/ethers"; @@ -11,9 +11,9 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { EthersSigner } from "@biconomy/account"; +import { EthersSigner } from "@biconomy-devx/account"; const ERC20Transfer: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index a96e091..9aa1940 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -1,7 +1,7 @@ import React, { useState } from "react"; import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy/modules"; +import { SessionKeyManagerModule } from "@biconomy-devx/modules"; import Button from "../Button"; import { useEthersSigner } from "../../contexts/ethers"; @@ -11,9 +11,9 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { EthersSigner } from "@biconomy/account"; +import { EthersSigner } from "@biconomy-devx/account"; const HyphenLpUsingSession: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 4adc6a7..5807ff5 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -5,7 +5,7 @@ export {}; // import { // BatchedSessionRouterModule, // SessionKeyManagerModule, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // import Button from "../Button"; // import { useAccount } from "wagmi"; // import { useEthersSigner } from "../../contexts/ethers"; @@ -18,7 +18,7 @@ export {}; // import { // DEFAULT_BATCHED_SESSION_ROUTER_MODULE, // DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy/modules"; +// } from "@biconomy-devx/modules"; // const ERC20RouterTransfer: React.FC = () => { // const classes = useStyles(); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index d6d9f8c..a9734b9 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,8 +1,8 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; -import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy/account"; +import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; import { useAccount, useWalletClient } from "wagmi"; import { activeChainId, bundlerUrl, paymasterApiKey } from "../utils/chainConfig"; -// import { MultiChainValidationModule } from "@biconomy/modules"; +// import { MultiChainValidationModule } from "@biconomy-devx/modules"; // Types type smartAccountContextType = { diff --git a/yarn.lock b/yarn.lock index 7ee7cd7..34b66ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,6 +22,16 @@ viem "^1.16.2" zod "^3.22.4" +"@alchemy/aa-core@^2.3.1": + version "2.3.1" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" + integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== + dependencies: + abitype "^0.8.3" + eventemitter3 "^5.0.1" + viem "^1.21.4" + zod "^3.22.4" + "@alloc/quick-lru@^5.2.0": version "5.2.0" resolved "https://registry.yarnpkg.com/@alloc/quick-lru/-/quick-lru-5.2.0.tgz#7bf68b20c0a350f936915fcae06f58e32007ce30" @@ -1168,6 +1178,55 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== +"@biconomy-devx/account@2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.9.tgz#087051f8b27361285c11b2d4f3849c1133009fa3" + integrity sha512-IqaDYjnlwZAdrc+azyXZQYC6k+1G1TvFGM0QzkIs0Dwai8XjgT2fYmdeeNrC5yhq4X92/iSyXs54jKZIWEllEw== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/bundler" "2.2.9" + "@biconomy-devx/common" "2.2.9" + "@biconomy-devx/modules" "2.2.9" + "@biconomy-devx/paymaster" "2.2.9" + viem "^1.21.4" + +"@biconomy-devx/bundler@2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.9.tgz#db30c47208b7f292c795c2865a045e4a303ccd6d" + integrity sha512-VmI3okX8RRN009TSOtrdB+6nH85UTOaKmM4Ik8iOU1+yhxkRHnZTpJtJuI6pGD4JF1Bgs/XxJt7eDdJW6vsJaQ== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/common" "2.2.9" + viem "^1.21.4" + +"@biconomy-devx/common@2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.9.tgz#7444cc82f6f758fcdd043f39d495b3420655026c" + integrity sha512-RDEsPRhwVeL+B91jQX64SYCjhq3ymN2TnvzdAPsKFggZJWn2n/DJ2UWMliAWGPINVbWly+Bm98w76WrwDCCe3Q== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@ethersproject/abstract-signer" "^5.7.0" + viem "^1.21.4" + +"@biconomy-devx/modules@2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.9.tgz#3127efeb4986be2ee47bb065f7426a6fef877cc9" + integrity sha512-ZpWp/amhSFkal/gxJmZ3zR5NUFqAevlWz9zYUYujZ+KMWIj3GdQ+ZRzAZcbsF9ulYcTOrzkt20Np/OoPtHTSjg== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/common" "2.2.9" + merkletreejs "^0.3.11" + viem "^1.21.4" + +"@biconomy-devx/paymaster@2.2.9": + version "2.2.9" + resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.9.tgz#a6c3b0ac12ad18939bed992b5eb19ecb8b6f0815" + integrity sha512-vvSwBQAUYQzYJbj/Ml1vzhShvfKMDmRX0ZUX/6tpUKnBoayy4cAUcmTkt6fNWX1F/NSWkR0Vh6Y7C8NyxLxR5Q== + dependencies: + "@alchemy/aa-core" "^2.3.1" + "@biconomy-devx/common" "2.2.9" + viem "^1.21.4" + "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" resolved "https://registry.yarnpkg.com/@coinbase/wallet-sdk/-/wallet-sdk-3.7.2.tgz#7a89bd9e3a06a1f26d4480d8642af33fb0c7e3aa" @@ -1441,6 +1500,20 @@ resolved "https://registry.yarnpkg.com/@eslint/js/-/js-8.56.0.tgz#ef20350fec605a7f7035a01764731b2de0f3782b" integrity sha512-gMsVel9D7f2HLkBma9VbtzZRehRogVRfbr++f06nL2vnCGCNlzOD+/MUov/F4p8myyAHspEhVobgjpX64q5m6A== +"@ethereumjs/rlp@^4.0.1": + version "4.0.1" + resolved "https://registry.yarnpkg.com/@ethereumjs/rlp/-/rlp-4.0.1.tgz#626fabfd9081baab3d0a3074b0c7ecaf674aaa41" + integrity sha512-tqsQiBQDQdmPWE1xkkBq4rlSW5QZpLOUJ5RJh2/9fug+q9tnUhuZoVLk7s0scUIKTOzEtR72DFBXI4WiZcMpvw== + +"@ethereumjs/util@^8.1.0": + version "8.1.0" + resolved "https://registry.yarnpkg.com/@ethereumjs/util/-/util-8.1.0.tgz#299df97fb6b034e0577ce9f94c7d9d1004409ed4" + integrity sha512-zQ0IqbdX8FZ9aw11vP+dZkKDkS+kgIvQPHnSAXzP9pLu+Rfu3D3XEeLbicvoXJTYnhZiPmsZUxgdzXwNKxRPbA== + dependencies: + "@ethereumjs/rlp" "^4.0.1" + ethereum-cryptography "^2.0.0" + micro-ftch "^0.3.1" + "@ethersproject/abi@5.7.0", "@ethersproject/abi@^5.7.0": version "5.7.0" resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.7.0.tgz#b3f3e045bbbeed1af3947335c247ad625a44e449" @@ -2341,7 +2414,7 @@ dependencies: "@noble/hashes" "1.3.2" -"@noble/curves@^1.2.0": +"@noble/curves@1.3.0", "@noble/curves@^1.2.0", "@noble/curves@~1.3.0": version "1.3.0" resolved "https://registry.yarnpkg.com/@noble/curves/-/curves-1.3.0.tgz#01be46da4fd195822dab821e72f71bf4aeec635e" integrity sha512-t01iSXPuN+Eqzb4eBX0S5oubSqXbK/xXa1Ne18Hj8f9pStxztHCE2gfboSp/dZRLSqfuLpRK2nDXDK+W9puocA== @@ -2580,7 +2653,7 @@ resolved "https://registry.yarnpkg.com/@safe-global/safe-gateway-typescript-sdk/-/safe-gateway-typescript-sdk-3.14.0.tgz#9581c524c1ea4956555f40761eb6b4007392aa82" integrity sha512-/dqU66RvHw50n+7x3nwnJedq8V6iLQyoWitNdjx5cFTBmae+rpP+LvHq+LqZfXJVkB1qNytMdjFjdyES0t79gQ== -"@scure/base@~1.1.0", "@scure/base@~1.1.2": +"@scure/base@~1.1.0", "@scure/base@~1.1.2", "@scure/base@~1.1.4": version "1.1.5" resolved "https://registry.yarnpkg.com/@scure/base/-/base-1.1.5.tgz#1d85d17269fe97694b9c592552dd9e5e33552157" integrity sha512-Brj9FiG2W1MRQSTB212YVPRrcbjkv48FoZi/u4l/zds/ieRrqsh7aUf6CLwkAq61oKXr/ZlTzlY66gLIj3TFTQ== @@ -2594,6 +2667,15 @@ "@noble/hashes" "~1.3.2" "@scure/base" "~1.1.2" +"@scure/bip32@1.3.3": + version "1.3.3" + resolved "https://registry.yarnpkg.com/@scure/bip32/-/bip32-1.3.3.tgz#a9624991dc8767087c57999a5d79488f48eae6c8" + integrity sha512-LJaN3HwRbfQK0X1xFSi0Q9amqOgzQnnDngIt+ZlsBC3Bm7/nE7K0kwshZHyaru79yIVRv/e1mQAjZyuZG6jOFQ== + dependencies: + "@noble/curves" "~1.3.0" + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@scure/bip39@1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.1.tgz#5cee8978656b272a917b7871c981e0541ad6ac2a" @@ -2602,6 +2684,14 @@ "@noble/hashes" "~1.3.0" "@scure/base" "~1.1.0" +"@scure/bip39@1.2.2": + version "1.2.2" + resolved "https://registry.yarnpkg.com/@scure/bip39/-/bip39-1.2.2.tgz#f3426813f4ced11a47489cbcf7294aa963966527" + integrity sha512-HYf9TUXG80beW+hGAt3TRM8wU6pQoYur9iNypTROm42dorCGmLnFe3eWjz3gOq6G62H2WRh0FCzAR1PI+29zIA== + dependencies: + "@noble/hashes" "~1.3.2" + "@scure/base" "~1.1.4" + "@sinclair/typebox@^0.24.1": version "0.24.51" resolved "https://registry.yarnpkg.com/@sinclair/typebox/-/typebox-0.24.51.tgz#645f33fe4e02defe26f2f5c0410e1c094eac7f5f" @@ -3132,9 +3222,9 @@ "@types/node" "*" "@types/node@*": - version "20.11.15" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.15.tgz#b853a86cfedbc768360c552b4653302b4e7417bf" - integrity sha512-gscmuADZfvNULx1eyirVbr3kVOVZtpQtzKMCZpeSZcN6MfbkRXAR4s9/gsQ4CzxLHw6EStDtKLNtSDL3vbq05A== + version "20.11.16" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.11.16.tgz#4411f79411514eb8e2926f036c86c9f0e4ec6708" + integrity sha512-gKb0enTmRCzXSSUJDq6/sPcqrfCv2mkkG6Jt/clpn5eiCbKTY+SgZUxo+p8ZKMof5dCp9vHQUAB7wOUTod22wQ== dependencies: undici-types "~5.26.4" @@ -3144,9 +3234,9 @@ integrity sha512-J8xLz7q2OFulZ2cyGTLE1TbbZcjpno7FaN6zdJNrgAdrJ+DZzh/uFR6YrTb4C+nXakvud8Q4+rbhoIWlYQbUFQ== "@types/node@^16.7.13": - version "16.18.78" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.78.tgz#3d97264128712f2eb59f1f8456bcfc5d56d8105c" - integrity sha512-2poPMDdsGfvhcLmgJZ85QrIfN6z3PijYRMiV0FWIEUiQW/t/lzH7BEm4vN+HMhjZXbtIKssMcAxTcgu4Rm83YA== + version "16.18.79" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.79.tgz#153e25561b271cf87dc1b28d38f98cebd514d788" + integrity sha512-Qd7jdLR5zmnIyMhfDrfPqN5tUCvreVpP3Qrf2oSM+F7SNzlb/MwHISGUkdFHtevfkPJ3iAGyeQI/jsbh9EStgQ== "@types/parse-json@^4.0.0": version "4.0.2" @@ -4336,7 +4426,7 @@ autoprefixer@^10.4.13: picocolors "^1.0.0" postcss-value-parser "^4.2.0" -available-typed-arrays@^1.0.5: +available-typed-arrays@^1.0.5, available-typed-arrays@^1.0.6: version "1.0.6" resolved "https://registry.yarnpkg.com/available-typed-arrays/-/available-typed-arrays-1.0.6.tgz#ac812d8ce5a6b976d738e1c45f08d0b00bc7d725" integrity sha512-j1QzY8iPNPG4o4xmO3ptzpRxTciqD3MgEHtifP/YnJpIo58Xu+ne4BejlbkuaLfXn/nz6HFiw29bLpj2PNMdGg== @@ -4539,6 +4629,11 @@ bigint-buffer@^1.1.5: dependencies: bindings "^1.3.0" +bignumber.js@^9.0.1: + version "9.1.2" + resolved "https://registry.yarnpkg.com/bignumber.js/-/bignumber.js-9.1.2.tgz#b7c4242259c008903b13707983b5f4bbd31eda0c" + integrity sha512-2/mKyZH9K85bzOEfhXDBFZTGd1CTs+5IHpeFQo9luiBG7hghdC851Pj2WAhb6E3R6b9tZj/XKhbg4fum+Kepug== + binary-extensions@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" @@ -4561,6 +4656,11 @@ bluebird@^3.7.2: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== +bn.js@4.11.6: + version "4.11.6" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.6.tgz#53344adb14617a13f6e8dd2ce28905d1c0ba3215" + integrity sha512-XWwnNNFCuuSQ0m3r3C4LE3EiORltHd9M05pq6FOlVeiophzRbMo50Sbz1ehl8K3Z+jw9+vmgnXefY1hz8X+2wA== + bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: version "4.12.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88" @@ -4733,6 +4833,11 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +buffer-reverse@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/buffer-reverse/-/buffer-reverse-1.0.1.tgz#49283c8efa6f901bc01fa3304d06027971ae2f60" + integrity sha512-M87YIUBsZ6N924W57vDwT/aOu8hw7ZgdByz6ijksLjmHJELBASmYTTlNHRgjE+pTsT9oJXGaDSgqqwfdHotDUg== + buffer-xor@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/buffer-xor/-/buffer-xor-1.0.3.tgz#26e61ed1422fb70dd42e6e36729ed51d855fe8d9" @@ -4780,7 +4885,7 @@ c-kzg@^1.0.9: dependencies: node-addon-api "^5.0.0" -call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.4, call-bind@^1.0.5: +call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== @@ -4828,9 +4933,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001578, caniuse-lite@^1.0.30001580: - version "1.0.30001582" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001582.tgz#db3070547ce0b48d9f44a509b86c4a02ba5d9055" - integrity sha512-vsJG3V5vgfduaQGVxL53uSX/HUzxyr2eA8xCo36OLal7sRcSZbibJtLeh0qja4sFOr/QQGt4opB4tOy+eOgAxg== + version "1.0.30001583" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001583.tgz#abb2970cc370801dc7e27bf290509dc132cfa390" + integrity sha512-acWTYaha8xfhA/Du/z4sNZjHUWjkiuoAi2LM+T/aL+kemKQgPT1xBb/YKjlQ0Qo8gvbHsGNplrEJ+9G3gL7i4Q== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5255,6 +5360,11 @@ crypto-browserify@^3.12.0: randombytes "^2.0.0" randomfill "^1.0.3" +crypto-js@^4.2.0: + version "4.2.0" + resolved "https://registry.yarnpkg.com/crypto-js/-/crypto-js-4.2.0.tgz#4d931639ecdfd12ff80e8186dba6af2c2e856631" + integrity sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q== + crypto-random-string@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/crypto-random-string/-/crypto-random-string-2.0.0.tgz#ef2a7a966ec11083388369baa02ebead229b30d5" @@ -5825,9 +5935,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.648: - version "1.4.653" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.653.tgz#832ab25e80ad698ac09c1ca547bd9ee6cce7df10" - integrity sha512-wA2A2LQCqnEwQAvwADQq3KpMpNwgAUBnRmrFgRzHnPhbQUFArTR32Ab46f4p0MovDLcg4uqd4nCsN2hTltslpA== + version "1.4.655" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.655.tgz#112410db0d7f9c2b4ed8baa3b1b548522a6f89d4" + integrity sha512-2yszojF7vIZ68adIOvzV4bku8OZad9w5H9xF3ZAMZjPuOjBarlflUkjN6DggdV+L71WZuKUfKUhov/34+G5QHg== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6383,6 +6493,23 @@ eth-rpc-errors@^4.0.2: dependencies: fast-safe-stringify "^2.0.6" +ethereum-bloom-filters@^1.0.6: + version "1.0.10" + resolved "https://registry.yarnpkg.com/ethereum-bloom-filters/-/ethereum-bloom-filters-1.0.10.tgz#3ca07f4aed698e75bd134584850260246a5fed8a" + integrity sha512-rxJ5OFN3RwjQxDcFP2Z5+Q9ho4eIdEmSc2ht0fCu8Se9nbXjZ7/031uXoUYJ87KHCOdVeiUuwSnoS7hmYAGVHA== + dependencies: + js-sha3 "^0.8.0" + +ethereum-cryptography@^2.0.0, ethereum-cryptography@^2.1.2: + version "2.1.3" + resolved "https://registry.yarnpkg.com/ethereum-cryptography/-/ethereum-cryptography-2.1.3.tgz#1352270ed3b339fe25af5ceeadcf1b9c8e30768a" + integrity sha512-BlwbIL7/P45W8FGW2r7LGuvoEZ+7PWsniMvQ4p5s2xCyw9tmaDlpfsN9HjAucbF+t/qpVHwZUisgfK24TCW8aA== + dependencies: + "@noble/curves" "1.3.0" + "@noble/hashes" "1.3.3" + "@scure/bip32" "1.3.3" + "@scure/bip39" "1.2.2" + ethers@^5.6.9: version "5.7.2" resolved "https://registry.yarnpkg.com/ethers/-/ethers-5.7.2.tgz#3a7deeabbb8c030d4126b24f84e525466145872e" @@ -6419,6 +6546,14 @@ ethers@^5.6.9: "@ethersproject/web" "5.7.1" "@ethersproject/wordlists" "5.7.0" +ethjs-unit@0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/ethjs-unit/-/ethjs-unit-0.1.6.tgz#c665921e476e87bce2a9d588a6fe0405b2c41699" + integrity sha512-/Sn9Y0oKl0uqQuvgFk/zQgR7aw1g36qX/jzSQ5lSwlO0GigPymk4eGQfeNTD03w1dPOqfz8V77Cy43jH56pagw== + dependencies: + bn.js "4.11.6" + number-to-bn "1.7.0" + eventemitter3@^4.0.0, eventemitter3@^4.0.7: version "4.0.7" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-4.0.7.tgz#2de9b68f6528d5644ef5c59526a1b4a07306169f" @@ -7044,12 +7179,12 @@ has-symbols@^1.0.1, has-symbols@^1.0.2, has-symbols@^1.0.3: resolved "https://registry.yarnpkg.com/has-symbols/-/has-symbols-1.0.3.tgz#bb7b2c4349251dce87b125f7bdf874aa7c8b39f8" integrity sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A== -has-tostringtag@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.0.tgz#7e133818a7d394734f941e73c3d3f9291e658b25" - integrity sha512-kFjcSNhnlGV1kyoGk7OXKSawH5JOb/LzUc5w9B02hOTO0dfFRjbHQKvg1d6cf3HbeUmtU9VbbV3qzZ2Teh97WQ== +has-tostringtag@^1.0.0, has-tostringtag@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/has-tostringtag/-/has-tostringtag-1.0.2.tgz#2cdc42d40bef2e5b4eeab7c01a73c54ce7ab5abc" + integrity sha512-NqADB8VjPFLM2V0VvHUewwwsw0ZWBaIdgo+ieHtK3hasLz4qeCRjYcqfB6AQrBggRKppKF8L52/VqdVsO47Dlw== dependencies: - has-symbols "^1.0.2" + has-symbols "^1.0.3" hash-base@^3.0.0: version "3.1.0" @@ -7524,6 +7659,11 @@ is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3, is-glob@~4.0.1: dependencies: is-extglob "^2.1.1" +is-hex-prefixed@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz#7d8d37e6ad77e5d127148913c573e082d777f554" + integrity sha512-WvtOiug1VFrE9v1Cydwm+FnXd3+w9GaeVUss5W4v/SLy3UW00vP+6iNF2SdnfiBoLy4bTqVdkftNGTUeOFVsbA== + is-in-browser@^1.0.2, is-in-browser@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-in-browser/-/is-in-browser-1.1.3.tgz#56ff4db683a078c6082eb95dad7dc62e1d04f835" @@ -7646,11 +7786,11 @@ is-symbol@^1.0.2, is-symbol@^1.0.3: has-symbols "^1.0.2" is-typed-array@^1.1.10, is-typed-array@^1.1.12, is-typed-array@^1.1.3, is-typed-array@^1.1.9: - version "1.1.12" - resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.12.tgz#d0bab5686ef4a76f7a73097b95470ab199c57d4a" - integrity sha512-Z14TF2JNG8Lss5/HMqt0//T9JeHXttXy5pH/DBU4vi98ozO2btxzq9MwYDZYnKwU8nRsz/+GVFVRDq3DkVuSPg== + version "1.1.13" + resolved "https://registry.yarnpkg.com/is-typed-array/-/is-typed-array-1.1.13.tgz#d6c5ca56df62334959322d7d7dd1cca50debe229" + integrity sha512-uZ25/bUAlUY5fR4OKT4rZQEBrzQWYV9ZJYGGsUmEJ6thodVJ1HX64ePQ6Z0qPWP+m+Uq6e9UugrE38jeYsDSMw== dependencies: - which-typed-array "^1.1.11" + which-typed-array "^1.1.14" is-typedarray@1.0.0, is-typedarray@^1.0.0: version "1.0.0" @@ -8308,7 +8448,7 @@ jiti@^1.19.1, jiti@^1.21.0: resolved "https://registry.yarnpkg.com/jiti/-/jiti-1.21.0.tgz#7c97f8fe045724e136a397f7340475244156105d" integrity sha512-gFqAIbuKyyso/3G2qhiO2OM6shY6EPP/R0+mkDbyspxKazh8BXDC5FiFsUjlczgdNz/vfra0da2y+aHrusLG/Q== -js-sha3@0.8.0: +js-sha3@0.8.0, js-sha3@^0.8.0: version "0.8.0" resolved "https://registry.yarnpkg.com/js-sha3/-/js-sha3-0.8.0.tgz#b9b7a5da73afad7dedd0f8c463954cbde6818840" integrity sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q== @@ -8890,11 +9030,27 @@ merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== +merkletreejs@^0.3.11: + version "0.3.11" + resolved "https://registry.yarnpkg.com/merkletreejs/-/merkletreejs-0.3.11.tgz#e0de05c3ca1fd368de05a12cb8efb954ef6fc04f" + integrity sha512-LJKTl4iVNTndhL+3Uz/tfkjD0klIWsHlUzgtuNnNrsf7bAlXR30m+xYB7lHr5Z/l6e/yAIsr26Dabx6Buo4VGQ== + dependencies: + bignumber.js "^9.0.1" + buffer-reverse "^1.0.1" + crypto-js "^4.2.0" + treeify "^1.1.0" + web3-utils "^1.3.4" + methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" integrity sha512-iclAHeNqNm68zFtnZ0e+1L2yUIdvzNoauKU4WBA3VvH/vPFieF7qfRlwUZU+DA9P9bPXIS90ulxoUoCH23sV2w== +micro-ftch@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/micro-ftch/-/micro-ftch-0.3.1.tgz#6cb83388de4c1f279a034fb0cf96dfc050853c5f" + integrity sha512-/0LLxhzP0tfiR5hcQebtudP56gUurs2CLkGarnCiB/OqEyUFQ6U3paQi/tgLv0hBJYt2rnr9MNpxz4fiiugstg== + micromatch@^4.0.2, micromatch@^4.0.4, micromatch@^4.0.5: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" @@ -8944,11 +9100,12 @@ mimic-fn@^4.0.0: integrity sha512-vqiC06CuhBTUdZH+RYl8sFrL096vA45Ok5ISO6sE/Mr1jRbGH4Csnhi8f3wKVl7x8mO4Au7Ir9D3Oyv1VYMFJw== mini-css-extract-plugin@^2.4.5: - version "2.7.7" - resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.7.tgz#4acf02f362c641c38fb913bfcb7ca2fc4a7cf339" - integrity sha512-+0n11YGyRavUR3IlaOzJ0/4Il1avMvJ1VJfhWfCn24ITQXhRr1gghbhhrda6tgtNcpZaWKdSuwKq20Jb7fnlyw== + version "2.8.0" + resolved "https://registry.yarnpkg.com/mini-css-extract-plugin/-/mini-css-extract-plugin-2.8.0.tgz#1aeae2a90a954b6426c9e8311eab36b450f553a0" + integrity sha512-CxmUYPFcTgET1zImteG/LZOy/4T5rTojesQXkSNBiquhydn78tfbCE9sjIjnJ/UcjNjOC1bphTCCW5rrS7cXAg== dependencies: schema-utils "^4.0.0" + tapable "^2.2.1" minimalistic-assert@^1.0.0, minimalistic-assert@^1.0.1: version "1.0.1" @@ -9200,6 +9357,14 @@ nth-check@^2.0.1: dependencies: boolbase "^1.0.0" +number-to-bn@1.7.0: + version "1.7.0" + resolved "https://registry.yarnpkg.com/number-to-bn/-/number-to-bn-1.7.0.tgz#bb3623592f7e5f9e0030b1977bd41a0c53fe1ea0" + integrity sha512-wsJ9gfSz1/s4ZsJN01lyonwuxA1tml6X1yBDnfpMglypcBRFZZkus26EdPSlqS5GJfYddVZa22p3VNb3z5m5Ig== + dependencies: + bn.js "4.11.6" + strip-hex-prefix "1.0.0" + nwsapi@^2.2.0: version "2.2.7" resolved "https://registry.yarnpkg.com/nwsapi/-/nwsapi-2.2.7.tgz#738e0707d3128cb750dddcfe90e4610482df0f30" @@ -11552,6 +11717,13 @@ strip-final-newline@^3.0.0: resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-3.0.0.tgz#52894c313fbff318835280aed60ff71ebf12b8fd" integrity sha512-dOESqjYr96iWYylGObzd39EuNTa5VJxyvVAEm5Jnh7KGo75V43Hk1odPQkNDyXNmUR6k+gEiDVXnjB8HJ3crXw== +strip-hex-prefix@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz#0c5f155fef1151373377de9dbb588da05500e36f" + integrity sha512-q8d4ue7JGEiVcypji1bALTos+0pWtyGlivAWyPuTkHzuTCJqrK9sWxYQZUq6Nq3cuyv3bm734IhHvHtGGURU6A== + dependencies: + is-hex-prefixed "1.0.0" + strip-json-comments@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006" @@ -11712,7 +11884,7 @@ tapable@^1.0.0: resolved "https://registry.yarnpkg.com/tapable/-/tapable-1.1.3.tgz#a1fccc06b58db61fd7a45da2da44f5f3a3e67ba2" integrity sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA== -tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0: +tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0, tapable@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/tapable/-/tapable-2.2.1.tgz#1967a73ef4060a82f12ab96af86d52fdb76eeca0" integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ== @@ -11882,6 +12054,11 @@ tr46@~0.0.3: resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw== +treeify@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/treeify/-/treeify-1.1.0.tgz#4e31c6a463accd0943879f30667c4fdaff411bb8" + integrity sha512-1m4RA7xVAJrSGrrXGs0L3YTwyvBs2S8PbRHaLZAkFw7JR8oIFwYtysxlBZhYIa7xSyiYJKZ3iGrrk55cGA3i9A== + tryer@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/tryer/-/tryer-1.0.1.tgz#f2c85406800b9b0f74c9f7465b81eaad241252f8" @@ -12008,9 +12185,9 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@5.2.0: - version "5.3.2" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.2.tgz#00d1c7c1c46928c5845c1ee8d0cc2791031d4c43" - integrity sha512-6l+RyNy7oAHDfxC4FzSJcz9vnjTKxrLpDG5M2Vu4SHRVNg6xzqZp6LYSR9zjqQTu8DU/f5xwxUdADOkbrIX2gQ== + version "5.3.3" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" + integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== ua-parser-js@^1.0.37: version "1.0.37" @@ -12214,6 +12391,11 @@ utf-8-validate@^5.0.2: dependencies: node-gyp-build "^4.3.0" +utf8@3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/utf8/-/utf8-3.0.0.tgz#f052eed1364d696e769ef058b183df88c87f69d1" + integrity sha512-E8VjFIQ/TyQgp+TZfS6l8yp/xWppSAHzidGiRrqe4bK4XP9pTRyKFgGJpO3SN7zdX4DeomTrwaseCHovfpFcqQ== + util-deprecate@^1.0.1, util-deprecate@^1.0.2, util-deprecate@~1.0.1: version "1.0.2" resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" @@ -12277,7 +12459,7 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.6.0: +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: version "1.21.4" resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== @@ -12344,6 +12526,20 @@ web-vitals@^2.1.0: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-2.1.4.tgz#76563175a475a5e835264d373704f9dde718290c" integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== +web3-utils@^1.3.4: + version "1.10.3" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" + integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== + dependencies: + "@ethereumjs/util" "^8.1.0" + bn.js "^5.2.1" + ethereum-bloom-filters "^1.0.6" + ethereum-cryptography "^2.1.2" + ethjs-unit "0.1.6" + number-to-bn "1.7.0" + randombytes "^2.1.0" + utf8 "3.0.0" + webidl-conversions@^3.0.0: version "3.0.1" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" @@ -12441,9 +12637,9 @@ webpack-sources@^3.2.3: integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w== webpack@^5.64.4: - version "5.90.0" - resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.90.0.tgz#313bfe16080d8b2fee6e29b6c986c0714ad4290e" - integrity sha512-bdmyXRCXeeNIePv6R6tGPyy20aUobw4Zy8r0LUS2EWO+U+Ke/gYDgsCh7bl5rB6jPpr4r0SZa6dPxBxLooDT3w== + version "5.90.1" + resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.90.1.tgz#62ab0c097d7cbe83d32523dbfbb645cdb7c3c01c" + integrity sha512-SstPdlAC5IvgFnhiRok8hqJo/+ArAbNv7rhU4fnWGHNVfN59HSQFaxZDSAL3IFG2YmqxuRs+IU33milSxbPlog== dependencies: "@types/eslint-scope" "^3.7.3" "@types/estree" "^1.0.5" @@ -12571,16 +12767,16 @@ which-module@^2.0.0: resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.1.tgz#776b1fe35d90aebe99e8ac15eb24093389a4a409" integrity sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ== -which-typed-array@^1.1.11, which-typed-array@^1.1.13, which-typed-array@^1.1.2, which-typed-array@^1.1.9: - version "1.1.13" - resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.13.tgz#870cd5be06ddb616f504e7b039c4c24898184d36" - integrity sha512-P5Nra0qjSncduVPEAr7xhoF5guty49ArDTwzJ/yNuPIbZppyRxFQsRCWrocxIY+CnMVG+qfbU2FmDKyvSGClow== +which-typed-array@^1.1.13, which-typed-array@^1.1.14, which-typed-array@^1.1.2, which-typed-array@^1.1.9: + version "1.1.14" + resolved "https://registry.yarnpkg.com/which-typed-array/-/which-typed-array-1.1.14.tgz#1f78a111aee1e131ca66164d8bdc3ab062c95a06" + integrity sha512-VnXFiIW8yNn9kIHN88xvZ4yOWchftKDsRJ8fEPacX/wl1lOvBrhsJ/OeJCXq7B0AaijRuqgzSKalJoPk+D8MPg== dependencies: - available-typed-arrays "^1.0.5" - call-bind "^1.0.4" + available-typed-arrays "^1.0.6" + call-bind "^1.0.5" for-each "^0.3.3" gopd "^1.0.1" - has-tostringtag "^1.0.0" + has-tostringtag "^1.0.1" which@^1.3.1: version "1.3.1" From 8a872f376eb77ebd35e3390aecdeecaae2438e50 Mon Sep 17 00:00:00 2001 From: livingrockrises <90545960+livingrockrises@users.noreply.github.com> Date: Tue, 6 Feb 2024 15:46:45 +0400 Subject: [PATCH 08/13] update with latest viem v2 changes --- package.json | 6 +- src/contexts/SmartAccountContext.tsx | 2 +- yarn.lock | 346 +++++++++++++++------------ 3 files changed, 197 insertions(+), 157 deletions(-) diff --git a/package.json b/package.json index baa4f4e..a0433f4 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,9 @@ "version": "1.0.0", "private": true, "dependencies": { - "@biconomy-devx/account": "2.2.9", - "@biconomy-devx/modules": "2.2.9", - "@biconomy-devx/paymaster": "2.2.9", + "@biconomy-devx/account": "2.2.11", + "@biconomy-devx/modules": "2.2.11", + "@biconomy-devx/paymaster": "2.2.11", "@alchemy/aa-core": "1.2.2", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index a9734b9..f2ce4ff 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -46,7 +46,7 @@ export const SmartAccountProvider = ({ children }: any) => { chainId: activeChainId, biconomyPaymasterApiKey: paymasterApiKey, bundlerUrl: bundlerUrl, - signer: walletClient + signer: walletClient as any }); setSmartAccount(wallet); diff --git a/yarn.lock b/yarn.lock index 34b66ac..01fe513 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,14 +22,14 @@ viem "^1.16.2" zod "^3.22.4" -"@alchemy/aa-core@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" - integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== +"@alchemy/aa-core@3.0.0-alpha.4": + version "3.0.0-alpha.4" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-3.0.0-alpha.4.tgz#3abe0911f7c35cc6f0fc0cd03faad5673a01f0a9" + integrity sha512-mTVMDciBYIrXRgJnDiew2nRhjeAMKIK3RijGR3TQ7Gn6cpY8ZKSiJoTM5yRCttx368jqz0BACD1mjTg/zU8+Cg== dependencies: abitype "^0.8.3" eventemitter3 "^5.0.1" - viem "^1.21.4" + viem "^2.5.0" zod "^3.22.4" "@alloc/quick-lru@^5.2.0": @@ -1178,54 +1178,54 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.9.tgz#087051f8b27361285c11b2d4f3849c1133009fa3" - integrity sha512-IqaDYjnlwZAdrc+azyXZQYC6k+1G1TvFGM0QzkIs0Dwai8XjgT2fYmdeeNrC5yhq4X92/iSyXs54jKZIWEllEw== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/bundler" "2.2.9" - "@biconomy-devx/common" "2.2.9" - "@biconomy-devx/modules" "2.2.9" - "@biconomy-devx/paymaster" "2.2.9" - viem "^1.21.4" - -"@biconomy-devx/bundler@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.9.tgz#db30c47208b7f292c795c2865a045e4a303ccd6d" - integrity sha512-VmI3okX8RRN009TSOtrdB+6nH85UTOaKmM4Ik8iOU1+yhxkRHnZTpJtJuI6pGD4JF1Bgs/XxJt7eDdJW6vsJaQ== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.9" - viem "^1.21.4" - -"@biconomy-devx/common@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.9.tgz#7444cc82f6f758fcdd043f39d495b3420655026c" - integrity sha512-RDEsPRhwVeL+B91jQX64SYCjhq3ymN2TnvzdAPsKFggZJWn2n/DJ2UWMliAWGPINVbWly+Bm98w76WrwDCCe3Q== - dependencies: - "@alchemy/aa-core" "^2.3.1" +"@biconomy-devx/account@2.2.11": + version "2.2.11" + resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.11.tgz#dca0824bfb16b795fc8ca00e677c7feaa700c7c2" + integrity sha512-TPzF1D8+Q7w4RMPqYkscPPXHUg/DVcS3bKWsEIQkwEcW0wKnfkTzrcNIjhqLS9WAOH9MEmKhVcDQtciZOFrWIA== + dependencies: + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/bundler" "2.2.11" + "@biconomy-devx/common" "2.2.11" + "@biconomy-devx/modules" "2.2.11" + "@biconomy-devx/paymaster" "2.2.11" + viem "^2.7.3" + +"@biconomy-devx/bundler@2.2.11": + version "2.2.11" + resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.11.tgz#2a4187c05f7a399662efda7adb9695b6e80380d1" + integrity sha512-KiCoIPxwukzDoGrgzzN5/oEJk+bhvNXiS6pV7t0RO3xxX8ODX12P2atxZyCl+UEevUmQ9EwgNQaHU0e0vVnYoA== + dependencies: + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/common" "2.2.11" + viem "^2.7.3" + +"@biconomy-devx/common@2.2.11": + version "2.2.11" + resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.11.tgz#f192d728891cb725df20a39b07fda9bcdc10dc71" + integrity sha512-BBBqb3exj2JtCUxAufmWMag0hACve8dGJuKoJRhtxN29YpUGZC4JXI37bwE1U+UUESCq8h0paYBVjHh+RsJNWQ== + dependencies: + "@alchemy/aa-core" "3.0.0-alpha.4" "@ethersproject/abstract-signer" "^5.7.0" - viem "^1.21.4" + viem "^2.7.3" -"@biconomy-devx/modules@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.9.tgz#3127efeb4986be2ee47bb065f7426a6fef877cc9" - integrity sha512-ZpWp/amhSFkal/gxJmZ3zR5NUFqAevlWz9zYUYujZ+KMWIj3GdQ+ZRzAZcbsF9ulYcTOrzkt20Np/OoPtHTSjg== +"@biconomy-devx/modules@2.2.11": + version "2.2.11" + resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.11.tgz#d5258344f980b3d4e8cdfaa032e0b2bb70a57117" + integrity sha512-qB7sJRtr+iN4PK+q/QZeFrjtJR+VkrWOwpe8ovJHuRerzG5aDM4j0i531jDUv4YKKZ2me2Z6NUaCB9KYPvYTxg== dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.9" + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/common" "2.2.11" merkletreejs "^0.3.11" - viem "^1.21.4" + viem "^2.7.3" -"@biconomy-devx/paymaster@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.9.tgz#a6c3b0ac12ad18939bed992b5eb19ecb8b6f0815" - integrity sha512-vvSwBQAUYQzYJbj/Ml1vzhShvfKMDmRX0ZUX/6tpUKnBoayy4cAUcmTkt6fNWX1F/NSWkR0Vh6Y7C8NyxLxR5Q== +"@biconomy-devx/paymaster@2.2.11": + version "2.2.11" + resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.11.tgz#86d06ca4030f11498e71268882bbbccb05252354" + integrity sha512-Rdsrhn8YCMElrRrP7xYp+y3NWlq2tLnTi7HtCXh/pA7YTQBnnqN+rDbMl2vRJ0GL5kIbj5hffUkW+gH3sFSl4A== dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.9" - viem "^1.21.4" + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/common" "2.2.11" + viem "^2.7.3" "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" @@ -3127,9 +3127,9 @@ integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": - version "4.17.42" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.42.tgz#2a276952acc73d1b8dc63fd4210647abbc553a71" - integrity sha512-ckM3jm2bf/MfB3+spLPWYPUH573plBFwpOhqQ2WottxYV85j1HQFlxmnTq57X1yHY9awZPig06hL/cLMgNWHIQ== + version "4.17.43" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz#10d8444be560cb789c4735aea5eac6e5af45df54" + integrity sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg== dependencies: "@types/node" "*" "@types/qs" "*" @@ -3283,9 +3283,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^18.0.0": - version "18.2.51" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.51.tgz#01ede6dfc712796257a3443bf8d613149e5c322a" - integrity sha512-XeoMaU4CzyjdRr3c4IQQtiH7Rpo18V07rYZUucEZQwOUEtGgTXv7e6igQiQ+xnV6MbMe1qjEmKdgMNnfppnXfg== + version "18.2.55" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.55.tgz#38141821b7084404b5013742bc4ae08e44da7a67" + integrity sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -4049,6 +4049,11 @@ abitype@0.9.8: resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ== +abitype@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97" + integrity sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ== + abitype@^0.8.3: version "0.8.11" resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.8.11.tgz#66e1cf2cbf46f48d0e57132d7c1c392447536cc1" @@ -4254,13 +4259,13 @@ aria-query@^5.3.0: dependencies: dequal "^2.0.3" -array-buffer-byte-length@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" - integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== +array-buffer-byte-length@^1.0.0, array-buffer-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" + integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== dependencies: - call-bind "^1.0.2" - is-array-buffer "^3.0.1" + call-bind "^1.0.5" + is-array-buffer "^3.0.4" array-flatten@1.1.1: version "1.1.1" @@ -4283,16 +4288,27 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array.prototype.findlastindex@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" - integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== +array.prototype.filter@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz#423771edeb417ff5914111fff4277ea0624c0d0e" + integrity sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw== dependencies: call-bind "^1.0.2" define-properties "^1.2.0" es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - get-intrinsic "^1.2.1" + es-array-method-boxes-properly "^1.0.0" + is-string "^1.0.7" + +array.prototype.findlastindex@^1.2.3: + version "1.2.4" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz#d1c50f0b3a9da191981ff8942a0aedd82794404f" + integrity sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ== + dependencies: + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.3.0" + es-shim-unscopables "^1.0.2" array.prototype.flat@^1.3.1, array.prototype.flat@^1.3.2: version "1.3.2" @@ -4326,27 +4342,28 @@ array.prototype.reduce@^1.0.6: is-string "^1.0.7" array.prototype.tosorted@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.2.tgz#620eff7442503d66c799d95503f82b475745cefd" - integrity sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg== + version "1.1.3" + resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.3.tgz#c8c89348337e51b8a3c48a9227f9ce93ceedcba8" + integrity sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - get-intrinsic "^1.2.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.1.0" + es-shim-unscopables "^1.0.2" arraybuffer.prototype.slice@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" - integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== + version "1.0.3" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz#097972f4255e41bc3425e37dc3f6421cf9aefde6" + integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== dependencies: - array-buffer-byte-length "^1.0.0" - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" - is-array-buffer "^3.0.2" + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.2.1" + get-intrinsic "^1.2.3" + is-array-buffer "^3.0.4" is-shared-array-buffer "^1.0.2" asap@~2.0.6: @@ -4886,13 +4903,14 @@ c-kzg@^1.0.9: node-addon-api "^5.0.0" call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" - integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== + version "1.0.6" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.6.tgz#6c46675fc7a5e9de82d75a233d586c8b7ac0d931" + integrity sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg== dependencies: + es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.1" - set-function-length "^1.1.1" + get-intrinsic "^1.2.3" + set-function-length "^1.2.0" callsites@^3.0.0: version "3.1.0" @@ -4933,9 +4951,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001578, caniuse-lite@^1.0.30001580: - version "1.0.30001583" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001583.tgz#abb2970cc370801dc7e27bf290509dc132cfa390" - integrity sha512-acWTYaha8xfhA/Du/z4sNZjHUWjkiuoAi2LM+T/aL+kemKQgPT1xBb/YKjlQ0Qo8gvbHsGNplrEJ+9G3gL7i4Q== + version "1.0.30001584" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001584.tgz#5e3ea0625d048d5467670051687655b1f7bf7dfd" + integrity sha512-LOz7CCQ9M1G7OjJOF9/mzmqmj3jE/7VOmrfw6Mgs0E8cjOsbRXQJHsPBfmBOXDskXKrHLyyW3n7kpDW/4BsfpQ== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5646,13 +5664,14 @@ default-gateway@^6.0.3: execa "^5.0.0" define-data-property@^1.0.1, define-data-property@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" - integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== + version "1.1.2" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.2.tgz#f3c33b4f0102360cd7c0f5f28700f5678510b63a" + integrity sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g== dependencies: - get-intrinsic "^1.2.1" + es-errors "^1.3.0" + get-intrinsic "^1.2.2" gopd "^1.0.1" - has-property-descriptors "^1.0.0" + has-property-descriptors "^1.0.1" define-lazy-prop@^2.0.0: version "2.0.0" @@ -5935,9 +5954,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.648: - version "1.4.655" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.655.tgz#112410db0d7f9c2b4ed8baa3b1b548522a6f89d4" - integrity sha512-2yszojF7vIZ68adIOvzV4bku8OZad9w5H9xF3ZAMZjPuOjBarlflUkjN6DggdV+L71WZuKUfKUhov/34+G5QHg== + version "1.4.657" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.657.tgz#8a07ee3faa552976970843a80a1c94088ea59c9a" + integrity sha512-On2ymeleg6QbRuDk7wNgDdXtNqlJLM2w4Agx1D/RiTmItiL+a9oq5p7HUa2ZtkAtGBe/kil2dq/7rPfkbe0r5w== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6021,7 +6040,7 @@ error-stack-parser@^2.0.6: dependencies: stackframe "^1.3.4" -es-abstract@^1.17.2, es-abstract@^1.22.1: +es-abstract@^1.17.2, es-abstract@^1.22.1, es-abstract@^1.22.3: version "1.22.3" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.3.tgz#48e79f5573198de6dee3589195727f4f74bc4f32" integrity sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA== @@ -6071,6 +6090,11 @@ es-array-method-boxes-properly@^1.0.0: resolved "https://registry.yarnpkg.com/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e" integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA== +es-errors@^1.0.0, es-errors@^1.1.0, es-errors@^1.2.1, es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-iterator-helpers@^1.0.12, es-iterator-helpers@^1.0.15: version "1.0.15" resolved "https://registry.yarnpkg.com/es-iterator-helpers/-/es-iterator-helpers-1.0.15.tgz#bd81d275ac766431d19305923707c3efd9f1ae40" @@ -6105,7 +6129,7 @@ es-set-tostringtag@^2.0.1: has-tostringtag "^1.0.0" hasown "^2.0.0" -es-shim-unscopables@^1.0.0: +es-shim-unscopables@^1.0.0, es-shim-unscopables@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== @@ -6134,9 +6158,9 @@ es6-promisify@^5.0.0: es6-promise "^4.0.3" escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + version "3.1.2" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== escape-html@~1.0.3: version "1.0.3" @@ -6706,9 +6730,9 @@ fast-stable-stringify@^1.0.0: integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== fastq@^1.6.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.0.tgz#ca5e1a90b5e68f97fc8b61330d5819b82f5fab03" - integrity sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w== + version "1.17.1" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" + integrity sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w== dependencies: reusify "^1.0.4" @@ -6961,11 +6985,12 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" - integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== +get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== dependencies: + es-errors "^1.3.0" function-bind "^1.1.2" has-proto "^1.0.1" has-symbols "^1.0.3" @@ -7002,12 +7027,12 @@ get-stream@^8.0.1: integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.1.tgz#c0de911bfaa9ea8da52b5e702d2b3b51b8791ec4" + integrity sha512-KmuibvwbWaM4BHcBRYwJfZ1JxyJeBwB8ct9YYu67SvYdbEIlcQ2e56dHxfbobqW38GXo8/zDFqJeGtHiVbWyQw== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" + call-bind "^1.0.5" + es-errors "^1.3.0" glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" @@ -7498,11 +7523,11 @@ ini@^1.3.5: integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== internal-slot@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.6.tgz#37e756098c4911c5e912b8edbf71ed3aa116f930" - integrity sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg== + version "1.0.7" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802" + integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== dependencies: - get-intrinsic "^1.2.2" + es-errors "^1.3.0" hasown "^2.0.0" side-channel "^1.0.4" @@ -7551,14 +7576,13 @@ is-arguments@^1.0.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" - integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== +is-array-buffer@^3.0.2, is-array-buffer@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" + integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== dependencies: call-bind "^1.0.2" - get-intrinsic "^1.2.0" - is-typed-array "^1.1.10" + get-intrinsic "^1.2.1" is-arrayish@^0.2.1: version "0.2.1" @@ -9438,14 +9462,15 @@ object.getownpropertydescriptors@^2.1.0: safe-array-concat "^1.0.0" object.groupby@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" - integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== + version "1.0.2" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.2.tgz#494800ff5bab78fd0eff2835ec859066e00192ec" + integrity sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + array.prototype.filter "^1.0.3" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.0.0" object.hasown@^1.1.2: version "1.1.3" @@ -10382,9 +10407,9 @@ postcss@^7.0.35: source-map "^0.6.1" postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.4: - version "8.4.33" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.33.tgz#1378e859c9f69bf6f638b990a0212f43e2aaa742" - integrity sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg== + version "8.4.34" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.34.tgz#563276e86b4ff20dfa5eed0d394d4c53853b2051" + integrity sha512-4eLTO36woPSocqZ1zIrFD2K1v6wH7pY1uBh0JIM2KKfrVtGvPFiAku6aNOP0W1Wr9qwnaCsF0Z+CrVnryB2A8Q== dependencies: nanoid "^3.3.7" picocolors "^1.0.0" @@ -10872,14 +10897,15 @@ redis-parser@^3.0.0: redis-errors "^1.0.0" reflect.getprototypeof@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz#aaccbf41aca3821b87bb71d9dcbc7ad0ba50a3f3" - integrity sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw== + version "1.0.5" + resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.5.tgz#e0bd28b597518f16edaf9c0e292c631eb13e0674" + integrity sha512-62wgfC8dJWrmxv44CA36pLDnP6KKl3Vhxb7PL+8+qrrFMMoJij4vgiMP8zV4O8+CBMXY1mHxI5fITGHXFHVmQQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.0.0" + get-intrinsic "^1.2.3" globalthis "^1.0.3" which-builtin-type "^1.1.3" @@ -11238,9 +11264,9 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== dependencies: lru-cache "^6.0.0" @@ -11305,7 +11331,7 @@ set-blocking@^2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -set-function-length@^1.1.1: +set-function-length@^1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.0.tgz#2f81dc6c16c7059bda5ab7c82c11f03a515ed8e1" integrity sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w== @@ -12195,9 +12221,9 @@ ua-parser-js@^1.0.37: integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== ufo@^1.3.0, ufo@^1.3.1, ufo@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.3.2.tgz#c7d719d0628a1c80c006d2240e0d169f6e3c0496" - integrity sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA== + version "1.4.0" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.4.0.tgz#39845b31be81b4f319ab1d99fd20c56cac528d32" + integrity sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ== uint8arrays@^3.0.0, uint8arrays@^3.1.0: version "3.1.1" @@ -12459,7 +12485,7 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.6.0: version "1.21.4" resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== @@ -12473,6 +12499,20 @@ viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: isows "1.0.3" ws "8.13.0" +viem@^2.5.0, viem@^2.7.3: + version "2.7.6" + resolved "https://registry.yarnpkg.com/viem/-/viem-2.7.6.tgz#2ada30ece1469367b606137983e5655cf66d721e" + integrity sha512-43TF0VYcTeNef9dax1/BhqlRLXpAo6HAiQ68hrJ8XRhDOou73nHZEjeFl8Eai4UFFodKhu+PbRUFzuuoixOUfg== + dependencies: + "@adraffy/ens-normalize" "1.10.0" + "@noble/curves" "1.2.0" + "@noble/hashes" "1.3.2" + "@scure/bip32" "1.3.2" + "@scure/bip39" "1.2.1" + abitype "1.0.0" + isows "1.0.3" + ws "8.13.0" + w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" @@ -12527,9 +12567,9 @@ web-vitals@^2.1.0: integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== web3-utils@^1.3.4: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" - integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== + version "1.10.4" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.4.tgz#0daee7d6841641655d8b3726baf33b08eda1cbec" + integrity sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A== dependencies: "@ethereumjs/util" "^8.1.0" bn.js "^5.2.1" From 454b26d136503746268945869c1614ca64642e80 Mon Sep 17 00:00:00 2001 From: GabiDev Date: Tue, 6 Feb 2024 19:47:55 +0200 Subject: [PATCH 09/13] v4 updates --- package.json | 4 +- src/components/AA/BatchLiquidity.tsx | 4 +- src/components/AA/MintNft.tsx | 2 +- src/components/Forward/BatchLiquidity.tsx | 69 +-- src/components/Forward/MintNft.tsx | 69 +-- src/components/Modules/CreateSession.tsx | 5 +- .../Modules/CreateSessionForCustomSVM.tsx | 5 +- .../Modules/ERC20TransferUsingSession.tsx | 6 +- .../Modules/HyphenLpUsingSession.tsx | 23 +- src/contexts/SmartAccountContext.tsx | 5 +- src/contexts/ethers.ts | 4 +- yarn.lock | 392 ++++++++++-------- 12 files changed, 263 insertions(+), 325 deletions(-) diff --git a/package.json b/package.json index baa4f4e..af88bf0 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,7 @@ "version": "1.0.0", "private": true, "dependencies": { - "@biconomy-devx/account": "2.2.9", - "@biconomy-devx/modules": "2.2.9", - "@biconomy-devx/paymaster": "2.2.9", + "@biconomy-devx/account": "2.2.12", "@alchemy/aa-core": "1.2.2", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index b6ba65d..e4a74fb 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -1,6 +1,6 @@ import React, { useState } from "react"; import { makeStyles } from "@mui/styles"; -import { Hex, encodeFunctionData, parseEther } from "viem"; +import { Hex, encodeFunctionData, parseEther, parseUnits } from "viem"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { @@ -8,7 +8,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy-devx/paymaster"; +import { PaymasterMode } from "@biconomy-devx/account"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 32bdb12..4bc309b 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -9,7 +9,7 @@ import { showErrorMessage, showSuccessMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy-devx/paymaster"; +import { PaymasterMode } from "@biconomy-devx/account"; const MintNft: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index ebc5e32..279462c 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -2,11 +2,9 @@ import React, { useEffect, useState } from "react"; import { makeStyles } from "@mui/styles"; import { CircularProgress } from "@mui/material"; import { - IHybridPaymaster, PaymasterFeeQuote, PaymasterMode, - SponsorUserOperationDto, -} from "@biconomy-devx/paymaster"; +} from "@biconomy-devx/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; @@ -26,7 +24,7 @@ const BatchLiquidity: React.FC = () => { const [spender, setSpender] = useState(""); const [feeQuotesArr, setFeeQuotesArr] = useState([]); const [selectedQuote, setSelectedQuote] = useState(); - const [estimatedUserOp, setEstimatedUserOp] = useState({}); + const [tx, setTx] = useState([]); // pre calculate the fee useEffect(() => { @@ -49,7 +47,7 @@ const BatchLiquidity: React.FC = () => { const addLiquidityData = encodeFunctionData({ abi: config.hyphenLP.abi, functionName: "addTokenLiquidity", - args: [config.usdc.address, parseEther("0.001", "gwei")], + args: [config.usdc.address, parseEther("0.001", "gwei")], }); const tx2 = { to: config.hyphenLP.address as Hex, @@ -58,20 +56,8 @@ const BatchLiquidity: React.FC = () => { }; console.log("Tx array created", [tx1, tx2]); - let partialUserOp = await smartAccount.buildUserOp([tx1, tx2]); - setEstimatedUserOp(partialUserOp); - - const biconomyPaymaster = - smartAccount.paymaster as IHybridPaymaster; - const feeQuotesResponse = - await biconomyPaymaster.getPaymasterFeeQuotesOrData(partialUserOp, { - // here we are explicitly telling by mode ERC20 that we want to pay in ERC20 tokens and expect fee quotes - mode: PaymasterMode.ERC20, - // one can pass tokenList empty array. and it would return fee quotes for all tokens supported by the Biconomy paymaster - tokenList: [config.usdc.address, config.usdt.address], - // preferredToken is optional. If you want to pay in a specific token, you can pass its address here and get fee quotes for that token only - // preferredToken: config.preferredToken, - }); + setTx([tx1, tx2]); + const feeQuotesResponse = await smartAccount.getTokenFees([tx1, tx2], {paymasterServiceData: {mode: PaymasterMode.ERC20}}); setSpender(feeQuotesResponse.tokenPaymasterAddress || ""); const feeQuotes = feeQuotesResponse.feeQuotes as PaymasterFeeQuote[]; setFeeQuotesArr(feeQuotes); @@ -93,47 +79,18 @@ const BatchLiquidity: React.FC = () => { setIsLoading(true); console.log("selected quote", selectedQuote); // const finalUserOp = { ...estimatedUserOp } as any; - const finalUserOp = await smartAccount.buildTokenPaymasterUserOp( - estimatedUserOp, + const userOpResponse = await smartAccount.sendTransaction( + tx, { - feeQuote: selectedQuote, - spender: spender as Hex, - maxApproval: false, + paymasterServiceData: { + feeQuote: selectedQuote, + spender: spender as Hex, + mode: PaymasterMode.ERC20, + maxApproval: false, + } } ); - const biconomyPaymaster = - smartAccount.paymaster as IHybridPaymaster; - const paymasterAndDataWithLimits = - await biconomyPaymaster.getPaymasterAndData(finalUserOp, { - mode: PaymasterMode.ERC20, // - mandatory // now we know chosen fee token and requesting paymaster and data for it - feeTokenAddress: selectedQuote?.tokenAddress, - // - optional by default false - // This flag tells the paymaster service to calculate gas limits for the userOp - // since at this point callData is updated callGasLimit may change and based on paymaster to be used verification gas limit may change - calculateGasLimits: true, - }); - - // below code is only needed if you sent the glaf calculateGasLimits = true - if ( - paymasterAndDataWithLimits?.callGasLimit && - paymasterAndDataWithLimits?.verificationGasLimit && - paymasterAndDataWithLimits?.preVerificationGas - ) { - // Returned gas limits must be replaced in your op as you update paymasterAndData. - // Because these are the limits paymaster service signed on to generate paymasterAndData - // If you receive AA34 error check here.. - - finalUserOp.callGasLimit = paymasterAndDataWithLimits.callGasLimit; - finalUserOp.verificationGasLimit = - paymasterAndDataWithLimits.verificationGasLimit; - finalUserOp.preVerificationGas = - paymasterAndDataWithLimits.preVerificationGas; - } - // update finalUserOp with paymasterAndData and send it to smart account - finalUserOp.paymasterAndData = - paymasterAndDataWithLimits.paymasterAndData; - const userOpResponse = await smartAccount.sendUserOp(finalUserOp); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index fbb94fe..5f0407a 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -2,11 +2,9 @@ import React, { useEffect, useState } from "react"; import { makeStyles } from "@mui/styles"; import CircularProgress from "@mui/material/CircularProgress"; import { - IHybridPaymaster, PaymasterFeeQuote, PaymasterMode, - SponsorUserOperationDto, -} from "@biconomy-devx/paymaster"; +} from "@biconomy-devx/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; @@ -29,7 +27,7 @@ const MintNftForward: React.FC = () => { const [spender, setSpender] = useState(""); const [feeQuotesArr, setFeeQuotesArr] = useState([]); const [selectedQuote, setSelectedQuote] = useState(); - const [estimatedUserOp, setEstimatedUserOp] = useState({}); + const [tx, setTx] = useState(); useEffect(() => { const getNftCount = async () => { @@ -61,19 +59,10 @@ const MintNftForward: React.FC = () => { value: 0, data: mintData, }; - let partialUserOp = await smartAccount.buildUserOp([tx1]); - setEstimatedUserOp(partialUserOp); - const biconomyPaymaster = - smartAccount.paymaster as IHybridPaymaster; - const feeQuotesResponse = - await biconomyPaymaster.getPaymasterFeeQuotesOrData(partialUserOp, { - // here we are explicitly telling by mode ERC20 that we want to pay in ERC20 tokens and expect fee quotes - mode: PaymasterMode.ERC20, - // one can pass tokenList empty array. and it would return fee quotes for all tokens supported by the Biconomy paymaster - tokenList: [config.usdc.address, config.usdt.address], - // preferredToken is optional. If you want to pay in a specific token, you can pass its address here and get fee quotes for that token only - // preferredToken: config.preferredToken, - }); + setTx(tx1 as any); + const feeQuotesResponse = await smartAccount.getTokenFees([tx1], { + paymasterServiceData: { mode: PaymasterMode.ERC20 }, + }); setSpender(feeQuotesResponse.tokenPaymasterAddress || ""); const feeQuotes = feeQuotesResponse.feeQuotes as PaymasterFeeQuote[]; setFeeQuotesArr(feeQuotes); @@ -91,48 +80,18 @@ const MintNftForward: React.FC = () => { setIsLoading(true); console.log("selected quote", selectedQuote); // const finalUserOp = { ...estimatedUserOp } as any; - const finalUserOp = await smartAccount.buildTokenPaymasterUserOp( - estimatedUserOp, + const userOpResponse = await smartAccount.sendTransaction( + tx!, { - feeQuote: selectedQuote, - spender: spender as Hex, - maxApproval: false, + paymasterServiceData: { + feeQuote: selectedQuote, + mode: PaymasterMode.ERC20, + spender: spender as Hex, + maxApproval: false, + } } ); - const biconomyPaymaster = - smartAccount.paymaster as IHybridPaymaster; - const paymasterAndDataWithLimits = - await biconomyPaymaster.getPaymasterAndData(finalUserOp, { - mode: PaymasterMode.ERC20, // - mandatory // now we know chosen fee token and requesting paymaster and data for it - feeTokenAddress: selectedQuote?.tokenAddress, - // - optional by default false - // This flag tells the paymaster service to calculate gas limits for the userOp - // since at this point callData is updated callGasLimit may change and based on paymaster to be used verification gas limit may change - calculateGasLimits: true, - }); - console.log("paymasterAndDataWithLimits", paymasterAndDataWithLimits); - // below code is only needed if you sent the glaf calculateGasLimits = true - if ( - paymasterAndDataWithLimits?.callGasLimit && - paymasterAndDataWithLimits?.verificationGasLimit && - paymasterAndDataWithLimits?.preVerificationGas - ) { - // Returned gas limits must be replaced in your op as you update paymasterAndData. - // Because these are the limits paymaster service signed on to generate paymasterAndData - // If you receive AA34 error check here.. - - finalUserOp.callGasLimit = paymasterAndDataWithLimits.callGasLimit; - finalUserOp.verificationGasLimit = - paymasterAndDataWithLimits.verificationGasLimit; - finalUserOp.preVerificationGas = - paymasterAndDataWithLimits.preVerificationGas; - } - // update finalUserOp with paymasterAndData and send it to smart account - finalUserOp.paymasterAndData = - paymasterAndDataWithLimits.paymasterAndData; - console.log("finalUserOp", finalUserOp); - const userOpResponse = await smartAccount.sendUserOp(finalUserOp); console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index fd1e671..ca0fa77 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -3,8 +3,7 @@ import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; @@ -77,7 +76,7 @@ const CreateSession: React.FC = () => { // a. Maintain session leaf storage in defined storage client (Biconomy by default using browser local storage which works for front-end apps) // b. Generate dummy signature for userOp estimations // c. Provides helpers to sign userOpHash with session key in the right format and generate proof for particular leaf - const sessionManagerModule = await SessionKeyManagerModule.create({ + const sessionManagerModule = await createSessionKeyManagerModule({ moduleAddress: sessionKeyManagerModuleAddr, smartAccountAddress: scwAddress, }); diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index 57b6a9f..9fee2c3 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -10,8 +10,7 @@ import { slice, } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; @@ -87,7 +86,7 @@ const CreateCustomSession: React.FC = () => { // a. Maintain session leaf storage in defined storage client (Biconomy by default using browser local storage which works for front-end apps) // b. Generate dummy signature for userOp estimations // c. Provides helpers to sign userOpHash with session key in the right format and generate proof for particular leaf - const sessionManagerModule = await SessionKeyManagerModule.create({ + const sessionManagerModule = await createSessionKeyManagerModule({ moduleAddress: sessionKeyManagerModuleAddr, smartAccountAddress: scwAddress, }); diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index f6fe6c6..9d48b1f 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -1,7 +1,6 @@ import React, { useState } from "react"; import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; import Button from "../Button"; import { useEthersSigner } from "../../contexts/ethers"; @@ -11,7 +10,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy-devx/modules"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; import { EthersSigner } from "@biconomy-devx/account"; @@ -45,7 +44,7 @@ const ERC20Transfer: React.FC = () => { const newSigner = new EthersSigner(sessionSigner, 'ethers') // generate sessionManagerModule - const sessionManagerModule = await SessionKeyManagerModule.create({ + const sessionManagerModule = await createSessionKeyManagerModule({ moduleAddress: sessionKeyManagerModuleAddr, smartAccountAddress: scwAddress, }); @@ -86,7 +85,6 @@ const ERC20Transfer: React.FC = () => { // build user op // with calldata to transfer ERC20 tokens let userOp = await biconomySmartAccount.buildUserOp([tx1], { - skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) params: { sessionSigner: newSigner, diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index 9aa1940..513039f 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -1,7 +1,6 @@ import React, { useState } from "react"; import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; -import { SessionKeyManagerModule } from "@biconomy-devx/modules"; import Button from "../Button"; import { useEthersSigner } from "../../contexts/ethers"; @@ -11,9 +10,10 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy-devx/account"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; import { EthersSigner } from "@biconomy-devx/account"; +import { parseUnits } from "viem"; const HyphenLpUsingSession: React.FC = () => { const classes = useStyles(); @@ -46,7 +46,7 @@ const HyphenLpUsingSession: React.FC = () => { const newSigner = new EthersSigner(sessionSigner, 'ethers') // generate sessionManagerModule - const sessionManagerModule = await SessionKeyManagerModule.create({ + const sessionManagerModule = await createSessionKeyManagerModule({ moduleAddress: sessionKeyManagerModuleAddr, smartAccountAddress: scwAddress, }); @@ -75,27 +75,14 @@ const HyphenLpUsingSession: React.FC = () => { // build user op // with calldata to provide LP - let userOp = await biconomySmartAccount.buildUserOp([tx1], { - skipBundlerGasEstimation: false, // can skip this if paymasterServiceData is being provided for sponsorship mode - // These are required (as query params in session storage) to be able to find the leaf and generate proof for the dummy signature (which is in turn used for estimating gas values) + let userOpResponse = await biconomySmartAccount.sendTransaction(tx1, { params: { sessionSigner: newSigner, sessionValidationModule: ccSessionValidationModuleAddr, }, + simulationType: "validation_and_execution", }); - // send user operation - const userOpResponse = await biconomySmartAccount.sendUserOp( - userOp, - // below params are required for passing on this information to session key manager module to create padded signature - { - sessionSigner: newSigner, - sessionValidationModule: ccSessionValidationModuleAddr, - // optionally can also provide simulationType - simulationType: "validation_and_execution", - } - ); - console.log("userOpHash", userOpResponse); const { transactionHash } = await userOpResponse.waitForTxHash(); console.log("txHash", transactionHash); diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index a9734b9..bc46103 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,7 +1,7 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; import { useAccount, useWalletClient } from "wagmi"; -import { activeChainId, bundlerUrl, paymasterApiKey } from "../utils/chainConfig"; +import { bundlerUrl, paymasterApiKey } from "../utils/chainConfig"; // import { MultiChainValidationModule } from "@biconomy-devx/modules"; // Types @@ -43,10 +43,9 @@ export const SmartAccountProvider = ({ children }: any) => { moduleAddress: "0x000000824dc138db84FD9109fc154bdad332Aa8E", });*/ let wallet = await createSmartAccountClient({ - chainId: activeChainId, biconomyPaymasterApiKey: paymasterApiKey, bundlerUrl: bundlerUrl, - signer: walletClient + signer: walletClient as any, // type issue }); setSmartAccount(wallet); diff --git a/src/contexts/ethers.ts b/src/contexts/ethers.ts index 2233f86..facbae2 100644 --- a/src/contexts/ethers.ts +++ b/src/contexts/ethers.ts @@ -1,8 +1,8 @@ import * as React from 'react' -import { type WalletClient, useWalletClient } from 'wagmi' +import { useWalletClient } from 'wagmi' import { providers } from 'ethers' -export function walletClientToSigner(walletClient: WalletClient) { +export function walletClientToSigner(walletClient: any) { const { account, chain, transport } = walletClient const network = { chainId: chain.id, diff --git a/yarn.lock b/yarn.lock index 34b66ac..261cbcd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,14 +22,14 @@ viem "^1.16.2" zod "^3.22.4" -"@alchemy/aa-core@^2.3.1": - version "2.3.1" - resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-2.3.1.tgz#ebd0abc2a71d1e5803cbbd0b0584a62a681c9a27" - integrity sha512-iADsVGbhm4rbvFwcauKwD8u5AbzoE+8d8iQpagGHkPDpcNVzFP/FHv48jvdg9M52kf4h2XGdrQviT02bdJFTKw== +"@alchemy/aa-core@3.0.0-alpha.4": + version "3.0.0-alpha.4" + resolved "https://registry.yarnpkg.com/@alchemy/aa-core/-/aa-core-3.0.0-alpha.4.tgz#3abe0911f7c35cc6f0fc0cd03faad5673a01f0a9" + integrity sha512-mTVMDciBYIrXRgJnDiew2nRhjeAMKIK3RijGR3TQ7Gn6cpY8ZKSiJoTM5yRCttx368jqz0BACD1mjTg/zU8+Cg== dependencies: abitype "^0.8.3" eventemitter3 "^5.0.1" - viem "^1.21.4" + viem "^2.5.0" zod "^3.22.4" "@alloc/quick-lru@^5.2.0": @@ -1178,54 +1178,54 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.9.tgz#087051f8b27361285c11b2d4f3849c1133009fa3" - integrity sha512-IqaDYjnlwZAdrc+azyXZQYC6k+1G1TvFGM0QzkIs0Dwai8XjgT2fYmdeeNrC5yhq4X92/iSyXs54jKZIWEllEw== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/bundler" "2.2.9" - "@biconomy-devx/common" "2.2.9" - "@biconomy-devx/modules" "2.2.9" - "@biconomy-devx/paymaster" "2.2.9" - viem "^1.21.4" - -"@biconomy-devx/bundler@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.9.tgz#db30c47208b7f292c795c2865a045e4a303ccd6d" - integrity sha512-VmI3okX8RRN009TSOtrdB+6nH85UTOaKmM4Ik8iOU1+yhxkRHnZTpJtJuI6pGD4JF1Bgs/XxJt7eDdJW6vsJaQ== - dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.9" - viem "^1.21.4" - -"@biconomy-devx/common@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.9.tgz#7444cc82f6f758fcdd043f39d495b3420655026c" - integrity sha512-RDEsPRhwVeL+B91jQX64SYCjhq3ymN2TnvzdAPsKFggZJWn2n/DJ2UWMliAWGPINVbWly+Bm98w76WrwDCCe3Q== - dependencies: - "@alchemy/aa-core" "^2.3.1" +"@biconomy-devx/account@2.2.12": + version "2.2.12" + resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.12.tgz#bbc66874df813f7996684505fdf736d744e8dc3b" + integrity sha512-Xkg23h3mlYEYDPTHxHiRUwPh9k09dDHmCYsXK0tzs5L0Dg3hKNV14vgFBkrknycPjEpKxkPamt3tUMtSKpHsTA== + dependencies: + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/bundler" "2.2.12" + "@biconomy-devx/common" "2.2.12" + "@biconomy-devx/modules" "2.2.12" + "@biconomy-devx/paymaster" "2.2.12" + viem "^2.7.3" + +"@biconomy-devx/bundler@2.2.12": + version "2.2.12" + resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.12.tgz#1a92be097dab49a52925cb7db6a602d0a5c3bb86" + integrity sha512-X4CznUYC1qWgVvbXkqvY718soNAezDh44VU/wDxyjrvQEdD7gOz/fMkiPoGIQxAhUd2Ex5zsAZ78Aw4Lz09e7g== + dependencies: + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/common" "2.2.12" + viem "^2.7.3" + +"@biconomy-devx/common@2.2.12": + version "2.2.12" + resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.12.tgz#c1297a806f2b39a808b1836b0bfd8bc64ab323bc" + integrity sha512-/6r9FR6UHmKuxdG+a8Um/Pre0m8eFDDlrarUC5sVWuhzwAJnfLHAwpZQRml8O0IMSAa3pKn9QKrPGswoYM2Mhg== + dependencies: + "@alchemy/aa-core" "3.0.0-alpha.4" "@ethersproject/abstract-signer" "^5.7.0" - viem "^1.21.4" + viem "^2.7.3" -"@biconomy-devx/modules@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.9.tgz#3127efeb4986be2ee47bb065f7426a6fef877cc9" - integrity sha512-ZpWp/amhSFkal/gxJmZ3zR5NUFqAevlWz9zYUYujZ+KMWIj3GdQ+ZRzAZcbsF9ulYcTOrzkt20Np/OoPtHTSjg== +"@biconomy-devx/modules@2.2.12": + version "2.2.12" + resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.12.tgz#6146d85068406154299e71849c446db693a95833" + integrity sha512-rqc4juXzZovK6u6YI0QwL/Y9DDzzvz2k3efzcwYdb7dUBSgRTTm4C8T0SDt57MtzL0YWaWTcrDb+AaUfRggy7Q== dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.9" + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/common" "2.2.12" merkletreejs "^0.3.11" - viem "^1.21.4" + viem "^2.7.3" -"@biconomy-devx/paymaster@2.2.9": - version "2.2.9" - resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.9.tgz#a6c3b0ac12ad18939bed992b5eb19ecb8b6f0815" - integrity sha512-vvSwBQAUYQzYJbj/Ml1vzhShvfKMDmRX0ZUX/6tpUKnBoayy4cAUcmTkt6fNWX1F/NSWkR0Vh6Y7C8NyxLxR5Q== +"@biconomy-devx/paymaster@2.2.12": + version "2.2.12" + resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.12.tgz#f8e14f7c9e729346fed9a69c656493b2ca4ff627" + integrity sha512-l7dIZjSxNuZSIkIukCl741RLZSTVhjarYR9iEycEW328/rNCBSAcsja/Bqc0L1jwlTMKntBg8Atq2vO9GKHgPA== dependencies: - "@alchemy/aa-core" "^2.3.1" - "@biconomy-devx/common" "2.2.9" - viem "^1.21.4" + "@alchemy/aa-core" "3.0.0-alpha.4" + "@biconomy-devx/common" "2.2.12" + viem "^2.7.3" "@coinbase/wallet-sdk@^3.6.6": version "3.7.2" @@ -3127,9 +3127,9 @@ integrity sha512-EYNwp3bU+98cpU4lAWYYL7Zz+2gryWH1qbdDTidVd6hkiR6weksdbMadyXKXNPEkQFhXM+hVO9ZygomHXp+AIw== "@types/express-serve-static-core@*", "@types/express-serve-static-core@^4.17.33": - version "4.17.42" - resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.42.tgz#2a276952acc73d1b8dc63fd4210647abbc553a71" - integrity sha512-ckM3jm2bf/MfB3+spLPWYPUH573plBFwpOhqQ2WottxYV85j1HQFlxmnTq57X1yHY9awZPig06hL/cLMgNWHIQ== + version "4.17.43" + resolved "https://registry.yarnpkg.com/@types/express-serve-static-core/-/express-serve-static-core-4.17.43.tgz#10d8444be560cb789c4735aea5eac6e5af45df54" + integrity sha512-oaYtiBirUOPQGSWNGPWnzyAFJ0BP3cwvN4oWZQY+zUBwpVIGsKUkpBpSztp74drYcjavs7SKFZ4DX1V2QeN8rg== dependencies: "@types/node" "*" "@types/qs" "*" @@ -3283,9 +3283,9 @@ "@types/react" "*" "@types/react@*", "@types/react@^18.0.0": - version "18.2.51" - resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.51.tgz#01ede6dfc712796257a3443bf8d613149e5c322a" - integrity sha512-XeoMaU4CzyjdRr3c4IQQtiH7Rpo18V07rYZUucEZQwOUEtGgTXv7e6igQiQ+xnV6MbMe1qjEmKdgMNnfppnXfg== + version "18.2.55" + resolved "https://registry.yarnpkg.com/@types/react/-/react-18.2.55.tgz#38141821b7084404b5013742bc4ae08e44da7a67" + integrity sha512-Y2Tz5P4yz23brwm2d7jNon39qoAtMMmalOQv6+fEFt1mT+FcM3D841wDpoUvFXhaYenuROCy3FZYqdTjM7qVyA== dependencies: "@types/prop-types" "*" "@types/scheduler" "*" @@ -4049,6 +4049,11 @@ abitype@0.9.8: resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.9.8.tgz#1f120b6b717459deafd213dfbf3a3dd1bf10ae8c" integrity sha512-puLifILdm+8sjyss4S+fsUN09obiT1g2YW6CtcQF+QDzxR0euzgEB29MZujC6zMk2a6SVmtttq1fc6+YFA7WYQ== +abitype@1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/abitype/-/abitype-1.0.0.tgz#237176dace81d90d018bebf3a45cb42f2a2d9e97" + integrity sha512-NMeMah//6bJ56H5XRj8QCV4AwuW6hB6zqz2LnhhLdcWVQOsXki6/Pn3APeqxCma62nXIcmZWdu1DlHWS74umVQ== + abitype@^0.8.3: version "0.8.11" resolved "https://registry.yarnpkg.com/abitype/-/abitype-0.8.11.tgz#66e1cf2cbf46f48d0e57132d7c1c392447536cc1" @@ -4254,13 +4259,13 @@ aria-query@^5.3.0: dependencies: dequal "^2.0.3" -array-buffer-byte-length@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.0.tgz#fabe8bc193fea865f317fe7807085ee0dee5aead" - integrity sha512-LPuwb2P+NrQw3XhxGc36+XSvuBPopovXYTR9Ew++Du9Yb/bx5AzBfrIsBoj0EZUifjQU+sHL21sseZ3jerWO/A== +array-buffer-byte-length@^1.0.0, array-buffer-byte-length@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/array-buffer-byte-length/-/array-buffer-byte-length-1.0.1.tgz#1e5583ec16763540a27ae52eed99ff899223568f" + integrity sha512-ahC5W1xgou+KTXix4sAO8Ki12Q+jf4i0+tmk3sC+zgcynshkHxzpXdImBehiUYKKKDwvfFiJl1tZt6ewscS1Mg== dependencies: - call-bind "^1.0.2" - is-array-buffer "^3.0.1" + call-bind "^1.0.5" + is-array-buffer "^3.0.4" array-flatten@1.1.1: version "1.1.1" @@ -4283,16 +4288,27 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== -array.prototype.findlastindex@^1.2.3: - version "1.2.3" - resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.3.tgz#b37598438f97b579166940814e2c0493a4f50207" - integrity sha512-LzLoiOMAxvy+Gd3BAq3B7VeIgPdo+Q8hthvKtXybMvRV0jrXfJM/t8mw7nNlpEcVlVUnCnM2KSX4XU5HmpodOA== +array.prototype.filter@^1.0.3: + version "1.0.3" + resolved "https://registry.yarnpkg.com/array.prototype.filter/-/array.prototype.filter-1.0.3.tgz#423771edeb417ff5914111fff4277ea0624c0d0e" + integrity sha512-VizNcj/RGJiUyQBgzwxzE5oHdeuXY5hSbbmKMlphj1cy1Vl7Pn2asCGbSrru6hSQjmCzqTBPVWAF/whmEOVHbw== dependencies: call-bind "^1.0.2" define-properties "^1.2.0" es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - get-intrinsic "^1.2.1" + es-array-method-boxes-properly "^1.0.0" + is-string "^1.0.7" + +array.prototype.findlastindex@^1.2.3: + version "1.2.4" + resolved "https://registry.yarnpkg.com/array.prototype.findlastindex/-/array.prototype.findlastindex-1.2.4.tgz#d1c50f0b3a9da191981ff8942a0aedd82794404f" + integrity sha512-hzvSHUshSpCflDR1QMUBLHGHP1VIEBegT4pix9H/Z92Xw3ySoy6c2qh7lJWTJnRJ8JCZ9bJNCgTyYaJGcJu6xQ== + dependencies: + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.3.0" + es-shim-unscopables "^1.0.2" array.prototype.flat@^1.3.1, array.prototype.flat@^1.3.2: version "1.3.2" @@ -4326,27 +4342,28 @@ array.prototype.reduce@^1.0.6: is-string "^1.0.7" array.prototype.tosorted@^1.1.1: - version "1.1.2" - resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.2.tgz#620eff7442503d66c799d95503f82b475745cefd" - integrity sha512-HuQCHOlk1Weat5jzStICBCd83NxiIMwqDg/dHEsoefabn/hJRj5pVdWcPUSpRrwhwxZOsQassMpgN/xRYFBMIg== + version "1.1.3" + resolved "https://registry.yarnpkg.com/array.prototype.tosorted/-/array.prototype.tosorted-1.1.3.tgz#c8c89348337e51b8a3c48a9227f9ce93ceedcba8" + integrity sha512-/DdH4TiTmOKzyQbp/eadcCVexiCb36xJg7HshYOYJnNZFDj33GEv0P7GxsynpShhq4OLYJzbGcBDkLsDt7MnNg== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - es-shim-unscopables "^1.0.0" - get-intrinsic "^1.2.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.1.0" + es-shim-unscopables "^1.0.2" arraybuffer.prototype.slice@^1.0.2: - version "1.0.2" - resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.2.tgz#98bd561953e3e74bb34938e77647179dfe6e9f12" - integrity sha512-yMBKppFur/fbHu9/6USUe03bZ4knMYiwFBcyiaXB8Go0qNehwX6inYPzK9U0NeQvGxKthcmHcaR8P5MStSRBAw== + version "1.0.3" + resolved "https://registry.yarnpkg.com/arraybuffer.prototype.slice/-/arraybuffer.prototype.slice-1.0.3.tgz#097972f4255e41bc3425e37dc3f6421cf9aefde6" + integrity sha512-bMxMKAjg13EBSVscxTaYA4mRc5t1UAXa2kXiGTNfZ079HIWXEkKmkgFrh/nJqamaLSrXO5H4WFFkPEaLJWbs3A== dependencies: - array-buffer-byte-length "^1.0.0" - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" - is-array-buffer "^3.0.2" + array-buffer-byte-length "^1.0.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.2.1" + get-intrinsic "^1.2.3" + is-array-buffer "^3.0.4" is-shared-array-buffer "^1.0.2" asap@~2.0.6: @@ -4885,14 +4902,15 @@ c-kzg@^1.0.9: dependencies: node-addon-api "^5.0.0" -call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.5.tgz#6fa2b7845ce0ea49bf4d8b9ef64727a2c2e2e513" - integrity sha512-C3nQxfFZxFRVoJoGKKI8y3MOEo129NQ+FgQ08iye+Mk4zNZZGdjfs06bVTr+DBSlA66Q2VEcMki/cUCP4SercQ== +call-bind@^1.0.0, call-bind@^1.0.2, call-bind@^1.0.5, call-bind@^1.0.6: + version "1.0.6" + resolved "https://registry.yarnpkg.com/call-bind/-/call-bind-1.0.6.tgz#6c46675fc7a5e9de82d75a233d586c8b7ac0d931" + integrity sha512-Mj50FLHtlsoVfRfnHaZvyrooHcrlceNZdL/QBvJJVd9Ta55qCQK0gs4ss2oZDeV9zFCs6ewzYgVE5yfVmfFpVg== dependencies: + es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.1" - set-function-length "^1.1.1" + get-intrinsic "^1.2.3" + set-function-length "^1.2.0" callsites@^3.0.0: version "3.1.0" @@ -4933,9 +4951,9 @@ caniuse-api@^3.0.0: lodash.uniq "^4.5.0" caniuse-lite@^1.0.0, caniuse-lite@^1.0.30001578, caniuse-lite@^1.0.30001580: - version "1.0.30001583" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001583.tgz#abb2970cc370801dc7e27bf290509dc132cfa390" - integrity sha512-acWTYaha8xfhA/Du/z4sNZjHUWjkiuoAi2LM+T/aL+kemKQgPT1xBb/YKjlQ0Qo8gvbHsGNplrEJ+9G3gL7i4Q== + version "1.0.30001584" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001584.tgz#5e3ea0625d048d5467670051687655b1f7bf7dfd" + integrity sha512-LOz7CCQ9M1G7OjJOF9/mzmqmj3jE/7VOmrfw6Mgs0E8cjOsbRXQJHsPBfmBOXDskXKrHLyyW3n7kpDW/4BsfpQ== case-sensitive-paths-webpack-plugin@^2.4.0: version "2.4.0" @@ -5645,14 +5663,15 @@ default-gateway@^6.0.3: dependencies: execa "^5.0.0" -define-data-property@^1.0.1, define-data-property@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.1.tgz#c35f7cd0ab09883480d12ac5cb213715587800b3" - integrity sha512-E7uGkTzkk1d0ByLeSc6ZsFS79Axg+m1P/VsgYsxHgiuc3tFSj+MjMIwe90FC4lOAZzNBdY7kkO2P2wKdsQ1vgQ== +define-data-property@^1.0.1, define-data-property@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/define-data-property/-/define-data-property-1.1.2.tgz#f3c33b4f0102360cd7c0f5f28700f5678510b63a" + integrity sha512-SRtsSqsDbgpJBbW3pABMCOt6rQyeM8s8RiyeSN8jYG8sYmt/kGJejbydttUsnDs1tadr19tvhT4ShwMyoqAm4g== dependencies: - get-intrinsic "^1.2.1" + es-errors "^1.3.0" + get-intrinsic "^1.2.2" gopd "^1.0.1" - has-property-descriptors "^1.0.0" + has-property-descriptors "^1.0.1" define-lazy-prop@^2.0.0: version "2.0.0" @@ -5935,9 +5954,9 @@ ejs@^3.1.6: jake "^10.8.5" electron-to-chromium@^1.4.648: - version "1.4.655" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.655.tgz#112410db0d7f9c2b4ed8baa3b1b548522a6f89d4" - integrity sha512-2yszojF7vIZ68adIOvzV4bku8OZad9w5H9xF3ZAMZjPuOjBarlflUkjN6DggdV+L71WZuKUfKUhov/34+G5QHg== + version "1.4.657" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.657.tgz#8a07ee3faa552976970843a80a1c94088ea59c9a" + integrity sha512-On2ymeleg6QbRuDk7wNgDdXtNqlJLM2w4Agx1D/RiTmItiL+a9oq5p7HUa2ZtkAtGBe/kil2dq/7rPfkbe0r5w== elliptic@6.5.4, elliptic@^6.5.3, elliptic@^6.5.4: version "6.5.4" @@ -6021,7 +6040,7 @@ error-stack-parser@^2.0.6: dependencies: stackframe "^1.3.4" -es-abstract@^1.17.2, es-abstract@^1.22.1: +es-abstract@^1.17.2, es-abstract@^1.22.1, es-abstract@^1.22.3: version "1.22.3" resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.22.3.tgz#48e79f5573198de6dee3589195727f4f74bc4f32" integrity sha512-eiiY8HQeYfYH2Con2berK+To6GrK2RxbPawDkGq4UiCQQfZHb6wX9qQqkbpPqaxQFcl8d9QzZqo0tGE0VcrdwA== @@ -6071,6 +6090,11 @@ es-array-method-boxes-properly@^1.0.0: resolved "https://registry.yarnpkg.com/es-array-method-boxes-properly/-/es-array-method-boxes-properly-1.0.0.tgz#873f3e84418de4ee19c5be752990b2e44718d09e" integrity sha512-wd6JXUmyHmt8T5a2xreUwKcGPq6f1f+WwIJkijUqiGcJz1qqnZgP6XIK+QyIWU5lT7imeNxUll48bziG+TSYcA== +es-errors@^1.0.0, es-errors@^1.1.0, es-errors@^1.2.1, es-errors@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/es-errors/-/es-errors-1.3.0.tgz#05f75a25dab98e4fb1dcd5e1472c0546d5057c8f" + integrity sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw== + es-iterator-helpers@^1.0.12, es-iterator-helpers@^1.0.15: version "1.0.15" resolved "https://registry.yarnpkg.com/es-iterator-helpers/-/es-iterator-helpers-1.0.15.tgz#bd81d275ac766431d19305923707c3efd9f1ae40" @@ -6105,7 +6129,7 @@ es-set-tostringtag@^2.0.1: has-tostringtag "^1.0.0" hasown "^2.0.0" -es-shim-unscopables@^1.0.0: +es-shim-unscopables@^1.0.0, es-shim-unscopables@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/es-shim-unscopables/-/es-shim-unscopables-1.0.2.tgz#1f6942e71ecc7835ed1c8a83006d8771a63a3763" integrity sha512-J3yBRXCzDu4ULnQwxyToo/OjdMx6akgVC7K6few0a7F/0wLtmKKN7I73AH5T2836UuXRqN7Qg+IIUw/+YJksRw== @@ -6134,9 +6158,9 @@ es6-promisify@^5.0.0: es6-promise "^4.0.3" escalade@^3.1.1: - version "3.1.1" - resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" - integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== + version "3.1.2" + resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.2.tgz#54076e9ab29ea5bf3d8f1ed62acffbb88272df27" + integrity sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA== escape-html@~1.0.3: version "1.0.3" @@ -6706,9 +6730,9 @@ fast-stable-stringify@^1.0.0: integrity sha512-wpYMUmFu5f00Sm0cj2pfivpmawLZ0NKdviQ4w9zJeR8JVtOpOxHmLaJuj0vxvGqMJQWyP/COUkF75/57OKyRag== fastq@^1.6.0: - version "1.17.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.0.tgz#ca5e1a90b5e68f97fc8b61330d5819b82f5fab03" - integrity sha512-zGygtijUMT7jnk3h26kUms3BkSDp4IfIKjmnqI2tvx6nuBfiF1UqOxbnLfzdv+apBy+53oaImsKtMw/xYbW+1w== + version "1.17.1" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.17.1.tgz#2a523f07a4e7b1e81a42b91b8bf2254107753b47" + integrity sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w== dependencies: reusify "^1.0.4" @@ -6961,11 +6985,12 @@ get-caller-file@^2.0.1, get-caller-file@^2.0.5: resolved "https://registry.yarnpkg.com/get-caller-file/-/get-caller-file-2.0.5.tgz#4f94412a82db32f36e3b0b9741f8a97feb031f7e" integrity sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg== -get-intrinsic@^1.0.2, get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.0, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.2.tgz#281b7622971123e1ef4b3c90fd7539306da93f3b" - integrity sha512-0gSo4ml/0j98Y3lngkFEot/zhiCeWsbYIlZ+uZOVgzLyLaUw7wxUL+nCTP0XJvJg1AXulJRI3UJi8GsbDuxdGA== +get-intrinsic@^1.1.1, get-intrinsic@^1.1.3, get-intrinsic@^1.2.1, get-intrinsic@^1.2.2, get-intrinsic@^1.2.3, get-intrinsic@^1.2.4: + version "1.2.4" + resolved "https://registry.yarnpkg.com/get-intrinsic/-/get-intrinsic-1.2.4.tgz#e385f5a4b5227d449c3eabbad05494ef0abbeadd" + integrity sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ== dependencies: + es-errors "^1.3.0" function-bind "^1.1.2" has-proto "^1.0.1" has-symbols "^1.0.3" @@ -7002,12 +7027,12 @@ get-stream@^8.0.1: integrity sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA== get-symbol-description@^1.0.0: - version "1.0.0" - resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.0.tgz#7fdb81c900101fbd564dd5f1a30af5aadc1e58d6" - integrity sha512-2EmdH1YvIQiZpltCNgkuiUnyukzxM/R6NDJX31Ke3BG1Nq5b0S2PhX59UKi9vZpPDQVdqn+1IcaAwnzTT5vCjw== + version "1.0.1" + resolved "https://registry.yarnpkg.com/get-symbol-description/-/get-symbol-description-1.0.1.tgz#c0de911bfaa9ea8da52b5e702d2b3b51b8791ec4" + integrity sha512-KmuibvwbWaM4BHcBRYwJfZ1JxyJeBwB8ct9YYu67SvYdbEIlcQ2e56dHxfbobqW38GXo8/zDFqJeGtHiVbWyQw== dependencies: - call-bind "^1.0.2" - get-intrinsic "^1.1.1" + call-bind "^1.0.5" + es-errors "^1.3.0" glob-parent@^5.1.2, glob-parent@~5.1.2: version "5.1.2" @@ -7498,11 +7523,11 @@ ini@^1.3.5: integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== internal-slot@^1.0.5: - version "1.0.6" - resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.6.tgz#37e756098c4911c5e912b8edbf71ed3aa116f930" - integrity sha512-Xj6dv+PsbtwyPpEflsejS+oIZxmMlV44zAhG479uYu89MsjcYOhCFnNyKrkJrihbsiasQyY0afoCl/9BLR65bg== + version "1.0.7" + resolved "https://registry.yarnpkg.com/internal-slot/-/internal-slot-1.0.7.tgz#c06dcca3ed874249881007b0a5523b172a190802" + integrity sha512-NGnrKwXzSms2qUUih/ILZ5JBqNTSa1+ZmP6flaIp6KmSElgE9qdndzS3cqjrDovwFdmwsGsLdeFgB6suw+1e9g== dependencies: - get-intrinsic "^1.2.2" + es-errors "^1.3.0" hasown "^2.0.0" side-channel "^1.0.4" @@ -7551,14 +7576,13 @@ is-arguments@^1.0.4: call-bind "^1.0.2" has-tostringtag "^1.0.0" -is-array-buffer@^3.0.1, is-array-buffer@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.2.tgz#f2653ced8412081638ecb0ebbd0c41c6e0aecbbe" - integrity sha512-y+FyyR/w8vfIRq4eQcM1EYgSTnmHXPqaF+IgzgraytCFq5Xh8lllDVmAZolPJiZttZLeFSINPYMaEJ7/vWUa1w== +is-array-buffer@^3.0.2, is-array-buffer@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/is-array-buffer/-/is-array-buffer-3.0.4.tgz#7a1f92b3d61edd2bc65d24f130530ea93d7fae98" + integrity sha512-wcjaerHw0ydZwfhiKbXJWLDY8A7yV7KhjQOpb83hGgGfId/aQa4TOvwyzn2PuswW2gPCYEL/nEAiSVpdOj1lXw== dependencies: call-bind "^1.0.2" - get-intrinsic "^1.2.0" - is-typed-array "^1.1.10" + get-intrinsic "^1.2.1" is-arrayish@^0.2.1: version "0.2.1" @@ -9380,7 +9404,7 @@ object-hash@^3.0.0: resolved "https://registry.yarnpkg.com/object-hash/-/object-hash-3.0.0.tgz#73f97f753e7baffc0e2cc9d6e079079744ac82e9" integrity sha512-RSn9F68PjH9HqtltsSnqYC1XXoWe9Bju5+213R98cNGttag9q9yAOTzdbsqvIa7aNm5WffBZFpWYr2aWrklWAw== -object-inspect@^1.13.1, object-inspect@^1.9.0: +object-inspect@^1.13.1: version "1.13.1" resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2" integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ== @@ -9438,14 +9462,15 @@ object.getownpropertydescriptors@^2.1.0: safe-array-concat "^1.0.0" object.groupby@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.1.tgz#d41d9f3c8d6c778d9cbac86b4ee9f5af103152ee" - integrity sha512-HqaQtqLnp/8Bn4GL16cj+CUYbnpe1bh0TtEaWvybszDG4tgxCJuRpV8VGuvNaI1fAnI4lUJzDG55MXcOH4JZcQ== + version "1.0.2" + resolved "https://registry.yarnpkg.com/object.groupby/-/object.groupby-1.0.2.tgz#494800ff5bab78fd0eff2835ec859066e00192ec" + integrity sha512-bzBq58S+x+uo0VjurFT0UktpKHOZmv4/xePiOA1nbB9pMqpGK7rUPNgf+1YC+7mE+0HzhTMqNUuCqvKhj6FnBw== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + array.prototype.filter "^1.0.3" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.0.0" object.hasown@^1.1.2: version "1.1.3" @@ -10382,9 +10407,9 @@ postcss@^7.0.35: source-map "^0.6.1" postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.4: - version "8.4.33" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.33.tgz#1378e859c9f69bf6f638b990a0212f43e2aaa742" - integrity sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg== + version "8.4.34" + resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.34.tgz#563276e86b4ff20dfa5eed0d394d4c53853b2051" + integrity sha512-4eLTO36woPSocqZ1zIrFD2K1v6wH7pY1uBh0JIM2KKfrVtGvPFiAku6aNOP0W1Wr9qwnaCsF0Z+CrVnryB2A8Q== dependencies: nanoid "^3.3.7" picocolors "^1.0.0" @@ -10872,14 +10897,15 @@ redis-parser@^3.0.0: redis-errors "^1.0.0" reflect.getprototypeof@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.4.tgz#aaccbf41aca3821b87bb71d9dcbc7ad0ba50a3f3" - integrity sha512-ECkTw8TmJwW60lOTR+ZkODISW6RQ8+2CL3COqtiJKLd6MmB45hN51HprHFziKLGkAuTGQhBb91V8cy+KHlaCjw== + version "1.0.5" + resolved "https://registry.yarnpkg.com/reflect.getprototypeof/-/reflect.getprototypeof-1.0.5.tgz#e0bd28b597518f16edaf9c0e292c631eb13e0674" + integrity sha512-62wgfC8dJWrmxv44CA36pLDnP6KKl3Vhxb7PL+8+qrrFMMoJij4vgiMP8zV4O8+CBMXY1mHxI5fITGHXFHVmQQ== dependencies: - call-bind "^1.0.2" - define-properties "^1.2.0" - es-abstract "^1.22.1" - get-intrinsic "^1.2.1" + call-bind "^1.0.5" + define-properties "^1.2.1" + es-abstract "^1.22.3" + es-errors "^1.0.0" + get-intrinsic "^1.2.3" globalthis "^1.0.3" which-builtin-type "^1.1.3" @@ -11122,12 +11148,12 @@ safe-buffer@5.2.1, safe-buffer@>=5.1.0, safe-buffer@^5.0.1, safe-buffer@^5.1.0, integrity sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ== safe-regex-test@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.2.tgz#3ba32bdb3ea35f940ee87e5087c60ee786c3f6c5" - integrity sha512-83S9w6eFq12BBIJYvjMux6/dkirb8+4zJRA9cxNBVb7Wq5fJBW+Xze48WqR8pxua7bDuAaaAxtVVd4Idjp1dBQ== + version "1.0.3" + resolved "https://registry.yarnpkg.com/safe-regex-test/-/safe-regex-test-1.0.3.tgz#a5b4c0f06e0ab50ea2c395c14d8371232924c377" + integrity sha512-CdASjNJPvRa7roO6Ra/gLYBTzYzzPyyBXxIMdGW3USQLyjWEls2RgW5UBTXaQVp+OrpeCK3bLem8smtmheoRuw== dependencies: - call-bind "^1.0.5" - get-intrinsic "^1.2.2" + call-bind "^1.0.6" + es-errors "^1.3.0" is-regex "^1.1.4" safe-stable-stringify@^2.1.0: @@ -11238,9 +11264,9 @@ semver@^6.0.0, semver@^6.3.0, semver@^6.3.1: integrity sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA== semver@^7.3.2, semver@^7.3.5, semver@^7.3.7, semver@^7.3.8, semver@^7.5.3, semver@^7.5.4: - version "7.5.4" - resolved "https://registry.yarnpkg.com/semver/-/semver-7.5.4.tgz#483986ec4ed38e1c6c48c34894a9182dbff68a6e" - integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA== + version "7.6.0" + resolved "https://registry.yarnpkg.com/semver/-/semver-7.6.0.tgz#1a46a4db4bffcccd97b743b5005c8325f23d4e2d" + integrity sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg== dependencies: lru-cache "^6.0.0" @@ -11305,14 +11331,15 @@ set-blocking@^2.0.0: resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" integrity sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw== -set-function-length@^1.1.1: - version "1.2.0" - resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.0.tgz#2f81dc6c16c7059bda5ab7c82c11f03a515ed8e1" - integrity sha512-4DBHDoyHlM1IRPGYcoxexgh67y4ueR53FKV1yyxwFMY7aCqcN/38M1+SwZ/qJQ8iLv7+ck385ot4CcisOAPT9w== +set-function-length@^1.2.0: + version "1.2.1" + resolved "https://registry.yarnpkg.com/set-function-length/-/set-function-length-1.2.1.tgz#47cc5945f2c771e2cf261c6737cf9684a2a5e425" + integrity sha512-j4t6ccc+VsKwYHso+kElc5neZpjtq9EnRICFZtWyBsLojhmeF/ZBd/elqm22WJh/BziDe/SBiOeAt0m2mfLD0g== dependencies: - define-data-property "^1.1.1" + define-data-property "^1.1.2" + es-errors "^1.3.0" function-bind "^1.1.2" - get-intrinsic "^1.2.2" + get-intrinsic "^1.2.3" gopd "^1.0.1" has-property-descriptors "^1.0.1" @@ -11361,13 +11388,14 @@ shell-quote@^1.7.3, shell-quote@^1.8.1: integrity sha512-6j1W9l1iAs/4xYBI1SYOVZyFcCis9b4KCLQ8fgAGG07QvzaRLVVRQvAy85yNmmZSjYjg4MWh4gNvlPujU/5LpA== side-channel@^1.0.4: - version "1.0.4" - resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.4.tgz#efce5c8fdc104ee751b25c58d4290011fa5ea2cf" - integrity sha512-q5XPytqFEIKHkGdiMIrY10mvLRvnQh42/+GoBlFW3b2LXLE2xxJpZFdm94we0BaoV3RwJyGqg5wS7epxTv0Zvw== + version "1.0.5" + resolved "https://registry.yarnpkg.com/side-channel/-/side-channel-1.0.5.tgz#9a84546599b48909fb6af1211708d23b1946221b" + integrity sha512-QcgiIWV4WV7qWExbN5llt6frQB/lBven9pqliLXfGPB+K9ZYXxDozp0wLkHS24kWCm+6YXH/f0HhnObZnZOBnQ== dependencies: - call-bind "^1.0.0" - get-intrinsic "^1.0.2" - object-inspect "^1.9.0" + call-bind "^1.0.6" + es-errors "^1.3.0" + get-intrinsic "^1.2.4" + object-inspect "^1.13.1" signal-exit@^3.0.2, signal-exit@^3.0.3: version "3.0.7" @@ -12185,9 +12213,9 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@5.2.0: - version "5.3.3" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.3.3.tgz#b3ce6ba258e72e6305ba66f5c9b452aaee3ffe37" - integrity sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw== + version "5.4.0-dev.20240206" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.0-dev.20240206.tgz#75755acb115e1176958d511d11eb018694e74987" + integrity sha512-8P1XYxDbG/AyGE5tB8+JpeiQfS5ye1BTvIVDZaHhoK9nJuCn4nkB0L66lvfwYB+46hA4rLo3vE3WkIToSYtqQA== ua-parser-js@^1.0.37: version "1.0.37" @@ -12195,9 +12223,9 @@ ua-parser-js@^1.0.37: integrity sha512-bhTyI94tZofjo+Dn8SN6Zv8nBDvyXTymAdM3LDI/0IboIUwTu1rEhW7v2TfiVsoYWgkQ4kOVqnI8APUFbIQIFQ== ufo@^1.3.0, ufo@^1.3.1, ufo@^1.3.2: - version "1.3.2" - resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.3.2.tgz#c7d719d0628a1c80c006d2240e0d169f6e3c0496" - integrity sha512-o+ORpgGwaYQXgqGDwd+hkS4PuZ3QnmqMMxRuajK/a38L6fTpcE5GPIfrf+L/KemFzfUpeUQc1rRS1iDBozvnFA== + version "1.4.0" + resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.4.0.tgz#39845b31be81b4f319ab1d99fd20c56cac528d32" + integrity sha512-Hhy+BhRBleFjpJ2vchUNN40qgkh0366FWJGqVLYBHev0vpHTrXSA0ryT+74UiW6KWsldNurQMKGqCm1M2zBciQ== uint8arrays@^3.0.0, uint8arrays@^3.1.0: version "3.1.1" @@ -12459,7 +12487,7 @@ vary@~1.1.2: resolved "https://registry.yarnpkg.com/vary/-/vary-1.1.2.tgz#2299f02c6ded30d4a5961b0b9f74524a18f634fc" integrity sha512-BNGbWLfd0eUPabhkXUVm0j8uuvREyTh5ovRa/dyow/BqAbZJyC+5fU+IzQOzmAKzYqYRAISoRhdQr3eIZ/PXqg== -viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: +viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.6.0: version "1.21.4" resolved "https://registry.yarnpkg.com/viem/-/viem-1.21.4.tgz#883760e9222540a5a7e0339809202b45fe6a842d" integrity sha512-BNVYdSaUjeS2zKQgPs+49e5JKocfo60Ib2yiXOWBT6LuVxY1I/6fFX3waEtpXvL1Xn4qu+BVitVtMh9lyThyhQ== @@ -12473,6 +12501,20 @@ viem@^1.0.0, viem@^1.16.2, viem@^1.20.3, viem@^1.21.4, viem@^1.6.0: isows "1.0.3" ws "8.13.0" +viem@^2.5.0, viem@^2.7.3: + version "2.7.6" + resolved "https://registry.yarnpkg.com/viem/-/viem-2.7.6.tgz#2ada30ece1469367b606137983e5655cf66d721e" + integrity sha512-43TF0VYcTeNef9dax1/BhqlRLXpAo6HAiQ68hrJ8XRhDOou73nHZEjeFl8Eai4UFFodKhu+PbRUFzuuoixOUfg== + dependencies: + "@adraffy/ens-normalize" "1.10.0" + "@noble/curves" "1.2.0" + "@noble/hashes" "1.3.2" + "@scure/bip32" "1.3.2" + "@scure/bip39" "1.2.1" + abitype "1.0.0" + isows "1.0.3" + ws "8.13.0" + w3c-hr-time@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz#0a89cdf5cc15822df9c360543676963e0cc308cd" @@ -12527,9 +12569,9 @@ web-vitals@^2.1.0: integrity sha512-sVWcwhU5mX6crfI5Vd2dC4qchyTqxV8URinzt25XqVh+bHEPGH4C3NPrNionCP7Obx59wrYEbNlw4Z8sjALzZg== web3-utils@^1.3.4: - version "1.10.3" - resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.3.tgz#f1db99c82549c7d9f8348f04ffe4e0188b449714" - integrity sha512-OqcUrEE16fDBbGoQtZXWdavsPzbGIDc5v3VrRTZ0XrIpefC/viZ1ZU9bGEemazyS0catk/3rkOOxpzTfY+XsyQ== + version "1.10.4" + resolved "https://registry.yarnpkg.com/web3-utils/-/web3-utils-1.10.4.tgz#0daee7d6841641655d8b3726baf33b08eda1cbec" + integrity sha512-tsu8FiKJLk2PzhDl9fXbGUWTkkVXYhtTA+SmEFkKft+9BgwLxfCRpU96sWv7ICC8zixBNd3JURVoiR3dUXgP8A== dependencies: "@ethereumjs/util" "^8.1.0" bn.js "^5.2.1" From 7793415621e912ac54caca24451c49c7b64b35b9 Mon Sep 17 00:00:00 2001 From: GabiDev Date: Thu, 15 Feb 2024 19:55:43 +0200 Subject: [PATCH 10/13] Added session batch router module --- package.json | 2 +- src/components/AA/BatchLiquidity.tsx | 2 +- src/components/AA/MintNft.tsx | 2 +- src/components/Forward/BatchLiquidity.tsx | 2 +- src/components/Forward/MintNft.tsx | 2 +- src/components/Modules/CreateSession.tsx | 2 +- .../Modules/CreateSessionForCustomSVM.tsx | 2 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 488 +++++++++--------- .../Modules/ERC20TransferUsingSession.tsx | 4 +- .../Modules/HyphenLpUsingSession.tsx | 5 +- src/components/Modules/UseSessionsBatch.tsx | 373 +++++++------ src/components/TabsBody.tsx | 85 ++- src/contexts/SmartAccountContext.tsx | 4 +- yarn.lock | 61 +-- 14 files changed, 541 insertions(+), 493 deletions(-) diff --git a/package.json b/package.json index af88bf0..5562e5d 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "1.0.0", "private": true, "dependencies": { - "@biconomy-devx/account": "2.2.12", + "@biconomy/account": "4.0.0", "@alchemy/aa-core": "1.2.2", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index e4a74fb..108855a 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -8,7 +8,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy-devx/account"; +import { PaymasterMode } from "@biconomy/account"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 4bc309b..0344f89 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -9,7 +9,7 @@ import { showErrorMessage, showSuccessMessage, } from "../../utils"; -import { PaymasterMode } from "@biconomy-devx/account"; +import { PaymasterMode } from "@biconomy/account"; const MintNft: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index 279462c..7331554 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -4,7 +4,7 @@ import { CircularProgress } from "@mui/material"; import { PaymasterFeeQuote, PaymasterMode, -} from "@biconomy-devx/account"; +} from "@biconomy/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index 5f0407a..f0ae793 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -4,7 +4,7 @@ import CircularProgress from "@mui/material/CircularProgress"; import { PaymasterFeeQuote, PaymasterMode, -} from "@biconomy-devx/account"; +} from "@biconomy/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index ca0fa77..b3b69e7 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -3,7 +3,7 @@ import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/account"; +import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionForCustomSVM.tsx b/src/components/Modules/CreateSessionForCustomSVM.tsx index 9fee2c3..a0ce5b5 100644 --- a/src/components/Modules/CreateSessionForCustomSVM.tsx +++ b/src/components/Modules/CreateSessionForCustomSVM.tsx @@ -10,7 +10,7 @@ import { slice, } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; -import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy-devx/account"; +import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/account"; import Button from "../Button"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; diff --git a/src/components/Modules/CreateSessionsWithBatchRouter.tsx b/src/components/Modules/CreateSessionsWithBatchRouter.tsx index e8d7501..ee1b524 100644 --- a/src/components/Modules/CreateSessionsWithBatchRouter.tsx +++ b/src/components/Modules/CreateSessionsWithBatchRouter.tsx @@ -1,252 +1,236 @@ -export {}; -// import React, { useEffect, useState } from "react"; -// import { ethers } from "ethers"; -// import { makeStyles } from "@mui/styles"; -// import { -// BatchedSessionRouterModule, -// SessionKeyManagerModule, -// } from "@biconomy-devx/modules"; -// import { useAccount } from "wagmi"; -// import Button from "../Button"; -// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -// import { showErrorMessage, showSuccessMessage } from "../../utils"; -// import { defaultAbiCoder } from "ethers/lib/utils"; -// import { getActionForErrorMessage } from "../../utils/error-utils"; -// import { -// DEFAULT_BATCHED_SESSION_ROUTER_MODULE, -// DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy-devx/modules"; - -// const CreateBatchRouter: React.FC = () => { -// const classes = useStyles(); -// const { address } = useAccount(); -// const { smartAccount, scwAddress } = useSmartAccountContext(); -// const [loading, setLoading] = useState(false); -// const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = -// useState(false); -// const [isBRMenabled, setIsBRMenabled] = useState(false); - -// useEffect(() => { -// let checkSessionModuleEnabled = async () => { -// if (!scwAddress || !smartAccount || !address) { -// setIsSessionKeyModuleEnabled(false); -// return; -// } -// try { -// let biconomySmartAccount = smartAccount; -// const isEnabled1 = await biconomySmartAccount.isModuleEnabled( -// DEFAULT_SESSION_KEY_MANAGER_MODULE -// ); -// setIsSessionKeyModuleEnabled(isEnabled1); -// const isEnabled2 = await biconomySmartAccount.isModuleEnabled( -// DEFAULT_BATCHED_SESSION_ROUTER_MODULE -// ); -// setIsBRMenabled(isEnabled2); -// console.log( -// "isSessionKeyModuleEnabled, setIsBRMenabled", -// isEnabled1, -// isEnabled2 -// ); -// return; -// } catch (err: any) { -// console.error(err); -// setLoading(false); -// showErrorMessage("Error in getting session key module status"); -// setIsSessionKeyModuleEnabled(false); -// return; -// } -// }; -// checkSessionModuleEnabled(); -// }, [isSessionKeyModuleEnabled, scwAddress, smartAccount, address]); - -// const createSession = async (enableModule: boolean) => { -// if (!scwAddress || !smartAccount || !address) { -// showErrorMessage("Please connect wallet first"); -// return; -// } -// try { -// let biconomySmartAccount = smartAccount; -// const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; -// const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; -// const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; -// const mockSessionModuleAddr = -// "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; - -// // -----> setMerkle tree tx flow -// // create dapp side session key -// const sessionSigner = ethers.Wallet.createRandom(); -// const sessionKeyEOA = await sessionSigner.getAddress(); -// console.log("sessionKeyEOA", sessionKeyEOA); -// // BREWARE JUST FOR DEMO: update local storage with session key -// window.localStorage.setItem("sessionPKey", sessionSigner.privateKey); - -// // generate sessionModule -// const sessionModule = await SessionKeyManagerModule.create({ -// moduleAddress: managerModuleAddr, -// smartAccountAddress: scwAddress, -// }); - -// const sessionRouterModule = await BatchedSessionRouterModule.create({ -// moduleAddress: routerModuleAddr, -// sessionKeyManagerModule: sessionModule, -// smartAccountAddress: scwAddress, -// }); - -// // cretae session key data -// const sessionKeyData = defaultAbiCoder.encode( -// ["address", "address", "address", "uint256"], -// [ -// sessionKeyEOA, -// "0xdA5289fCAAF71d52a80A254da614a192b693e977", // erc20 token address -// "0x42138576848E839827585A3539305774D36B9602", // receiver address -// ethers.utils.parseUnits("50".toString(), 6).toHexString(), // 50 usdc amount -// ] -// ); -// /*const sessionKeyData2 = defaultAbiCoder.encode( -// ["address", "address", "address", "uint256"], -// [ -// sessionKeyEOA, -// "0xdA5289fCAAF71d52a80A254da614a192b693e977", // erc20 token address -// "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 -// ethers.utils.parseUnits("100".toString(), 6).toHexString(), -// ] -// );*/ - -// const sessionKeyData2 = defaultAbiCoder.encode( -// ["address"], -// [sessionKeyEOA] -// ); - -// const sessionTxData = await sessionRouterModule.createSessionData([ -// { -// validUntil: 0, -// validAfter: 0, -// sessionValidationModule: erc20ModuleAddr, -// sessionPublicKey: sessionKeyEOA, -// sessionKeyData: sessionKeyData, -// }, -// { -// validUntil: 0, -// validAfter: 0, -// sessionValidationModule: mockSessionModuleAddr, -// sessionPublicKey: sessionKeyEOA, -// sessionKeyData: sessionKeyData2, -// }, -// ]); -// console.log("sessionTxData", sessionTxData); - -// // tx to set session key -// const tx3 = { -// to: managerModuleAddr, // session manager module address -// data: sessionTxData.data, -// }; - -// let transactionArray = []; -// if (!isSessionKeyModuleEnabled) { -// // -----> enableModule session manager module -// const tx1 = await biconomySmartAccount.getEnableModuleData( -// managerModuleAddr -// ); -// transactionArray.push(tx1); -// } -// if (!isBRMenabled) { -// // -----> enableModule batched session router module -// const tx2 = await biconomySmartAccount.getEnableModuleData( -// routerModuleAddr -// ); -// transactionArray.push(tx2); -// } -// transactionArray.push(tx3); -// let partialUserOp = await biconomySmartAccount.buildUserOp( -// transactionArray, -// { -// skipBundlerGasEstimation: false, -// } -// ); - -// const userOpResponse = await smartAccount.sendUserOp(partialUserOp); -// console.log("userOpHash", userOpResponse); -// const { transactionHash } = await userOpResponse.waitForTxHash(); -// console.log("txHash", transactionHash); -// showSuccessMessage( -// `Session Created Successfully ${transactionHash}`, -// transactionHash -// ); - -// // update the session key //enableModule -// /*await sessionRouterModule.updateSessionStatus( -// { -// sessionPublicKey: sessionKeyEOA, -// sessionValidationModule: erc20ModuleAddr, -// }, -// "ACTIVE" -// );*/ -// } catch (err: any) { -// console.error(err); -// setLoading(false); -// const errorAction = getActionForErrorMessage(err.message); -// showErrorMessage( -// errorAction || err.message || "Error in sending the transaction" -// ); -// } -// }; - -// return ( -//
-//

-// Use Cases {"->"} Session {"->"} Create Session -//

- -//

Create Session Flow

- -// {isSessionKeyModuleEnabled && isBRMenabled ? ( -//
-//

-// Session Key Manager Module is already enabled ✅. Click on the -// button to create a new session. -//

- -//
-// ) : ( -//
-//

-// This is single transaction to enable the sesion manager module and -// set merkle root. -//

- -//
-// )} -//
-// ); -// }; - -// const useStyles = makeStyles(() => ({ -// main: { -// padding: "10px 40px", -// color: "#EEEEEE", -// }, -// subTitle: { -// color: "#FFB999", -// fontSize: 36, -// margin: 0, -// }, -// h3Title: { -// color: "#e6e6e6", -// }, -// })); - -// export default CreateBatchRouter; +import React, { useEffect, useState } from "react"; +import { ethers } from "ethers"; +import { makeStyles } from "@mui/styles"; +import { + BatchedSessionRouterModule, + SessionKeyManagerModule, +} from "@biconomy/modules"; +import { useAccount } from "wagmi"; +import Button from "../Button"; +import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +import { showErrorMessage, showSuccessMessage } from "../../utils"; +import { defaultAbiCoder } from "ethers/lib/utils"; +import { getActionForErrorMessage } from "../../utils/error-utils"; +import { + DEFAULT_BATCHED_SESSION_ROUTER_MODULE, + DEFAULT_SESSION_KEY_MANAGER_MODULE, +} from "@biconomy/modules"; +import { Hex } from "viem"; + +const CreateBatchRouter: React.FC = () => { + const classes = useStyles(); + const { address } = useAccount(); + const { smartAccount, scwAddress } = useSmartAccountContext(); + const [loading, setLoading] = useState(false); + const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = + useState(false); + const [isBRMenabled, setIsBRMenabled] = useState(false); + + useEffect(() => { + let checkSessionModuleEnabled = async () => { + if (!scwAddress || !smartAccount || !address) { + setIsSessionKeyModuleEnabled(false); + return; + } + try { + let biconomySmartAccount = smartAccount; + const isEnabled1 = await biconomySmartAccount.isModuleEnabled( + DEFAULT_SESSION_KEY_MANAGER_MODULE + ); + setIsSessionKeyModuleEnabled(isEnabled1); + const isEnabled2 = await biconomySmartAccount.isModuleEnabled( + DEFAULT_BATCHED_SESSION_ROUTER_MODULE + ); + setIsBRMenabled(isEnabled2); + console.log( + "isSessionKeyModuleEnabled, setIsBRMenabled", + isEnabled1, + isEnabled2 + ); + return; + } catch (err: any) { + console.error(err); + setLoading(false); + showErrorMessage("Error in getting session key module status"); + setIsSessionKeyModuleEnabled(false); + return; + } + }; + checkSessionModuleEnabled(); + }, [isSessionKeyModuleEnabled, scwAddress, smartAccount, address]); + + const createSession = async (enableModule: boolean) => { + if (!scwAddress || !smartAccount || !address) { + showErrorMessage("Please connect wallet first"); + return; + } + try { + let biconomySmartAccount = smartAccount; + const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; + const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; + const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; + const mockSessionModuleAddr = + "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; + + // -----> setMerkle tree tx flow + // create dapp side session key + const sessionSigner = ethers.Wallet.createRandom(); + const sessionKeyEOA = await sessionSigner.getAddress(); + console.log("sessionKeyEOA", sessionKeyEOA); + // BREWARE JUST FOR DEMO: update local storage with session key + window.localStorage.setItem("sessionPKey", sessionSigner.privateKey); + + // generate sessionModule + const sessionModule = await SessionKeyManagerModule.create({ + moduleAddress: managerModuleAddr, + smartAccountAddress: scwAddress, + }); + + const sessionRouterModule = await BatchedSessionRouterModule.create({ + moduleAddress: routerModuleAddr, + sessionKeyManagerModule: sessionModule, + smartAccountAddress: scwAddress, + }); + + // cretae session key data + const sessionKeyData = defaultAbiCoder.encode( + ["address", "address", "address", "uint256"], + [ + sessionKeyEOA, + "0xdA5289fCAAF71d52a80A254da614a192b693e977", // erc20 token address + "0x42138576848E839827585A3539305774D36B9602", // receiver address + ethers.utils.parseUnits("50".toString(), 6).toHexString(), // 50 usdc amount + ] + ); + const sessionKeyData2 = defaultAbiCoder.encode( + ["address"], + [sessionKeyEOA] + ); + + const sessionTxData = await sessionRouterModule.createSessionData([ + { + validUntil: 0, + validAfter: 0, + sessionValidationModule: erc20ModuleAddr, + sessionPublicKey: sessionKeyEOA as Hex, + sessionKeyData: sessionKeyData as Hex, + }, + { + validUntil: 0, + validAfter: 0, + sessionValidationModule: mockSessionModuleAddr, + sessionPublicKey: sessionKeyEOA as Hex, + sessionKeyData: sessionKeyData2 as Hex, + }, + ]); + + // tx to set session key + const tx3 = { + to: managerModuleAddr, // session manager module address + data: sessionTxData.data, + }; + + let transactionArray = []; + if (!isSessionKeyModuleEnabled) { + // -----> enableModule session manager module + const tx1 = await biconomySmartAccount.getEnableModuleData( + managerModuleAddr + ); + transactionArray.push(tx1); + } + if (!isBRMenabled) { + // -----> enableModule batched session router module + const tx2 = await biconomySmartAccount.getEnableModuleData( + routerModuleAddr + ); + transactionArray.push(tx2); + } + transactionArray.push(tx3); + + const userOpResponse = await smartAccount.sendTransaction(transactionArray); + console.log("userOpHash", userOpResponse); + const { transactionHash } = await userOpResponse.waitForTxHash(); + console.log("txHash", transactionHash); + showSuccessMessage( + `Session Created Successfully ${transactionHash}`, + transactionHash + ); + + // update the session key //enableModule + /*await sessionRouterModule.updateSessionStatus( + { + sessionPublicKey: sessionKeyEOA, + sessionValidationModule: erc20ModuleAddr, + }, + "ACTIVE" + );*/ + } catch (err: any) { + console.error(err); + setLoading(false); + const errorAction = getActionForErrorMessage(err.message); + showErrorMessage( + errorAction || err.message || "Error in sending the transaction" + ); + } + }; + + return ( +
+

+ Use Cases {"->"} Session {"->"} Create Session +

+ +

Create Session Flow

+ + {isSessionKeyModuleEnabled && isBRMenabled ? ( +
+

+ Session Key Manager Module is already enabled ✅. Click on the + button to create a new session. +

+ +
+ ) : ( +
+

+ This is single transaction to enable the sesion manager module and + set merkle root. +

+ +
+ )} +
+ ); +}; + +const useStyles = makeStyles(() => ({ + main: { + padding: "10px 40px", + color: "#EEEEEE", + }, + subTitle: { + color: "#FFB999", + fontSize: 36, + margin: 0, + }, + h3Title: { + color: "#e6e6e6", + }, +})); + +export default CreateBatchRouter; + diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index 9d48b1f..405e8a2 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -10,9 +10,9 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy-devx/modules"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy/account"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { EthersSigner } from "@biconomy-devx/account"; +import { EthersSigner } from "@biconomy/account"; const ERC20Transfer: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index 513039f..cf5d2c1 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -10,10 +10,9 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy-devx/account"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy/account"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; -import { EthersSigner } from "@biconomy-devx/account"; -import { parseUnits } from "viem"; +import { EthersSigner } from "@biconomy/account"; const HyphenLpUsingSession: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 5807ff5..3956b17 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -1,192 +1,181 @@ -export {}; -// import React, { useState } from "react"; -// import { ethers } from "ethers"; -// import { makeStyles } from "@mui/styles"; -// import { -// BatchedSessionRouterModule, -// SessionKeyManagerModule, -// } from "@biconomy-devx/modules"; -// import Button from "../Button"; -// import { useAccount } from "wagmi"; -// import { useEthersSigner } from "../../contexts/ethers"; -// import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; -// import { -// configInfo as config, -// showSuccessMessage, -// showErrorMessage, -// } from "../../utils"; -// import { -// DEFAULT_BATCHED_SESSION_ROUTER_MODULE, -// DEFAULT_SESSION_KEY_MANAGER_MODULE, -// } from "@biconomy-devx/modules"; - -// const ERC20RouterTransfer: React.FC = () => { -// const classes = useStyles(); -// const { address } = useAccount(); -// const signer = useEthersSigner(); -// const { smartAccount, scwAddress } = useSmartAccountContext(); -// const [loading, setLoading] = useState(false); - -// const erc20Transfer = async () => { -// if (!scwAddress || !smartAccount || !address) { -// showErrorMessage("Please connect wallet first"); -// return; -// } -// try { -// setLoading(true); -// let biconomySmartAccount = smartAccount; -// const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; -// const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; -// const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; -// const mockSessionModuleAddr = -// "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; - -// // get session key from local storage -// const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); - -// if (!sessionKeyPrivKey) { -// showErrorMessage("Session key not found"); -// return; -// } -// const sessionSigner = new ethers.Wallet(sessionKeyPrivKey); -// console.log("sessionSigner", sessionSigner); - -// // generate sessionModule -// const sessionModule = await SessionKeyManagerModule.create({ -// moduleAddress: managerModuleAddr, -// smartAccountAddress: scwAddress, -// }); -// const sessionRouterModule = await BatchedSessionRouterModule.create({ -// moduleAddress: routerModuleAddr, -// sessionKeyManagerModule: sessionModule, -// smartAccountAddress: scwAddress, -// }); - -// // set active module to sessionRouterModule -// biconomySmartAccount = -// biconomySmartAccount.setActiveValidationModule(sessionRouterModule); - -// // er20 transfer data generation -// const tokenContract = new ethers.Contract( -// config.usdc.address, -// config.usdc.abi, -// signer -// ); -// let decimals = 18; -// try { -// decimals = await tokenContract.decimals(); -// } catch (error) { -// throw new Error("invalid token address supplied"); -// } -// const amountGwei = ethers.utils.parseUnits("5".toString(), decimals); -// const data = ( -// await tokenContract.populateTransaction.transfer( -// "0x42138576848E839827585A3539305774D36B9602", // receiver address -// amountGwei -// ) -// ).data; -// const data2 = ( -// await tokenContract.populateTransaction.transfer( -// "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 -// amountGwei -// ) -// ).data; -// // generate tx data to erc20 transfer -// const tx1 = { -// to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address -// data: data, -// value: "0", -// }; -// const tx2 = { -// to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address -// data: data2, -// value: "0", -// }; - -// // build user op -// // build user op -// let userOp = await biconomySmartAccount.buildUserOp([tx1, tx2], { -// overrides: { -// // signature: "0x0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000456b395c4e107e0302553b90d1ef4a32e9000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000db3d753a1da5a6074a9f74f39a0a779d3300000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001800000000000000000000000000000000000000000000000000000000000000080000000000000000000000000bfe121a6dcf92c49f6c2ebd4f306ba0ba0ab6f1c000000000000000000000000da5289fcaaf71d52a80a254da614a192b693e97700000000000000000000000042138576848e839827585a3539305774d36b96020000000000000000000000000000000000000000000000000000000002faf08000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000041feefc797ef9e9d8a6a41266a85ddf5f85c8f2a3d2654b10b415d348b150dabe82d34002240162ed7f6b7ffbc40162b10e62c3e35175975e43659654697caebfe1c00000000000000000000000000000000000000000000000000000000000000" -// callGasLimit: 400000, // only if undeployed account -// verificationGasLimit: 900000, -// }, -// skipBundlerGasEstimation: true, -// params: { -// batchSessionParams: [ -// { -// sessionSigner: sessionSigner, -// // sessionID: "67e910ef2c", // only require session id filter when multiple leafs have same SVM -// sessionValidationModule: erc20ModuleAddr, -// }, -// { -// sessionSigner: sessionSigner, -// sessionValidationModule: mockSessionModuleAddr, -// }, -// ], -// }, -// }); - -// // send user op -// const userOpResponse = await biconomySmartAccount.sendUserOp(userOp, { -// batchSessionParams: [ -// { -// sessionSigner: sessionSigner, -// sessionValidationModule: erc20ModuleAddr, -// }, -// { -// sessionSigner: sessionSigner, -// sessionValidationModule: mockSessionModuleAddr, -// }, -// ], -// }); - -// console.log("userOpHash", userOpResponse); -// const { transactionHash } = await userOpResponse.waitForTxHash(); -// console.log("txHash", transactionHash); -// showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); -// setLoading(false); -// } catch (err: any) { -// console.error(err); -// setLoading(false); -// showErrorMessage(err.message || "Error in sending the transaction"); -// } -// }; - -// return ( -//
-//

-// Use Cases {"->"} Gasless {"->"} ERC20 Transfer -//

- -//

ERC20 Transfer via Session Key

- -//

-// This is an example gasless transaction to transfer ERC20 tokens. -//

- -//
-// ); -// }; - -// const useStyles = makeStyles(() => ({ -// main: { -// padding: "10px 40px", -// color: "#EEEEEE", -// }, -// subTitle: { -// color: "#FFB999", -// fontSize: 36, -// margin: 0, -// }, -// h3Title: { -// color: "#e6e6e6", -// }, -// })); - -// export default ERC20RouterTransfer; +import React, { useState } from "react"; +import { ethers } from "ethers"; +import { makeStyles } from "@mui/styles"; +import { + BatchedSessionRouterModule, + SessionKeyManagerModule, +} from "@biconomy/modules"; +import Button from "../Button"; +import { useAccount } from "wagmi"; +import { useEthersSigner } from "../../contexts/ethers"; +import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; +import { + configInfo as config, + showSuccessMessage, + showErrorMessage, +} from "../../utils"; +import { + DEFAULT_BATCHED_SESSION_ROUTER_MODULE, + DEFAULT_SESSION_KEY_MANAGER_MODULE, +} from "@biconomy/modules"; +import { polygonMumbai } from "viem/chains"; + +const ERC20RouterTransfer: React.FC = () => { + const classes = useStyles(); + const { address } = useAccount(); + const signer = useEthersSigner(); + const { smartAccount, scwAddress } = useSmartAccountContext(); + const [loading, setLoading] = useState(false); + + const erc20Transfer = async () => { + if (!scwAddress || !smartAccount || !address) { + showErrorMessage("Please connect wallet first"); + return; + } + try { + setLoading(true); + let biconomySmartAccount = smartAccount; + const managerModuleAddr = DEFAULT_SESSION_KEY_MANAGER_MODULE; + const erc20ModuleAddr = "0x000000D50C68705bd6897B2d17c7de32FB519fDA"; + const routerModuleAddr = DEFAULT_BATCHED_SESSION_ROUTER_MODULE; + const mockSessionModuleAddr = + "0x7Ba4a7338D7A90dfA465cF975Cc6691812C3772E"; + + // get session key from local storage + const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + + if (!sessionKeyPrivKey) { + showErrorMessage("Session key not found"); + return; + } + + const provider = new ethers.providers.JsonRpcProvider(polygonMumbai.rpcUrls.public.http[0]); + const sessionSigner = new ethers.Wallet(sessionKeyPrivKey, provider); + console.log("sessionSigner", sessionSigner); + + // generate sessionModule + const sessionModule = await SessionKeyManagerModule.create({ + moduleAddress: managerModuleAddr, + smartAccountAddress: scwAddress, + }); + const sessionRouterModule = await BatchedSessionRouterModule.create({ + moduleAddress: routerModuleAddr, + sessionKeyManagerModule: sessionModule, + smartAccountAddress: scwAddress, + }); + + // set active module to sessionRouterModule + biconomySmartAccount = + biconomySmartAccount.setActiveValidationModule(sessionRouterModule); + + // er20 transfer data generation + const tokenContract = new ethers.Contract( + config.usdc.address, + config.usdc.abi, + signer + ); + let decimals = 18; + try { + decimals = await tokenContract.decimals(); + } catch (error) { + throw new Error("invalid token address supplied"); + } + const amountGwei = ethers.utils.parseUnits("0.1".toString(), decimals); // MAKE SURE SCW HAS ENOUGH USDC, otherwise user op will fail + const data = ( + await tokenContract.populateTransaction.transfer( + "0x42138576848E839827585A3539305774D36B9602", // receiver address + amountGwei + ) + ).data; + const data2 = ( + await tokenContract.populateTransaction.transfer( + "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 + amountGwei + ) + ).data; + // generate tx data to erc20 transfer + const tx1 = { + to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address + data: data, + value: "0", + }; + const tx2 = { + to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address + data: data2, + value: "0", + }; + + let userOpResponse = await biconomySmartAccount.sendTransaction([tx1, tx2], { + params: { + batchSessionParams: [ + { + sessionSigner: sessionSigner, + sessionValidationModule: erc20ModuleAddr, + }, + { + sessionSigner: sessionSigner, + sessionValidationModule: mockSessionModuleAddr, + }, + ], + }, + }); + + console.log("userOpHash", userOpResponse); + const { transactionHash } = await userOpResponse.waitForTxHash(); + const { success } = await userOpResponse.wait(); + if(success === "false") { + setLoading(false); + console.log("txHash", transactionHash); + showErrorMessage("User op execution failed"); + } else { + console.log("txHash", transactionHash); + showSuccessMessage(`ERC20 Transfer ${transactionHash}`, transactionHash); + setLoading(false); + } + } catch (err: any) { + console.error(err); + setLoading(false); + showErrorMessage(err.message || "Error in sending the transaction"); + } + }; + + return ( +
+

+ Use Cases {"->"} Gasless {"->"} ERC20 Transfer +

+ +

ERC20 Transfer via Batched Session Key Module

+ +

+ This is an example gasless transaction to transfer ERC20 tokens using the Batched Session Key Router Module. +

+ + This transaction will transfer 0.1 USDC two times, make sure your SCW has enough USDC. + +
+ ); +}; + +const useStyles = makeStyles(() => ({ + main: { + padding: "10px 40px", + color: "#EEEEEE", + }, + subTitle: { + color: "#FFB999", + fontSize: 36, + margin: 0, + }, + h3Title: { + color: "#e6e6e6", + }, +})); + +export default ERC20RouterTransfer; + diff --git a/src/components/TabsBody.tsx b/src/components/TabsBody.tsx index 0617af4..fd7ef97 100644 --- a/src/components/TabsBody.tsx +++ b/src/components/TabsBody.tsx @@ -39,12 +39,9 @@ import ForwardFlow from "./Forward"; import MintNftForward from "./Forward/MintNft"; import BatchLiquidityForward from "./Forward/BatchLiquidity"; import HyphenLpUsingSession from "./Modules/HyphenLpUsingSession"; -import CreateSession from "./Modules/CreateSession"; import CreateCustomSession from "./Modules/CreateSessionForCustomSVM"; -import SessionFlow from "./Modules"; -import ERC20Transfer from "./Modules/ERC20TransferUsingSession"; -// import CreateBatchRouter from "./Modules/CreateSessionsWithBatchRouter"; -// import ERC20RouterTransfer from "./Modules/UseSessionsBatch"; +import CreateBatchRouter from "./Modules/CreateSessionsWithBatchRouter"; +import ERC20RouterTransfer from "./Modules/UseSessionsBatch"; const drawerWidth = 320; const onboardingList = [ @@ -103,6 +100,17 @@ const SessionList = [ }, ]; +const SessionRouterList = [ + { + name: "Create Custom Router Session", + icon: , + }, + { + name: "ERC20 Transfer using session router", + icon: , + }, +]; + const TabsBody = ({ loading }: { loading: boolean }) => { const classes = useStyles(); const [pageIndex, setPageIndex] = React.useState(0); @@ -111,6 +119,7 @@ const TabsBody = ({ loading }: { loading: boolean }) => { const [isAAOpen, setIsAAOpen] = React.useState(true); const [isForwardOpen, setIsForwardOpen] = React.useState(true); const [isSessionOpen, setIsSessionOpen] = React.useState(true); + const [isSessionRouterOpen, setIsSessionRouterOpen] = React.useState(true); const handleChange = (event: any, newValue: any) => { if (newValue >= 4 && newValue <= 7) { @@ -378,6 +387,66 @@ const TabsBody = ({ loading }: { loading: boolean }) => { ))} + + + { + setIsSessionRouterOpen(!isSessionRouterOpen); + handleChange(e, 8); + }} + > + + + + + {isSessionRouterOpen ? : } + + + + {SessionRouterList.map((ele, index) => ( + + handleChange(e, index + 11)} + > + + {ele.icon} + + + + + ))} + + + @@ -438,6 +507,12 @@ const TabsBody = ({ loading }: { loading: boolean }) => { + + + + + + ); }; diff --git a/src/contexts/SmartAccountContext.tsx b/src/contexts/SmartAccountContext.tsx index bc46103..bec00c2 100644 --- a/src/contexts/SmartAccountContext.tsx +++ b/src/contexts/SmartAccountContext.tsx @@ -1,8 +1,8 @@ import React, { useCallback, useContext, useEffect, useState } from "react"; -import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy-devx/account"; +import { BiconomySmartAccountV2, createSmartAccountClient } from "@biconomy/account"; import { useAccount, useWalletClient } from "wagmi"; import { bundlerUrl, paymasterApiKey } from "../utils/chainConfig"; -// import { MultiChainValidationModule } from "@biconomy-devx/modules"; +// import { MultiChainValidationModule } from "@biconomy/account"; // Types type smartAccountContextType = { diff --git a/yarn.lock b/yarn.lock index 261cbcd..e55ae8e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1178,53 +1178,54 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@biconomy-devx/account@2.2.12": - version "2.2.12" - resolved "https://registry.yarnpkg.com/@biconomy-devx/account/-/account-2.2.12.tgz#bbc66874df813f7996684505fdf736d744e8dc3b" - integrity sha512-Xkg23h3mlYEYDPTHxHiRUwPh9k09dDHmCYsXK0tzs5L0Dg3hKNV14vgFBkrknycPjEpKxkPamt3tUMtSKpHsTA== +"@biconomy/account@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@biconomy/account/-/account-4.0.0.tgz#b7d8af25eadca38b0b5e961cac968c28b61a8b85" + integrity sha512-fMiFZBTcwdylmG9sFakIZvfmMBV0qm8t6mqsjOq+2EIU06UatJCc8/KS/Vc9osscYyhB/wcvJmbB7WuKP6WkHw== dependencies: "@alchemy/aa-core" "3.0.0-alpha.4" - "@biconomy-devx/bundler" "2.2.12" - "@biconomy-devx/common" "2.2.12" - "@biconomy-devx/modules" "2.2.12" - "@biconomy-devx/paymaster" "2.2.12" + "@biconomy/bundler" "4.0.0" + "@biconomy/common" "4.0.0" + "@biconomy/modules" "4.0.0" + "@biconomy/paymaster" "4.0.0" viem "^2.7.3" -"@biconomy-devx/bundler@2.2.12": - version "2.2.12" - resolved "https://registry.yarnpkg.com/@biconomy-devx/bundler/-/bundler-2.2.12.tgz#1a92be097dab49a52925cb7db6a602d0a5c3bb86" - integrity sha512-X4CznUYC1qWgVvbXkqvY718soNAezDh44VU/wDxyjrvQEdD7gOz/fMkiPoGIQxAhUd2Ex5zsAZ78Aw4Lz09e7g== +"@biconomy/bundler@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@biconomy/bundler/-/bundler-4.0.0.tgz#0263054b2b3953463b3aafac350a4d4d416f43a7" + integrity sha512-iIGn0ITHVvg9zYKtWxIF6wwYr/aHvOmECMqF2EFgiI7WDqoJ+NFjQ6Ih5zHUr9ATqfU1ZKd5rfs7kx/qaYmrdg== dependencies: "@alchemy/aa-core" "3.0.0-alpha.4" - "@biconomy-devx/common" "2.2.12" + "@biconomy/common" "4.0.0" viem "^2.7.3" -"@biconomy-devx/common@2.2.12": - version "2.2.12" - resolved "https://registry.yarnpkg.com/@biconomy-devx/common/-/common-2.2.12.tgz#c1297a806f2b39a808b1836b0bfd8bc64ab323bc" - integrity sha512-/6r9FR6UHmKuxdG+a8Um/Pre0m8eFDDlrarUC5sVWuhzwAJnfLHAwpZQRml8O0IMSAa3pKn9QKrPGswoYM2Mhg== +"@biconomy/common@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@biconomy/common/-/common-4.0.0.tgz#36dfcad23d9a2706771faf7608b624652886d6f4" + integrity sha512-0Zw8g8CVcLWY2egFhwb2EAZ3EIoZpsAkWryNBmUbP34nbdjs+RYltqaJZgZT4NsnrmJVGoXpcdnwn50ne1NFAQ== dependencies: "@alchemy/aa-core" "3.0.0-alpha.4" "@ethersproject/abstract-signer" "^5.7.0" viem "^2.7.3" -"@biconomy-devx/modules@2.2.12": - version "2.2.12" - resolved "https://registry.yarnpkg.com/@biconomy-devx/modules/-/modules-2.2.12.tgz#6146d85068406154299e71849c446db693a95833" - integrity sha512-rqc4juXzZovK6u6YI0QwL/Y9DDzzvz2k3efzcwYdb7dUBSgRTTm4C8T0SDt57MtzL0YWaWTcrDb+AaUfRggy7Q== +"@biconomy/modules@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@biconomy/modules/-/modules-4.0.0.tgz#4f4cb397431541112c091380d0487dcb573c182a" + integrity sha512-FyYB6wT6kkUaJjQc6wNzpFM5yUREFRgWjgCmUXFhSAJRt+PVQgfi1ERosyuWUI4RK76wXvS82RBzqFY5G3p/XA== dependencies: "@alchemy/aa-core" "3.0.0-alpha.4" - "@biconomy-devx/common" "2.2.12" + "@biconomy/common" "4.0.0" + "@ethersproject/abi" "^5.7.0" merkletreejs "^0.3.11" viem "^2.7.3" -"@biconomy-devx/paymaster@2.2.12": - version "2.2.12" - resolved "https://registry.yarnpkg.com/@biconomy-devx/paymaster/-/paymaster-2.2.12.tgz#f8e14f7c9e729346fed9a69c656493b2ca4ff627" - integrity sha512-l7dIZjSxNuZSIkIukCl741RLZSTVhjarYR9iEycEW328/rNCBSAcsja/Bqc0L1jwlTMKntBg8Atq2vO9GKHgPA== +"@biconomy/paymaster@4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@biconomy/paymaster/-/paymaster-4.0.0.tgz#f6ec4343e87cecf4c62ce9d0114d09f6f81f70c6" + integrity sha512-o1vu+ywJHuNLbWJuS3uHwp03aq9qjTr6WlRzqUgqZeBulqr6EGMZ7jwuMZXLxFdbuREHkSVjHkJfX1KFri8FzQ== dependencies: "@alchemy/aa-core" "3.0.0-alpha.4" - "@biconomy-devx/common" "2.2.12" + "@biconomy/common" "4.0.0" viem "^2.7.3" "@coinbase/wallet-sdk@^3.6.6": @@ -12213,9 +12214,9 @@ typedarray-to-buffer@3.1.5, typedarray-to-buffer@^3.1.5: is-typedarray "^1.0.0" typescript@5.2.0: - version "5.4.0-dev.20240206" - resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.0-dev.20240206.tgz#75755acb115e1176958d511d11eb018694e74987" - integrity sha512-8P1XYxDbG/AyGE5tB8+JpeiQfS5ye1BTvIVDZaHhoK9nJuCn4nkB0L66lvfwYB+46hA4rLo3vE3WkIToSYtqQA== + version "5.4.0-dev.20240215" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.0-dev.20240215.tgz#68015a58c64dd0cb92f5f74fa5ee294ab8a11ae1" + integrity sha512-XC4/5bqzYJYPwH1EaVY3E7gtieevPWkKc1oBcHdiZytptFaqms77yIiiXmCpZsl+ydrcxCijAVzBXLWxujaksw== ua-parser-js@^1.0.37: version "1.0.37" From a5f05efa998d2521ef242c1072577c097d3fd291 Mon Sep 17 00:00:00 2001 From: GabiDev Date: Mon, 19 Feb 2024 19:15:34 +0200 Subject: [PATCH 11/13] Added Batched Router + Update deps & Code + ABI SVM --- package.json | 11 +- src/components/AA/BatchLiquidity.tsx | 4 +- src/components/AA/MintNft.tsx | 2 +- src/components/Forward/BatchLiquidity.tsx | 8 +- src/components/Forward/MintNft.tsx | 2 +- src/components/Modules/ABI_SVM.tsx | 65 + src/components/Modules/CreateABISVM.tsx | 203 ++ src/components/Modules/CreateSession.tsx | 4 +- .../Modules/CreateSessionsWithBatchRouter.tsx | 1 + .../Modules/ERC20TransferUsingSession.tsx | 8 +- .../Modules/HyphenLpUsingSession.tsx | 8 +- src/components/Modules/UseABISVM.tsx | 150 ++ src/components/Modules/UseSessionsBatch.tsx | 48 +- src/components/TabsBody.tsx | 19 +- src/index.tsx | 48 +- src/utils/index.ts | 37 + yarn.lock | 1676 +++++++++-------- 17 files changed, 1446 insertions(+), 848 deletions(-) create mode 100644 src/components/Modules/ABI_SVM.tsx create mode 100644 src/components/Modules/CreateABISVM.tsx create mode 100644 src/components/Modules/UseABISVM.tsx diff --git a/package.json b/package.json index 5562e5d..ccfd48c 100644 --- a/package.json +++ b/package.json @@ -3,14 +3,15 @@ "version": "1.0.0", "private": true, "dependencies": { - "@biconomy/account": "4.0.0", "@alchemy/aa-core": "1.2.2", + "@biconomy/account": "4.0.0", "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", "@mui/icons-material": "^5.11.11", "@mui/material": "^5.11.12", "@mui/styles": "^5.11.12", - "@rainbow-me/rainbowkit": "^1.2.0", + "@rainbow-me/rainbowkit": "^2.0.0", + "@tanstack/react-query": "^5.22.2", "@types/node": "^16.7.13", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", @@ -22,8 +23,8 @@ "react-scripts": "5.0.1", "react-toastify": "^9.0.8", "typescript": "5.2.0", - "viem": "^1.20.3", - "wagmi": "^1.4.5", + "viem": "^2.7.3", + "wagmi": "^2.5.5", "web-vitals": "^2.1.0" }, "scripts": { @@ -67,4 +68,4 @@ "tls": "^0.0.1", "url": "^0.11.0" } -} \ No newline at end of file +} diff --git a/src/components/AA/BatchLiquidity.tsx b/src/components/AA/BatchLiquidity.tsx index 108855a..0bc0768 100644 --- a/src/components/AA/BatchLiquidity.tsx +++ b/src/components/AA/BatchLiquidity.tsx @@ -23,7 +23,7 @@ const BatchLiquidity: React.FC = () => { const approveCallData = encodeFunctionData({ abi: config.usdc.abi, functionName: "approve", - args: [config.hyphenLP.address, parseEther("0.001", "gwei")], + args: [config.hyphenLP.address, parseEther("1")], }); const tx1 = { to: config.usdc.address as Hex, @@ -34,7 +34,7 @@ const BatchLiquidity: React.FC = () => { const addLiquidityData = encodeFunctionData({ abi: config.hyphenLP.abi, functionName: "addTokenLiquidity", - args: [config.usdc.address, parseEther("0.001", "gwei")], + args: [config.usdc.address, parseUnits("0.001", 6)], }); const tx2 = { to: config.hyphenLP.address as Hex, diff --git a/src/components/AA/MintNft.tsx b/src/components/AA/MintNft.tsx index 0344f89..8eca44a 100644 --- a/src/components/AA/MintNft.tsx +++ b/src/components/AA/MintNft.tsx @@ -23,7 +23,7 @@ const MintNft: React.FC = () => { const nftContract = getContract({ address: config.nft.address as Hex, abi: config.nft.abi, - publicClient, + client: publicClient, }); const count = await nftContract.read.balanceOf([scwAddress]); console.log("count", count); diff --git a/src/components/Forward/BatchLiquidity.tsx b/src/components/Forward/BatchLiquidity.tsx index 7331554..34a61db 100644 --- a/src/components/Forward/BatchLiquidity.tsx +++ b/src/components/Forward/BatchLiquidity.tsx @@ -13,7 +13,7 @@ import { showSuccessMessage, showErrorMessage, } from "../../utils"; -import { Hex, encodeFunctionData, parseEther } from "viem"; +import { Hex, encodeFunctionData, parseEther, parseUnits } from "viem"; const BatchLiquidity: React.FC = () => { const classes = useStyles(); @@ -36,22 +36,20 @@ const BatchLiquidity: React.FC = () => { const approveCallData = encodeFunctionData({ abi: config.usdc.abi, functionName: "approve", - args: [config.hyphenLP.address, parseEther("0.001", "gwei")], + args: [config.hyphenLP.address, parseEther("1")], }); const tx1 = { to: config.usdc.address as Hex, - value: BigInt(0), data: approveCallData, }; const addLiquidityData = encodeFunctionData({ abi: config.hyphenLP.abi, functionName: "addTokenLiquidity", - args: [config.usdc.address, parseEther("0.001", "gwei")], + args: [config.usdc.address, parseUnits("0.001", 6)], }); const tx2 = { to: config.hyphenLP.address as Hex, - value: BigInt(0), data: addLiquidityData, }; diff --git a/src/components/Forward/MintNft.tsx b/src/components/Forward/MintNft.tsx index f0ae793..e919d94 100644 --- a/src/components/Forward/MintNft.tsx +++ b/src/components/Forward/MintNft.tsx @@ -35,7 +35,7 @@ const MintNftForward: React.FC = () => { const nftContract = getContract({ address: config.nft.address as Hex, abi: config.nft.abi, - publicClient, + client: publicClient, }); const count = await nftContract.read.balanceOf([scwAddress as Hex]); console.log("count", Number(count)); diff --git a/src/components/Modules/ABI_SVM.tsx b/src/components/Modules/ABI_SVM.tsx new file mode 100644 index 0000000..0b00b3d --- /dev/null +++ b/src/components/Modules/ABI_SVM.tsx @@ -0,0 +1,65 @@ + +import { useState } from 'react'; +import { Contract, ethers } from 'ethers' +import abis from "../../utils/configs/contractsInfo.json"; +import { useSmartAccountContext } from '../../contexts/SmartAccountContext'; +import { useAccount } from 'wagmi'; +import CreateABISVM from './CreateABISVM'; + + +export default function ABISVM() { + const { address } = useAccount(); + const { smartAccount, scwAddress } = useSmartAccountContext(); + const [loading, setLoading] = useState(false); + const [provider, setProvider] = useState(null) + + const [mockStake, setMockStake] = useState(); + + const [abiSVMAddress, setAbiSVMAddress] = useState("0x1431610824308bCDfA7b6F9cCB451d370f2a2F01"); + + const connect = async () => { + // @ts-ignore + const { ethereum } = window; + try { + setLoading(true) + const provider = new ethers.providers.Web3Provider(ethereum) + await provider.send("eth_requestAccounts", []); + setProvider(provider) + + setMockStake(mockStake); + setLoading(false) + } catch (error) { + console.error(error); + } + }; + + console.log(smartAccount); + console.log(provider); + + return ( + <> +
+

ABI SVM Demo

+ {!loading && !address && } + {loading &&

Loading Smart Account...

} + {scwAddress &&

Smart Account: {scwAddress}

} + + { + smartAccount && ( + + ) + } +
+ + ) +} \ No newline at end of file diff --git a/src/components/Modules/CreateABISVM.tsx b/src/components/Modules/CreateABISVM.tsx new file mode 100644 index 0000000..b275b46 --- /dev/null +++ b/src/components/Modules/CreateABISVM.tsx @@ -0,0 +1,203 @@ +import React, { useEffect, useState } from "react"; +import { BigNumber, ethers } from "ethers"; +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { BiconomySmartAccountV2, createSessionKeyManagerModule } from "@biconomy/account" +import { toast, ToastContainer } from 'react-toastify'; +import 'react-toastify/dist/ReactToastify.css'; +import {getABISVMSessionKeyData} from "../../utils/index"; +import { hexDataSlice, hexZeroPad, hexlify, id, parseEther } from "ethers/lib/utils"; +import { Hex, parseUnits } from "viem"; +import UseABISVM from "./UseABISVM"; +import Button from "../Button"; +import { useAccount } from "wagmi"; +import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; + +interface props { + smartAccount: BiconomySmartAccountV2; + address: string; + provider: ethers.providers.Provider; + nftContract: ethers.Contract; + abiSVMAddress: string; +} + +const CreateABISVM: React.FC = () => { + + const [isSessionKeyModuleEnabled, setIsSessionKeyModuleEnabled] = useState (false); + const [isSessionActive, setIsSessionActive] = useState (false); + const [sessionIDs, setSessionIDs] = useState([]); + + const { address } = useAccount(); + const { smartAccount, scwAddress } = useSmartAccountContext(); + const [loading, setLoading] = useState(false); + + const [abiSVMAddress, setAbiSVMAddress] = useState("0x1431610824308bCDfA7b6F9cCB451d370f2a2F01"); + + useEffect(() => { + let checkSessionModuleEnabled = async () => { + if(!address || !smartAccount) { + setIsSessionKeyModuleEnabled(false); + return + } + try { + const isEnabled = await smartAccount.isModuleEnabled(DEFAULT_SESSION_KEY_MANAGER_MODULE) + console.log("isSessionKeyModuleEnabled", isEnabled); + setIsSessionKeyModuleEnabled(isEnabled); + return; + } catch(err: any) { + console.error(err) + setIsSessionKeyModuleEnabled(false); + return; + } + } + checkSessionModuleEnabled() + },[isSessionKeyModuleEnabled, address, smartAccount]) + + const createSession = async (enableSessionKeyModule: boolean) => { + const toastMessage = 'Creating Sessions for ' + address; + toast.info(toastMessage, { + position: "top-right", + autoClose: 15000, + hideProgressBar: false, + closeOnClick: true, + pauseOnHover: true, + draggable: true, + progress: undefined, + theme: "dark", + }); + if (!address || !smartAccount) { + alert("Please connect wallet first") + } + try { + // -----> setMerkle tree tx flow + // create dapp side session key + const sessionSigner = ethers.Wallet.createRandom(); + const sessionKeyEOA = await sessionSigner.getAddress(); + console.log("sessionKeyEOA", sessionKeyEOA); + // BREWARE JUST FOR DEMO: update local storage with session key + window.localStorage.setItem("sessionPKey", sessionSigner.privateKey); + + // generate sessionModule + const sessionModule = await createSessionKeyManagerModule({ + moduleAddress: DEFAULT_SESSION_KEY_MANAGER_MODULE, + smartAccountAddress: address as Hex, + }); + + /** + * Create Session Key Datas + */ + + const functionSelector = hexDataSlice(id("safeMint(address)"), 0, 4); + + const sessionKeyData = await getABISVMSessionKeyData(sessionKeyEOA, { + destContract: "0x1758f42Af7026fBbB559Dc60EcE0De3ef81f665e", + functionSelector: functionSelector, + valueLimit: parseEther("0"), + rules: [ + { + offset: 0, + condition: 2, + referenceValue: ethers.utils.hexZeroPad( + ethers.utils.parseEther("1000").toHexString(), + 32 + ) + }, + ], + }); + + /** + * Create Data for the Session Enabling Transaction + * We pass an array of session data objects to the createSessionData method + */ + const sessionTxData = await sessionModule.createSessionData([ + { + validUntil: 0, + validAfter: 0, + sessionValidationModule: "0x1431610824308bCDfA7b6F9cCB451d370f2a2F01", + sessionPublicKey: sessionKeyEOA as Hex, + sessionKeyData: sessionKeyData as Hex, + } + ]); + //console.log("sessionTxData", sessionTxData); + setSessionIDs([...sessionTxData.sessionIDInfo]); + + // tx to set session key + const setSessionTrx = { + to: DEFAULT_SESSION_KEY_MANAGER_MODULE, // session manager module address + data: sessionTxData.data, + }; + + const transactionArray = []; + + if (enableSessionKeyModule) { + // -----> enableModule session manager module + const enableModuleTrx = await smartAccount!.getEnableModuleData( + DEFAULT_SESSION_KEY_MANAGER_MODULE + ); + transactionArray.push(enableModuleTrx); + } + + transactionArray.push(setSessionTrx) + + let userOpResponse = await smartAccount!.sendTransaction(transactionArray); + + const transactionDetails = await userOpResponse.wait(); + console.log("txHash", transactionDetails.receipt.transactionHash); + console.log("Sessions Enabled"); + setIsSessionActive(true) + toast.success(`Success! Sessions created succesfully`, { + position: "top-right", + autoClose: 6000, + hideProgressBar: false, + closeOnClick: true, + pauseOnHover: true, + draggable: true, + progress: undefined, + theme: "dark", + }); + } catch(err: any) { + console.error(err) + } + } + + return ( +
+ + {isSessionKeyModuleEnabled&&!isSessionActive ? ( +
+ ) + + } + + export default CreateABISVM; \ No newline at end of file diff --git a/src/components/Modules/CreateSession.tsx b/src/components/Modules/CreateSession.tsx index b3b69e7..7e2eb29 100644 --- a/src/components/Modules/CreateSession.tsx +++ b/src/components/Modules/CreateSession.tsx @@ -1,7 +1,7 @@ import React, { useEffect, useState } from "react"; import { makeStyles } from "@mui/styles"; import { useAccount } from "wagmi"; -import { Hex, encodeAbiParameters, parseAbiParameters, parseEther } from "viem"; +import { Hex, encodeAbiParameters, parseAbiParameters, parseEther, parseUnits } from "viem"; import { generatePrivateKey, privateKeyToAccount } from "viem/accounts"; import { createSessionKeyManagerModule, DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/account"; import Button from "../Button"; @@ -93,7 +93,7 @@ const CreateSession: React.FC = () => { sessionKeyEOA, config.usdc.address as Hex, // erc20 token address "0x42138576848E839827585A3539305774D36B9602", // receiver address // You must send to same receiver when making use of the session - parseEther("50", "gwei"), // 50 usdc amount + parseUnits("50", 6), // 50 usdc amount ] ); diff --git a/src/components/Modules/CreateSessionsWithBatchRouter.tsx b/src/components/Modules/CreateSessionsWithBatchRouter.tsx index ee1b524..d39cd4f 100644 --- a/src/components/Modules/CreateSessionsWithBatchRouter.tsx +++ b/src/components/Modules/CreateSessionsWithBatchRouter.tsx @@ -16,6 +16,7 @@ import { DEFAULT_SESSION_KEY_MANAGER_MODULE, } from "@biconomy/modules"; import { Hex } from "viem"; +import { PaymasterMode } from "@biconomy/account"; const CreateBatchRouter: React.FC = () => { const classes = useStyles(); diff --git a/src/components/Modules/ERC20TransferUsingSession.tsx b/src/components/Modules/ERC20TransferUsingSession.tsx index 405e8a2..94ae33f 100644 --- a/src/components/Modules/ERC20TransferUsingSession.tsx +++ b/src/components/Modules/ERC20TransferUsingSession.tsx @@ -3,7 +3,6 @@ import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, @@ -13,15 +12,16 @@ import { import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy/account"; import { ERC20_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; import { EthersSigner } from "@biconomy/account"; +import { useAccount } from "wagmi"; const ERC20Transfer: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); const { smartAccount, scwAddress } = useSmartAccountContext(); + const { address } = useAccount(); const [loading, setLoading] = useState(false); const erc20Transfer = async () => { - if (!scwAddress || !smartAccount || !signer) { + if (!scwAddress || !smartAccount || !address) { showErrorMessage("Please connect wallet first"); return; } @@ -58,7 +58,7 @@ const ERC20Transfer: React.FC = () => { const tokenContract = new ethers.Contract( config.usdc.address, config.usdc.abi, - signer + sessionSigner ); let decimals = 18; diff --git a/src/components/Modules/HyphenLpUsingSession.tsx b/src/components/Modules/HyphenLpUsingSession.tsx index cf5d2c1..567a3ad 100644 --- a/src/components/Modules/HyphenLpUsingSession.tsx +++ b/src/components/Modules/HyphenLpUsingSession.tsx @@ -3,7 +3,6 @@ import { ethers } from "ethers"; import { makeStyles } from "@mui/styles"; import Button from "../Button"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, @@ -13,15 +12,16 @@ import { import { DEFAULT_SESSION_KEY_MANAGER_MODULE, createSessionKeyManagerModule } from "@biconomy/account"; import { CONTRACT_CALL_SESSION_VALIDATION_MODULE } from "../../utils/chainConfig"; import { EthersSigner } from "@biconomy/account"; +import { useAccount } from "wagmi"; const HyphenLpUsingSession: React.FC = () => { const classes = useStyles(); - const signer = useEthersSigner(); + const { address } = useAccount(); const { smartAccount, scwAddress } = useSmartAccountContext(); const [loading, setLoading] = useState(false); const hyphenLpUsingSession = async () => { - if (!scwAddress || !smartAccount || !signer) { + if (!scwAddress || !smartAccount || !address) { showErrorMessage("Please connect wallet first"); return; } @@ -59,7 +59,7 @@ const HyphenLpUsingSession: React.FC = () => { const hyphenContract = new ethers.Contract( config.hyphenLP.address, config.hyphenLP.abi, - signer + sessionSigner ); const addLiquidityData = hyphenContract.interface.encodeFunctionData( diff --git a/src/components/Modules/UseABISVM.tsx b/src/components/Modules/UseABISVM.tsx new file mode 100644 index 0000000..431dea2 --- /dev/null +++ b/src/components/Modules/UseABISVM.tsx @@ -0,0 +1,150 @@ +import React from "react"; +import { ethers } from "ethers"; +import { SessionKeyManagerModule } from "@biconomy/modules"; +import { BiconomySmartAccountV2, createSessionKeyManagerModule } from "@biconomy/account" +import { DEFAULT_SESSION_KEY_MANAGER_MODULE } from "@biconomy/modules"; +import { toast, ToastContainer } from 'react-toastify'; +import 'react-toastify/dist/ReactToastify.css'; +import { Hex, createWalletClient, encodeFunctionData, http, parseAbi } from "viem"; +import Button from "../Button"; +import { config } from "process"; +import { configInfo } from "../../utils"; +import { privateKeyToAccount } from "viem/accounts"; +import { polygonMumbai } from "viem/chains"; +import { error } from "console"; + +interface props { + smartAccount: BiconomySmartAccountV2; + address: string; + abiSVMAddress: string; + sessionIDs: string[]; +} + +const UseABISVM: React.FC = ({ + smartAccount, + address, + abiSVMAddress, + sessionIDs, +}) => { + + const sendUserOpWithData = async ( + to: string, + data: string, + value: string, + sessionId: string, + message?: string + ) => { + if (!address || !smartAccount || !address) { + alert('Connect wallet first'); + return; + } + + const toastMessage = message; + console.log(toastMessage); + try { + toast.info(toastMessage, { + position: "top-right", + autoClose: 15000, + hideProgressBar: false, + closeOnClick: true, + pauseOnHover: true, + draggable: true, + progress: undefined, + theme: "dark", + }); + + // get session key from local storage + const sessionKeyPrivKey = window.localStorage.getItem("sessionPKey"); + //console.log("sessionKeyPrivKey", sessionKeyPrivKey); + if (!sessionKeyPrivKey) { + alert("Session key not found please create session"); + return; + } + + // USE SESION KEY AS SIGNER + const provider = new ethers.providers.JsonRpcProvider(polygonMumbai.rpcUrls.default.http[0]); + const sessionSigner = new ethers.Wallet(sessionKeyPrivKey, provider); + + // generate sessionModule + const sessionModule = await createSessionKeyManagerModule({ + moduleAddress: DEFAULT_SESSION_KEY_MANAGER_MODULE, + smartAccountAddress: address, + }); + + // set active module to sessionModule + smartAccount = smartAccount.setActiveValidationModule(sessionModule); + + const tx = { + to: to, + data: data, + value: value, + }; + + //console.log("tx", tx); + + // build user op + let userOpResponse = await smartAccount.sendTransaction([tx], { + params: { + sessionSigner: sessionSigner, + sessionValidationModule: abiSVMAddress as Hex, + }, + }); + + console.log("userOpHash %o for Session Id %s", userOpResponse, sessionId); + + const { receipt } = await userOpResponse.wait(1); + console.log(message + " => Success"); + //console.log("txHash", receipt.transactionHash); + const polygonScanlink = `https://mumbai.polygonscan.com/tx/${receipt.transactionHash}` + console.log("Check tx: ", polygonScanlink); + toast.success(Success Click to view transaction, { + position: "top-right", + autoClose: 6000, + hideProgressBar: false, + closeOnClick: true, + pauseOnHover: true, + draggable: true, + progress: undefined, + theme: "dark", + }); + } catch(err: any) { + console.error(err); + toast.error(err.message, { + position: "top-right", + autoClose: 6000, + hideProgressBar: false, + closeOnClick: true, + pauseOnHover: true, + draggable: true, + progress: undefined, + theme: "dark", + }); + } + } + + return( +
+ { +
+
+ } +
+ ) + } + + export default UseABISVM; diff --git a/src/components/Modules/UseSessionsBatch.tsx b/src/components/Modules/UseSessionsBatch.tsx index 3956b17..861f5fb 100644 --- a/src/components/Modules/UseSessionsBatch.tsx +++ b/src/components/Modules/UseSessionsBatch.tsx @@ -7,7 +7,6 @@ import { } from "@biconomy/modules"; import Button from "../Button"; import { useAccount } from "wagmi"; -import { useEthersSigner } from "../../contexts/ethers"; import { useSmartAccountContext } from "../../contexts/SmartAccountContext"; import { configInfo as config, @@ -18,12 +17,10 @@ import { DEFAULT_BATCHED_SESSION_ROUTER_MODULE, DEFAULT_SESSION_KEY_MANAGER_MODULE, } from "@biconomy/modules"; -import { polygonMumbai } from "viem/chains"; const ERC20RouterTransfer: React.FC = () => { const classes = useStyles(); const { address } = useAccount(); - const signer = useEthersSigner(); const { smartAccount, scwAddress } = useSmartAccountContext(); const [loading, setLoading] = useState(false); @@ -49,7 +46,7 @@ const ERC20RouterTransfer: React.FC = () => { return; } - const provider = new ethers.providers.JsonRpcProvider(polygonMumbai.rpcUrls.public.http[0]); + const provider = new ethers.providers.JsonRpcProvider("https://endpoints.omniatech.io/v1/matic/mumbai/public"); const sessionSigner = new ethers.Wallet(sessionKeyPrivKey, provider); console.log("sessionSigner", sessionSigner); @@ -68,41 +65,42 @@ const ERC20RouterTransfer: React.FC = () => { biconomySmartAccount = biconomySmartAccount.setActiveValidationModule(sessionRouterModule); + const nftContract = new ethers.Contract( + config.nft.address, + config.nft.abi, + provider + ); + // er20 transfer data generation const tokenContract = new ethers.Contract( config.usdc.address, config.usdc.abi, - signer + sessionSigner ); - let decimals = 18; - try { - decimals = await tokenContract.decimals(); - } catch (error) { - throw new Error("invalid token address supplied"); - } - const amountGwei = ethers.utils.parseUnits("0.1".toString(), decimals); // MAKE SURE SCW HAS ENOUGH USDC, otherwise user op will fail - const data = ( + + + const amountGwei = ethers.utils.parseUnits("0.1".toString(), 6); // MAKE SURE SCW HAS ENOUGH USDC, otherwise user op will fail + const erc20TransferData = ( await tokenContract.populateTransaction.transfer( "0x42138576848E839827585A3539305774D36B9602", // receiver address amountGwei ) ).data; - const data2 = ( - await tokenContract.populateTransaction.transfer( + const nftMintData = ( + await nftContract.populateTransaction.safeMint( "0x5a86A87b3ea8080Ff0B99820159755a4422050e6", // receiver address 2 - amountGwei ) ).data; + // generate tx data to erc20 transfer const tx1 = { - to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address - data: data, - value: "0", + to: config.usdc.address, //erc20 token address + data: erc20TransferData!, }; + // generate tx data to nft mint const tx2 = { - to: "0xdA5289fCAAF71d52a80A254da614a192b693e977", //erc20 token address - data: data2, - value: "0", + to: config.nft.address, //erc20 token address + data: nftMintData!, }; let userOpResponse = await biconomySmartAccount.sendTransaction([tx1, tx2], { @@ -148,13 +146,13 @@ const ERC20RouterTransfer: React.FC = () => {

ERC20 Transfer via Batched Session Key Module

- This is an example gasless transaction to transfer ERC20 tokens using the Batched Session Key Router Module. + This is an example gasless transaction to transfer ERC20 tokens and mint NFT using the Batched Session Key Router Module.

- This transaction will transfer 0.1 USDC two times, make sure your SCW has enough USDC. + This transaction will transfer 0.1 USDC and also mint an NFT.