diff --git a/package.json b/package.json index e4f8ca730..3138a98cb 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,15 @@ { "name": "giveth-dapp", - "version": "1.2.0", + "version": "1.3.0", "private": true, "dependencies": { "@ant-design/icons": "^4.5.0", - "@feathersjs/authentication-client": "^4.5.11", - "@feathersjs/feathers": "^4.5.11", - "@feathersjs/rest-client": "^4.5.11", + "@davatar/react": "^1.8.1", + "@ethersproject/providers": "^5.5.2", + "@feathersjs/authentication-client": "^4.5.13", + "@feathersjs/feathers": "^4.5.12", + "@feathersjs/rest-client": "^4.5.12", + "@feathersjs/socketio-client": "^4.5.13", "@giveth/bridge-contract": "^1.0.6", "@giveth/liquidpledging-contract": "^2.0.0-beta.6", "@giveth/lpp-campaign": "^2.0.0-beta.1", @@ -21,7 +24,6 @@ "bnc-onboard": "^1.29.0", "feathers-hooks-common": "^5.0.5", "feathers-reactive": "^0.8.2", - "feathers-socketio": "^2.0.1", "file-saver": "^2.0.5", "history": "^4.9.0", "jwt-decode": "^3.1.2", @@ -29,7 +31,7 @@ "lodash.debounce": "4.0.8", "lottie-react": "^2.1.0", "moment": "^2.24.0", - "node-fetch": "^2.6.1", + "node-fetch": "^2.6.7", "node-sass-chokidar": "^1.5.0", "prop-types": "^15.7.2", "quill-image-resize-module-react": "^3.0.0", @@ -72,7 +74,7 @@ "watch-css": "yarn build-css && node-sass-chokidar --include-path ./src --include-path ./node_modules src/ -o src/ --watch --recursive", "start-js": "react-scripts start", "start": "npm-run-all -p watch-css start-js", - "build": "yarn build-css && react-scripts build", + "build": "yarn build-css && react-scripts --max_old_space_size=2048 build", "serve": "yarn build && pm2 serve -s build", "test": "react-scripts test --env=jsdom", "eslint": "eslint \"src/**/*.{js,jsx}\" --quiet", @@ -98,7 +100,7 @@ "author": { "name": "Giveth", "email": "info@giveth.io", - "url": "http://giveth.io" + "url": "https://giveth.io" }, "license": "GPL-3.0", "browserslist": { diff --git a/src/components/Editor.jsx b/src/components/Editor.jsx index edb4dce23..3a7cdefb6 100644 --- a/src/components/Editor.jsx +++ b/src/components/Editor.jsx @@ -103,7 +103,7 @@ function Editor(props) { quill.setSelection(range.index + 1); quill.disable(); - saveToServer(e.target.result, range); + saveToServer(file, range); imageUploader.current.value = ''; }; reader.readAsDataURL(compressFile); diff --git a/src/components/UploadPicture.jsx b/src/components/UploadPicture.jsx index 19f7f5b7d..bb85b88f3 100644 --- a/src/components/UploadPicture.jsx +++ b/src/components/UploadPicture.jsx @@ -21,9 +21,6 @@ const UploadPicture = ({ picture, setPicture, imgAlt, disabled, aspectRatio, lab }, onChange(info) { const { status } = info.file; - if (status !== 'uploading') { - console.log(info.file, info.fileList); - } if (status === 'done') { console.log('file uploaded successfully.', info.file.response); setPicture(info.file.response); diff --git a/src/components/layout/MainMenu/RightMenu.jsx b/src/components/layout/MainMenu/RightMenu.jsx index cfd851395..895bd1ed4 100644 --- a/src/components/layout/MainMenu/RightMenu.jsx +++ b/src/components/layout/MainMenu/RightMenu.jsx @@ -3,7 +3,9 @@ import Avatar from 'react-avatar'; import { Link, useLocation } from 'react-router-dom'; import { withRouter } from 'react-router'; import { Menu, Grid } from 'antd'; +import Davatar from '@davatar/react'; +import { useENS } from 'hooks/useENS'; import { Context as UserContext } from '../../../contextProviders/UserProvider'; import { Context as Web3Context } from '../../../contextProviders/Web3Provider'; import { Context as WhiteListContext } from '../../../contextProviders/WhiteListProvider'; @@ -46,6 +48,8 @@ const RightMenu = () => { state: { reviewerWhitelistEnabled, delegateWhitelistEnabled, projectOwnersWhitelistEnabled }, } = useContext(WhiteListContext); + const { ensName } = useENS(currentUser.address); + const userIsDelegator = currentUser.isDelegator || !delegateWhitelistEnabled; const userIsCampaignManager = currentUser.isProjectOwner || !projectOwnersWhitelistEnabled; const userIsReviewer = currentUser.isReviewer || !reviewerWhitelistEnabled; @@ -189,12 +193,25 @@ const RightMenu = () => { {validProvider && ( - diff --git a/src/components/views/CreateBounty.jsx b/src/components/views/CreateBounty.jsx index 46b6c1bf5..589e5e76c 100644 --- a/src/components/views/CreateBounty.jsx +++ b/src/components/views/CreateBounty.jsx @@ -44,7 +44,17 @@ function CreateBounty(props) { const [loading, setLoading] = useState(false); const [userIsCampaignOwner, setUserIsOwner] = useState(false); + function goBack() { + history.goBack(); + } + useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + setUserIsOwner( campaign && currentUser.address && @@ -67,10 +77,6 @@ function CreateBounty(props) { }); } - function goBack() { - history.goBack(); - } - const submit = async () => { const authenticated = await authenticateUser(currentUser, false, web3); diff --git a/src/components/views/CreateExpense.jsx b/src/components/views/CreateExpense.jsx index 4dc718624..a12bebc11 100644 --- a/src/components/views/CreateExpense.jsx +++ b/src/components/views/CreateExpense.jsx @@ -77,6 +77,12 @@ function CreateExpense(props) { const itemAmountMap = useRef({}); useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + if (currentUser.address && !expenseForm.recipientAddress) { setExpenseForm({ ...expenseForm, diff --git a/src/components/views/CreateMilestone.jsx b/src/components/views/CreateMilestone.jsx index 80275f5c5..49d2fd0be 100644 --- a/src/components/views/CreateMilestone.jsx +++ b/src/components/views/CreateMilestone.jsx @@ -47,6 +47,12 @@ function CreateMilestone(props) { const [userIsCampaignOwner, setUserIsOwner] = useState(false); useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + setUserIsOwner( campaign && currentUser.address && diff --git a/src/components/views/CreatePayment.jsx b/src/components/views/CreatePayment.jsx index 004cd0bb3..e405f00ba 100644 --- a/src/components/views/CreatePayment.jsx +++ b/src/components/views/CreatePayment.jsx @@ -21,7 +21,7 @@ import { Context as UserContext } from '../../contextProviders/UserProvider'; import { Context as ConversionRateContext } from '../../contextProviders/ConversionRateProvider'; import { Context as Web3Context } from '../../contextProviders/Web3Provider'; import { Context as NotificationContext } from '../../contextProviders/NotificationModalProvider'; -import { convertEthHelper, getStartOfDayUTC, ZERO_ADDRESS } from '../../lib/helpers'; +import { convertEthHelper, getStartOfDayUTC, ZERO_ADDRESS, history } from '../../lib/helpers'; import ErrorHandler from '../../lib/ErrorHandler'; import { authenticateUser } from '../../lib/middleware'; import BridgedTrace from '../../models/BridgedTrace'; @@ -108,6 +108,12 @@ function CreatePayment(props) { }, []); useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + if (currentUser.address && !payment.recipientAddress) { setPayment({ ...payment, diff --git a/src/components/views/EditBounty.jsx b/src/components/views/EditBounty.jsx index 42fee781b..d6c83658d 100644 --- a/src/components/views/EditBounty.jsx +++ b/src/components/views/EditBounty.jsx @@ -66,6 +66,12 @@ function EditBounty(props) { }; useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + if (trace) { setUserIsOwner( [campaign.ownerAddress, campaign.coownerAddress].includes(currentUser.address), diff --git a/src/components/views/EditCampaign.jsx b/src/components/views/EditCampaign.jsx index caa4bf01e..826cb3107 100644 --- a/src/components/views/EditCampaign.jsx +++ b/src/components/views/EditCampaign.jsx @@ -68,63 +68,64 @@ const EditCampaign = () => { }, []); useEffect(() => { - if (userIsLoading || whitelistIsLoading || !currentUser.address) return () => {}; - - if (isNew) { - if (!currentUser.isProjectOwner && projectOwnersWhitelistEnabled) { - const modal = Modal.error({ - title: 'Permission Denied', - content: 'You are not allowed to create a campaign', - closable: false, - centered: true, - onOk: () => history.replace('/'), - }); - - return () => { - modal.destroy(); - }; + const checks = async () => { + const authenticated = await authenticateUser(currentUser, false, web3); + if (!authenticated) { + goBack(); + return; } - - checkProfile(currentUser).then(() => { - setCampaign({ - owner: currentUser, - ownerAddress: currentUser.address, - }); - setIsLoading(false); - }); - } else { - CampaignService.get(campaignId) - .then(camp => { - if (isOwner(camp.ownerAddress, currentUser)) { - const imageIpfsPath = camp.image.match(/\/ipfs\/.*/); + if (isNew) { + if (!currentUser.isProjectOwner && projectOwnersWhitelistEnabled) { + Modal.error({ + title: 'Permission Denied', + content: 'You are not allowed to create a campaign', + closable: false, + centered: true, + onOk: () => history.replace('/'), + }); + } else + checkProfile(currentUser).then(() => { setCampaign({ - title: camp.title, - description: camp.description, - communityUrl: camp.communityUrl, - reviewerAddress: camp.reviewerAddress, - picture: imageIpfsPath ? imageIpfsPath[0] : camp.image, + owner: currentUser, + ownerAddress: currentUser.address, }); - campaignObject.current = camp; setIsLoading(false); - } else { - ErrorHandler({}, 'You are not allowed to edit this Campaign.'); - goBack(); - } - }) - .catch(err => { - if (err.status === 404) { - history.push('/notfound'); - } else { - setIsLoading(false); - ErrorHandler( - err, - 'There has been a problem loading the Campaign. Please refresh the page and try again.', - ); - } - }); - } + }); + } else { + CampaignService.get(campaignId) + .then(camp => { + if (isOwner(camp.ownerAddress, currentUser)) { + const imageIpfsPath = camp.image.match(/\/ipfs\/.*/); + setCampaign({ + title: camp.title, + description: camp.description, + communityUrl: camp.communityUrl, + reviewerAddress: camp.reviewerAddress, + picture: imageIpfsPath ? imageIpfsPath[0] : camp.image, + }); + campaignObject.current = camp; + setIsLoading(false); + } else { + ErrorHandler({}, 'You are not allowed to edit this Campaign.'); + goBack(); + } + }) + .catch(err => { + if (err.status === 404) { + history.push('/notfound'); + } else { + setIsLoading(false); + ErrorHandler( + err, + 'There has been a problem loading the Campaign. Please refresh the page and try again.', + ); + } + }); + } + }; - return () => {}; + if (userIsLoading || whitelistIsLoading || !currentUser.address) return; + checks().then(); }, [userIsLoading, currentUser, whitelistIsLoading]); // TODO: Check if user Changes (in Class components checked in didUpdate) diff --git a/src/components/views/EditCommunity.jsx b/src/components/views/EditCommunity.jsx index 01a7b63dd..582e1404a 100644 --- a/src/components/views/EditCommunity.jsx +++ b/src/components/views/EditCommunity.jsx @@ -69,65 +69,68 @@ const EditCommunity = ({ isNew, match }) => { }, []); useEffect(() => { - if (userIsLoading || whitelistIsLoading || !currentUser.address) return () => {}; - - if (isNew) { - if (!currentUser.isDelegator && projectOwnersWhitelistEnabled) { - const modal = Modal.error({ - title: 'Permission Denied', - content: 'You are not allowed to create a Community', - closable: false, - centered: true, - onOk: () => history.replace('/'), - }); - - return () => { - modal.destroy(); - }; + const checks = async () => { + const authenticated = await authenticateUser(currentUser, false, web3); + if (!authenticated) { + goBack(); + return; } - checkProfile(currentUser).then(() => { - setCommunity({ - owner: currentUser, - ownerAddress: currentUser.address, - }); - setIsLoading(false); - }); - } else { - CommunityService.get(match.params.id) - .then(communityItem => { - if (isOwner(communityItem.ownerAddress, currentUser)) { + if (isNew) { + if (!currentUser.isDelegator && projectOwnersWhitelistEnabled) { + Modal.error({ + title: 'Permission Denied', + content: 'You are not allowed to create a Community', + closable: false, + centered: true, + onOk: () => history.replace('/'), + }); + } else { + checkProfile(currentUser).then(() => { setCommunity({ - title: communityItem.title, - description: communityItem.description, - communityUrl: communityItem.communityUrl, - id: match.params.id, - slug: communityItem.slug, - reviewerAddress: communityItem.reviewerAddress, - ownerAddress: communityItem.ownerAddress, - picture: communityItem.image.match(/\/ipfs\/.*/)[0], + owner: currentUser, + ownerAddress: currentUser.address, }); - communityObject.current = communityItem; - setIsLoading(false); - } else { - ErrorHandler({}, 'You are not allowed to edit this Community.'); - goBack(); - } - }) - .catch(err => { - if (err.status === 404) { - history.push('/notfound'); - } else { setIsLoading(false); - ErrorHandler( - err, - 'There has been a problem loading the Community. Please refresh the page and try again.', - ); - } - }); - } + }); + } + } else { + CommunityService.get(match.params.id) + .then(communityItem => { + if (isOwner(communityItem.ownerAddress, currentUser)) { + setCommunity({ + title: communityItem.title, + description: communityItem.description, + communityUrl: communityItem.communityUrl, + id: match.params.id, + slug: communityItem.slug, + reviewerAddress: communityItem.reviewerAddress, + ownerAddress: communityItem.ownerAddress, + picture: communityItem.image.match(/\/ipfs\/.*/)[0], + }); + communityObject.current = communityItem; + setIsLoading(false); + } else { + ErrorHandler({}, 'You are not allowed to edit this Community.'); + goBack(); + } + }) + .catch(err => { + if (err.status === 404) { + history.push('/notfound'); + } else { + setIsLoading(false); + ErrorHandler( + err, + 'There has been a problem loading the Community. Please refresh the page and try again.', + ); + } + }); + } + }; - return () => {}; + if (userIsLoading || whitelistIsLoading || !currentUser.address) return; + checks().then(); }, [userIsLoading, currentUser, whitelistIsLoading]); // TODO: Check if user Changes (in Class components checked in didUpdate) diff --git a/src/components/views/EditExpense.jsx b/src/components/views/EditExpense.jsx index a536006f6..302f85c6b 100644 --- a/src/components/views/EditExpense.jsx +++ b/src/components/views/EditExpense.jsx @@ -160,6 +160,12 @@ function EditExpense(props) { }; useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + if (trace) { setUserIsOwner( [campaign.ownerAddress, campaign.coownerAddress].includes(currentUser.address), diff --git a/src/components/views/EditMilestone.jsx b/src/components/views/EditMilestone.jsx index 8c312f2bf..7bbdc37f3 100644 --- a/src/components/views/EditMilestone.jsx +++ b/src/components/views/EditMilestone.jsx @@ -72,6 +72,12 @@ function EditMilestone(props) { }; useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + if (trace) { setUserIsOwner( [campaign.ownerAddress, campaign.coownerAddress].includes(currentUser.address), diff --git a/src/components/views/EditPayment.jsx b/src/components/views/EditPayment.jsx index ad4c03eba..857821b99 100644 --- a/src/components/views/EditPayment.jsx +++ b/src/components/views/EditPayment.jsx @@ -111,6 +111,12 @@ function EditPayment(props) { }; useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } + if (trace) { setUserIsOwner( [campaign.ownerAddress, campaign.coownerAddress].includes(currentUser.address), diff --git a/src/components/views/EditTraceOld.jsx b/src/components/views/EditTraceOld.jsx index 8fded7f76..245bc4bf8 100644 --- a/src/components/views/EditTraceOld.jsx +++ b/src/components/views/EditTraceOld.jsx @@ -251,6 +251,11 @@ function EditTraceOld(props) { }, [editedForm.token, editedForm.fiatAmount, editedForm.date, editedForm.currency]); useEffect(() => { + if (currentUser.address) { + authenticateUser(currentUser, false, web3).then(auth => { + if (!auth) history.goBack(); + }); + } if (trace) { setUserIsOwner( [campaign.ownerAddress, campaign.coownerAddress].includes(currentUser.address), diff --git a/src/configuration.js b/src/configuration.js index 841f51afe..d5adc700b 100644 --- a/src/configuration.js +++ b/src/configuration.js @@ -42,7 +42,7 @@ const configurations = { homeNetworkName: 'Home Ganache', homeNetworkId: 66, // ipfsGateway: 'http://localhost:8080/ipfs/', - ipfsGateway: 'https://ipfs.giveth.io/ipfs/', + ipfsGateway: 'https://giveth.mypinata.cloud/ipfs/', homeUrl: 'http://localhost:3010', // sendErrors: false, analytics: { @@ -76,7 +76,7 @@ const configurations = { homeNetworkName: 'Ropsten', homeNetworkId: 3, homeNetworkChainId: '0x3', - ipfsGateway: 'https://ipfs.giveth.io/ipfs/', + ipfsGateway: 'https://giveth.mypinata.cloud/ipfs/', homeUrl: 'https://develop.giveth.io', analytics: { ga_UA: 'UA-103956937-5', @@ -109,7 +109,7 @@ const configurations = { homeNetworkName: 'Ropsten', homeNetworkId: 3, homeNetworkChainId: '0x3', - ipfsGateway: 'https://ipfs.giveth.io/ipfs/', + ipfsGateway: 'https://giveth.mypinata.cloud/ipfs/', homeUrl: 'https://release.giveth.io', analytics: { ga_UA: 'UA-103956937-4', @@ -139,7 +139,7 @@ const configurations = { homeNetworkName: 'Mainnet', homeNetworkId: 1, homeNetworkChainId: '0x1', - ipfsGateway: 'https://ipfs.giveth.io/ipfs/', + ipfsGateway: 'https://giveth.mypinata.cloud/ipfs/', homeUrl: 'https://trace.giveth.io', analytics: { ga_UA: 'UA-103956937-2', diff --git a/src/hooks/useENS.jsx b/src/hooks/useENS.jsx new file mode 100644 index 000000000..8bbd23870 --- /dev/null +++ b/src/hooks/useENS.jsx @@ -0,0 +1,19 @@ +import { getDefaultProvider } from '@ethersproject/providers'; +import { useEffect, useState } from 'react'; + +export function useENS(address) { + const [ensName, setENSName] = useState(); + + useEffect(() => { + async function resolveENS() { + if (address) { + const provider = await getDefaultProvider(); + const name = await provider.lookupAddress(address); + if (name) setENSName(name); + } + } + resolveENS(); + }, [address]); + + return { ensName }; +} diff --git a/src/lib/ErrorHandler.jsx b/src/lib/ErrorHandler.jsx index 28c3a13dc..9405e8266 100644 --- a/src/lib/ErrorHandler.jsx +++ b/src/lib/ErrorHandler.jsx @@ -2,6 +2,7 @@ import { notification } from 'antd'; import ErrorPopup from '../components/ErrorPopup'; export default (err, message, forcePopup = false, onCancel = () => {}, onError = () => {}) => { + console.error(err); let _message = ''; let _description = ''; diff --git a/src/lib/feathersClient.js b/src/lib/feathersClient.js index 15a283dcc..73d81edf9 100644 --- a/src/lib/feathersClient.js +++ b/src/lib/feathersClient.js @@ -1,6 +1,6 @@ import localforage from 'localforage'; import rx from 'feathers-reactive'; -import socketio from 'feathers-socketio/client'; +import socketio from '@feathersjs/socketio-client'; import * as Sentry from '@sentry/react'; import config from '../configuration'; @@ -28,6 +28,9 @@ socket.on('connect_error', e => { console.log('send Feathers connection error to sentry'); } }); +socket.on('disconnect', _e => { + console.log('Could not connect to FeatherJS: Disconnect'); +}); socket.on('connect_timeout', _e => { console.log('Could not connect to FeatherJS: Timeout'); }); @@ -45,9 +48,9 @@ export const feathersRest = feathers() export const feathersClient = feathers() .configure( socketio(socket, { - timeout: 30000, - pingTimeout: 30000, - upgradeTimeout: 30000, + timeout: 90000, + pingTimeout: 90000, + upgradeTimeout: 90000, }), ) .configure(auth({ storage: localforage })) @@ -57,5 +60,5 @@ export const feathersClient = feathers() }), ); // .on('authenticated', feathersRest.passport.setJWT); // set token on feathersRest whenever it is changed -feathersClient.service('uploads').timeout = 10000; -feathersRest.service('uploads').timeout = 10000; +feathersClient.service('uploadByImpactGraph').timeout = 90000; +feathersRest.service('uploadByImpactGraph').timeout = 90000; diff --git a/src/services/IPFSService.js b/src/services/IPFSService.js index 659fe0431..7976c09a1 100644 --- a/src/services/IPFSService.js +++ b/src/services/IPFSService.js @@ -1,6 +1,7 @@ import config from '../configuration'; import ImageTools from '../lib/ImageResizer'; -import ErrorPopup from '../components/ErrorPopup'; +import { feathersClient } from '../lib/feathersClient'; +import ErrorHandler from '../lib/ErrorHandler'; class IPFSService { /** @@ -8,14 +9,13 @@ class IPFSService { * * @param {object|Blob|string} obj Object/Blob to upload to ipfsGateway. The only valid string is a base64 encoded image. */ - static upload(obj) { + static async upload(obj) { const { ipfsGateway } = config; if (!ipfsGateway || ipfsGateway === '') { console.log('not uploading to ipfs. missing ipfsGateway url'); return Promise.resolve(); } - let body; if (typeof obj === 'string') { if (obj.match(/^\/ipfs\/[^/]+$/) !== null) { return Promise.resolve(obj); @@ -23,20 +23,20 @@ class IPFSService { if (!ImageTools.isImage(obj)) { throw new Error('Cant upload string to ipfs'); } - body = ImageTools.toBlob(obj); - } else { - body = - obj instanceof Blob ? obj : new Blob([JSON.stringify(obj)], { type: 'application/json' }); } - return fetch(`${ipfsGateway}`, { - method: 'POST', - body, - }).then(res => { - if (res.ok) return `/ipfs/${res.headers.get('Ipfs-Hash')}`; - ErrorPopup('Something went wrong with the upload.', 'IPFS upload unsuccessful'); - throw new Error('IPFS upload unsuccessful', res); + const reader = new FileReader(); + reader.readAsDataURL(obj); + await new Promise(resolve => { + reader.onloadend = resolve; }); + + try { + return await feathersClient.service('uploadByImpactGraph').create({ uri: reader.result }); + } catch (e) { + ErrorHandler(e, 'Something went wrong with the upload.', true); + throw new Error('IPFS upload unsuccessful'); + } } } diff --git a/src/services/TraceService.js b/src/services/TraceService.js index b5f107781..386b2edfe 100644 --- a/src/services/TraceService.js +++ b/src/services/TraceService.js @@ -426,7 +426,7 @@ class TraceService { } } const profileHash = await this.uploadToIPFS(trace); - if (!profileHash) return onError(); + // if (!profileHash) return onError(); // if a proposed or rejected trace, create/update it only in feathers if ([Trace.PROPOSED, Trace.REJECTED].includes(trace.status)) { @@ -608,7 +608,7 @@ class TraceService { } } - return await IPFSService.upload(trace.toIpfs()); + // return await IPFSService.upload(trace.toIpfs()); } catch (err) { if (err != null) { ErrorPopup('Failed to upload trace to ipfs'); diff --git a/yarn.lock b/yarn.lock index 08824d87b..5e1b294f9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1375,6 +1375,19 @@ react-qr-reader "^2.2.1" rxjs "^6.6.3" +"@davatar/react@^1.8.1": + version "1.8.1" + resolved "https://registry.yarnpkg.com/@davatar/react/-/react-1.8.1.tgz#2fe3e619422a46092c57025328be56b1e911550e" + integrity sha512-vq9zNwAfnZCoY8W2eAbjWP1GPQutUfdxG+lKG2fAPqNFP2qrzDhIziKyCKtt7jwaXp79P1Cy1Gjzlvs1XkzwOQ== + dependencies: + "@ethersproject/contracts" "^5.4.1" + "@ethersproject/providers" "^5.4.5" + "@types/react-blockies" "^1.4.1" + bn.js "^5.2.0" + color "^3.2.1" + mersenne-twister "^1.1.0" + react-blockies "^1.4.1" + "@eslint/eslintrc@^0.4.1": version "0.4.1" resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-0.4.1.tgz#442763b88cecbe3ee0ec7ca6d6dd6168550cbf14" @@ -1420,6 +1433,21 @@ "@ethersproject/properties" "^5.4.0" "@ethersproject/strings" "^5.4.0" +"@ethersproject/abi@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abi/-/abi-5.5.0.tgz#fb52820e22e50b854ff15ce1647cc508d6660613" + integrity sha512-loW7I4AohP5KycATvc0MgujU6JyCHPqHdeoo9z3Nr9xEiNioxa65ccdm1+fsoJhkuhdRtfcL8cfyGamz2AxZ5w== + dependencies: + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/hash" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/abstract-provider@5.4.0", "@ethersproject/abstract-provider@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.4.0.tgz#415331031b0f678388971e1987305244edc04e1d" @@ -1446,6 +1474,19 @@ "@ethersproject/transactions" "^5.1.0" "@ethersproject/web" "^5.1.0" +"@ethersproject/abstract-provider@^5.5.0": + version "5.5.1" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-provider/-/abstract-provider-5.5.1.tgz#2f1f6e8a3ab7d378d8ad0b5718460f85649710c5" + integrity sha512-m+MA/ful6eKbxpr99xUYeRvLkfnlqzrF8SZ46d/xFB1A7ZVknYc/sXJG0RcufF52Qn2jeFj1hhcoQ7IXjNKUqg== + dependencies: + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/networks" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/web" "^5.5.0" + "@ethersproject/abstract-signer@5.4.0", "@ethersproject/abstract-signer@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.4.0.tgz#cd5f50b93141ee9f9f49feb4075a0b3eafb57d65" @@ -1468,6 +1509,17 @@ "@ethersproject/logger" "^5.1.0" "@ethersproject/properties" "^5.1.0" +"@ethersproject/abstract-signer@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/abstract-signer/-/abstract-signer-5.5.0.tgz#590ff6693370c60ae376bf1c7ada59eb2a8dd08d" + integrity sha512-lj//7r250MXVLKI7sVarXAbZXbv9P50lgmJQGr2/is82EwEb8r7HrxsmMqAjTsztMYy7ohrIhGMIml+Gx4D3mA== + dependencies: + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/address@5.4.0", "@ethersproject/address@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.4.0.tgz#ba2d00a0f8c4c0854933b963b9a3a9f6eb4a37a3" @@ -1490,6 +1542,17 @@ "@ethersproject/logger" "^5.1.0" "@ethersproject/rlp" "^5.1.0" +"@ethersproject/address@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/address/-/address-5.5.0.tgz#bcc6f576a553f21f3dd7ba17248f81b473c9c78f" + integrity sha512-l4Nj0eWlTUh6ro5IbPTgbpT4wRbdH5l8CQf7icF7sb/SI3Nhd9Y9HzhonTSTi6CefI0necIw7LJqQPopPLZyWw== + dependencies: + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/rlp" "^5.5.0" + "@ethersproject/base64@5.4.0", "@ethersproject/base64@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.4.0.tgz#7252bf65295954c9048c7ca5f43e5c86441b2a9a" @@ -1504,6 +1567,13 @@ dependencies: "@ethersproject/bytes" "^5.1.0" +"@ethersproject/base64@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/base64/-/base64-5.5.0.tgz#881e8544e47ed976930836986e5eb8fab259c090" + integrity sha512-tdayUKhU1ljrlHzEWbStXazDpsx4eg1dBXUSI6+mHlYklOXoXF6lZvw8tnD6oVaWfnMxAgRSKROg3cVKtCcppA== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/basex@5.4.0", "@ethersproject/basex@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.4.0.tgz#0a2da0f4e76c504a94f2b21d3161ed9438c7f8a6" @@ -1512,6 +1582,14 @@ "@ethersproject/bytes" "^5.4.0" "@ethersproject/properties" "^5.4.0" +"@ethersproject/basex@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/basex/-/basex-5.5.0.tgz#e40a53ae6d6b09ab4d977bd037010d4bed21b4d3" + integrity sha512-ZIodwhHpVJ0Y3hUCfUucmxKsWQA5TMnavp5j/UOuDdzZWzJlRmuOjcTMIGgHCYuZmHt36BfiSyQPSRskPxbfaQ== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/bignumber@5.4.0", "@ethersproject/bignumber@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.4.0.tgz#be8dea298c0ec71208ee60f0b245be0761217ad9" @@ -1530,6 +1608,15 @@ "@ethersproject/logger" "^5.1.0" bn.js "^4.4.0" +"@ethersproject/bignumber@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bignumber/-/bignumber-5.5.0.tgz#875b143f04a216f4f8b96245bde942d42d279527" + integrity sha512-6Xytlwvy6Rn3U3gKEc1vP7nR92frHkv6wtVr95LFR3jREXiCPzdWxKQ1cx4JGQBXxcguAwjA8murlYN2TSiEbg== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + bn.js "^4.11.9" + "@ethersproject/bytes@5.4.0", "@ethersproject/bytes@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.4.0.tgz#56fa32ce3bf67153756dbaefda921d1d4774404e" @@ -1544,6 +1631,13 @@ dependencies: "@ethersproject/logger" "^5.1.0" +"@ethersproject/bytes@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/bytes/-/bytes-5.5.0.tgz#cb11c526de657e7b45d2e0f0246fb3b9d29a601c" + integrity sha512-ABvc7BHWhZU9PNM/tANm/Qx4ostPGadAuQzWTr3doklZOhDlmcBqclrQe/ZXUIj3K8wC28oYeuRa+A37tX9kog== + dependencies: + "@ethersproject/logger" "^5.5.0" + "@ethersproject/constants@5.4.0", "@ethersproject/constants@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.4.0.tgz#ee0bdcb30bf1b532d2353c977bf2ef1ee117958a" @@ -1558,6 +1652,13 @@ dependencies: "@ethersproject/bignumber" "^5.1.0" +"@ethersproject/constants@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/constants/-/constants-5.5.0.tgz#d2a2cd7d94bd1d58377d1d66c4f53c9be4d0a45e" + integrity sha512-2MsRRVChkvMWR+GyMGY4N1sAX9Mt3J9KykCsgUFd/1mwS0UH1qw+Bv9k1UJb3X3YJYFco9H20pjSlOIfCG5HYQ== + dependencies: + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/contracts@5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.4.0.tgz#e05fe6bd33acc98741e27d553889ec5920078abb" @@ -1574,6 +1675,22 @@ "@ethersproject/properties" "^5.4.0" "@ethersproject/transactions" "^5.4.0" +"@ethersproject/contracts@^5.4.1": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/contracts/-/contracts-5.5.0.tgz#b735260d4bd61283a670a82d5275e2a38892c197" + integrity sha512-2viY7NzyvJkh+Ug17v7g3/IJC8HqZBDcOjYARZLdzRxrfGlRgmYgl6xPRKVbEzy1dWKw/iv7chDcS83pg6cLxg== + dependencies: + "@ethersproject/abi" "^5.5.0" + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/hash@5.4.0", "@ethersproject/hash@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.4.0.tgz#d18a8e927e828e22860a011f39e429d388344ae0" @@ -1602,6 +1719,20 @@ "@ethersproject/properties" "^5.1.0" "@ethersproject/strings" "^5.1.0" +"@ethersproject/hash@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/hash/-/hash-5.5.0.tgz#7cee76d08f88d1873574c849e0207dcb32380cc9" + integrity sha512-dnGVpK1WtBjmnp3mUT0PlU2MpapnwWI0PibldQEq1408tQBAbZpPidkWoVVuNMOl/lISO3+4hXZWCL3YV7qzfg== + dependencies: + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/hdnode@5.4.0", "@ethersproject/hdnode@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/hdnode/-/hdnode-5.4.0.tgz#4bc9999b9a12eb5ce80c5faa83114a57e4107cac" @@ -1655,6 +1786,14 @@ "@ethersproject/bytes" "^5.1.0" js-sha3 "0.5.7" +"@ethersproject/keccak256@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/keccak256/-/keccak256-5.5.0.tgz#e4b1f9d7701da87c564ffe336f86dcee82983492" + integrity sha512-5VoFCTjo2rYbBe1l2f4mccaRFN/4VQEYFwwn04aJV2h7qf4ZvI2wFxUE1XOX+snbwCLRzIeikOqtAoPwMza9kg== + dependencies: + "@ethersproject/bytes" "^5.5.0" + js-sha3 "0.8.0" + "@ethersproject/logger@5.4.0", "@ethersproject/logger@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.4.0.tgz#f39adadf62ad610c420bcd156fd41270e91b3ca9" @@ -1665,6 +1804,11 @@ resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.1.0.tgz#4cdeeefac029373349d5818f39c31b82cc6d9bbf" integrity sha512-wtUaD1lBX10HBXjjKV9VHCBnTdUaKQnQ2XSET1ezglqLdPdllNOIlLfhyCRqXm5xwcjExVI5ETokOYfjPtaAlw== +"@ethersproject/logger@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/logger/-/logger-5.5.0.tgz#0c2caebeff98e10aefa5aef27d7441c7fd18cf5d" + integrity sha512-rIY/6WPm7T8n3qS2vuHTUBPdXHl+rGxWxW5okDfo9J4Z0+gRRZT0msvUdIJkE4/HS29GUMziwGaaKO2bWONBrg== + "@ethersproject/networks@5.4.1", "@ethersproject/networks@^5.4.0": version "5.4.1" resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.4.1.tgz#2ce83b8e42aa85216e5d277a7952d97b6ce8d852" @@ -1679,6 +1823,13 @@ dependencies: "@ethersproject/logger" "^5.1.0" +"@ethersproject/networks@^5.5.0": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@ethersproject/networks/-/networks-5.5.2.tgz#784c8b1283cd2a931114ab428dae1bd00c07630b" + integrity sha512-NEqPxbGBfy6O3x4ZTISb90SjEDkWYDUbEeIFhJly0F7sZjoQMnj5KYzMSkMkLKZ+1fGpx00EDpHQCy6PrDupkQ== + dependencies: + "@ethersproject/logger" "^5.5.0" + "@ethersproject/pbkdf2@5.4.0", "@ethersproject/pbkdf2@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/pbkdf2/-/pbkdf2-5.4.0.tgz#ed88782a67fda1594c22d60d0ca911a9d669641c" @@ -1701,6 +1852,13 @@ dependencies: "@ethersproject/logger" "^5.1.0" +"@ethersproject/properties@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/properties/-/properties-5.5.0.tgz#61f00f2bb83376d2071baab02245f92070c59995" + integrity sha512-l3zRQg3JkD8EL3CPjNK5g7kMx4qSwiR60/uk5IVjd3oq1MZR5qUg40CNOoEJoX5wc3DyY5bt9EbMk86C7x0DNA== + dependencies: + "@ethersproject/logger" "^5.5.0" + "@ethersproject/providers@5.4.1": version "5.4.1" resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.4.1.tgz#654267b563b833046b9c9647647cfc8267cb93b4" @@ -1726,6 +1884,31 @@ bech32 "1.1.4" ws "7.4.6" +"@ethersproject/providers@^5.4.5", "@ethersproject/providers@^5.5.2": + version "5.5.2" + resolved "https://registry.yarnpkg.com/@ethersproject/providers/-/providers-5.5.2.tgz#131ccf52dc17afd0ab69ed444b8c0e3a27297d99" + integrity sha512-hkbx7x/MKcRjyrO4StKXCzCpWer6s97xnm34xkfPiarhtEUVAN4TBBpamM+z66WcTt7H5B53YwbRj1n7i8pZoQ== + dependencies: + "@ethersproject/abstract-provider" "^5.5.0" + "@ethersproject/abstract-signer" "^5.5.0" + "@ethersproject/address" "^5.5.0" + "@ethersproject/basex" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/hash" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/networks" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/random" "^5.5.0" + "@ethersproject/rlp" "^5.5.0" + "@ethersproject/sha2" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/transactions" "^5.5.0" + "@ethersproject/web" "^5.5.0" + bech32 "1.1.4" + ws "7.4.6" + "@ethersproject/random@5.4.0", "@ethersproject/random@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.4.0.tgz#9cdde60e160d024be39cc16f8de3b9ce39191e16" @@ -1734,6 +1917,14 @@ "@ethersproject/bytes" "^5.4.0" "@ethersproject/logger" "^5.4.0" +"@ethersproject/random@^5.5.0": + version "5.5.1" + resolved "https://registry.yarnpkg.com/@ethersproject/random/-/random-5.5.1.tgz#7cdf38ea93dc0b1ed1d8e480ccdaf3535c555415" + integrity sha512-YaU2dQ7DuhL5Au7KbcQLHxcRHfgyNgvFV4sQOo0HrtW3Zkrc9ctWNz8wXQ4uCSfSDsqX2vcjhroxU5RQRV0nqA== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/rlp@5.4.0", "@ethersproject/rlp@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.4.0.tgz#de61afda5ff979454e76d3b3310a6c32ad060931" @@ -1750,6 +1941,14 @@ "@ethersproject/bytes" "^5.1.0" "@ethersproject/logger" "^5.1.0" +"@ethersproject/rlp@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/rlp/-/rlp-5.5.0.tgz#530f4f608f9ca9d4f89c24ab95db58ab56ab99a0" + integrity sha512-hLv8XaQ8PTI9g2RHoQGf/WSxBfTB/NudRacbzdxmst5VHAqd1sMibWG7SENzT5Dj3yZ3kJYx+WiRYEcQTAkcYA== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/sha2@5.4.0", "@ethersproject/sha2@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.4.0.tgz#c9a8db1037014cbc4e9482bd662f86c090440371" @@ -1759,6 +1958,15 @@ "@ethersproject/logger" "^5.4.0" hash.js "1.1.7" +"@ethersproject/sha2@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/sha2/-/sha2-5.5.0.tgz#a40a054c61f98fd9eee99af2c3cc6ff57ec24db7" + integrity sha512-B5UBoglbCiHamRVPLA110J+2uqsifpZaTmid2/7W5rbtYVz6gus6/hSDieIU/6gaKIDcOj12WnOdiymEUHIAOA== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + hash.js "1.1.7" + "@ethersproject/signing-key@5.4.0", "@ethersproject/signing-key@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.4.0.tgz#2f05120984e81cf89a3d5f6dec5c68ee0894fbec" @@ -1782,6 +1990,18 @@ bn.js "^4.4.0" elliptic "6.5.4" +"@ethersproject/signing-key@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/signing-key/-/signing-key-5.5.0.tgz#2aa37169ce7e01e3e80f2c14325f624c29cedbe0" + integrity sha512-5VmseH7qjtNmDdZBswavhotYbWB0bOwKIlOTSlX14rKn5c11QmJwGt4GHeo7NrL/Ycl7uo9AHvEqs5xZgFBTng== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + bn.js "^4.11.9" + elliptic "6.5.4" + hash.js "1.1.7" + "@ethersproject/solidity@5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/solidity/-/solidity-5.4.0.tgz#1305e058ea02dc4891df18b33232b11a14ece9ec" @@ -1811,6 +2031,15 @@ "@ethersproject/constants" "^5.1.0" "@ethersproject/logger" "^5.1.0" +"@ethersproject/strings@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/strings/-/strings-5.5.0.tgz#e6784d00ec6c57710755699003bc747e98c5d549" + integrity sha512-9fy3TtF5LrX/wTrBaT8FGE6TDJyVjOvXynXJz5MT5azq+E6D92zuKNx7i29sWW2FjVOaWjAsiZ1ZWznuduTIIQ== + dependencies: + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/transactions@5.4.0", "@ethersproject/transactions@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.4.0.tgz#a159d035179334bd92f340ce0f77e83e9e1522e0" @@ -1841,6 +2070,21 @@ "@ethersproject/rlp" "^5.1.0" "@ethersproject/signing-key" "^5.1.0" +"@ethersproject/transactions@^5.5.0": + version "5.5.0" + resolved "https://registry.yarnpkg.com/@ethersproject/transactions/-/transactions-5.5.0.tgz#7e9bf72e97bcdf69db34fe0d59e2f4203c7a2908" + integrity sha512-9RZYSKX26KfzEd/1eqvv8pLauCKzDTub0Ko4LfIgaERvRuwyaNV78mJs7cpIgZaDl6RJui4o49lHwwCM0526zA== + dependencies: + "@ethersproject/address" "^5.5.0" + "@ethersproject/bignumber" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/constants" "^5.5.0" + "@ethersproject/keccak256" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/rlp" "^5.5.0" + "@ethersproject/signing-key" "^5.5.0" + "@ethersproject/units@5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/units/-/units-5.4.0.tgz#d57477a4498b14b88b10396062c8cbbaf20c79fe" @@ -1893,6 +2137,17 @@ "@ethersproject/properties" "^5.1.0" "@ethersproject/strings" "^5.1.0" +"@ethersproject/web@^5.5.0": + version "5.5.1" + resolved "https://registry.yarnpkg.com/@ethersproject/web/-/web-5.5.1.tgz#cfcc4a074a6936c657878ac58917a61341681316" + integrity sha512-olvLvc1CB12sREc1ROPSHTdFCdvMh0J5GSJYiQg2D0hdD4QmJDy8QYDb1CvoqD/bF1c++aeKv2sR5uduuG9dQg== + dependencies: + "@ethersproject/base64" "^5.5.0" + "@ethersproject/bytes" "^5.5.0" + "@ethersproject/logger" "^5.5.0" + "@ethersproject/properties" "^5.5.0" + "@ethersproject/strings" "^5.5.0" + "@ethersproject/wordlists@5.4.0", "@ethersproject/wordlists@^5.4.0": version "5.4.0" resolved "https://registry.yarnpkg.com/@ethersproject/wordlists/-/wordlists-5.4.0.tgz#f34205ec3bbc9e2c49cadaee774cf0b07e7573d7" @@ -1918,37 +2173,42 @@ "@feathersjs/errors" "^4.5.11" "@feathersjs/feathers" "^4.5.11" -"@feathersjs/authentication-client@^4.5.11": - version "4.5.11" - resolved "https://registry.yarnpkg.com/@feathersjs/authentication-client/-/authentication-client-4.5.11.tgz#e43ba3dc1030519507f4795416e1f8bffbfb5f4e" - integrity sha512-yONvXZb09eg4bBOPi6jDJZw/ANA7fsQwOlcf4M0feqFjsulFpsRlmEv77fzakMZtY7Nq6Ax5i2iqZP+zZr5hgA== - dependencies: - "@feathersjs/authentication" "^4.5.11" - "@feathersjs/commons" "^4.5.11" - "@feathersjs/errors" "^4.5.11" - "@feathersjs/feathers" "^4.5.11" - debug "^4.3.1" - -"@feathersjs/authentication@^4.5.11": - version "4.5.11" - resolved "https://registry.yarnpkg.com/@feathersjs/authentication/-/authentication-4.5.11.tgz#6fa356fedbf877eb1b722d2fa5bc7af349818da2" - integrity sha512-zLPbz+NIV6wYLstjZtLfozO7koJyzJTj+GyZYDsIK3N4GDhQc1mqWskuwWQtgeYZVpDdEsxPEohJ/7f576pFQQ== - dependencies: - "@feathersjs/errors" "^4.5.11" - "@feathersjs/feathers" "^4.5.11" - "@feathersjs/transport-commons" "^4.5.11" - "@types/jsonwebtoken" "^8.5.0" - debug "^4.3.1" +"@feathersjs/authentication-client@^4.5.13": + version "4.5.13" + resolved "https://registry.yarnpkg.com/@feathersjs/authentication-client/-/authentication-client-4.5.13.tgz#975e48f2d2789f29e7c15b3da880c28cbe05fac3" + integrity sha512-qcrgJ+fRy11Gs7H0BVp8wy1NV3SSSDmWlLr3R5bEii2UBY0TSJu39swUpypDw/93F85aDghpuj1l/u44dF5/3g== + dependencies: + "@feathersjs/authentication" "^4.5.12" + "@feathersjs/commons" "^4.5.12" + "@feathersjs/errors" "^4.5.12" + "@feathersjs/feathers" "^4.5.12" + debug "^4.3.3" + +"@feathersjs/authentication@^4.5.12": + version "4.5.12" + resolved "https://registry.yarnpkg.com/@feathersjs/authentication/-/authentication-4.5.12.tgz#fbe508b63fe51f1986e8be898b900709166f16a3" + integrity sha512-qNLSlSZ0lCM77ELf7Ae+mkgXE1HafwWU2q/2MbSQfva1zUTo34O59JHa3PKmDK+TqAQwYQVlAY9IR6SmK+MW1g== + dependencies: + "@feathersjs/errors" "^4.5.12" + "@feathersjs/feathers" "^4.5.12" + "@feathersjs/transport-commons" "^4.5.12" + "@types/jsonwebtoken" "^8.5.6" + debug "^4.3.3" jsonwebtoken "^8.5.1" - lodash "^4.17.20" + lodash "^4.17.21" long-timeout "^0.1.1" - uuid "^8.3.1" + uuid "^8.3.2" "@feathersjs/commons@^4.5.11", "@feathersjs/commons@^4.5.3": version "4.5.11" resolved "https://registry.yarnpkg.com/@feathersjs/commons/-/commons-4.5.11.tgz#4c9d04e6996b823981b714312f7915c4469f0ffd" integrity sha512-it/9lc0OER36+2zidopWo6Z4xRqNImQ+qegyQdHEuIDpEsYLXAv6MVHuDccaW2x2UmW5pce75UB7DhQ8yh8J/Q== +"@feathersjs/commons@^4.5.12": + version "4.5.12" + resolved "https://registry.yarnpkg.com/@feathersjs/commons/-/commons-4.5.12.tgz#42e60e933849905b8803a3ebd7d4424f85ee7d3f" + integrity sha512-ss3yyk8HurmOCSD+wvENIrT9iSa8vg9SmikoP5c9JaLkbtMmKpH88jCjgRl7jiO54f2+UcjW3PqccNgUGSNSDQ== + "@feathersjs/errors@^4.5.11": version "4.5.11" resolved "https://registry.yarnpkg.com/@feathersjs/errors/-/errors-4.5.11.tgz#419b4dd9b557fe7a87978363175cbd5e06f8b3b9" @@ -1956,6 +2216,13 @@ dependencies: debug "^4.3.1" +"@feathersjs/errors@^4.5.12": + version "4.5.12" + resolved "https://registry.yarnpkg.com/@feathersjs/errors/-/errors-4.5.12.tgz#c9d408a103e2ead228e6c61ea24516e6fe635a43" + integrity sha512-xIQJ7t/acTuL1fTC6mpf0qlcWfJkA9x0rRMrSgjD3mzUnJU6VqxXFxusL8895ksGD0vQHwPueblbm8Hn6Ifqqw== + dependencies: + debug "^4.3.3" + "@feathersjs/feathers@^4.5.11", "@feathersjs/feathers@^4.5.3": version "4.5.11" resolved "https://registry.yarnpkg.com/@feathersjs/feathers/-/feathers-4.5.11.tgz#98999fe3857896bd15a676d4660dd92fe22481c4" @@ -1966,24 +2233,42 @@ events "^3.2.0" uberproto "^2.0.6" -"@feathersjs/rest-client@^4.5.11": - version "4.5.11" - resolved "https://registry.yarnpkg.com/@feathersjs/rest-client/-/rest-client-4.5.11.tgz#0844bd0544bfb02a71d5ee677e71c0bf7e950ba9" - integrity sha512-OFvV7A3gk6MhTFpuz+hYBG9Do7AdStNtF6Kol/HSFPfaQv34VdOLD7M60EliCA2/7QykvuYU1uhwhhkNGUeWXg== +"@feathersjs/feathers@^4.5.12": + version "4.5.12" + resolved "https://registry.yarnpkg.com/@feathersjs/feathers/-/feathers-4.5.12.tgz#86a99e601a99cd3a30f9e8841039b052676f5168" + integrity sha512-24bxpMpheBrDmVwwByNPPfXnXk2KkeiW3NvE3xXHbt7QzZj3OrPJ8WS5MqUZMPMFSLMyqlhRKs+hpQgfWhuxrA== dependencies: - "@feathersjs/commons" "^4.5.11" - "@feathersjs/errors" "^4.5.11" - qs "^6.9.4" + "@feathersjs/commons" "^4.5.12" + debug "^4.3.3" + events "^3.3.0" + uberproto "^2.0.6" -"@feathersjs/transport-commons@^4.5.11": - version "4.5.11" - resolved "https://registry.yarnpkg.com/@feathersjs/transport-commons/-/transport-commons-4.5.11.tgz#dfb31ecd1e66eb80cc6fab77b41d62e46b0a844b" - integrity sha512-YuQZnHQWOnhDLggwcMHdWGfIwZ5xabZCQ9/g18Nx770SWYwYPSLyvvbwsxs52LVvHyXW7j1VojcNixdUrOnFHQ== +"@feathersjs/rest-client@^4.5.12": + version "4.5.12" + resolved "https://registry.yarnpkg.com/@feathersjs/rest-client/-/rest-client-4.5.12.tgz#402e6eea0c752166de21611dd8e9a44dcb783317" + integrity sha512-P1UZODZyrTL6UHaXKBR9cwZgUr/hcTbhWVaLzl7fgs1xoTFRYCXdHcuJlxGia203Cj3spU1ImPhJlZipsxayFg== dependencies: - "@feathersjs/commons" "^4.5.11" - "@feathersjs/errors" "^4.5.11" - debug "^4.3.1" - lodash "^4.17.20" + "@feathersjs/commons" "^4.5.12" + "@feathersjs/errors" "^4.5.12" + qs "^6.10.2" + +"@feathersjs/socketio-client@^4.5.13": + version "4.5.13" + resolved "https://registry.yarnpkg.com/@feathersjs/socketio-client/-/socketio-client-4.5.13.tgz#bf2c013fa1a4743f3d3a66c18569e18b7bc254fd" + integrity sha512-WPjBNR6+tiIwsPyO89s+HrasIPqouNNALR8MENYLZzRaKo+najMjVwLVMzVUgJ6Ztxs/WmPTs17Hbjv5iY11jA== + dependencies: + "@feathersjs/transport-commons" "^4.5.12" + "@types/socket.io-client" "^1.4.36" + +"@feathersjs/transport-commons@^4.5.12": + version "4.5.12" + resolved "https://registry.yarnpkg.com/@feathersjs/transport-commons/-/transport-commons-4.5.12.tgz#3993d03a1cfed630b0fc42e5dc1e92c76738fb28" + integrity sha512-c/FnP+xzCmfsHGj4NGhHpTy2haaA2jiKZ+du8rUUWBgxC73y3mw7udUGhWdDxGx2mnXtOKCwIA6oPQBdXtFC+A== + dependencies: + "@feathersjs/commons" "^4.5.12" + "@feathersjs/errors" "^4.5.12" + debug "^4.3.3" + lodash "^4.17.21" radix-router "^3.0.1" "@giveth/bridge-contract@^1.0.6": @@ -3011,10 +3296,10 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/jsonwebtoken@^8.5.0": - version "8.5.1" - resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-8.5.1.tgz#56958cb2d80f6d74352bd2e501a018e2506a8a84" - integrity sha512-rNAPdomlIUX0i0cg2+I+Q1wOUr531zHBQ+cV/28PJ39bSPKjahatZZ2LMuhiguETkCgLVzfruw/ZvNMNkKoSzw== +"@types/jsonwebtoken@^8.5.6": + version "8.5.8" + resolved "https://registry.yarnpkg.com/@types/jsonwebtoken/-/jsonwebtoken-8.5.8.tgz#01b39711eb844777b7af1d1f2b4cf22fda1c0c44" + integrity sha512-zm6xBQpFDIDM6o9r6HSgDeIcLy82TKWctCXEPbJJcXb5AKmi5BNNdLXneixK4lplX3PqIVcwLBCGE/kAGnlD4A== dependencies: "@types/node" "*" @@ -3089,6 +3374,13 @@ dependencies: parchment "^1.1.2" +"@types/react-blockies@^1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@types/react-blockies/-/react-blockies-1.4.1.tgz#d5f6fff8ece3e90f2e7708f8f3156c87333312df" + integrity sha512-aDX0g0hwzdodkGLSDNUQr6gXxwclGjnhS8jhsR8uQhAfe/7i3GZD/NDcSlQ2SiQiLhfRxX3NlY+nvBwf5Y0tTg== + dependencies: + "@types/react" "*" + "@types/react-dom@^17.0.1": version "17.0.9" resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-17.0.9.tgz#441a981da9d7be117042e1a6fd3dac4b30f55add" @@ -3145,12 +3437,10 @@ dependencies: "@types/node" "*" -"@types/socket.io@~1.4.27": - version "1.4.42" - resolved "https://registry.yarnpkg.com/@types/socket.io/-/socket.io-1.4.42.tgz#cd2750542d95db888e161b88c85d38162f21fbbb" - integrity sha512-2SnWce3DiBVkswhJgpo4FSoMTAAHksxYOFXaBZe4icrrrvpXee8yUPOZT77xzWvLZw63QpREUHHWzM4lQpHjtA== - dependencies: - "@types/node" "*" +"@types/socket.io-client@^1.4.36": + version "1.4.36" + resolved "https://registry.yarnpkg.com/@types/socket.io-client/-/socket.io-client-1.4.36.tgz#e4f1ca065f84c20939e9850e70222202bd76ff3f" + integrity sha512-ZJWjtFBeBy1kRSYpVbeGYTElf6BqPQUkXDlHHD4k/42byCN5Rh027f4yARHCink9sKAkbtGZXEAmR0ZCnc2/Ag== "@types/source-list-map@*": version "0.1.2" @@ -4965,11 +5255,6 @@ base64-js@^1.0.2, base64-js@^1.3.1: resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== -base64id@2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/base64id/-/base64id-2.0.0.tgz#2770ac6bc47d312af97a8bf9a634342e0cd25cb6" - integrity sha512-lGe34o6EHj9y3Kts9R4ZYs/Gr+6N7MCaMlIFA3F1R2O5/m7K06AxfSeO5530PEERE6/WyEg3lsuyw4GHlPZHog== - base@^0.11.1: version "0.11.2" resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" @@ -5993,7 +6278,7 @@ collection-visit@^1.0.0: map-visit "^1.0.0" object-visit "^1.0.0" -color-convert@^1.9.0, color-convert@^1.9.1: +color-convert@^1.9.0, color-convert@^1.9.1, color-convert@^1.9.3: version "1.9.3" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== @@ -6025,6 +6310,14 @@ color-string@^1.5.4: color-name "^1.0.0" simple-swizzle "^0.2.2" +color-string@^1.6.0: + version "1.9.0" + resolved "https://registry.yarnpkg.com/color-string/-/color-string-1.9.0.tgz#63b6ebd1bec11999d1df3a79a7569451ac2be8aa" + integrity sha512-9Mrz2AQLefkH1UvASKj6v6hj/7eWgjnT/cVsR8CumieLoT+g900exWeNogqtweI8dxloXN9BDQTYro1oWu/5CQ== + dependencies: + color-name "^1.0.0" + simple-swizzle "^0.2.2" + color@^3.0.0: version "3.1.3" resolved "https://registry.yarnpkg.com/color/-/color-3.1.3.tgz#ca67fb4e7b97d611dcde39eceed422067d91596e" @@ -6033,6 +6326,14 @@ color@^3.0.0: color-convert "^1.9.1" color-string "^1.5.4" +color@^3.2.1: + version "3.2.1" + resolved "https://registry.yarnpkg.com/color/-/color-3.2.1.tgz#3544dc198caf4490c3ecc9a790b54fe9ff45e164" + integrity sha512-aBl7dZI9ENN6fUGC7mWpMTPNHmWUSNan9tuWN6ahh5ZLNk9baLJOnSMlrQkHcrfFgz2/RigjUVAjdx36VcemKA== + dependencies: + color-convert "^1.9.3" + color-string "^1.6.0" + colorette@^1.2.1, colorette@^1.2.2: version "1.2.2" resolved "https://registry.yarnpkg.com/colorette/-/colorette-1.2.2.tgz#cbcc79d5e99caea2dbf10eb3a26fd8b3e6acfa94" @@ -6077,11 +6378,6 @@ component-bind@1.0.0: resolved "https://registry.yarnpkg.com/component-bind/-/component-bind-1.0.0.tgz#00c608ab7dcd93897c0009651b1d3a8e1e73bbd1" integrity sha1-AMYIq33Nk4l8AAllGx06jh5zu9E= -component-emitter@1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" - integrity sha1-E3kY1teCg/ffemt8WmPhQOaUJeY= - component-emitter@^1.2.0, component-emitter@^1.2.1, component-emitter@~1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.3.0.tgz#16e4070fba8ae29b679f2215853ee181ab2eabc0" @@ -6215,11 +6511,6 @@ cookie@0.4.0: resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.0.tgz#beb437e7022b3b6d49019d088665303ebe9c14ba" integrity sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg== -cookie@~0.4.1: - version "0.4.1" - resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.4.1.tgz#afd713fe26ebd21ba95ceb61f9a8116e50a537d1" - integrity sha512-ZwrFkGJxUR3EIoXtO+yVE69Eb7KlixbaeAWfBQB9vVsNn/o+Yw69gBWSSDK825hQNdN+wF8zELf3dFNl/kxkUA== - cookiejar@^2.1.0, cookiejar@^2.1.1: version "2.1.2" resolved "https://registry.yarnpkg.com/cookiejar/-/cookiejar-2.1.2.tgz#dd8a235530752f988f9a0844f3fc589e3111125c" @@ -6742,19 +7033,19 @@ debug@=3.1.0, debug@~3.1.0: dependencies: ms "2.0.0" -debug@^3.0.0, debug@^3.1.0, debug@^3.1.1, debug@^3.2.6, debug@^3.2.7: +debug@^3.1.0, debug@^3.1.1, debug@^3.2.6, debug@^3.2.7: version "3.2.7" resolved "https://registry.yarnpkg.com/debug/-/debug-3.2.7.tgz#72580b7e9145fb39b6676f9c5e5fb100b934179a" integrity sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ== dependencies: ms "^2.1.1" -debug@~4.1.0: - version "4.1.1" - resolved "https://registry.yarnpkg.com/debug/-/debug-4.1.1.tgz#3b72260255109c6b589cee050f1d516139664791" - integrity sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw== +debug@^4.3.3: + version "4.3.4" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" + integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== dependencies: - ms "^2.1.1" + ms "2.1.2" decamelize-keys@^1.0.0: version "1.1.0" @@ -7301,18 +7592,6 @@ engine.io-parser@~2.2.0: blob "0.0.5" has-binary2 "~1.0.2" -engine.io@~3.5.0: - version "3.5.0" - resolved "https://registry.yarnpkg.com/engine.io/-/engine.io-3.5.0.tgz#9d6b985c8a39b1fe87cd91eb014de0552259821b" - integrity sha512-21HlvPUKaitDGE4GXNtQ7PLP0Sz4aWLddMPw2VTyFz1FVZqu/kZsJUO8WNpKuE/OCL7nkfRaOui2ZCJloGznGA== - dependencies: - accepts "~1.3.4" - base64id "2.0.0" - cookie "~0.4.1" - debug "~4.1.0" - engine.io-parser "~2.2.0" - ws "~7.4.2" - enhanced-resolve@^4.3.0: version "4.5.0" resolved "https://registry.yarnpkg.com/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz#2f3cfd84dbe3b487f18f2db2ef1e064a571ca5ec" @@ -8561,18 +8840,6 @@ fb-watchman@^2.0.0: dependencies: bser "2.1.1" -feathers-commons@^0.8.0: - version "0.8.7" - resolved "https://registry.yarnpkg.com/feathers-commons/-/feathers-commons-0.8.7.tgz#11c6f25b537745a983e8d61552d7db8932d53782" - integrity sha1-EcbyW1N3RamD6NYVUtfbiTLVN4I= - -feathers-errors@^2.2.0: - version "2.9.2" - resolved "https://registry.yarnpkg.com/feathers-errors/-/feathers-errors-2.9.2.tgz#96ca0e5fe50cc56f0eccc90ce3fa5e1f8840828d" - integrity sha512-qwIX97bNW7+1tWVG073+omUA0rCYKJtTtwuzTrrvfrtdr8J8Dk1Fy4iaV9Fa6/YBD5AZu0lsplPE0iu4u/d4GQ== - dependencies: - debug "^3.0.0" - feathers-hooks-common@^5.0.5: version "5.0.6" resolved "https://registry.yarnpkg.com/feathers-hooks-common/-/feathers-hooks-common-5.0.6.tgz#eac65521d44c306c838f14c9f1f6deb785ac0b35" @@ -8603,26 +8870,6 @@ feathers-reactive@^0.8.2: rxjs "^6.5.5" sift "^12.0.1" -feathers-socket-commons@^2.0.0: - version "2.4.0" - resolved "https://registry.yarnpkg.com/feathers-socket-commons/-/feathers-socket-commons-2.4.0.tgz#062efd57f9a8716644145b993a5f72709969f1e1" - integrity sha1-Bi79V/mocWZEFFuZOl9ycJlp8eE= - dependencies: - debug "^2.2.0" - feathers-commons "^0.8.0" - feathers-errors "^2.2.0" - -feathers-socketio@^2.0.1: - version "2.0.1" - resolved "https://registry.yarnpkg.com/feathers-socketio/-/feathers-socketio-2.0.1.tgz#7efa089c33569a3b09d09d6c077a5f6c257f4a52" - integrity sha512-3ByXVr6UGyGN6TPRN+U5IhENYrSgeuADhbKWLG5cq2WvYH9h2N1l3cj7WBVsfRektUgVw/HkGNAoExy8yuknMA== - dependencies: - "@types/socket.io" "~1.4.27" - debug "^3.0.0" - feathers-socket-commons "^2.0.0" - socket.io "^2.0.1" - uberproto "^1.2.0" - fetch-ponyfill@^4.0.0: version "4.1.0" resolved "https://registry.yarnpkg.com/fetch-ponyfill/-/fetch-ponyfill-4.1.0.tgz#ae3ce5f732c645eab87e4ae8793414709b239893" @@ -12050,6 +12297,11 @@ merkle-patricia-tree@^2.1.2, merkle-patricia-tree@^2.3.2: rlp "^2.0.0" semaphore ">=1.0.1" +mersenne-twister@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/mersenne-twister/-/mersenne-twister-1.1.0.tgz#f916618ee43d7179efcf641bec4531eb9670978a" + integrity sha1-+RZhjuQ9cXnvz2Qb7EUx65Zwl4o= + methods@^1.1.1, methods@~1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/methods/-/methods-1.1.2.tgz#5529a4d67654134edcc5266656835b0f851afcee" @@ -12402,9 +12654,9 @@ nano-json-stream-parser@^0.1.2: integrity sha1-DMj20OK2IrR5xA1JnEbWS3Vcb18= nanoid@^3.1.23: - version "3.1.23" - resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.23.tgz#f744086ce7c2bc47ee0a8472574d5c78e4183a81" - integrity sha512-FiB0kzdP0FFVGDKlRLEQ1BgDzU87dy5NnzjeW9YZNt+/c3+q82EQDUwniSAUxp/F0gFNI1ZhKU1FqYsMuqZVnw== + version "3.2.0" + resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.2.0.tgz#62667522da6673971cca916a6d3eff3f415ff80c" + integrity sha512-fmsZYa9lpn69Ad5eDn7FMcnnSR+8R34W9qJEijxYhTbfOWzr22n1QxCMzXLK+ODyW2973V3Fux959iQoUxzUIA== nanomatch@^1.2.9: version "1.2.13" @@ -12491,10 +12743,12 @@ node-fetch@^1.0.1, node-fetch@~1.7.1: encoding "^0.1.11" is-stream "^1.0.1" -node-fetch@^2.6.0, 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.0, node-fetch@^2.6.1, node-fetch@^2.6.7: + version "2.6.7" + resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.7.tgz#24de9fba827e3b4ae44dc8b20256a379160052ad" + integrity sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ== + dependencies: + whatwg-url "^5.0.0" node-forge@^0.10.0: version "0.10.0" @@ -14448,7 +14702,14 @@ qs@6.7.0: resolved "https://registry.yarnpkg.com/qs/-/qs-6.7.0.tgz#41dc1a015e3d581f1621776be31afb2876a9b1bc" integrity sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ== -qs@^6.5.1, qs@^6.9.4: +qs@^6.10.2: + version "6.10.3" + resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.3.tgz#d6cde1b2ffca87b5aa57889816c5f81535e22e8e" + integrity sha512-wr7M2E0OFRfIfJZjKGieI8lBKb7fRCH4Fv5KNPEs7gJ8jadvotdsS08PzOKR7opXhZ/Xkjtt3WF9g38drmyRqQ== + dependencies: + side-channel "^1.0.4" + +qs@^6.5.1: version "6.10.1" resolved "https://registry.yarnpkg.com/qs/-/qs-6.10.1.tgz#4931482fa8d647a5aab799c5271d2133b981fb6a" integrity sha512-M528Hph6wsSVOBiYUnGf+K/7w0hNshs/duGsNXPUCLH5XAqjEtiPGwNONLV0tBH8NoGb0mvD5JubnUTrujKDTg== @@ -14962,6 +15223,13 @@ react-avatar@^3.10.0: is-retina "^1.0.3" md5 "^2.0.0" +react-blockies@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/react-blockies/-/react-blockies-1.4.1.tgz#d4f0faf95ac197213a297a370a4d7f77ea3d0b08" + integrity sha512-4N015X5oPNnD3xQPsiqolOFzPZSSWyc5mJhJUZShUCHtiGUxVN+1qsWTcglkHMNySux9hUofaispqcw9QkWP5Q== + dependencies: + prop-types "^15.5.10" + react-dev-utils@^11.0.3: version "11.0.4" resolved "https://registry.yarnpkg.com/react-dev-utils/-/react-dev-utils-11.0.4.tgz#a7ccb60257a1ca2e0efe7a83e38e6700d17aa37a" @@ -16336,9 +16604,9 @@ simple-concat@^1.0.0: integrity sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q== simple-get@^2.7.0: - version "2.8.1" - resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.1.tgz#0e22e91d4575d87620620bc91308d57a77f44b5d" - integrity sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw== + version "2.8.2" + resolved "https://registry.yarnpkg.com/simple-get/-/simple-get-2.8.2.tgz#5708fb0919d440657326cd5fe7d2599d07705019" + integrity sha512-Ijd/rV5o+mSBBs4F/x9oDPtTx9Zb6X9brmnXvMW4J7IR15ngi9q5xxqWBKU744jTZiaXtxaPL7uHG6vtN8kUkw== dependencies: decompress-response "^3.3.0" once "^1.3.1" @@ -16410,11 +16678,6 @@ snapdragon@^0.8.1: source-map-resolve "^0.5.0" use "^3.1.0" -socket.io-adapter@~1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/socket.io-adapter/-/socket.io-adapter-1.1.2.tgz#ab3f0d6f66b8fc7fca3959ab5991f82221789be9" - integrity sha512-WzZRUj1kUjrTIrUKpZLEzFZ1OLj5FwLlAFQs9kuZJzJi5DKdU7FsWc36SNmA8iDOtwBQyT8FkrriRM8vXLYz8g== - socket.io-client@2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/socket.io-client/-/socket.io-client-2.4.0.tgz#aafb5d594a3c55a34355562fc8aea22ed9119a35" @@ -16441,27 +16704,6 @@ socket.io-parser@~3.3.0: debug "~3.1.0" isarray "2.0.1" -socket.io-parser@~3.4.0: - version "3.4.1" - resolved "https://registry.yarnpkg.com/socket.io-parser/-/socket.io-parser-3.4.1.tgz#b06af838302975837eab2dc980037da24054d64a" - integrity sha512-11hMgzL+WCLWf1uFtHSNvliI++tcRUWdoeYuwIl+Axvwy9z2gQM+7nJyN3STj1tLj5JyIUH8/gpDGxzAlDdi0A== - dependencies: - component-emitter "1.2.1" - debug "~4.1.0" - isarray "2.0.1" - -socket.io@^2.0.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/socket.io/-/socket.io-2.4.1.tgz#95ad861c9a52369d7f1a68acf0d4a1b16da451d2" - integrity sha512-Si18v0mMXGAqLqCVpTxBa8MGqriHGQh8ccEOhmsmNS3thNCGBwO8WGrwMibANsWtQQ5NStdZwHqZR3naJVFc3w== - dependencies: - debug "~4.1.0" - engine.io "~3.5.0" - has-binary2 "~1.0.2" - socket.io-adapter "~1.1.0" - socket.io-client "2.4.0" - socket.io-parser "~3.4.0" - sockjs-client@^1.5.0: version "1.5.1" resolved "https://registry.yarnpkg.com/sockjs-client/-/sockjs-client-1.5.1.tgz#256908f6d5adfb94dabbdbd02c66362cca0f9ea6" @@ -17458,6 +17700,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@^0.6.6: version "0.6.6" resolved "https://registry.yarnpkg.com/traverse/-/traverse-0.6.6.tgz#cbdf560fd7b9af632502fed40f918c157ea97137" @@ -17697,11 +17944,6 @@ u2f-api@0.2.7: resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-0.2.7.tgz#17bf196b242f6bf72353d9858e6a7566cc192720" integrity sha512-fqLNg8vpvLOD5J/z4B6wpPg4Lvowz1nJ9xdHcCzdUPKcFE/qNCceV2gNZxSJd5vhAZemHr/K/hbzVA0zxB5mkg== -uberproto@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/uberproto/-/uberproto-1.2.0.tgz#61d4eab024f909c4e6ea52be867c4894a4beeb76" - integrity sha1-YdTqsCT5CcTm6lK+hnxIlKS+63Y= - uberproto@^2.0.6: version "2.0.6" resolved "https://registry.yarnpkg.com/uberproto/-/uberproto-2.0.6.tgz#709274d183bce6fb734dfd3880d2086ed72b69e5" @@ -17880,9 +18122,9 @@ url-parse-lax@^3.0.0: prepend-http "^2.0.0" url-parse@^1.4.3, url-parse@^1.5.1: - version "1.5.1" - resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.1.tgz#d5fa9890af8a5e1f274a2c98376510f6425f6e3b" - integrity sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q== + version "1.5.10" + resolved "https://registry.yarnpkg.com/url-parse/-/url-parse-1.5.10.tgz#9d3c2f736c1d75dd3bd2be507dcc111f1e2ea9c1" + integrity sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ== dependencies: querystringify "^2.1.1" requires-port "^1.0.0" @@ -18001,7 +18243,7 @@ uuid@7.0.2: resolved "https://registry.yarnpkg.com/uuid/-/uuid-7.0.2.tgz#7ff5c203467e91f5e0d85cfcbaaf7d2ebbca9be6" integrity sha512-vy9V/+pKG+5ZTYKf+VcphF5Oc6EFiu3W8Nv3P3zIh0EqVI80ZxOzuPfe9EHjkFNvf8+xuTHVeei4Drydlx4zjw== -uuid@8.3.2, uuid@^8.3.0, uuid@^8.3.1, uuid@^8.3.2: +uuid@8.3.2, uuid@^8.3.0, uuid@^8.3.2: version "8.3.2" resolved "https://registry.yarnpkg.com/uuid/-/uuid-8.3.2.tgz#80d5b5ced271bb9af6c445f21a1a04c606cefbe2" integrity sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg== @@ -18704,6 +18946,11 @@ web3@^1.2.2: web3-shh "1.3.6" web3-utils "1.3.6" +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" @@ -18887,6 +19134,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, whatwg-url@^8.5.0: version "8.5.0" resolved "https://registry.yarnpkg.com/whatwg-url/-/whatwg-url-8.5.0.tgz#7752b8464fc0903fec89aa9846fc9efe07351fd3" @@ -19211,7 +19466,7 @@ ws@7.4.3: resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.3.tgz#1f9643de34a543b8edb124bdcbc457ae55a6e5cd" integrity sha512-hr6vCR76GsossIRsr8OLR9acVVm1jyfEWvhbNjtgPOrfvAlKzvyeg/P6r8RuDjRyrcQoPQT7K0DGEPc7Ae6jzA== -ws@7.4.6: +ws@7.4.6, ws@~7.4.2: version "7.4.6" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c" integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A== @@ -19239,7 +19494,7 @@ ws@^6.2.1: dependencies: async-limiter "~1.0.0" -ws@^7.4.4, ws@~7.4.2: +ws@^7.4.4: version "7.4.5" resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.5.tgz#a484dd851e9beb6fdb420027e3885e8ce48986c1" integrity sha512-xzyu3hFvomRfXKH8vOFMU3OguG6oOvhXMo3xsGy3xWExqaM2dxBbVxuD99O7m3ZUFMvvscsZDqxfgMaRr/Nr1g==