mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
package updates
This commit is contained in:
parent
74ebdd517e
commit
b48435788c
1642
package-lock.json
generated
1642
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
30
package.json
30
package.json
@ -22,8 +22,8 @@
|
||||
"@coingecko/cryptoformat": "^0.4.2",
|
||||
"@loadable/component": "5.13.1",
|
||||
"@oceanprotocol/art": "^3.0.0",
|
||||
"@oceanprotocol/lib": "^0.6.7",
|
||||
"@oceanprotocol/react": "^0.2.2",
|
||||
"@oceanprotocol/lib": "^0.7.0",
|
||||
"@oceanprotocol/react": "^0.3.0",
|
||||
"@oceanprotocol/typographies": "^0.1.0",
|
||||
"@sindresorhus/slugify": "^1.0.0",
|
||||
"@tippyjs/react": "^4.2.0",
|
||||
@ -40,19 +40,19 @@
|
||||
"ethereum-blockies": "github:MyEtherWallet/blockies",
|
||||
"filesize": "^6.1.0",
|
||||
"formik": "^2.2.0",
|
||||
"gatsby": "^2.24.80",
|
||||
"gatsby": "^2.24.84",
|
||||
"gatsby-image": "^2.4.21",
|
||||
"gatsby-plugin-manifest": "^2.4.35",
|
||||
"gatsby-plugin-react-helmet": "^3.3.14",
|
||||
"gatsby-plugin-remove-trailing-slashes": "^2.3.13",
|
||||
"gatsby-plugin-sharp": "^2.6.42",
|
||||
"gatsby-plugin-sharp": "^2.6.43",
|
||||
"gatsby-plugin-svgr": "^2.0.2",
|
||||
"gatsby-plugin-webpack-size": "^1.0.0",
|
||||
"gatsby-source-filesystem": "^2.3.35",
|
||||
"gatsby-source-graphql": "^2.7.6",
|
||||
"gatsby-transformer-json": "^2.4.14",
|
||||
"gatsby-transformer-remark": "^2.8.42",
|
||||
"gatsby-transformer-sharp": "^2.5.18",
|
||||
"gatsby-transformer-json": "^2.4.15",
|
||||
"gatsby-transformer-remark": "^2.8.45",
|
||||
"gatsby-transformer-sharp": "^2.5.19",
|
||||
"intersection-observer": "^0.11.0",
|
||||
"is-url-superb": "^4.0.0",
|
||||
"lodash.debounce": "^4.0.8",
|
||||
@ -74,7 +74,7 @@
|
||||
"remove-markdown": "^0.3.0",
|
||||
"shortid": "^2.2.15",
|
||||
"slugify": "^1.4.5",
|
||||
"swr": "^0.3.5",
|
||||
"swr": "^0.3.6",
|
||||
"yup": "^0.29.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -86,11 +86,11 @@
|
||||
"@svgr/webpack": "^5.4.0",
|
||||
"@testing-library/jest-dom": "^5.11.4",
|
||||
"@testing-library/react": "^11.1.0",
|
||||
"@types/jest": "^26.0.14",
|
||||
"@types/jest": "^26.0.15",
|
||||
"@types/loadable__component": "^5.13.1",
|
||||
"@types/lodash.debounce": "^4.0.3",
|
||||
"@types/lodash.omit": "^4.5.6",
|
||||
"@types/node": "^14.11.10",
|
||||
"@types/node": "^14.14.0",
|
||||
"@types/react": "^16.9.53",
|
||||
"@types/react-datepicker": "^3.1.1",
|
||||
"@types/react-helmet": "^6.1.0",
|
||||
@ -99,18 +99,18 @@
|
||||
"@types/remove-markdown": "^0.1.1",
|
||||
"@types/shortid": "0.0.29",
|
||||
"@types/yup": "^0.29.8",
|
||||
"@typescript-eslint/eslint-plugin": "^4.4.1",
|
||||
"@typescript-eslint/parser": "^4.4.1",
|
||||
"@typescript-eslint/eslint-plugin": "^4.5.0",
|
||||
"@typescript-eslint/parser": "^4.5.0",
|
||||
"babel-loader": "^8.1.0",
|
||||
"babel-preset-react-app": "^9.1.2",
|
||||
"eslint": "^7.11.0",
|
||||
"eslint-config-oceanprotocol": "^1.5.0",
|
||||
"eslint-config-prettier": "^6.13.0",
|
||||
"eslint-plugin-prettier": "^3.1.4",
|
||||
"eslint-plugin-react": "^7.21.4",
|
||||
"eslint-plugin-react-hooks": "^4.1.2",
|
||||
"eslint-plugin-react": "^7.21.5",
|
||||
"eslint-plugin-react-hooks": "^4.2.0",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^26.5.3",
|
||||
"jest": "^26.6.0",
|
||||
"prettier": "^2.1.2",
|
||||
"serve": "^11.3.2",
|
||||
"source-map-explorer": "^2.5.0",
|
||||
|
@ -13,5 +13,5 @@ export default {
|
||||
}
|
||||
|
||||
export const Default = (): ReactElement => (
|
||||
<Compute ddo={ddo as DDO} isBalanceSufficient />
|
||||
<Compute ddo={ddo as DDO} dtBalance="1" isBalanceSufficient />
|
||||
)
|
||||
|
@ -15,6 +15,7 @@ export default {
|
||||
export const PricedAsset = (): ReactElement => (
|
||||
<Consume
|
||||
ddo={ddo as DDO}
|
||||
dtBalance="1"
|
||||
isBalanceSufficient
|
||||
file={new DDO(ddo).findServiceByType('metadata').attributes.main.files[0]}
|
||||
/>
|
||||
|
@ -70,7 +70,7 @@ export default function Pricing({ ddo }: { ddo: DDO }): ReactElement {
|
||||
// swapFee is tricky: to get 0.1% you need to send 0.001 as value
|
||||
swapFee: `${values.swapFee / 100}`
|
||||
}
|
||||
// TODO: check if we need to mint first
|
||||
|
||||
const tx = await createPricing(priceOptions)
|
||||
|
||||
// Pricing failed
|
||||
|
@ -18,8 +18,7 @@ const AssetModel: MetadataMarket = {
|
||||
links: undefined,
|
||||
|
||||
// custom items
|
||||
termsAndConditions: false,
|
||||
priceType: undefined
|
||||
termsAndConditions: false
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -4,12 +4,9 @@ const testFormData: MetadataPublishForm = {
|
||||
author: '',
|
||||
files: [],
|
||||
license: '',
|
||||
price: {
|
||||
price: 1,
|
||||
tokensToMint: 9,
|
||||
type: 'fixed',
|
||||
weightOnDataToken: '1',
|
||||
swapFee: 0.1
|
||||
dataTokenOptions: {
|
||||
name: '',
|
||||
symbol: ''
|
||||
},
|
||||
name: '',
|
||||
description: 'description',
|
||||
|
Loading…
Reference in New Issue
Block a user