diff --git a/.env.example b/.env.example new file mode 100644 index 000000000..4c9df85af --- /dev/null +++ b/.env.example @@ -0,0 +1,7 @@ +REACT_APP_CANDY_MACHINE_CONFIG=__PLACEHOLDER__ +REACT_APP_CANDY_MACHINE_ID=__PLACEHOLDER__ +REACT_APP_TREASURY_ADDRESS=__PLACEHOLDER__ +REACT_APP_CANDY_START_DATE=__PLACEHOLDER__ + +REACT_APP_SOLANA_NETWORK=devnet +REACT_APP_SOLANA_RPC_HOST=__PLACEHOLDER__ diff --git a/.gitignore b/.gitignore index b59ec02d0..a41627d93 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* .env +.env.* +!.env.example diff --git a/README.md b/README.md index 8b8d5fb22..837897b70 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,79 @@ -Docs coming soon. +# Candy-Machine-Mint -In the meantime, you might find this helpful too: -https://hackmd.io/@levicook/HJcDneEWF +The Candy-Machine-Mint project is designed to let users fork, customize, and deploy their own candy machine mint app to a custom domain, ultra fast. +A candy machine is an on-chain Solana program (or smart contract) for managing fair mint. Fair mints: +* Start and finish at the same time for everyone. +* Won't accept your funds if they're out of NFTs to sell. +The Candy-Machine-Mint project is meant to be as simple and usable as possible, accessible to everyone from long-time crypto devs to junior React devs with a vague interest in NFTs. Our goal is to empower users to create their own front ends to display, sell, and manage their NFTs as simply as possible by just updating a few styled components and following a well-documented process for setup and shipping. +## Getting Set Up +### Prerequisites +* Ensure you have recent versions of both `node` and `yarn` installed. +* Follow the instructions [here](https://docs.solana.com/cli/install-solana-cli-tools) to install the Solana Command Line Toolkit. +* Follow the instructions [here](https://hackmd.io/@levicook/HJcDneEWF) to install the Metaplex Command Line Utility. + * Installing the Command Line Package is currently an advanced task that will be simplified eventually. +### Installation + +1. Fork the project, then clone down. Example: +``` +git clone git@github.com:exiled-apes/candy-machine-mint.git +``` + +2. Build the project. Example: +``` +cd candy-machine-mint +yarn install +yarn build +``` + +3. Define your environment variables using the instructions below, and start up the server with `npm start`. + +#### Environment Variables + +To run the project, first rename the `.env.example` file at the root directory to `.env` and update the following variables: + +``` +REACT_APP_CANDY_MACHINE_CONFIG=__PLACEHOLDER__ +``` + +This is a Solana account address. You can get the value for this from the `.cache/temp` file. This file is created when you run the `metaplex upload` command in terminal. + +``` +REACT_APP_CANDY_MACHINE_ID=__PLACEHOLDER__ +``` + +Same as above; this is a Solana account address. You can get the value for this from the `./cache/temp` file. This file is created when you run the `metaplex upload` command in terminal. + +``` +REACT_APP_TREASURY_ADDRESS=__PLACEHOLDER__ +``` + +This the Solana address that receives the funds gathered during the minting process. More docs coming as we can test this. + +``` +REACT_APP_CANDY_START_DATE=__PLACEHOLDER__ +``` + +This is a unix time stamp that configures when your mint will be open. + +``` +REACT_APP_SOLANA_NETWORK=devnet +``` + +This identifies the Solana network you want to connect to. Options are `devnet`, `testnet`, and `mainnet`. + +``` +REACT_APP_SOLANA_RPC_HOST=https://explorer-api.devnet.solana.com +``` + +This identifies the RPC server your web app will access the Solana network through. # Getting Started with Create React App diff --git a/package.json b/package.json index 8e9593fdc..ed16a6fc6 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,10 @@ "@project-serum/anchor": "^0.14.0", "@solana/spl-token": "^0.1.8", "@solana/wallet-adapter-base": "^0.5.2", - "@solana/wallet-adapter-material-ui": "^0.8.3", - "@solana/wallet-adapter-react": "^0.9.1", - "@solana/wallet-adapter-react-ui": "^0.1.0", - "@solana/wallet-adapter-wallets": "^0.7.5", - "@solana/web3.js": "^1.24.1", + "@solana/wallet-adapter-material-ui": "^0.11.0", + "@solana/wallet-adapter-react": "^0.11.0", + "@solana/wallet-adapter-wallets": "^0.9.0", + "@solana/web3.js": "^1.27.0", "@testing-library/jest-dom": "^5.11.4", "@testing-library/react": "^11.1.0", "@testing-library/user-event": "^12.1.10", diff --git a/src/App.tsx b/src/App.tsx index 33a971673..e4c48a19c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,8 +8,10 @@ import { clusterApiUrl } from "@solana/web3.js"; import { WalletAdapterNetwork } from "@solana/wallet-adapter-base"; import { getPhantomWallet, + getSlopeWallet, getSolflareWallet, getSolletWallet, + getSolletExtensionWallet, } from "@solana/wallet-adapter-wallets"; import { @@ -18,6 +20,7 @@ import { } from "@solana/wallet-adapter-react"; import { WalletDialogProvider } from "@solana/wallet-adapter-material-ui"; +import { createTheme, ThemeProvider } from "@material-ui/core"; const treasury = new anchor.web3.PublicKey( process.env.REACT_APP_TREASURY_ADDRESS! @@ -40,29 +43,62 @@ const startDateSeed = parseInt(process.env.REACT_APP_CANDY_START_DATE!, 10); const txTimeout = 30000; // milliseconds (confirm this works for your project) +const theme = createTheme({ + palette: { + type: 'dark', + }, + overrides: { + MuiButtonBase: { + root: { + justifyContent: 'flex-start', + }, + }, + MuiButton: { + root: { + textTransform: undefined, + padding: '12px 16px', + }, + startIcon: { + marginRight: 8, + }, + endIcon: { + marginLeft: 8, + }, + }, + }, +}); + const App = () => { const endpoint = useMemo(() => clusterApiUrl(network), []); const wallets = useMemo( - () => [getPhantomWallet(), getSolflareWallet(), getSolletWallet()], + () => [ + getPhantomWallet(), + getSlopeWallet(), + getSolflareWallet(), + getSolletWallet({ network }), + getSolletExtensionWallet({ network }) + ], [] ); return ( - - - - - - - + + + + + + + + + ); }; diff --git a/src/Home.tsx b/src/Home.tsx index 3e7407b93..93bcf2b62 100644 --- a/src/Home.tsx +++ b/src/Home.tsx @@ -8,7 +8,7 @@ import * as anchor from "@project-serum/anchor"; import { LAMPORTS_PER_SOL } from "@solana/web3.js"; -import { useWallet } from "@solana/wallet-adapter-react"; +import { useAnchorWallet } from "@solana/wallet-adapter-react"; import { WalletDialogButton } from "@solana/wallet-adapter-material-ui"; import { @@ -42,6 +42,10 @@ const Home = (props: HomeProps) => { const [isSoldOut, setIsSoldOut] = useState(false); // true when items remaining is zero const [isMinting, setIsMinting] = useState(false); // true when user got to press MINT + const [itemsAvailable, setItemsAvailable] = useState(0); + const [itemsRedeemed, setItemsRedeemed] = useState(0); + const [itemsRemaining, setItemsRemaining] = useState(0); + const [alertState, setAlertState] = useState({ open: false, message: "", @@ -50,13 +54,39 @@ const Home = (props: HomeProps) => { const [startDate, setStartDate] = useState(new Date(props.startDate)); - const wallet = useWallet(); + const wallet = useAnchorWallet(); const [candyMachine, setCandyMachine] = useState(); + const refreshCandyMachineState = () => { + (async () => { + if (!wallet) return; + + const { + candyMachine, + goLiveDate, + itemsAvailable, + itemsRemaining, + itemsRedeemed, + } = await getCandyMachineState( + wallet as anchor.Wallet, + props.candyMachineId, + props.connection + ); + + setItemsAvailable(itemsAvailable); + setItemsRemaining(itemsRemaining); + setItemsRedeemed(itemsRedeemed); + + setIsSoldOut(itemsRemaining === 0); + setStartDate(goLiveDate); + setCandyMachine(candyMachine); + })(); + }; + const onMint = async () => { try { setIsMinting(true); - if (wallet.connected && candyMachine?.program && wallet.publicKey) { + if (wallet && candyMachine?.program) { const mintTxId = await mintOneToken( candyMachine, props.config, @@ -111,65 +141,46 @@ const Home = (props: HomeProps) => { severity: "error", }); } finally { - if (wallet?.publicKey) { - const balance = await props.connection.getBalance(wallet?.publicKey); + if (wallet) { + const balance = await props.connection.getBalance(wallet.publicKey); setBalance(balance / LAMPORTS_PER_SOL); } setIsMinting(false); + refreshCandyMachineState(); } }; useEffect(() => { (async () => { - if (wallet?.publicKey) { + if (wallet) { const balance = await props.connection.getBalance(wallet.publicKey); setBalance(balance / LAMPORTS_PER_SOL); } })(); }, [wallet, props.connection]); - useEffect(() => { - (async () => { - if ( - !wallet || - !wallet.publicKey || - !wallet.signAllTransactions || - !wallet.signTransaction - ) { - return; - } - - const anchorWallet = { - publicKey: wallet.publicKey, - signAllTransactions: wallet.signAllTransactions, - signTransaction: wallet.signTransaction, - } as anchor.Wallet; - - const { candyMachine, goLiveDate, itemsRemaining } = - await getCandyMachineState( - anchorWallet, - props.candyMachineId, - props.connection - ); - - setIsSoldOut(itemsRemaining === 0); - setStartDate(goLiveDate); - setCandyMachine(candyMachine); - })(); - }, [wallet, props.candyMachineId, props.connection]); + useEffect(refreshCandyMachineState, [ + wallet, + props.candyMachineId, + props.connection, + ]); return (
- {wallet.connected && ( -

Address: {shortenAddress(wallet.publicKey?.toBase58() || "")}

+ {wallet && ( +

Wallet {shortenAddress(wallet.publicKey.toBase58() || "")}

)} - {wallet.connected && ( -

Balance: {(balance || 0).toLocaleString()} SOL

- )} + {wallet &&

Balance: {(balance || 0).toLocaleString()} SOL

} + + {wallet &&

Total Available: {itemsAvailable}

} + + {wallet &&

Redeemed: {itemsRedeemed}

} + + {wallet &&

Remaining: {itemsRemaining}

} - {!wallet.connected ? ( + {!wallet ? ( Connect Wallet ) : ( { return ( - {hours} hours, {minutes} minutes, {seconds} seconds + {hours + (days || 0) * 24} hours, {minutes} minutes, {seconds} seconds ); }; diff --git a/src/candy-machine.ts b/src/candy-machine.ts index c8af65dee..0608fbd25 100644 --- a/src/candy-machine.ts +++ b/src/candy-machine.ts @@ -173,6 +173,7 @@ export const getCandyMachineState = async ( } const state: any = await program.account.candyMachine.fetch(candyMachineId); + const itemsAvailable = state.data.itemsAvailable.toNumber(); const itemsRedeemed = state.itemsRedeemed.toNumber(); const itemsRemaining = itemsAvailable - itemsRedeemed; @@ -180,6 +181,13 @@ export const getCandyMachineState = async ( let goLiveDate = state.data.goLiveDate.toNumber(); goLiveDate = new Date(goLiveDate * 1000); + console.log({ + itemsAvailable, + itemsRedeemed, + itemsRemaining, + goLiveDate, + }) + return { candyMachine, itemsAvailable, diff --git a/src/index.css b/src/index.css index ec2585e8c..ed2b46898 100644 --- a/src/index.css +++ b/src/index.css @@ -5,6 +5,8 @@ body { sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + background-color: #303030; + color: #FFFFFF; } code { diff --git a/yarn.lock b/yarn.lock index 76e7edc19..fd0377cfa 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1163,14 +1163,14 @@ dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4": +"@babel/runtime@^7.10.2", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.8.4": version "7.12.18" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.12.18.tgz#af137bd7e7d9705a412b3caaf991fe6aaa97831b" integrity sha512-BogPQ7ciE6SYAUPtlm9tWbgI9+2AgqSam6QivMgXgAT+fKbgppaj4ZX15MHeLC1PVF5sNk70huBu20XxWOs8Cg== dependencies: regenerator-runtime "^0.13.4" -"@babel/runtime@^7.10.5", "@babel/runtime@^7.12.5", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": +"@babel/runtime@^7.10.5", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.3.1", "@babel/runtime@^7.4.4", "@babel/runtime@^7.8.3", "@babel/runtime@^7.8.7", "@babel/runtime@^7.9.2": version "7.15.4" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.15.4.tgz#fd17d16bfdf878e6dd02d19753a39fa8a8d9c84a" integrity sha512-99catp6bHCaxr4sJ/DbTGgHS4+Rs2RVd2g7iOap6SLGPDknRK9ztKNsE/Fg6QhSeh1FGE5f6gHGQmvvn3I3xhw== @@ -1247,10 +1247,10 @@ resolved "https://registry.yarnpkg.com/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz#75a2e8b51cb758a7553d6804a5932d7aace75c39" integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw== -"@blocto/sdk@^0.2.10": - version "0.2.10" - resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.2.10.tgz#0d643aa2332f1aa3caa3bf80e3cb1d86d1b7c6f7" - integrity sha512-5bmLz/zpudaM4lQUy9D8yCVQ2NjGX1Hpkm63Gw8kPtWjZNat3WW6gldtRbb9xdqKr0iGKbbdKBDMdkCBn12nlw== +"@blocto/sdk@^0.2.11": + version "0.2.15" + resolved "https://registry.yarnpkg.com/@blocto/sdk/-/sdk-0.2.15.tgz#acdc7098439fee8ded09511fb34150cd58dae033" + integrity sha512-0roDZoHCwB3wzv0pL/N1V2Xziiuz1LnoHiLkh22gQVXSEIR0eWHu9ZndeRfGgRB3RNYddKhQ2KDFQoa1HIiFLg== dependencies: "@solana/web3.js" "^1.22.0" bs58 "^4.0.1" @@ -1574,10 +1574,10 @@ "@json-rpc-tools/types" "^1.7.6" "@pedrouid/environment" "^1.0.1" -"@ledgerhq/devices@^6.3.0": - version "6.3.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-6.3.0.tgz#7ee59614198882311d1805912e368451527d05b2" - integrity sha512-DmVxqMAf3FhkpKjkbBCFVJ5DmesfplujeCLzFwO/zF5VGuwY7xxPqeSxlpusXJkqhEq+DbFzIDRWJYDf7rtXqg== +"@ledgerhq/devices@^6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/devices/-/devices-6.7.0.tgz#90e8fef16e6d039dec64e8a7f1874031578e1973" + integrity sha512-FWJfmdl8V300++OXLgBLpIi+IJoR/srWvxpXrWkc9hd3cNMxgeCl9opm84Y0oJDLBQL9AaERMrb+Cb1nZZR9Tw== dependencies: "@ledgerhq/errors" "^6.2.0" "@ledgerhq/logs" "^6.2.0" @@ -1590,21 +1590,21 @@ integrity sha512-eO03x8HJmG60WtlrMuahigW/rwywFdcGzCnihta/MjkM8BD9A660cKVkyIuheCcpaB7UV/r+QsRl9abHbjjaag== "@ledgerhq/hw-transport-webhid@^6.2.0": - version "6.4.1" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.4.1.tgz#81f0939c95154b47e00c7e95d6ccdfdbd3f883bc" - integrity sha512-usMuN/WpbReNk7/bKCCM9MKuqM2DlidJbgMFUqXpa1VAlDPI0M7lVhcutXTzILzgDNySMb0HLmRkio8zRXgRZg== + version "6.7.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport-webhid/-/hw-transport-webhid-6.7.0.tgz#10feb4b74ff35253ebebae2f01ec633f14c0330c" + integrity sha512-FmTQUKENVEIwEM2XT6PIBDbXvdyFjmz3g+Oq5Gn8c4m3knT3h0ehb+Mx5dKlYEg/6Y7vESGUiNZdEQGGieUI/Q== dependencies: - "@ledgerhq/devices" "^6.3.0" + "@ledgerhq/devices" "^6.7.0" "@ledgerhq/errors" "^6.2.0" - "@ledgerhq/hw-transport" "^6.3.0" + "@ledgerhq/hw-transport" "^6.7.0" "@ledgerhq/logs" "^6.2.0" -"@ledgerhq/hw-transport@^6.2.0", "@ledgerhq/hw-transport@^6.3.0": - version "6.3.0" - resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.3.0.tgz#4fc966b1a68c991c0a6b5384841f99c4f8304ce9" - integrity sha512-kdnVrgmxrFtKaRdkoaQBEa02RXgLzEBiooYbxA65BGSJig3PGWDS9LrqNpzLTZM1RQlivd9NLBmfwU2ze4chWA== +"@ledgerhq/hw-transport@^6.2.0", "@ledgerhq/hw-transport@^6.7.0": + version "6.7.0" + resolved "https://registry.yarnpkg.com/@ledgerhq/hw-transport/-/hw-transport-6.7.0.tgz#d1f0d70e21b91e6457a32d4c3cec0764e97461ff" + integrity sha512-w+PhW6Y4KXYdoCykkE1zt0VL6Ryf72RP8sZP8OH1O90hX/R/q9BMYKl8VNqTbqlrOrORgATlKkbmIJBjbngZew== dependencies: - "@ledgerhq/devices" "^6.3.0" + "@ledgerhq/devices" "^6.7.0" "@ledgerhq/errors" "^6.2.0" events "^3.3.0" @@ -1851,11 +1851,11 @@ integrity sha512-zzj5FoBkthjUcYmipog3WTSSmR5lRRKfhW5c60ByC+ATtHddUQrZ/7ZieZF6fPFUNhhmTqxL7Is/qKIn/efBaA== "@solana/wallet-adapter-blocto@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-blocto/-/wallet-adapter-blocto-0.1.1.tgz#515507613a5bd766c92cd6592b9f5229f448d4e7" - integrity sha512-gysCG5p4W3btYOpQzBNxG7TKqc4hRjarFsVhT5P4mvp1G0udBPisHZpxEeKbhpJhJOv0PCwsgBBX+bkg3N4CJg== + version "0.1.2" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-blocto/-/wallet-adapter-blocto-0.1.2.tgz#3c02d415919cf96953ba7fbba49b01a0f186c38a" + integrity sha512-3+J6szpXa64xnuvX+86YacPlE/tRlw10Qn1JDPdxQVxksFOSjUoZnZe8YQCs2h3hxnNOC4HPQkHpE4vz8CcWWw== dependencies: - "@blocto/sdk" "^0.2.10" + "@blocto/sdk" "^0.2.11" "@solana/wallet-adapter-coin98@^0.1.2": version "0.1.2" @@ -1874,10 +1874,10 @@ "@ledgerhq/hw-transport-webhid" "^6.2.0" "@types/w3c-web-hid" "^1.0.2" -"@solana/wallet-adapter-material-ui@^0.8.3": - version "0.8.3" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-material-ui/-/wallet-adapter-material-ui-0.8.3.tgz#33d41533ac423289e60b9f3792f4f0fe74d6b7ee" - integrity sha512-4XLRGWlA1y6954h3EJOWevHDSzRhXMnTqPNBB9VSOvG7ElKH5+cqgJdMiovpUUmadL8Aju2otIAVuKodGcvxUw== +"@solana/wallet-adapter-material-ui@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-material-ui/-/wallet-adapter-material-ui-0.11.0.tgz#ff43ee1d29d8653807f57e0dd3af0e42e1617a02" + integrity sha512-FXrpk2iWl+GaPfI4uRGO8iZ0PSU1m+WtbKpwyJr+r7AndfWmdvgqCCIwukCDccPA/IVh7+CL5r7ioh1wITKTbw== dependencies: "@types/react" "^17.0.16" @@ -1886,42 +1886,40 @@ resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-mathwallet/-/wallet-adapter-mathwallet-0.5.2.tgz#22e31802ff4d02ecb002675da1e331851a922280" integrity sha512-TRxE2mBB3C48NO/lutU5ocSin1WpVqNlSy6im/+UorP5zm8+4HAINBF38rDiGSTl7xSTER6pszZtvVBNXMqG2A== -"@solana/wallet-adapter-phantom@^0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-phantom/-/wallet-adapter-phantom-0.5.2.tgz#8371b00807e83b385ba6ff2d3964e38f1161f7af" - integrity sha512-60y+75W1h1FQnQfuYvIgM8kIUqvjRVFRmW5plYWv9r+i1DZ8sr/3shkA03Wyj0YLA3YjBQYEaOP73Yf/N/4H1w== +"@solana/wallet-adapter-phantom@^0.5.3": + version "0.5.3" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-phantom/-/wallet-adapter-phantom-0.5.3.tgz#193cd7cf03ab131dd15497468dac8e483dec5285" + integrity sha512-DQLBTdu10oXu9HFtzI0CXPPeqUnLEh+UQpgZyAhF6ZqHDofUmwGpLvGcuGXrRbYPEkGpd8tjA4eHNtejncUhvA== -"@solana/wallet-adapter-react-ui@^0.1.0": - version "0.1.0" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-react-ui/-/wallet-adapter-react-ui-0.1.0.tgz#c53e35b05c6d802e6cdb6407ace64f8f85783639" - integrity sha512-zXLiQ9yLoimfYRiJCNZnPoHnRz3MYx+Mz1LZAIkll0V+ODazCUq6WJ2wUVua9BBjFJDYW0t6eZSW98CrXmR/uA== +"@solana/wallet-adapter-react@^0.11.0": + version "0.11.0" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-react/-/wallet-adapter-react-0.11.0.tgz#b5bf5a578c2e511cefe8d914d9200f4834815662" + integrity sha512-rJl+EPB2teAbxhuM0NbnpUEOaRc9rb6Kq65CQtNMGZBI3VhKb6Np8zus4jRdbO0R+sUKad75mmEPfyhWUQTT0A== dependencies: "@types/react" "^17.0.16" -"@solana/wallet-adapter-react@^0.9.1": - version "0.9.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-react/-/wallet-adapter-react-0.9.1.tgz#1407e47a40739997d7ee7eeeb0de7e3eea42e0ea" - integrity sha512-TDBjFPYPy1LNoBSrYSJUHjRKOoJ8Pn4KFQgOXDkd9HPPT3JdKhTj2fhmzZaIcaOeT6y1ke361MWF3Jul4ggZMg== - dependencies: - "@types/react" "^17.0.16" +"@solana/wallet-adapter-safepal@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-safepal/-/wallet-adapter-safepal-0.1.0.tgz#02c26f687040445214616a9dcbc612641e14edc9" + integrity sha512-QWdSk0PBXDaXxkj+/Hq9Og51cpOE+WkNG0acO0SeYMxobd8Ls092OFWXwipy7VPrrToJI2sBBVNFtoLr0kEc/g== -"@solana/wallet-adapter-slope@^0.1.1": - version "0.1.1" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-slope/-/wallet-adapter-slope-0.1.1.tgz#b2846ed0015eaf0179ae1b5bb979077004b1f9e1" - integrity sha512-GdiIKSJs8DxgDz8oLvyR/j/tKApw4TxPGsA9fAoHggzUU5eCOyoueo7dYIAXWjkO7teo/Ta/qjMjxLUiS1mCrw== +"@solana/wallet-adapter-slope@^0.1.2": + version "0.1.2" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-slope/-/wallet-adapter-slope-0.1.2.tgz#ea540bf981c268ad64f6dae589aaf1fe4b519ac6" + integrity sha512-vccQ6GyHw/7mCZlfOb6KXU+ncvtyzraAflDvaFk1BReiTKXB8TYmucRiHD1i+Cf4CMHaKOghBLqDV4IEkFquOw== dependencies: "@types/bs58" "^4.0.1" bs58 "^4.0.1" -"@solana/wallet-adapter-solflare@^0.2.2": - version "0.2.2" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.2.2.tgz#8fb84d4bb28aaf4f5ebb994812530441a7f7a594" - integrity sha512-jBnMqlKhViE/l26w4IcHNvd+T40mnxzax2OfUpAloyVb0EtppDmlL8fvpC8557czT7dmDnW53j4T99e1L2SOhQ== +"@solana/wallet-adapter-solflare@^0.2.3": + version "0.2.3" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.2.3.tgz#f5ac70d43a649bb30f23646c1372cab212d9b078" + integrity sha512-1yqJ4uHaNfSnW4QlsBLe/zrmh1Sgn7ZoZ3wXcgYfwVXo/yi7OpsTnzpmntOXGZck4jlPks5jf6f1kO+CF3qU9w== -"@solana/wallet-adapter-sollet@^0.5.2": - version "0.5.2" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-sollet/-/wallet-adapter-sollet-0.5.2.tgz#2575abaf90380db620f3addcf2eda7d1123fe3a7" - integrity sha512-L53oUrrsvuoi/9PEH3BlI/xrohN0dK3tlPRD0avs5lMSKNqzD62eTk0RS4xJ9Tr+x0OIWiWbz2qnTOPp1gRz+Q== +"@solana/wallet-adapter-sollet@^0.6.1": + version "0.6.1" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-sollet/-/wallet-adapter-sollet-0.6.1.tgz#4d586509d899dac46466444bd2389806bda50f30" + integrity sha512-XweELAwyVzNlPIwh0W6XLZbBYWuBvr4BxYZ3SKr4TrMyAAxb/+Kl7sSRjEYw8ZGs+arwSwlBkx0une1XIH7QlQ== dependencies: "@project-serum/sol-wallet-adapter" "^0.2.5" @@ -1930,36 +1928,37 @@ resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solong/-/wallet-adapter-solong-0.5.2.tgz#eb0d5074959c41cf2e23c0a2d4c326d3179b744e" integrity sha512-eGim0ExJUZtpHnUSRMGPnGDSVKBudRGpnHSAwraHG9zvunJ/UGBmDT6trP/3pIuil13bMnjNObklZnDBa18yrA== -"@solana/wallet-adapter-torus@^0.6.2": - version "0.6.2" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-torus/-/wallet-adapter-torus-0.6.2.tgz#50026864305819b6811965b7091614aefc654cdc" - integrity sha512-V0U8D9mxpWpjcVn/92zGVrsXtyQOqFU73Ltp7CngA00SDPGFBrNKdd33kcn7zoX8Qp2PYdNCsULJk4NobjW6dA== +"@solana/wallet-adapter-torus@^0.6.3": + version "0.6.3" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-torus/-/wallet-adapter-torus-0.6.3.tgz#9abd070013156fa4a39e84134115812ebee31c3c" + integrity sha512-trGzbYhmHvMz/46JwUftIbz711K6v91gDFutSSLgXRvYfmFqWxbivAjsjBEDq+tt5IBQDHgJ87B37SQ6ppWwdw== dependencies: - "@toruslabs/openlogin" "^0.10.0" - "@toruslabs/openlogin-ed25519" "^0.10.0" + "@toruslabs/openlogin" "^0.10.1" + "@toruslabs/openlogin-ed25519" "^0.10.1" "@types/keccak" "^3.0.1" -"@solana/wallet-adapter-wallets@^0.7.5": - version "0.7.5" - resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-wallets/-/wallet-adapter-wallets-0.7.5.tgz#b471fb0f8544995120c66a263c326f64fb42cef2" - integrity sha512-Cm74JjBRDhMFxzcPwPjWI1kboYwKqHKTZrWax/duYErk55nFzOn303kXiPS+YAiEsO8yEShACTA4kZLaeAAcrA== +"@solana/wallet-adapter-wallets@^0.9.0": + version "0.9.1" + resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-wallets/-/wallet-adapter-wallets-0.9.1.tgz#ac6cba00cac30e8026d92dbcb7e9679afecac7c3" + integrity sha512-zdGlfZxt6UdWR/C7zyED0N+VIN36q4IVh9KHkxFznwjK7i96RIAx+9kcRS2zNFn/woaHZ21z8G2ZhLexBp+QuQ== dependencies: "@solana/wallet-adapter-bitpie" "^0.1.2" "@solana/wallet-adapter-blocto" "^0.1.1" "@solana/wallet-adapter-coin98" "^0.1.2" "@solana/wallet-adapter-ledger" "^0.5.2" "@solana/wallet-adapter-mathwallet" "^0.5.2" - "@solana/wallet-adapter-phantom" "^0.5.2" - "@solana/wallet-adapter-slope" "^0.1.1" - "@solana/wallet-adapter-solflare" "^0.2.2" - "@solana/wallet-adapter-sollet" "^0.5.2" + "@solana/wallet-adapter-phantom" "^0.5.3" + "@solana/wallet-adapter-safepal" "^0.1.0" + "@solana/wallet-adapter-slope" "^0.1.2" + "@solana/wallet-adapter-solflare" "^0.2.3" + "@solana/wallet-adapter-sollet" "^0.6.1" "@solana/wallet-adapter-solong" "^0.5.2" - "@solana/wallet-adapter-torus" "^0.6.2" + "@solana/wallet-adapter-torus" "^0.6.3" -"@solana/web3.js@^1.17.0", "@solana/web3.js@^1.21.0": - version "1.24.2" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.24.2.tgz#ff98c635effac3c49bfe757bf182792feb973fc6" - integrity sha512-zpW/QumeNBg8BfXB4LWFjrRlutWhwCKOaffP0+V0SF47pJsH/eShTOCl0I3Dibv6KeVgJzauNyKug6wnZVtXVQ== +"@solana/web3.js@^1.17.0", "@solana/web3.js@^1.22.0", "@solana/web3.js@^1.27.0": + version "1.29.2" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.29.2.tgz#05c162f477c226ee3211f8ee8c1c6d4203e08f54" + integrity sha512-gtoHzimv7upsKF2DIO4/vNfIMKN+cxSImBHvsdiMyp9IPqb8sctsHVU/+80xXl0JKXVKeairDv5RvVnesJYrtw== dependencies: "@babel/runtime" "^7.12.5" "@solana/buffer-layout" "^3.0.0" @@ -1967,19 +1966,19 @@ borsh "^0.4.0" bs58 "^4.0.1" buffer "6.0.1" + cross-fetch "^3.1.4" crypto-hash "^1.2.2" jayson "^3.4.4" js-sha3 "^0.8.0" - node-fetch "^2.6.1" rpc-websockets "^7.4.2" secp256k1 "^4.0.2" superstruct "^0.14.2" tweetnacl "^1.0.0" -"@solana/web3.js@^1.22.0", "@solana/web3.js@^1.24.1": - version "1.24.1" - resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.24.1.tgz#1fb29f344454669183206f452ab3b8792567cade" - integrity sha512-XImMWAvjcXteMQwe1FFjoe6u72xmcu+UYobPIxLEMX29XXWVTalyYRKBXvcOXwz6DliTYnFXmncNEwUDEFFHGg== +"@solana/web3.js@^1.21.0": + version "1.24.2" + resolved "https://registry.yarnpkg.com/@solana/web3.js/-/web3.js-1.24.2.tgz#ff98c635effac3c49bfe757bf182792feb973fc6" + integrity sha512-zpW/QumeNBg8BfXB4LWFjrRlutWhwCKOaffP0+V0SF47pJsH/eShTOCl0I3Dibv6KeVgJzauNyKug6wnZVtXVQ== dependencies: "@babel/runtime" "^7.12.5" "@solana/buffer-layout" "^3.0.0" @@ -2170,42 +2169,42 @@ dependencies: deepmerge "^4.2.2" -"@toruslabs/openlogin-ed25519@^0.10.0": - version "0.10.0" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-0.10.0.tgz#ea7ba8b13b7cc3c04dc58235a2938487c6c38c77" - integrity sha512-EU5p83/kpiINDN5veZNHsMl2abtoCXq90Mk0pyMPchjh/UeT4KUVs1iGwzx61iYjF54p4QtadbZvZnb0pfbLhA== +"@toruslabs/openlogin-ed25519@^0.10.1": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-ed25519/-/openlogin-ed25519-0.10.2.tgz#bcda4fff62344b6f55e4cd20ded44cab5a2d2e18" + integrity sha512-sgYTOgvAVd0e6WMpWi9p6YlsSroOfg1eLCa1DaNOj3Xy0WWs2mDxPwoNwzX/2WzJosoy/23lT3KOwJgUBhwpRA== dependencies: "@toruslabs/tweetnacl-js" "^1.0.3" -"@toruslabs/openlogin-jrpc@^0.10.0": - version "0.10.0" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-0.10.0.tgz#cad29a069aa3407286f6a4d44a32f44744112ac0" - integrity sha512-0QxXEpdSaMuPtgzMqWona89HSuOlnwazeI2FJ6TnYsSNS9yVV7HukRbBkk1SNqi816O7FKF5vRGnx6btWATGxg== +"@toruslabs/openlogin-jrpc@^0.10.2": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-jrpc/-/openlogin-jrpc-0.10.2.tgz#64ed0f8dce16c74a0409c32d4a14cf28626d37da" + integrity sha512-ZlP56CeQ/Ii8ubg+EbL0If7QwV4JLHzrrd4+enqG47PRcFR7clHEmmHM54BTyrJKbOygDsU75RvkCmMkSIs8Pw== dependencies: - "@toruslabs/openlogin-utils" "^0.10.0" + "@toruslabs/openlogin-utils" "^0.10.2" end-of-stream "^1.4.4" fast-safe-stringify "^2.0.8" once "^1.4.0" pump "^3.0.0" -"@toruslabs/openlogin-utils@^0.10.0": - version "0.10.0" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-0.10.0.tgz#6dad62d3805495b3974410998175584479179c62" - integrity sha512-s1iQ21f65s8KpC39KrFHdMEmqCYjHTyG9BA8x0DS9B94DhV9YZz7w66bjtNSaK+xebTNHADUs2qatX79UWmgcQ== +"@toruslabs/openlogin-utils@^0.10.2": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin-utils/-/openlogin-utils-0.10.2.tgz#0e9cea953955cb0f48db047642d6624f64da7acc" + integrity sha512-PUWn7RHfZm0v87lE9KniTrfJ9oAsCHywnMr8wOwiBZGvH84+7R389hh7jGOwnbTmqntFixD5YzlWQICzDfFrCA== dependencies: base64url "^3.0.1" keccak "^3.0.2" randombytes "^2.1.0" -"@toruslabs/openlogin@^0.10.0": - version "0.10.0" - resolved "https://registry.yarnpkg.com/@toruslabs/openlogin/-/openlogin-0.10.0.tgz#107670c75740316ddd52457690f93db18c4671fb" - integrity sha512-kpE16348mif8G5bfZKlOc5MGxylzoTRLhtaVaygUNvEs8nZxTnz91tkRo/p6bkFzo6DywHOw+wGc6WlW4MuDoQ== +"@toruslabs/openlogin@^0.10.1": + version "0.10.2" + resolved "https://registry.yarnpkg.com/@toruslabs/openlogin/-/openlogin-0.10.2.tgz#aeaf6031d6fc2f902721a88bbfabe28914926889" + integrity sha512-4nr7nY0JCGBXeFJ4g42P/GtjS5Qw9tr5qIKKdOd3BEC/DtycIMjc7CRCnpGim/PAZo22qoO+SNSBwd1hlU+zag== dependencies: "@toruslabs/eccrypto" "^1.1.7" "@toruslabs/http-helpers" "^1.4.0" - "@toruslabs/openlogin-jrpc" "^0.10.0" - "@toruslabs/openlogin-utils" "^0.10.0" + "@toruslabs/openlogin-jrpc" "^0.10.2" + "@toruslabs/openlogin-utils" "^0.10.2" lodash.merge "^4.6.2" pump "^3.0.0" @@ -2386,9 +2385,9 @@ "@types/node" "*" "@types/lodash@^4.14.159": - version "4.14.172" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.172.tgz#aad774c28e7bfd7a67de25408e03ee5a8c3d028a" - integrity sha512-/BHF5HAx3em7/KkzVKm3LrsD6HZAXuXO1AJZQ3cRRBZj4oHZDviWPYu0aEplAqDFNHZPW6d3G7KN+ONcCCC7pw== + version "4.14.175" + resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.175.tgz#b78dfa959192b01fae0ad90e166478769b215f45" + integrity sha512-XmdEOrKQ8a1Y/yxQFOMbC47G/V2VDO1GvMRnl4O75M4GW/abC5tnfzadQYkqEveqRM1dEJGFFegfPNA2vvx2iw== "@types/minimatch@*": version "3.0.3" @@ -2396,15 +2395,20 @@ integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA== "@types/node@*": - version "14.14.31" - resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055" - integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g== + version "16.10.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.10.2.tgz#5764ca9aa94470adb4e1185fe2e9f19458992b2e" + integrity sha512-zCclL4/rx+W5SQTzFs9wyvvyCwoK9QtBpratqz2IYJ3O8Umrn0m3nsTv0wQBk9sRGpvUe9CwPDrQFB10f1FIjQ== -"@types/node@^12.0.0", "@types/node@^12.12.54": +"@types/node@^12.0.0": version "12.20.23" resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.23.tgz#d0d5885bb885ee9b1ed114a04ea586540a1b2e2a" integrity sha512-FW0q7NI8UnjbKrJK8NGr6QXY69ATw9IFe6ItIo5yozPwA9DU/xkhiPddctUVyrmFXvyFYerYgQak/qu200UBDw== +"@types/node@^12.12.54": + version "12.20.27" + resolved "https://registry.yarnpkg.com/@types/node/-/node-12.20.27.tgz#4141fcad57c332a120591de883e26fe4bb14aaea" + integrity sha512-qZdePUDSLAZRXXV234bLBEUM0nAQjoxbcSwp1rqSMUe1rZ47mwU6OjciR/JvF1Oo8mc0ys6GE0ks0HGgqAZoGg== + "@types/normalize-package-data@^2.4.0": version "2.4.0" resolved "https://registry.yarnpkg.com/@types/normalize-package-data/-/normalize-package-data-2.4.0.tgz#e486d0d97396d79beedd0a6e33f4534ff6b4973e" @@ -2454,7 +2458,7 @@ dependencies: "@types/react" "*" -"@types/react@*", "@types/react@^17.0.0", "@types/react@^17.0.16": +"@types/react@*", "@types/react@^17.0.0": version "17.0.20" resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.20.tgz#a4284b184d47975c71658cd69e759b6bd37c3b8c" integrity sha512-wWZrPlihslrPpcKyCSlmIlruakxr57/buQN1RjlIeaaTWDLtJkTtRW429MoQJergvVKc4IWBpRhWw7YNh/7GVA== @@ -2463,6 +2467,15 @@ "@types/scheduler" "*" csstype "^3.0.2" +"@types/react@^17.0.16": + version "17.0.25" + resolved "https://registry.yarnpkg.com/@types/react/-/react-17.0.25.tgz#8b88c226e54910762decc9de2aa36b4dc9240503" + integrity sha512-IXrzSOr3CVbEQgmjEdCWF57J7CVaJ7lL/n4penxHm8h0XIcr0AxqGucogh2zj3qRxgk4M4JImOP/MfomkPOhvQ== + dependencies: + "@types/prop-types" "*" + "@types/scheduler" "*" + csstype "^3.0.2" + "@types/resolve@0.0.8": version "0.0.8" resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194" @@ -2877,9 +2890,9 @@ acorn@^7.1.0, acorn@^7.1.1, acorn@^7.4.0: integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A== acorn@^8.4.1: - version "8.4.1" - resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.4.1.tgz#56c36251fc7cabc7096adc18f05afe814321a28c" - integrity sha512-asabaBSkEKosYKMITunzX177CXxQ4Q8BSSzMTKD+FefUhipQC70gfW5SiUDhYQ3vk8G+81HqQk7Fv9OXwwn9KA== + version "8.5.0" + resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.5.0.tgz#4512ccb99b3698c752591e9bb4472e38ad43cee2" + integrity sha512-yXbYeFy+jUuYd3/CDcg2NkIYE991XYX/bje7LmjJigUciaeO1JR4XxXgCIV1/Zc/dRuFEyw1L0pbA+qynJkW5Q== address@1.1.2, address@^1.0.1: version "1.1.2" @@ -3227,9 +3240,9 @@ axe-core@^4.0.2: integrity sha512-V+Nq70NxKhYt89ArVcaNL9FDryB3vQOd+BFXZIfO3RP6rwtj+2yqqqdHEkacutglPaZLkJeuXKCjCJDMGPtPqg== axios@^0.21.0: - version "0.21.3" - resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.3.tgz#f85d9b747f9b66d59ca463605cedf1844872b82e" - integrity sha512-JtoZ3Ndke/+Iwt5n+BgSli/3idTvpt5OjKyoCmz4LX5+lPiY5l7C1colYezhlxThjNa/NhngCUWZSZFypIFuaA== + version "0.21.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-0.21.4.tgz#c67b90dc0568e5c1cf2b0b858c43ba28e2eda575" + integrity sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg== dependencies: follow-redirects "^1.14.0" @@ -3508,26 +3521,26 @@ bluebird@^3.5.5: resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f" integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg== -bn.js@^4.0.0, bn.js@^4.1.0, bn.js@^4.11.9: +bn.js@^4.0.0, bn.js@^4.1.0: version "4.11.9" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.11.9.tgz#26d556829458f9d1e81fc48952493d0ba3507828" integrity sha512-E6QoYqCKZfgatHTdHzs1RRKP7ip4vvm+EyRUeE2RF0NblwVvb0p6jSVeNTOFxPn26QXN2o6SMfNxKp6kU8zQaw== -bn.js@^4.11.8: +bn.js@^4.11.8, bn.js@^4.11.9: version "4.12.0" 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: - version "5.1.3" - resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.3.tgz#beca005408f642ebebea80b042b4d18d2ac0ee6b" - integrity sha512-GkTiFpjFtUzU9CbMeJ5iazkCzGL3jrhzerzZIuqLABjbwRaFt33I9tUdSNryIptM+RxDet6OKm2WnLXzW51KsQ== - -bn.js@^5.1.0, bn.js@^5.1.2: +bn.js@^5.0.0, bn.js@^5.1.0, bn.js@^5.1.2: version "5.2.0" resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.2.0.tgz#358860674396c6997771a9d051fcc1b57d4ae002" integrity sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw== +bn.js@^5.1.1: + version "5.1.3" + resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-5.1.3.tgz#beca005408f642ebebea80b042b4d18d2ac0ee6b" + integrity sha512-GkTiFpjFtUzU9CbMeJ5iazkCzGL3jrhzerzZIuqLABjbwRaFt33I9tUdSNryIptM+RxDet6OKm2WnLXzW51KsQ== + body-parser@1.19.0: version "1.19.0" resolved "https://registry.yarnpkg.com/body-parser/-/body-parser-1.19.0.tgz#96b2709e57c9c4e09a6fd66a8fd979844f69f08a" @@ -3754,9 +3767,9 @@ buffer@^4.3.0: isarray "^1.0.0" bufferutil@^4.0.1: - version "4.0.3" - resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.3.tgz#66724b756bed23cd7c28c4d306d7994f9943cc6b" - integrity sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw== + version "4.0.4" + resolved "https://registry.yarnpkg.com/bufferutil/-/bufferutil-4.0.4.tgz#ab81373d313a6ead0d734e98c448c722734ae7bb" + integrity sha512-VNxjXUCrF3LvbLgwfkTb5LsFvk6pGIn7OBb9x+3o+iJ6mKw0JTUp4chBFc88hi1aspeZGeZG9jAIbpFYPQSLZw== dependencies: node-gyp-build "^4.2.0" @@ -4401,6 +4414,13 @@ create-hmac@^1.1.0, create-hmac@^1.1.4, create-hmac@^1.1.7: safe-buffer "^5.0.1" sha.js "^2.4.8" +cross-fetch@^3.1.4: + version "3.1.4" + resolved "https://registry.yarnpkg.com/cross-fetch/-/cross-fetch-3.1.4.tgz#9723f3a3a247bf8b89039f3a380a9244e8fa2f39" + integrity sha512-1eAtFWdIubi6T4XPy6ei9iUFoKpUkIF971QLN8lIvvvwueI65+Nw5haMNKUwfJxabqlIIDODJKGrQ66gxC0PbQ== + dependencies: + node-fetch "2.6.1" + cross-spawn@7.0.3, cross-spawn@^7.0.0, cross-spawn@^7.0.2: version "7.0.3" resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6" @@ -4696,9 +4716,9 @@ csstype@^2.5.2: integrity sha512-u1wmTI1jJGzCJzWndZo8mk4wnPTZd1eOIYTYvuEyOQGfmDl3TrabCCfKnOC86FZwW/9djqTl933UF/cS425i9A== csstype@^3.0.2: - version "3.0.8" - resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.8.tgz#d2266a792729fb227cd216fb572f43728e1ad340" - integrity sha512-jXKhWqXPmlUeoQnF/EhTtTl4C9SnrxSH/jZUih3jmO6lBKr99rP3/+FmrMj4EFpOXzMtXHAZkd3x0E6h6Fgflw== + version "3.0.9" + resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.0.9.tgz#6410af31b26bd0520933d02cbc64fce9ce3fbf0b" + integrity sha512-rpw6JPxK6Rfg1zLOYCSwle2GFOOsnjmDYDaBwEcwoOg4qlsIVCN789VkBZDJAGi4T07gI4YSutR43t9Zz4Lzuw== cyclist@^1.0.1: version "1.0.1" @@ -5789,9 +5809,9 @@ fast-levenshtein@^2.0.6, fast-levenshtein@~2.0.6: integrity sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc= fast-safe-stringify@^2.0.8: - version "2.0.8" - resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.0.8.tgz#dc2af48c46cf712b683e849b2bbd446b32de936f" - integrity sha512-lXatBjf3WPjmWD6DpIZxkeSsCOwqI0maYMpgDlx8g4U2qi4lbjA9oH/HD2a87G+KfsUmo5WbJFmqBZlPxtptag== + version "2.1.1" + resolved "https://registry.yarnpkg.com/fast-safe-stringify/-/fast-safe-stringify-2.1.1.tgz#c406a83b6e70d9e35ce3b30a81141df30aeba884" + integrity sha512-W+KJc2dmILlPplD/H4K9l9LcAHAfPtP6BY84uVLXQ6Evcz9Lcg33Y2z1IVblT6xdY54PXYVHEv+0Wpq8Io6zkA== fastq@^1.6.0: version "1.10.1" @@ -5953,9 +5973,9 @@ follow-redirects@^1.0.0: integrity sha512-6mPTgLxYm3r6Bkkg0vNM0HTjfGrOEtsfbhagQvbxDEsEkpNhw582upBaoRZylzen6krEmxXJgt9Ju6HiI4O7BA== follow-redirects@^1.14.0: - version "1.14.3" - resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.3.tgz#6ada78118d8d24caee595595accdc0ac6abd022e" - integrity sha512-3MkHxknWMUtb23apkgz/83fDoe+y+qr0TdgacGIA7bew+QLBo3vdgEN2xEsuXNivpFy4CyDhBBZnNZOtalmenw== + version "1.14.4" + resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.4.tgz#838fdf48a8bbdd79e52ee51fb1c94e3ed98b9379" + integrity sha512-zwGkiSXC1MUJG/qmeIFH2HBJx9u0V46QGUe3YR1fXG8bXQxq7fLj0RjLZQ5nubr9qNJUZrH+xUcwXEoXNpfS+g== for-in@^1.0.2: version "1.0.2" @@ -8472,20 +8492,27 @@ node-addon-api@^2.0.0: resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-2.0.2.tgz#432cfa82962ce494b132e9d72a15b29f71ff5d32" integrity sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA== -node-fetch@^2.6.1: +node-fetch@2.6.1: version "2.6.1" resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.1.tgz#045bd323631f76ed2e2b55573394416b639a0052" integrity sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw== +node-fetch@^2.6.1: + version "2.6.5" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.5.tgz#42735537d7f080a7e5f78b6c549b7146be1742fd" + integrity sha512-mmlIVHJEu5rnIxgEgez6b9GgWXbkZj5YZ7fx+2r94a2E+Uirsp6HsPTPlomfdHtpt/B0cdKviwkoaM6pyvUOpQ== + dependencies: + whatwg-url "^5.0.0" + node-forge@^0.10.0: version "0.10.0" resolved "https://registry.yarnpkg.com/node-forge/-/node-forge-0.10.0.tgz#32dea2afb3e9926f02ee5ce8794902691a676bf3" integrity sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA== node-gyp-build@^4.2.0: - version "4.2.3" - resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.2.3.tgz#ce6277f853835f718829efb47db20f3e4d9c4739" - integrity sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg== + version "4.3.0" + resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3" + integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q== node-int64@^0.4.0: version "0.4.0" @@ -10337,7 +10364,12 @@ regenerator-runtime@^0.11.0: resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== -regenerator-runtime@^0.13.4, regenerator-runtime@^0.13.7: +regenerator-runtime@^0.13.4: + version "0.13.9" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.9.tgz#8925742a98ffd90814988d7566ad30ca3b263b52" + integrity sha512-p3VT+cOEgxFsRRA9X4lkI1E+k2/CtnKtU4gcxyaCUreilL/vqI6CdZ3wxVUx3UOUg+gnUOQQcRI7BmSI656MYA== + +regenerator-runtime@^0.13.7: version "0.13.7" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz#cac2dacc8a1ea675feaabaeb8ae833898ae46f55" integrity sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew== @@ -11802,6 +11834,11 @@ tr46@^2.0.2: dependencies: punycode "^2.1.1" +tr46@~0.0.3: + version "0.0.3" + resolved "https://registry.yarnpkg.com/tr46/-/tr46-0.0.3.tgz#8184fd347dac9cdc185992f3a6622e14b9d9ab6a" + integrity sha1-gYT9NH2snNwYWZLzpmIuFLnZq2o= + traverse-chain@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/traverse-chain/-/traverse-chain-0.1.0.tgz#61dbc2d53b69ff6091a12a168fd7d433107e40f1" @@ -11833,9 +11870,9 @@ tslib@^1.8.1, tslib@^1.9.0: integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== tslib@^2.0.3: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a" - integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A== + version "2.3.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" + integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== tsutils@^3.17.1: version "3.20.0" @@ -12080,9 +12117,9 @@ use@^3.1.0: integrity sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ== utf-8-validate@^5.0.2: - version "5.0.5" - resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.5.tgz#dd32c2e82c72002dc9f02eb67ba6761f43456ca1" - integrity sha512-+pnxRYsS/axEpkrrEpzYfNZGXp0IjC/9RIxwM5gntY4Koi8SHmUGSfxfWqxZdRxrtaoVstuOzUp/rbs3JSPELQ== + version "5.0.6" + resolved "https://registry.yarnpkg.com/utf-8-validate/-/utf-8-validate-5.0.6.tgz#e1b3e0a5cc8648a3b44c1799fbb170d1aaaffe80" + integrity sha512-hoY0gOf9EkCw+nimK21FVKHUIG1BMqSiRwxB/q3A9yKZOrOI99PP77BxmarDqWz6rG3vVYiBWfhG8z2Tl+7fZA== dependencies: node-gyp-build "^4.2.0" @@ -12240,6 +12277,11 @@ web-vitals@^1.0.1: resolved "https://registry.yarnpkg.com/web-vitals/-/web-vitals-1.1.2.tgz#06535308168986096239aa84716e68b4c6ae6d1c" integrity sha512-PFMKIY+bRSXlMxVAQ+m2aw9c/ioUYfDgrYot0YUa+/xa0sakubWhSDyxAKwzymvXVdF4CZI71g06W+mqhzu6ig== +webidl-conversions@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871" + integrity sha1-JFNCdeKnvGvnvIZhHMFq4KVlSHE= + webidl-conversions@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-5.0.0.tgz#ae59c8a00b121543a2acc65c0434f57b0fc11aff" @@ -12386,6 +12428,14 @@ whatwg-mimetype@^2.3.0: resolved "https://registry.yarnpkg.com/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz#3d4b1e0312d2079879f826aff18dbeeca5960fbf" integrity sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g== +whatwg-url@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-5.0.0.tgz#966454e8765462e37644d3626f6742ce8b70965d" + integrity sha1-lmRU6HZUYuN2RNNib2dCzotwll0= + dependencies: + tr46 "~0.0.3" + webidl-conversions "^3.0.0" + whatwg-url@^8.0.0: version "8.4.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.4.0.tgz#50fb9615b05469591d2b2bd6dfaed2942ed72837" @@ -12632,9 +12682,9 @@ ws@^7.2.3: integrity sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA== ws@^7.4.0, ws@^7.4.5: - version "7.5.4" - resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.4.tgz#56bfa20b167427e138a7795de68d134fe92e21f9" - integrity sha512-zP9z6GXm6zC27YtspwH99T3qTG7bBFv2VIkeHstMLrLlDJuzA7tQ5ls3OJ1hOGGCzTQPniNJoHXIAOS0Jljohg== + version "7.5.5" + resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.5.tgz#8b4bc4af518cfabd0473ae4f99144287b33eb881" + integrity sha512-BAkMFcAzl8as1G/hArkxOxq3G7pjUqQ3gzYbLL0/5zNkph70e+lCoxBGnm6AW1+/aiNeV4fnKqZ8m4GZewmH2w== xml-name-validator@^3.0.0: version "3.0.0"