diff --git a/package-lock.json b/package-lock.json index 7f720c507..6dd09d40d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,7 +13,7 @@ "@coingecko/cryptoformat": "^0.4.4", "@loadable/component": "^5.15.2", "@oceanprotocol/art": "^3.2.0", - "@oceanprotocol/lib": "^1.0.0-next.25", + "@oceanprotocol/lib": "^1.0.0-next.26", "@oceanprotocol/typographies": "^0.1.0", "@portis/web3": "^4.0.6", "@tippyjs/react": "^4.2.6", @@ -3207,9 +3207,9 @@ } }, "node_modules/@oceanprotocol/lib": { - "version": "1.0.0-next.25", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-1.0.0-next.25.tgz", - "integrity": "sha512-9c1d3mQb7/3NAtWi/t+d4VZJrEpxy5TNvm/0xfZir2OtrN4Nm99J/Wtac2RsH+9Sc6L/80O0Mc0MuayuCEViIQ==", + "version": "1.0.0-next.26", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-1.0.0-next.26.tgz", + "integrity": "sha512-TlsXOFqCQyRqBzMou1EQmPXHhLixC19z3mpnp6HbyTnAm8Xj4k0lmXp/aoYPQ4yTX2sO28l2VpvbL5CYpKznvQ==", "dependencies": { "@oceanprotocol/contracts": "1.0.0-alpha.21", "bignumber.js": "^9.0.2", @@ -4198,9 +4198,9 @@ } }, "node_modules/@portis/web3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@portis/web3/-/web3-4.0.7.tgz", - "integrity": "sha512-p/mPjjspIDPGpn2LsMP8HaQlS1OwksPYgpJUbMkwty2xCpJ8CU1xZjqc5rsFDGbCJEwC0jlpVx26jVkoBSoJ3A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@portis/web3/-/web3-4.1.0.tgz", + "integrity": "sha512-efGssWqrwpYPzQyOupYPpWmjPU/WwcFGoPXzjLbjQ3Z4Z7Q4qqqwkMeE1mwMbxWudFKlHz/VxdpJrDA42Ufqrg==", "dependencies": { "ethereumjs-util": "5.2.0", "penpal": "3.0.7", @@ -4694,9 +4694,9 @@ } }, "node_modules/@truffle/abi-utils": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.2.9.tgz", - "integrity": "sha512-Nv4MGsA2vdI7G34nI0DfR/eSd5pbAUu+5EafYNqzgrS46y0LWhbIrSZ1NcM7cbhIrkpUn6OfNk49AjNM67TkSg==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.2.10.tgz", + "integrity": "sha512-zG3PSXwq4mrXOOBKzgmOqNlVe2ZBUNAFv0xHAq5DwWew8PSQ/+a0ixPbWXXc3xYbApJMlIXRM716fB5MiZ22FA==", "dependencies": { "change-case": "3.0.2", "faker": "^5.3.1", @@ -4709,20 +4709,17 @@ "integrity": "sha512-9mzYXPQkjOc23rHQM1i630i3ackITWP1cxf3PvBObaAnGqwPCQuqtmZtNDPdvN+YpOLpBGpZIdYolI91xLdJNQ==" }, "node_modules/@truffle/codec": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@truffle/codec/-/codec-0.12.0.tgz", - "integrity": "sha512-DE/26w5jtBPPqVBseLX1cL0i3b3IUnHaHtKmQvqkEatd6T+uZfPIaiI15ru8cynR7KrYNhuSfeq9k8/N+OFN1Q==", + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/@truffle/codec/-/codec-0.12.2.tgz", + "integrity": "sha512-UiWPPWtW8nkLbdzut0KkFXg5Xt70XXtgsdpwSG7lYOXJTPeLcCpGnVvjrDglsvwk3gz3iiOVrdtq6JwYo4om6Q==", "dependencies": { - "@truffle/abi-utils": "^0.2.9", - "@truffle/compile-common": "^0.7.28", + "@truffle/abi-utils": "^0.2.10", + "@truffle/compile-common": "^0.7.29", "big.js": "^5.2.2", "bn.js": "^5.1.3", "cbor": "^5.1.0", "debug": "^4.3.1", - "lodash.clonedeep": "^4.5.0", - "lodash.escaperegexp": "^4.1.2", - "lodash.partition": "^4.6.0", - "lodash.sum": "^4.0.2", + "lodash": "^4.17.21", "semver": "^7.3.4", "utf8": "^3.0.0", "web3-utils": "1.5.3" @@ -4785,9 +4782,9 @@ "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" }, "node_modules/@truffle/compile-common": { - "version": "0.7.28", - "resolved": "https://registry.npmjs.org/@truffle/compile-common/-/compile-common-0.7.28.tgz", - "integrity": "sha512-mZCEQ6fkOqbKYCJDT82q0vZCxOEsKRQ0zrPfKuSJEb0gF9DXIQcnMkyJpBSWzmyvien9/A7/jPiGQoC7PmNEUg==", + "version": "0.7.29", + "resolved": "https://registry.npmjs.org/@truffle/compile-common/-/compile-common-0.7.29.tgz", + "integrity": "sha512-Z5h0jQh/GXsjnTBt02boV2QiQ1QlGlWlupZWsIcLHpBxQaw/TXTa7EvicPLWf7JQ3my56iaY3N5rkrQLAlFf1Q==", "dependencies": { "@truffle/error": "^0.1.0", "colors": "1.4.0" @@ -5146,11 +5143,11 @@ } }, "node_modules/@truffle/debug-utils": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/@truffle/debug-utils/-/debug-utils-6.0.10.tgz", - "integrity": "sha512-ZK9gwhfqJLnrPBIWe4tUmdm01KnLcbzoJHze18/Z4/dJxp7xfLAW/iL6RiKSA3+LBy85g49gt508DCYtQkDs9w==", + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/@truffle/debug-utils/-/debug-utils-6.0.12.tgz", + "integrity": "sha512-us74FNgKApsm34NzekxZWzU9ewagXTv226CJFV2z6F9mBQyClYCH6FdsZDHBpcm1MDEsspntb9w3M3r+8qtEUg==", "dependencies": { - "@truffle/codec": "^0.12.0", + "@truffle/codec": "^0.12.2", "@trufflesuite/chromafi": "^3.0.0", "bn.js": "^5.1.3", "chalk": "^2.4.2", @@ -5169,9 +5166,9 @@ "integrity": "sha512-RbUfp5VreNhsa2Q4YbBjz18rOQI909pG32bghl1hulO7IpvcqTS+C3Ge5cNbiWQ1WGzy1wIeKLW0tmQtHFB7qg==" }, "node_modules/@truffle/hdwallet-provider": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@truffle/hdwallet-provider/-/hdwallet-provider-2.0.3.tgz", - "integrity": "sha512-jT7X9P8hmXDaoem6GPzYhZ1p6PnW2l7sPMtVe7JCDXZTlv8hMy/ZfcyEppEoNqpad8vjWWpvGuETvyPpBEbLOw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@truffle/hdwallet-provider/-/hdwallet-provider-2.0.4.tgz", + "integrity": "sha512-eXy1N/BZXVadsDRME+yaWM/Gav/G4JXPeppfO4pgiLkv7pJRmH9I8kwtD6VfNUhn3iQVlOMfH1wSAFIpiTt8fA==", "dependencies": { "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", @@ -6378,36 +6375,36 @@ } }, "node_modules/@walletconnect/browser-utils": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.1.tgz", - "integrity": "sha512-y6KvxPhi52sWzS0/HtA3EhdgmtG8mXcxdc26YURDOVC/BJh3MxV8E16JFrT4InylOqYJs6dcSLWVfcnJaiPtZw==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.4.tgz", + "integrity": "sha512-YAM+PyRdJb6WZMUDHPAjlYAad6NrgQypmKiC9iKZhcgcYuFIkbY+tRx+Lp7WAXeZS8TsORagi+Sl4T+MnsRzxA==", "dependencies": { "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.7.1", + "@walletconnect/types": "^1.7.4", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.2.0" } }, "node_modules/@walletconnect/client": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.1.tgz", - "integrity": "sha512-xD8B8s1hL7Z5vJwb3L0u1bCVAk6cRQfIY9ycymf7KkmIhkAONQJNf2Y0C0xIpbPp2fdn9VwnSfLm5Ed/Ht/1IA==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.4.tgz", + "integrity": "sha512-J6o5vCv84I1ROI7XGHzkabp37TUXpdyqDRQrg6d0usYQVD7B232Hz9jV4K4Ei9PF5CdauXgafFF95Qanlx1shw==", "dependencies": { - "@walletconnect/core": "^1.7.1", - "@walletconnect/iso-crypto": "^1.7.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1" + "@walletconnect/core": "^1.7.4", + "@walletconnect/iso-crypto": "^1.7.4", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4" } }, "node_modules/@walletconnect/core": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.1.tgz", - "integrity": "sha512-qO+4wykyRNiq3HEuaAA2pW2PDnMM4y7pyPAgiCwfHiqF4PpWvtcdB301hI0K5am9ghuqKZMy1HlE9LWNOEBvcw==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.4.tgz", + "integrity": "sha512-yhNgyc2r5z4r633J4jMfbcC5PzMq7qlie70rXIOqN2apKnnxffqWEogv9DaZvwV/Lr3h/8aEuGIXP1ModriWPg==", "dependencies": { - "@walletconnect/socket-transport": "^1.7.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1" + "@walletconnect/socket-transport": "^1.7.4", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4" } }, "node_modules/@walletconnect/crypto": { @@ -6437,24 +6434,24 @@ "integrity": "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" }, "node_modules/@walletconnect/http-connection": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.1.tgz", - "integrity": "sha512-cz3pw2MsTyBT5hy8qhs67NFHTIFOzltdMx9Hy1ftkjXQYtenxIBzAQpZzF6l/lXC3GmMziueYnknZILo1+wgfg==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.4.tgz", + "integrity": "sha512-vXdAbUZJ9u8fbGvNBqR39p2HLemKqice9S6KDaZWz7EGClN5agoLK+wh3AgZOoZ4gfwhvcqAQvEiEgIXRd2d0w==", "dependencies": { - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4", "eventemitter3": "4.0.7", "xhr2-cookies": "1.1.0" } }, "node_modules/@walletconnect/iso-crypto": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.1.tgz", - "integrity": "sha512-qMiW0kLN6KCjnLMD50ijIj1lQqjNjGszGUwrSVUiS2/Dp4Ecx+4QEtHbmVwGEkfx4kelYPFpDJV3ZJpQ4Kqg/g==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.4.tgz", + "integrity": "sha512-oqLuBcORDO0doaK7LYissviUVlS//jdrhK8GnMMI6mkNh195FHURoi7jUvSE8Nxr5doUNRi9d7bDrEujA++xtw==", "dependencies": { "@walletconnect/crypto": "^1.0.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1" + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4" } }, "node_modules/@walletconnect/jsonrpc-types": { @@ -6481,13 +6478,13 @@ "deprecated": "Deprecated in favor of dynamic registry available from: https://github.com/walletconnect/walletconnect-registry" }, "node_modules/@walletconnect/qrcode-modal": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.1.tgz", - "integrity": "sha512-m/4lSx3pgj8V2eHVJcGnxBKUSCNFtyVIcg5tqbSJHi9HjKIBxvRq4D5M4X4yEpgXYtRmTucihxNCrj2zQrmlSQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.4.tgz", + "integrity": "sha512-e3uHqrscLdFOwF26O0v8nzzyO+8TF5Zb1G+jsn8QB5QLpiDXMMWeQqV0wWM/V80bX/wsvBTL0aSvzeHVvKFWYw==", "dependencies": { - "@walletconnect/browser-utils": "^1.7.1", + "@walletconnect/browser-utils": "^1.7.4", "@walletconnect/mobile-registry": "^1.4.0", - "@walletconnect/types": "^1.7.1", + "@walletconnect/types": "^1.7.4", "copy-to-clipboard": "^3.3.1", "preact": "10.4.1", "qrcode": "1.4.4" @@ -6509,29 +6506,29 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "node_modules/@walletconnect/socket-transport": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.1.tgz", - "integrity": "sha512-Gu1RPro0eLe+HHtLhq/1T5TNFfO/HW2z3BnWuUYuJ/F8w1U9iK7+4LMHe+LTgwgWy9Ybcb2k0tiO5e3LgjHBHQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.4.tgz", + "integrity": "sha512-5RDIZtyQqs5LFqmluE/5Gy4obaClGVDrhlhZJTUn86R49FppJq2pe362NnoJt6J6xLSLZlZ54WIBl6cIlRoVww==", "dependencies": { - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4", "ws": "7.5.3" } }, "node_modules/@walletconnect/types": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.1.tgz", - "integrity": "sha512-X0NunEUgq46ExDcKo7BnnFpFhuZ89bZ04/1FtohNziBWcP2Mblp2yf+FN7iwmZiuZ3bRTb8J1O4oJH2JGP9I7A==" + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.4.tgz", + "integrity": "sha512-jvdW1/7z16dCC3i2uwPSgXjUXkmvJH0M2PbYD8ZETyEj/oSiLd32nPAUZVU0IVqQk4XAZHUTKhlRgxTch1W4Qg==" }, "node_modules/@walletconnect/utils": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.1.tgz", - "integrity": "sha512-7Lig9rruqTMaFuwEhBrArq1QgzIf2NuzO6J3sCUYCZh60EQ7uIZjekaDonQjiQJAbfYcgWUBm8qa0PG1TzYN3Q==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.4.tgz", + "integrity": "sha512-09667lbpClPpbskCpLllAQ3MSiNnDlTlqcmWANJ/ZuqCqq5ENyytPqkUjPFSfRfRVkgdQ2t/byeQtDd1TEpHcg==", "dependencies": { - "@walletconnect/browser-utils": "^1.7.1", + "@walletconnect/browser-utils": "^1.7.4", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^1.7.1", + "@walletconnect/types": "^1.7.4", "bn.js": "4.11.8", "js-sha3": "0.8.0", "query-string": "6.13.5" @@ -6559,15 +6556,15 @@ } }, "node_modules/@walletconnect/web3-provider": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.1.tgz", - "integrity": "sha512-dhoYwQaBVbaKIiELNeCF4kW7Dslbf73wDIsxOF9gmjVch1Qi18kNlqbR03u56iBcAsXU0tAwfd9Z7cGHfUX1Fg==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.4.tgz", + "integrity": "sha512-VyHyUTx8ovrMRPs0VaMLXUjaG5eNbpK1ZWj+8frOJA18jpgDmtmAVccj0oUukAxuhVTnLZR10KGs0Kd8oWWNTA==", "dependencies": { - "@walletconnect/client": "^1.7.1", - "@walletconnect/http-connection": "^1.7.1", - "@walletconnect/qrcode-modal": "^1.7.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1", + "@walletconnect/client": "^1.7.4", + "@walletconnect/http-connection": "^1.7.4", + "@walletconnect/qrcode-modal": "^1.7.4", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4", "web3-provider-engine": "16.0.1" } }, @@ -15434,21 +15431,11 @@ "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=" }, - "node_modules/lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" - }, "node_modules/lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" }, - "node_modules/lodash.escaperegexp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", - "integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c=" - }, "node_modules/lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", @@ -15481,11 +15468,6 @@ "resolved": "https://registry.npmjs.org/lodash.orderby/-/lodash.orderby-4.6.0.tgz", "integrity": "sha1-5pfwTOXXhSL1TZM4syuBozk+TrM=" }, - "node_modules/lodash.partition": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.partition/-/lodash.partition-4.6.0.tgz", - "integrity": "sha1-o45GtzRp4EILDaEhLmbUFL42S6Q=" - }, "node_modules/lodash.pickby": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.pickby/-/lodash.pickby-4.6.0.tgz", @@ -15498,11 +15480,6 @@ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", "dev": true }, - "node_modules/lodash.sum": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/lodash.sum/-/lodash.sum-4.0.2.tgz", - "integrity": "sha1-rZDjl5ZdgD1PH/eqWy0Bl/O0Y3s=" - }, "node_modules/lodash.template": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", @@ -24603,9 +24580,9 @@ } }, "@oceanprotocol/lib": { - "version": "1.0.0-next.25", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-1.0.0-next.25.tgz", - "integrity": "sha512-9c1d3mQb7/3NAtWi/t+d4VZJrEpxy5TNvm/0xfZir2OtrN4Nm99J/Wtac2RsH+9Sc6L/80O0Mc0MuayuCEViIQ==", + "version": "1.0.0-next.26", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-1.0.0-next.26.tgz", + "integrity": "sha512-TlsXOFqCQyRqBzMou1EQmPXHhLixC19z3mpnp6HbyTnAm8Xj4k0lmXp/aoYPQ4yTX2sO28l2VpvbL5CYpKznvQ==", "requires": { "@oceanprotocol/contracts": "1.0.0-alpha.21", "bignumber.js": "^9.0.2", @@ -25375,9 +25352,9 @@ "integrity": "sha512-92FRmppjjqz29VMJ2dn+xdyXZBrMlE42AV6Kq6BwjWV7CNUW1hs2FtxSNLQE+gJhaZ6AAmYuO9y8dshhcBl7vA==" }, "@portis/web3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/@portis/web3/-/web3-4.0.7.tgz", - "integrity": "sha512-p/mPjjspIDPGpn2LsMP8HaQlS1OwksPYgpJUbMkwty2xCpJ8CU1xZjqc5rsFDGbCJEwC0jlpVx26jVkoBSoJ3A==", + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/@portis/web3/-/web3-4.1.0.tgz", + "integrity": "sha512-efGssWqrwpYPzQyOupYPpWmjPU/WwcFGoPXzjLbjQ3Z4Z7Q4qqqwkMeE1mwMbxWudFKlHz/VxdpJrDA42Ufqrg==", "requires": { "ethereumjs-util": "5.2.0", "penpal": "3.0.7", @@ -25684,9 +25661,9 @@ } }, "@truffle/abi-utils": { - "version": "0.2.9", - "resolved": "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.2.9.tgz", - "integrity": "sha512-Nv4MGsA2vdI7G34nI0DfR/eSd5pbAUu+5EafYNqzgrS46y0LWhbIrSZ1NcM7cbhIrkpUn6OfNk49AjNM67TkSg==", + "version": "0.2.10", + "resolved": "https://registry.npmjs.org/@truffle/abi-utils/-/abi-utils-0.2.10.tgz", + "integrity": "sha512-zG3PSXwq4mrXOOBKzgmOqNlVe2ZBUNAFv0xHAq5DwWew8PSQ/+a0ixPbWXXc3xYbApJMlIXRM716fB5MiZ22FA==", "requires": { "change-case": "3.0.2", "faker": "^5.3.1", @@ -25699,20 +25676,17 @@ "integrity": "sha512-9mzYXPQkjOc23rHQM1i630i3ackITWP1cxf3PvBObaAnGqwPCQuqtmZtNDPdvN+YpOLpBGpZIdYolI91xLdJNQ==" }, "@truffle/codec": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/@truffle/codec/-/codec-0.12.0.tgz", - "integrity": "sha512-DE/26w5jtBPPqVBseLX1cL0i3b3IUnHaHtKmQvqkEatd6T+uZfPIaiI15ru8cynR7KrYNhuSfeq9k8/N+OFN1Q==", + "version": "0.12.2", + "resolved": "https://registry.npmjs.org/@truffle/codec/-/codec-0.12.2.tgz", + "integrity": "sha512-UiWPPWtW8nkLbdzut0KkFXg5Xt70XXtgsdpwSG7lYOXJTPeLcCpGnVvjrDglsvwk3gz3iiOVrdtq6JwYo4om6Q==", "requires": { - "@truffle/abi-utils": "^0.2.9", - "@truffle/compile-common": "^0.7.28", + "@truffle/abi-utils": "^0.2.10", + "@truffle/compile-common": "^0.7.29", "big.js": "^5.2.2", "bn.js": "^5.1.3", "cbor": "^5.1.0", "debug": "^4.3.1", - "lodash.clonedeep": "^4.5.0", - "lodash.escaperegexp": "^4.1.2", - "lodash.partition": "^4.6.0", - "lodash.sum": "^4.0.2", + "lodash": "^4.17.21", "semver": "^7.3.4", "utf8": "^3.0.0", "web3-utils": "1.5.3" @@ -25772,9 +25746,9 @@ } }, "@truffle/compile-common": { - "version": "0.7.28", - "resolved": "https://registry.npmjs.org/@truffle/compile-common/-/compile-common-0.7.28.tgz", - "integrity": "sha512-mZCEQ6fkOqbKYCJDT82q0vZCxOEsKRQ0zrPfKuSJEb0gF9DXIQcnMkyJpBSWzmyvien9/A7/jPiGQoC7PmNEUg==", + "version": "0.7.29", + "resolved": "https://registry.npmjs.org/@truffle/compile-common/-/compile-common-0.7.29.tgz", + "integrity": "sha512-Z5h0jQh/GXsjnTBt02boV2QiQ1QlGlWlupZWsIcLHpBxQaw/TXTa7EvicPLWf7JQ3my56iaY3N5rkrQLAlFf1Q==", "requires": { "@truffle/error": "^0.1.0", "colors": "1.4.0" @@ -26073,11 +26047,11 @@ } }, "@truffle/debug-utils": { - "version": "6.0.10", - "resolved": "https://registry.npmjs.org/@truffle/debug-utils/-/debug-utils-6.0.10.tgz", - "integrity": "sha512-ZK9gwhfqJLnrPBIWe4tUmdm01KnLcbzoJHze18/Z4/dJxp7xfLAW/iL6RiKSA3+LBy85g49gt508DCYtQkDs9w==", + "version": "6.0.12", + "resolved": "https://registry.npmjs.org/@truffle/debug-utils/-/debug-utils-6.0.12.tgz", + "integrity": "sha512-us74FNgKApsm34NzekxZWzU9ewagXTv226CJFV2z6F9mBQyClYCH6FdsZDHBpcm1MDEsspntb9w3M3r+8qtEUg==", "requires": { - "@truffle/codec": "^0.12.0", + "@truffle/codec": "^0.12.2", "@trufflesuite/chromafi": "^3.0.0", "bn.js": "^5.1.3", "chalk": "^2.4.2", @@ -26098,9 +26072,9 @@ "integrity": "sha512-RbUfp5VreNhsa2Q4YbBjz18rOQI909pG32bghl1hulO7IpvcqTS+C3Ge5cNbiWQ1WGzy1wIeKLW0tmQtHFB7qg==" }, "@truffle/hdwallet-provider": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@truffle/hdwallet-provider/-/hdwallet-provider-2.0.3.tgz", - "integrity": "sha512-jT7X9P8hmXDaoem6GPzYhZ1p6PnW2l7sPMtVe7JCDXZTlv8hMy/ZfcyEppEoNqpad8vjWWpvGuETvyPpBEbLOw==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/@truffle/hdwallet-provider/-/hdwallet-provider-2.0.4.tgz", + "integrity": "sha512-eXy1N/BZXVadsDRME+yaWM/Gav/G4JXPeppfO4pgiLkv7pJRmH9I8kwtD6VfNUhn3iQVlOMfH1wSAFIpiTt8fA==", "requires": { "@ethereumjs/common": "^2.4.0", "@ethereumjs/tx": "^3.3.0", @@ -27145,36 +27119,36 @@ "requires": {} }, "@walletconnect/browser-utils": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.1.tgz", - "integrity": "sha512-y6KvxPhi52sWzS0/HtA3EhdgmtG8mXcxdc26YURDOVC/BJh3MxV8E16JFrT4InylOqYJs6dcSLWVfcnJaiPtZw==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/browser-utils/-/browser-utils-1.7.4.tgz", + "integrity": "sha512-YAM+PyRdJb6WZMUDHPAjlYAad6NrgQypmKiC9iKZhcgcYuFIkbY+tRx+Lp7WAXeZS8TsORagi+Sl4T+MnsRzxA==", "requires": { "@walletconnect/safe-json": "1.0.0", - "@walletconnect/types": "^1.7.1", + "@walletconnect/types": "^1.7.4", "@walletconnect/window-getters": "1.0.0", "@walletconnect/window-metadata": "1.0.0", "detect-browser": "5.2.0" } }, "@walletconnect/client": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.1.tgz", - "integrity": "sha512-xD8B8s1hL7Z5vJwb3L0u1bCVAk6cRQfIY9ycymf7KkmIhkAONQJNf2Y0C0xIpbPp2fdn9VwnSfLm5Ed/Ht/1IA==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/client/-/client-1.7.4.tgz", + "integrity": "sha512-J6o5vCv84I1ROI7XGHzkabp37TUXpdyqDRQrg6d0usYQVD7B232Hz9jV4K4Ei9PF5CdauXgafFF95Qanlx1shw==", "requires": { - "@walletconnect/core": "^1.7.1", - "@walletconnect/iso-crypto": "^1.7.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1" + "@walletconnect/core": "^1.7.4", + "@walletconnect/iso-crypto": "^1.7.4", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4" } }, "@walletconnect/core": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.1.tgz", - "integrity": "sha512-qO+4wykyRNiq3HEuaAA2pW2PDnMM4y7pyPAgiCwfHiqF4PpWvtcdB301hI0K5am9ghuqKZMy1HlE9LWNOEBvcw==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/core/-/core-1.7.4.tgz", + "integrity": "sha512-yhNgyc2r5z4r633J4jMfbcC5PzMq7qlie70rXIOqN2apKnnxffqWEogv9DaZvwV/Lr3h/8aEuGIXP1ModriWPg==", "requires": { - "@walletconnect/socket-transport": "^1.7.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1" + "@walletconnect/socket-transport": "^1.7.4", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4" } }, "@walletconnect/crypto": { @@ -27204,24 +27178,24 @@ "integrity": "sha512-4BwqyWy6KpSvkocSaV7WR3BlZfrxLbJSLkg+j7Gl6pTDE+U55lLhJvQaMuDVazXYxcjBsG09k7UlH7cGiUI5vQ==" }, "@walletconnect/http-connection": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.1.tgz", - "integrity": "sha512-cz3pw2MsTyBT5hy8qhs67NFHTIFOzltdMx9Hy1ftkjXQYtenxIBzAQpZzF6l/lXC3GmMziueYnknZILo1+wgfg==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/http-connection/-/http-connection-1.7.4.tgz", + "integrity": "sha512-vXdAbUZJ9u8fbGvNBqR39p2HLemKqice9S6KDaZWz7EGClN5agoLK+wh3AgZOoZ4gfwhvcqAQvEiEgIXRd2d0w==", "requires": { - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4", "eventemitter3": "4.0.7", "xhr2-cookies": "1.1.0" } }, "@walletconnect/iso-crypto": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.1.tgz", - "integrity": "sha512-qMiW0kLN6KCjnLMD50ijIj1lQqjNjGszGUwrSVUiS2/Dp4Ecx+4QEtHbmVwGEkfx4kelYPFpDJV3ZJpQ4Kqg/g==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/iso-crypto/-/iso-crypto-1.7.4.tgz", + "integrity": "sha512-oqLuBcORDO0doaK7LYissviUVlS//jdrhK8GnMMI6mkNh195FHURoi7jUvSE8Nxr5doUNRi9d7bDrEujA++xtw==", "requires": { "@walletconnect/crypto": "^1.0.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1" + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4" } }, "@walletconnect/jsonrpc-types": { @@ -27247,13 +27221,13 @@ "integrity": "sha512-ZtKRio4uCZ1JUF7LIdecmZt7FOLnX72RPSY7aUVu7mj7CSfxDwUn6gBuK6WGtH+NZCldBqDl5DenI5fFSvkKYw==" }, "@walletconnect/qrcode-modal": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.1.tgz", - "integrity": "sha512-m/4lSx3pgj8V2eHVJcGnxBKUSCNFtyVIcg5tqbSJHi9HjKIBxvRq4D5M4X4yEpgXYtRmTucihxNCrj2zQrmlSQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/qrcode-modal/-/qrcode-modal-1.7.4.tgz", + "integrity": "sha512-e3uHqrscLdFOwF26O0v8nzzyO+8TF5Zb1G+jsn8QB5QLpiDXMMWeQqV0wWM/V80bX/wsvBTL0aSvzeHVvKFWYw==", "requires": { - "@walletconnect/browser-utils": "^1.7.1", + "@walletconnect/browser-utils": "^1.7.4", "@walletconnect/mobile-registry": "^1.4.0", - "@walletconnect/types": "^1.7.1", + "@walletconnect/types": "^1.7.4", "copy-to-clipboard": "^3.3.1", "preact": "10.4.1", "qrcode": "1.4.4" @@ -27275,29 +27249,29 @@ "integrity": "sha512-QJzp/S/86sUAgWY6eh5MKYmSfZaRpIlmCJdi5uG4DJlKkZrHEF7ye7gA+VtbVzvTtpM/gRwO2plQuiooIeXjfg==" }, "@walletconnect/socket-transport": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.1.tgz", - "integrity": "sha512-Gu1RPro0eLe+HHtLhq/1T5TNFfO/HW2z3BnWuUYuJ/F8w1U9iK7+4LMHe+LTgwgWy9Ybcb2k0tiO5e3LgjHBHQ==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/socket-transport/-/socket-transport-1.7.4.tgz", + "integrity": "sha512-5RDIZtyQqs5LFqmluE/5Gy4obaClGVDrhlhZJTUn86R49FppJq2pe362NnoJt6J6xLSLZlZ54WIBl6cIlRoVww==", "requires": { - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4", "ws": "7.5.3" } }, "@walletconnect/types": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.1.tgz", - "integrity": "sha512-X0NunEUgq46ExDcKo7BnnFpFhuZ89bZ04/1FtohNziBWcP2Mblp2yf+FN7iwmZiuZ3bRTb8J1O4oJH2JGP9I7A==" + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/types/-/types-1.7.4.tgz", + "integrity": "sha512-jvdW1/7z16dCC3i2uwPSgXjUXkmvJH0M2PbYD8ZETyEj/oSiLd32nPAUZVU0IVqQk4XAZHUTKhlRgxTch1W4Qg==" }, "@walletconnect/utils": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.1.tgz", - "integrity": "sha512-7Lig9rruqTMaFuwEhBrArq1QgzIf2NuzO6J3sCUYCZh60EQ7uIZjekaDonQjiQJAbfYcgWUBm8qa0PG1TzYN3Q==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/utils/-/utils-1.7.4.tgz", + "integrity": "sha512-09667lbpClPpbskCpLllAQ3MSiNnDlTlqcmWANJ/ZuqCqq5ENyytPqkUjPFSfRfRVkgdQ2t/byeQtDd1TEpHcg==", "requires": { - "@walletconnect/browser-utils": "^1.7.1", + "@walletconnect/browser-utils": "^1.7.4", "@walletconnect/encoding": "^1.0.0", "@walletconnect/jsonrpc-utils": "^1.0.0", - "@walletconnect/types": "^1.7.1", + "@walletconnect/types": "^1.7.4", "bn.js": "4.11.8", "js-sha3": "0.8.0", "query-string": "6.13.5" @@ -27321,15 +27295,15 @@ } }, "@walletconnect/web3-provider": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.1.tgz", - "integrity": "sha512-dhoYwQaBVbaKIiELNeCF4kW7Dslbf73wDIsxOF9gmjVch1Qi18kNlqbR03u56iBcAsXU0tAwfd9Z7cGHfUX1Fg==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/@walletconnect/web3-provider/-/web3-provider-1.7.4.tgz", + "integrity": "sha512-VyHyUTx8ovrMRPs0VaMLXUjaG5eNbpK1ZWj+8frOJA18jpgDmtmAVccj0oUukAxuhVTnLZR10KGs0Kd8oWWNTA==", "requires": { - "@walletconnect/client": "^1.7.1", - "@walletconnect/http-connection": "^1.7.1", - "@walletconnect/qrcode-modal": "^1.7.1", - "@walletconnect/types": "^1.7.1", - "@walletconnect/utils": "^1.7.1", + "@walletconnect/client": "^1.7.4", + "@walletconnect/http-connection": "^1.7.4", + "@walletconnect/qrcode-modal": "^1.7.4", + "@walletconnect/types": "^1.7.4", + "@walletconnect/utils": "^1.7.4", "web3-provider-engine": "16.0.1" } }, @@ -34466,21 +34440,11 @@ "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-4.2.0.tgz", "integrity": "sha1-DZnzzNem0mHRm9rrkkUAXShYCOc=" }, - "lodash.clonedeep": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", - "integrity": "sha1-4j8/nE+Pvd6HJSnBBxhXoIblzO8=" - }, "lodash.debounce": { "version": "4.0.8", "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" }, - "lodash.escaperegexp": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.escaperegexp/-/lodash.escaperegexp-4.1.2.tgz", - "integrity": "sha1-ZHYsSGGAglGKw99Mz11YhtriA0c=" - }, "lodash.flatten": { "version": "4.4.0", "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", @@ -34513,11 +34477,6 @@ "resolved": "https://registry.npmjs.org/lodash.orderby/-/lodash.orderby-4.6.0.tgz", "integrity": "sha1-5pfwTOXXhSL1TZM4syuBozk+TrM=" }, - "lodash.partition": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/lodash.partition/-/lodash.partition-4.6.0.tgz", - "integrity": "sha1-o45GtzRp4EILDaEhLmbUFL42S6Q=" - }, "lodash.pickby": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/lodash.pickby/-/lodash.pickby-4.6.0.tgz", @@ -34530,11 +34489,6 @@ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", "dev": true }, - "lodash.sum": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/lodash.sum/-/lodash.sum-4.0.2.tgz", - "integrity": "sha1-rZDjl5ZdgD1PH/eqWy0Bl/O0Y3s=" - }, "lodash.template": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", diff --git a/package.json b/package.json index f079b0e1d..8b981ce45 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@coingecko/cryptoformat": "^0.4.4", "@loadable/component": "^5.15.2", "@oceanprotocol/art": "^3.2.0", - "@oceanprotocol/lib": "^1.0.0-next.25", + "@oceanprotocol/lib": "^1.0.0-next.26", "@oceanprotocol/typographies": "^0.1.0", "@portis/web3": "^4.0.6", "@tippyjs/react": "^4.2.6", diff --git a/src/components/Publish/Services/index.tsx b/src/components/Publish/Services/index.tsx index ea8bd415e..a85ea7671 100644 --- a/src/components/Publish/Services/index.tsx +++ b/src/components/Publish/Services/index.tsx @@ -7,7 +7,6 @@ import content from '../../../../content/publish/form.json' import { getFieldContent } from '../_utils' import { FormPublishData } from '../_types' import { getOceanConfig } from '@utils/ocean' -import { computeEnvironmentDefaults } from '../_constants' const accessTypeOptionsTitles = getFieldContent( 'access', @@ -41,16 +40,6 @@ export default function ServicesFields(): ReactElement { } ] - const computeEnvironmentOptions = [ - `Default: ${computeEnvironmentDefaults.cpu} CPU, ${ - computeEnvironmentDefaults.gpu > 0 - ? `${computeEnvironmentDefaults.gpu} ${computeEnvironmentDefaults.gpuType} GPU, ` - : '' - } ${computeEnvironmentDefaults.memory} memory, ${ - computeEnvironmentDefaults.volumeSize - } disk` - ] - // Auto-change access type based on algo privacy boolean. // Could be also done later in transformPublishFormToDdo(). useEffect(() => { @@ -97,16 +86,6 @@ export default function ServicesFields(): ReactElement { component={Input} name="services[0].providerUrl" /> - {values.services[0].access === 'compute' && ( - - )}