1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-11-16 02:04:54 +01:00

package updates

This commit is contained in:
Matthias Kretschmann 2020-07-30 21:14:05 +02:00
parent 3826051d01
commit d8fc322b5c
Signed by: m
GPG Key ID: 606EEEF3C479A91F
3 changed files with 2507 additions and 2157 deletions

4635
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -22,11 +22,11 @@
"@loadable/component": "^5.13.1", "@loadable/component": "^5.13.1",
"@oceanprotocol/art": "^3.0.0", "@oceanprotocol/art": "^3.0.0",
"@oceanprotocol/lib": "^0.1.10", "@oceanprotocol/lib": "^0.1.10",
"@oceanprotocol/react": "^0.0.28", "@oceanprotocol/react": "^0.0.29",
"@oceanprotocol/typographies": "^0.1.0", "@oceanprotocol/typographies": "^0.1.0",
"@sindresorhus/slugify": "^1.0.0", "@sindresorhus/slugify": "^1.0.0",
"@tippyjs/react": "^4.1.0", "@tippyjs/react": "^4.1.0",
"@toruslabs/torus-embed": "^1.8.1", "@toruslabs/torus-embed": "^1.8.2",
"@types/classnames": "^2.2.10", "@types/classnames": "^2.2.10",
"@vercel/node": "^1.7.4", "@vercel/node": "^1.7.4",
"@walletconnect/web3-provider": "^1.1.0", "@walletconnect/web3-provider": "^1.1.0",
@ -38,19 +38,19 @@
"filesize": "^6.1.0", "filesize": "^6.1.0",
"formik": "^2.1.5", "formik": "^2.1.5",
"formik-persist": "^1.1.0", "formik-persist": "^1.1.0",
"gatsby": "^2.24.14", "gatsby": "^2.24.15",
"gatsby-image": "^2.4.14", "gatsby-image": "^2.4.14",
"gatsby-plugin-manifest": "^2.4.21", "gatsby-plugin-manifest": "^2.4.21",
"gatsby-plugin-react-helmet": "^3.3.10", "gatsby-plugin-react-helmet": "^3.3.10",
"gatsby-plugin-remove-trailing-slashes": "^2.3.11", "gatsby-plugin-remove-trailing-slashes": "^2.3.11",
"gatsby-plugin-sharp": "^2.6.23", "gatsby-plugin-sharp": "^2.6.24",
"gatsby-plugin-svgr": "^2.0.2", "gatsby-plugin-svgr": "^2.0.2",
"gatsby-plugin-webpack-size": "^1.0.0", "gatsby-plugin-webpack-size": "^1.0.0",
"gatsby-source-filesystem": "^2.3.23", "gatsby-source-filesystem": "^2.3.23",
"gatsby-source-graphql": "^2.6.2", "gatsby-source-graphql": "^2.6.2",
"gatsby-transformer-json": "^2.4.11", "gatsby-transformer-json": "^2.4.11",
"gatsby-transformer-remark": "^2.8.27", "gatsby-transformer-remark": "^2.8.27",
"gatsby-transformer-sharp": "^2.5.11", "gatsby-transformer-sharp": "^2.5.12",
"intersection-observer": "^0.11.0", "intersection-observer": "^0.11.0",
"is-url-superb": "^4.0.0", "is-url-superb": "^4.0.0",
"query-string": "^6.13.1", "query-string": "^6.13.1",
@ -69,15 +69,15 @@
"react-toastify": "^6.0.8", "react-toastify": "^6.0.8",
"shortid": "^2.2.15", "shortid": "^2.2.15",
"slugify": "^1.4.5", "slugify": "^1.4.5",
"swr": "^0.2.3", "swr": "^0.3.0",
"yup": "^0.29.2" "yup": "^0.29.2"
}, },
"devDependencies": { "devDependencies": {
"@babel/core": "^7.10.5", "@babel/core": "^7.10.5",
"@babel/preset-typescript": "^7.10.1", "@babel/preset-typescript": "^7.10.1",
"@storybook/addon-actions": "^6.0.0-rc.18", "@storybook/addon-actions": "^6.0.0-rc.19",
"@storybook/addon-storyshots": "^6.0.0-rc.18", "@storybook/addon-storyshots": "^6.0.0-rc.19",
"@storybook/react": "^6.0.0-rc.18", "@storybook/react": "^6.0.0-rc.19",
"@svgr/webpack": "^5.4.0", "@svgr/webpack": "^5.4.0",
"@testing-library/jest-dom": "^5.11.2", "@testing-library/jest-dom": "^5.11.2",
"@testing-library/react": "^10.4.7", "@testing-library/react": "^10.4.7",
@ -101,7 +101,7 @@
"eslint-plugin-prettier": "^3.1.4", "eslint-plugin-prettier": "^3.1.4",
"eslint-plugin-react": "^7.20.5", "eslint-plugin-react": "^7.20.5",
"identity-obj-proxy": "^3.0.0", "identity-obj-proxy": "^3.0.0",
"jest": "^26.1.0", "jest": "^26.2.1",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"serve": "^11.3.2", "serve": "^11.3.2",
"source-map-explorer": "^2.4.2", "source-map-explorer": "^2.4.2",

View File

@ -19,7 +19,6 @@ export default function PublishPage({
}): ReactElement { }): ReactElement {
const { publish, publishError } = usePublish() const { publish, publishError } = usePublish()
const navigate = useNavigate() const navigate = useNavigate()
const marketAddress = '0x36A7f3383A63279cDaF4DfC0F3ABc07d90252C6b'
async function handleSubmit(values: MetadataPublishForm): Promise<void> { async function handleSubmit(values: MetadataPublishForm): Promise<void> {
console.log(` console.log(`
@ -41,7 +40,7 @@ export default function PublishPage({
`) `)
try { try {
const ddo = await publish(metadata as any, tokensToMint, marketAddress, [ const ddo = await publish(metadata as any, tokensToMint, [
{ serviceType, cost: '1' } { serviceType, cost: '1' }
]) ])