From feb29924c738d44086ddb867ad15bd51d4b247d6 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Thu, 1 Oct 2020 15:12:14 +0200 Subject: [PATCH] empty state tweaks --- package-lock.json | 442 +++++------------- package.json | 14 +- .../pages/History/PoolTransactions.module.css | 8 + .../pages/History/PoolTransactions.tsx | 5 + 4 files changed, 136 insertions(+), 333 deletions(-) diff --git a/package-lock.json b/package-lock.json index ebb8219b0..5832fa297 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3382,17 +3382,17 @@ "integrity": "sha512-j4PEZSVtKSqxDYMVh/hd5vk088Bg6a6QkrUMTXN9Q6OIFAMfHM235f1AxaakNrEyK0FKMD908KuJEdfFLRn9Hw==" }, "@oceanprotocol/contracts": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.4.4.tgz", - "integrity": "sha512-0+Tp6UdoDTBJZp4yX3kkSrV+CcOS/hJ3SJ4HuWiL5FE5Nlj3JCeV86iuWPkFuXzIdgri00DaGvQhP58knzJ2Uw==" + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@oceanprotocol/contracts/-/contracts-0.5.1.tgz", + "integrity": "sha512-bt5uwh79D759H6O4bAv+ycGdZQISFAxi65cqIygzA9hwsu29+GuOLwu1mxrzl2lVNLs6Emxo7TaDv0jAoyqnCg==" }, "@oceanprotocol/lib": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.4.1.tgz", - "integrity": "sha512-EtMA46JM+Ovi48tTxrDvzQN5rTWPy+tmZWvUny8ISB5d+q0ZtlKEBncUhApYanMZ9Zhv9eJTxv0eZ2dGFyn2NQ==", + "version": "0.5.1", + "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.5.1.tgz", + "integrity": "sha512-OaQTpIqi0KXfptVhrHf1adchE99olSayDjiUrP2/LXuBaAxuOlA3MbCIQ7ecsNLlY9He06h9dtypSx/x2FcdGQ==", "requires": { "@ethereum-navigator/navigator": "^0.5.0", - "@oceanprotocol/contracts": "^0.4.4", + "@oceanprotocol/contracts": "^0.5.1", "decimal.js": "^10.2.0", "fs": "0.0.1-security", "lzma": "^2.3.2", @@ -3589,217 +3589,15 @@ } }, "@oceanprotocol/react": { - "version": "0.0.48", - "resolved": "https://registry.npmjs.org/@oceanprotocol/react/-/react-0.0.48.tgz", - "integrity": "sha512-Ou81Ym5yzkD8JpR3fWqmOYVfFZn3lUXxIlc0NF4iBymayO35A5V8tHygkMwIU4LIbK2eFjTIAPthbGlHEthw9A==", + "version": "0.0.49", + "resolved": "https://registry.npmjs.org/@oceanprotocol/react/-/react-0.0.49.tgz", + "integrity": "sha512-TG1ttLQ7zcI++9ByF5PCZDXJKX1f7ouwKAxmUDktrmjypl5ckYRQkXJ6wlixPRNhg8HWi34cn7f0KCRVLX17eA==", "requires": { - "@oceanprotocol/lib": "^0.3.2", + "@oceanprotocol/lib": "^0.5.1", "axios": "^0.20.0", "decimal.js": "^10.2.1", "web3": "^1.3.0", "web3modal": "^1.9.0" - }, - "dependencies": { - "@oceanprotocol/lib": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/@oceanprotocol/lib/-/lib-0.3.2.tgz", - "integrity": "sha512-pdgY+PqDlLt64C/ZzxzZtUwN+f+pBTyBzSgXeS0j1D79BChnCtyZAeAR4JyMB/bJSarsWNv1oVUxxVPx9SJ5hw==", - "requires": { - "@ethereum-navigator/navigator": "^0.5.0", - "@oceanprotocol/contracts": "^0.4.4", - "decimal.js": "^10.2.0", - "fs": "0.0.1-security", - "lzma": "^2.3.2", - "node-fetch": "^2.6.1", - "save-file": "^2.3.1", - "uuid": "^8.3.0", - "web3": "^1.3.0", - "web3-eth-contract": "^1.3.0" - } - }, - "@types/node": { - "version": "12.12.62", - "resolved": "https://registry.npmjs.org/@types/node/-/node-12.12.62.tgz", - "integrity": "sha512-qAfo81CsD7yQIM9mVyh6B/U47li5g7cfpVQEDMfQeF8pSZVwzbhwU3crc0qG4DmpsebpJPR49AKOExQyJ05Cpg==" - }, - "eth-lib": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz", - "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==", - "requires": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "xhr-request-promise": "^0.1.2" - } - }, - "oboe": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/oboe/-/oboe-2.1.5.tgz", - "integrity": "sha1-VVQoTFQ6ImbXo48X4HOCH73jk80=", - "requires": { - "http-https": "^1.0.0" - } - }, - "web3-core": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.3.0.tgz", - "integrity": "sha512-BwWvAaKJf4KFG9QsKRi3MNoNgzjI6szyUlgme1qNPxUdCkaS3Rdpa0VKYNHP7M/YTk82/59kNE66mH5vmoaXjA==", - "requires": { - "@types/bn.js": "^4.11.5", - "@types/node": "^12.12.6", - "bignumber.js": "^9.0.0", - "web3-core-helpers": "1.3.0", - "web3-core-method": "1.3.0", - "web3-core-requestmanager": "1.3.0", - "web3-utils": "1.3.0" - } - }, - "web3-core-helpers": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.3.0.tgz", - "integrity": "sha512-+MFb1kZCrRctf7UYE7NCG4rGhSXaQJ/KF07di9GVK1pxy1K0+rFi61ZobuV1ky9uQp+uhhSPts4Zp55kRDB5sw==", - "requires": { - "underscore": "1.9.1", - "web3-eth-iban": "1.3.0", - "web3-utils": "1.3.0" - } - }, - "web3-core-method": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.3.0.tgz", - "integrity": "sha512-h0yFDrYVzy5WkLxC/C3q+hiMnzxdWm9p1T1rslnuHgOp6nYfqzu/6mUIXrsS4h/OWiGJt+BZ0xVZmtC31HDWtg==", - "requires": { - "@ethersproject/transactions": "^5.0.0-beta.135", - "underscore": "1.9.1", - "web3-core-helpers": "1.3.0", - "web3-core-promievent": "1.3.0", - "web3-core-subscriptions": "1.3.0", - "web3-utils": "1.3.0" - } - }, - "web3-core-promievent": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-core-promievent/-/web3-core-promievent-1.3.0.tgz", - "integrity": "sha512-blv69wrXw447TP3iPvYJpllkhW6B18nfuEbrfcr3n2Y0v1Jx8VJacNZFDFsFIcgXcgUIVCtOpimU7w9v4+rtaw==", - "requires": { - "eventemitter3": "4.0.4" - } - }, - "web3-core-requestmanager": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-core-requestmanager/-/web3-core-requestmanager-1.3.0.tgz", - "integrity": "sha512-3yMbuGcomtzlmvTVqNRydxsx7oPlw3ioRL6ReF9PeNYDkUsZaUib+6Dp5eBt7UXh5X+SIn/xa1smhDHz5/HpAw==", - "requires": { - "underscore": "1.9.1", - "web3-core-helpers": "1.3.0", - "web3-providers-http": "1.3.0", - "web3-providers-ipc": "1.3.0", - "web3-providers-ws": "1.3.0" - } - }, - "web3-core-subscriptions": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.3.0.tgz", - "integrity": "sha512-MUUQUAhJDb+Nz3S97ExVWveH4utoUnsbPWP+q1HJH437hEGb4vunIb9KvN3hFHLB+aHJfPeStM/4yYTz5PeuyQ==", - "requires": { - "eventemitter3": "4.0.4", - "underscore": "1.9.1", - "web3-core-helpers": "1.3.0" - } - }, - "web3-eth-abi": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.3.0.tgz", - "integrity": "sha512-1OrZ9+KGrBeBRd3lO8upkpNua9+7cBsQAgor9wbA25UrcUYSyL8teV66JNRu9gFxaTbkpdrGqM7J/LXpraXWrg==", - "requires": { - "@ethersproject/abi": "5.0.0-beta.153", - "underscore": "1.9.1", - "web3-utils": "1.3.0" - } - }, - "web3-eth-contract": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.3.0.tgz", - "integrity": "sha512-3SCge4SRNCnzLxf0R+sXk6vyTOl05g80Z5+9/B5pERwtPpPWaQGw8w01vqYqsYBKC7zH+dxhMaUgVzU2Dgf7bQ==", - "requires": { - "@types/bn.js": "^4.11.5", - "underscore": "1.9.1", - "web3-core": "1.3.0", - "web3-core-helpers": "1.3.0", - "web3-core-method": "1.3.0", - "web3-core-promievent": "1.3.0", - "web3-core-subscriptions": "1.3.0", - "web3-eth-abi": "1.3.0", - "web3-utils": "1.3.0" - } - }, - "web3-eth-iban": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.3.0.tgz", - "integrity": "sha512-v9mZWhR4fPF17/KhHLiWir4YHWLe09O3B/NTdhWqw3fdAMJNztzMHGzgHxA/4fU+rhrs/FhDzc4yt32zMEXBZw==", - "requires": { - "bn.js": "^4.11.9", - "web3-utils": "1.3.0" - } - }, - "web3-providers-http": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-providers-http/-/web3-providers-http-1.3.0.tgz", - "integrity": "sha512-cMKhUI6PqlY/EC+ZDacAxajySBu8AzW8jOjt1Pe/mbRQgS0rcZyvLePGTTuoyaA8C21F8UW+EE5jj7YsNgOuqA==", - "requires": { - "web3-core-helpers": "1.3.0", - "xhr2-cookies": "1.1.0" - } - }, - "web3-providers-ipc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-providers-ipc/-/web3-providers-ipc-1.3.0.tgz", - "integrity": "sha512-0CrLuRofR+1J38nEj4WsId/oolwQEM6Yl1sOt41S/6bNI7htdkwgVhSloFIMJMDFHtRw229QIJ6wIaKQz0X1Og==", - "requires": { - "oboe": "2.1.5", - "underscore": "1.9.1", - "web3-core-helpers": "1.3.0" - } - }, - "web3-providers-ws": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-providers-ws/-/web3-providers-ws-1.3.0.tgz", - "integrity": "sha512-Im5MthhJnJst8nSoq0TgbyOdaiFQFa5r6sHPOVllhgIgViDqzbnlAFW9sNzQ0Q8VXPNfPIQKi9cOrHlSRNPjRw==", - "requires": { - "eventemitter3": "4.0.4", - "underscore": "1.9.1", - "web3-core-helpers": "1.3.0", - "websocket": "^1.0.32" - } - }, - "web3-utils": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.3.0.tgz", - "integrity": "sha512-2mS5axFCbkhicmoDRuJeuo0TVGQDgC2sPi/5dblfVC+PMtX0efrb8Xlttv/eGkq7X4E83Pds34FH98TP2WOUZA==", - "requires": { - "bn.js": "^4.11.9", - "eth-lib": "0.2.8", - "ethereum-bloom-filters": "^1.0.6", - "ethjs-unit": "0.1.6", - "number-to-bn": "1.7.0", - "randombytes": "^2.1.0", - "underscore": "1.9.1", - "utf8": "3.0.0" - } - }, - "websocket": { - "version": "1.0.32", - "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.32.tgz", - "integrity": "sha512-i4yhcllSP4wrpoPMU2N0TQ/q0O94LRG/eUQjEAamRltjQ1oT1PFFKOG4i877OlJgCG8rw6LrrowJp+TYCEWF7Q==", - "requires": { - "bufferutil": "^4.0.1", - "debug": "^2.2.0", - "es5-ext": "^0.10.50", - "typedarray-to-buffer": "^3.1.5", - "utf-8-validate": "^5.0.2", - "yaeti": "^0.0.6" - } - } } }, "@oceanprotocol/typographies": { @@ -6440,9 +6238,9 @@ } }, "@urql/core": { - "version": "1.13.0", - "resolved": "https://registry.npmjs.org/@urql/core/-/core-1.13.0.tgz", - "integrity": "sha512-g7Kn2a0TDQotOqvGR7bRC+JqviA4TYtiDZH5M9Roszx7LiqZBkViSr5zmdwlNZjR4kSDn+kSXlCV+Ht0Uqls0Q==", + "version": "1.13.1", + "resolved": "https://registry.npmjs.org/@urql/core/-/core-1.13.1.tgz", + "integrity": "sha512-Zl4UwvcE9JbWKzrtxnlmfF+rkX50GzK5dpMlB6FnUYF0sLmuGMxp67lnhTQsfTNJ+41bkj4lk0PMWEnG7KUsTw==", "requires": { "wonka": "^4.0.14" } @@ -8325,9 +8123,9 @@ } }, "babel-preset-gatsby": { - "version": "0.5.11", - "resolved": "https://registry.npmjs.org/babel-preset-gatsby/-/babel-preset-gatsby-0.5.11.tgz", - "integrity": "sha512-ofbVPQ2Ed+TxhOX+eCpCGMqCMDfgYTFkFvbck1ib7yrjrMdA2DhxVSgcaCPFcxPapWP+6jOXQdml1pA7QhS+Rg==", + "version": "0.5.12", + "resolved": "https://registry.npmjs.org/babel-preset-gatsby/-/babel-preset-gatsby-0.5.12.tgz", + "integrity": "sha512-nSyyqUtp6T8pj5lRfCQHcK5SMMYQ7p0ZWMF9FoThfMJdZSjN/OopQoiUiN0uqLWNZd/1wER4LR/BHXA7ay9QNg==", "requires": { "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4", @@ -8341,7 +8139,7 @@ "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-macros": "^2.8.0", "babel-plugin-transform-react-remove-prop-types": "^0.4.24", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "gatsby-legacy-polyfills": "^0.0.5" }, "dependencies": { @@ -8881,9 +8679,9 @@ } }, "base64-arraybuffer": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", - "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=" + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.4.tgz", + "integrity": "sha1-mBjHngWbE1X5fgQooBfIOOkLqBI=" }, "base64-js": { "version": "1.3.1", @@ -8926,7 +8724,6 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-2.0.0.tgz", "integrity": "sha512-PPbGRgO/K0LowMHbH/JNvaV3qY3Vt+A2nH28fzJxy16h/DfR5OsVti6ldGl6S9SMsyUqT13sltikiAVtI6tKLA==", - "dev": true, "requires": { "open": "^7.0.3" } @@ -12732,35 +12529,40 @@ } }, "engine.io-client": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.3.tgz", - "integrity": "sha512-0NGY+9hioejTEJCaSJZfWZLk4FPI9dN+1H1C4+wj2iuFba47UgZbJzfWs4aNFajnX/qAaYKbe2lLTfEEWzCmcw==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/engine.io-client/-/engine.io-client-3.4.4.tgz", + "integrity": "sha512-iU4CRr38Fecj8HoZEnFtm2EiKGbYZcPn3cHxqNGl/tmdWRf60KhK+9vE0JeSjgnlS/0oynEfLgKbT9ALpim0sQ==", "requires": { "component-emitter": "~1.3.0", "component-inherit": "0.0.3", - "debug": "~4.1.0", + "debug": "~3.1.0", "engine.io-parser": "~2.2.0", "has-cors": "1.1.0", "indexof": "0.0.1", - "parseqs": "0.0.5", - "parseuri": "0.0.5", + "parseqs": "0.0.6", + "parseuri": "0.0.6", "ws": "~6.1.0", "xmlhttprequest-ssl": "~1.5.4", "yeast": "0.1.2" }, "dependencies": { "debug": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz", - "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", + "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", "requires": { - "ms": "^2.1.1" + "ms": "2.0.0" } }, - "ms": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz", - "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" + "parseqs": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseqs/-/parseqs-0.0.6.tgz", + "integrity": "sha512-jeAGzMDbfSHHA091hr0r31eYfTig+29g3GKKE/PPbEQ65X0lmMwlEoqmhzu0iztID5uJpZsFlUPDP8ThPL7M8w==" + }, + "parseuri": { + "version": "0.0.6", + "resolved": "https://registry.npmjs.org/parseuri/-/parseuri-0.0.6.tgz", + "integrity": "sha512-AUjen8sAkGgao7UyCX6Ahv0gIK2fABKmYjvP4xmy5JaKvcbTRueIqIPHLAfq30xJddqSE033IOMUSOMCcK3Sow==" }, "ws": { "version": "6.1.4", @@ -12773,13 +12575,13 @@ } }, "engine.io-parser": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.0.tgz", - "integrity": "sha512-6I3qD9iUxotsC5HEMuuGsKA0cXerGz+4uGcXQEkfBidgKf0amsjrrtwcbwK/nzpZBxclXlV7gGl9dgWvu4LF6w==", + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/engine.io-parser/-/engine.io-parser-2.2.1.tgz", + "integrity": "sha512-x+dN/fBH8Ro8TFwJ+rkB2AmuVw9Yu2mockR/p3W8f8YtExwFgDvBDi0GWyb4ZLkpahtDGZgtr3zLovanJghPqg==", "requires": { "after": "0.8.2", "arraybuffer.slice": "~0.0.7", - "base64-arraybuffer": "0.1.5", + "base64-arraybuffer": "0.1.4", "blob": "0.0.5", "has-binary2": "~1.0.2" } @@ -15720,9 +15522,9 @@ "dev": true }, "gatsby": { - "version": "2.24.66", - "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-2.24.66.tgz", - "integrity": "sha512-bfcfvXa/NZzkObjWKFEJKvWA4yaGASKp88d4/NyMgc2yECfhk4mG3e4NFoXYx/AdclwV3WLaHPloB618scEfKg==", + "version": "2.24.67", + "resolved": "https://registry.npmjs.org/gatsby/-/gatsby-2.24.67.tgz", + "integrity": "sha512-hZe1wUQdiIF4MxR0USfiGqbIc3MoWpT0Ds+RM74QtIOrXx9M4wKWyc0//cFHq6D0Iljkn5p5ourLJDwr15avwA==", "requires": { "@babel/code-frame": "^7.10.4", "@babel/core": "^7.11.6", @@ -15749,8 +15551,8 @@ "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-lodash": "3.3.4", "babel-plugin-remove-graphql-queries": "^2.9.20", - "babel-preset-gatsby": "^0.5.11", - "better-opn": "1.0.0", + "babel-preset-gatsby": "^0.5.12", + "better-opn": "^2.0.0", "better-queue": "^3.8.10", "bluebird": "^3.7.2", "body-parser": "^1.19.0", @@ -15790,15 +15592,15 @@ "find-cache-dir": "^3.3.1", "fs-exists-cached": "1.0.0", "fs-extra": "^8.1.0", - "gatsby-cli": "^2.12.101", - "gatsby-core-utils": "^1.3.21", + "gatsby-cli": "^2.12.102", + "gatsby-core-utils": "^1.3.22", "gatsby-graphiql-explorer": "^0.4.15", "gatsby-legacy-polyfills": "^0.0.5", "gatsby-link": "^2.4.15", - "gatsby-plugin-page-creator": "^2.3.29", + "gatsby-plugin-page-creator": "^2.3.30", "gatsby-plugin-typescript": "^2.4.21", "gatsby-react-router-scroll": "^3.0.14", - "gatsby-telemetry": "^1.3.36", + "gatsby-telemetry": "^1.3.37", "glob": "^7.1.6", "got": "8.3.2", "graphql": "^14.6.0", @@ -16020,14 +15822,6 @@ "color-convert": "^2.0.1" } }, - "better-opn": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/better-opn/-/better-opn-1.0.0.tgz", - "integrity": "sha512-q3eO2se4sFbTERB1dFBDdjTiIIpRohMErpwBX21lhPvmgmQNNrcQj0zbWRhMREDesJvyod9kxBS3kOtdAvkB/A==", - "requires": { - "open": "^6.4.0" - } - }, "cacache": { "version": "13.0.1", "resolved": "https://registry.npmjs.org/cacache/-/cacache-13.0.1.tgz", @@ -16399,14 +16193,14 @@ } }, "gatsby-cli": { - "version": "2.12.101", - "resolved": "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-2.12.101.tgz", - "integrity": "sha512-SbUsn9PPBj7OH14S9NqtZMmGqojvQtiMMIgnET0ZSa6mnakS1yKG1aOf6h7CtmHOnpi8hk4505nRzD/OQzXLng==", + "version": "2.12.102", + "resolved": "https://registry.npmjs.org/gatsby-cli/-/gatsby-cli-2.12.102.tgz", + "integrity": "sha512-+53v+ptz5wcy4fVhW/3J20zwY/L0UbAMeh7noLWJeDYaaK6tQSGrHGnqGNZkdtxHyulioQ1dDjfT3BTHcxzJwA==", "requires": { "@babel/code-frame": "^7.10.4", "@hapi/joi": "^15.1.1", "@types/common-tags": "^1.8.0", - "better-opn": "^1.0.0", + "better-opn": "^2.0.0", "chalk": "^2.4.2", "clipboardy": "^2.3.0", "common-tags": "^1.8.0", @@ -16416,9 +16210,9 @@ "execa": "^3.4.0", "fs-exists-cached": "^1.0.0", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^1.3.21", - "gatsby-recipes": "^0.2.29", - "gatsby-telemetry": "^1.3.36", + "gatsby-core-utils": "^1.3.22", + "gatsby-recipes": "^0.2.30", + "gatsby-telemetry": "^1.3.37", "hosted-git-info": "^3.0.5", "ink": "^2.7.1", "ink-spinner": "^3.1.0", @@ -16606,11 +16400,6 @@ "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.0.tgz", "integrity": "sha512-XCoy+WlUr7d1+Z8GgSuXmpuUFC9fOhRXglJMx+dwLKTkL44Cjd4W1Z5P+BQZpr+cR93aGP4S/s7Ftw6Nd/kiEw==" }, - "is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=" - }, "jest-worker": { "version": "24.9.0", "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-24.9.0.tgz", @@ -16739,14 +16528,6 @@ "path-key": "^3.0.0" } }, - "open": { - "version": "6.4.0", - "resolved": "https://registry.npmjs.org/open/-/open-6.4.0.tgz", - "integrity": "sha512-IFenVPgF70fSm1keSd2iDBIDIBZkroLeuffXq+wKTzTJlBpesFWojV9lb8mzOfaAzM1sr7HQHuO0vtV0zYekGg==", - "requires": { - "is-wsl": "^1.1.0" - } - }, "p-cancelable": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-0.4.1.tgz", @@ -17375,9 +17156,9 @@ } }, "gatsby-core-utils": { - "version": "1.3.21", - "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-1.3.21.tgz", - "integrity": "sha512-oaHdrfnip0u1pMVkO5O+R6YxJ6XBi662YCAPVj4G6DCQG9ngJOKNdaHXU1G9Mjalq6Kb/rNWNRMjOU5u78BdKQ==", + "version": "1.3.22", + "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-1.3.22.tgz", + "integrity": "sha512-hvkOlqoo7AtG9GmNgEnJiNO5zzSzcXah3LOnRRmKCMo5fb5YnWWxojqVr5KfG9ozD7XvTQVvaS5t+quwneQ9Tw==", "requires": { "ci-info": "2.0.0", "configstore": "^5.0.1", @@ -17401,9 +17182,9 @@ } }, "gatsby-design-tokens": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/gatsby-design-tokens/-/gatsby-design-tokens-2.0.12.tgz", - "integrity": "sha512-jWbUDon18SA+GSumUaBb6uDsa6qLcfnv8P0nAkM0gvsCUxa4j/AevirpX34QXIWM9vsMaUQLVUiZAxOzqLvm4w==", + "version": "2.0.13", + "resolved": "https://registry.npmjs.org/gatsby-design-tokens/-/gatsby-design-tokens-2.0.13.tgz", + "integrity": "sha512-I4i1pYG5y8yQ9uul1uvUZ1sy5skCOg33kHUUeYCWvW7vPdtBcQLgYqT2tLPQMMCc16ljbJF0DL4g52zQ7tVAhQ==", "requires": { "hex2rgba": "^0.0.1" } @@ -17503,15 +17284,15 @@ } }, "gatsby-page-utils": { - "version": "0.2.26", - "resolved": "https://registry.npmjs.org/gatsby-page-utils/-/gatsby-page-utils-0.2.26.tgz", - "integrity": "sha512-M5qdW/ZSPlDBSfOj+W33A2d4kF7XDWe3YVEfvlmSJX00XzFKeH+HqeSBuoc+fraGY3Fq1TCdclDPRGUT2QFhSQ==", + "version": "0.2.27", + "resolved": "https://registry.npmjs.org/gatsby-page-utils/-/gatsby-page-utils-0.2.27.tgz", + "integrity": "sha512-ZIaU8SNITzfQEUON4MbCbjfyyXB5KeI8CDktVyZgTfUgHgl7bAPHwVH+2o3T2BSaAokQMWpebG5e+FOXjZ59hQ==", "requires": { "@babel/runtime": "^7.11.2", "bluebird": "^3.7.2", "chokidar": "^3.4.2", "fs-exists-cached": "^1.0.0", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "glob": "^7.1.6", "lodash": "^4.17.20", "micromatch": "^4.0.2" @@ -17533,12 +17314,12 @@ } }, "gatsby-plugin-manifest": { - "version": "2.4.32", - "resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.4.32.tgz", - "integrity": "sha512-QOYUhDhsvfdJwx4Rtsr8FAXZ8IeUdhldpxdfo0mzuRgbjnf/ww09NwKe0nnKTeWUIsgCz/xhiBt03PqLD6D9ZA==", + "version": "2.4.33", + "resolved": "https://registry.npmjs.org/gatsby-plugin-manifest/-/gatsby-plugin-manifest-2.4.33.tgz", + "integrity": "sha512-s5+XgDFQBeOUXPgQbzvTJOsBxKYVPKh8uFzb9zawknnfqFZ31hjSWZfLb+arl1MIXS3P99ZTaHPGeB4FV4z9xA==", "requires": { "@babel/runtime": "^7.11.2", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "semver": "^7.3.2", "sharp": "^0.25.4" }, @@ -17559,15 +17340,15 @@ } }, "gatsby-plugin-page-creator": { - "version": "2.3.29", - "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.3.29.tgz", - "integrity": "sha512-wWlWm8alIlkeSwLyk9SMTNICg3caB06j6dG+q8PkImBO7/CLpQBpGojELbhond4r0NFPRKhLhqh5jF6sX3wpmQ==", + "version": "2.3.30", + "resolved": "https://registry.npmjs.org/gatsby-plugin-page-creator/-/gatsby-plugin-page-creator-2.3.30.tgz", + "integrity": "sha512-Bo9oeQSMt3WwA1C4qH47vg+o0oOXm8hrmk7r983zJu76BWiyn0ZI8wrMAnXS7KXqUCCB9QDRCrJvCyczmqvpdA==", "requires": { "@babel/traverse": "^7.11.5", "@sindresorhus/slugify": "^1.1.0", "chokidar": "^3.4.2", "fs-exists-cached": "^1.0.0", - "gatsby-page-utils": "^0.2.26", + "gatsby-page-utils": "^0.2.27", "globby": "^11.0.1", "graphql": "^14.7.0", "lodash": "^4.17.20" @@ -17731,15 +17512,15 @@ } }, "gatsby-plugin-sharp": { - "version": "2.6.37", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.37.tgz", - "integrity": "sha512-rZ9fdFmCe4u2VJ8tdsymamJq78J3TMfzdepkCt7++z9scBTWzLewev/F3hjk/d8BeyoSp2jVWdtqsMJJrGxpiw==", + "version": "2.6.38", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.38.tgz", + "integrity": "sha512-Jd04qtgkjJ0QV8LIj1c+H3Z+xESjr74d2h5DhnXpl2fKpLKORw4S07//6ZHspnsgW3LAKELX/nfAFPu7E5TR1Q==", "requires": { "@babel/runtime": "^7.11.2", "async": "^3.2.0", "bluebird": "^3.7.2", "fs-extra": "^9.0.1", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "got": "^10.7.0", "imagemin": "^7.0.1", "imagemin-mozjpeg": "^9.0.0", @@ -17992,9 +17773,9 @@ } }, "gatsby-recipes": { - "version": "0.2.29", - "resolved": "https://registry.npmjs.org/gatsby-recipes/-/gatsby-recipes-0.2.29.tgz", - "integrity": "sha512-E911POunZLlCwdJ2t7UrVveTNiIM2fZpDQ6pe4ufCaYmgWzdfEOWC24NIIuxA1DxMef748N71Ri8emU91k9aYg==", + "version": "0.2.30", + "resolved": "https://registry.npmjs.org/gatsby-recipes/-/gatsby-recipes-0.2.30.tgz", + "integrity": "sha512-HFb9+/ZPoonu+Ywe5Y8RRBUUSB7WPoSlXqO+94Fkf0/55eQHRxOEvyluOqksdlzlCQtsQrXLfpICYQXTstC7RQ==", "requires": { "@babel/core": "^7.11.6", "@babel/generator": "^7.11.6", @@ -18032,9 +17813,9 @@ "flatted": "^3.0.0", "formik": "^2.0.8", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "gatsby-interface": "^0.0.193", - "gatsby-telemetry": "^1.3.36", + "gatsby-telemetry": "^1.3.37", "glob": "^7.1.6", "graphql": "^14.6.0", "graphql-compose": "^6.3.8", @@ -18169,9 +17950,9 @@ } }, "flatted": { - "version": "3.0.5", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.0.5.tgz", - "integrity": "sha512-bDEpEsHk2pHn4R+slxblk0N0gK5lQsK2aRwW6LJyIpX3o9qhoVkufDjDvU3fpSJbR7UgOl+icRoR9agYyjzMTw==" + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.1.0.tgz", + "integrity": "sha512-tW+UkmtNg/jv9CSofAKvgVcO7c2URjhTdW1ZTkcAritblu8tajiYy7YisnIflEwtKssCtOxpnBRoCB7iap0/TA==" }, "fs-extra": { "version": "8.1.0", @@ -18321,9 +18102,9 @@ } }, "gatsby-source-filesystem": { - "version": "2.3.31", - "resolved": "https://registry.npmjs.org/gatsby-source-filesystem/-/gatsby-source-filesystem-2.3.31.tgz", - "integrity": "sha512-otAoUpSh7CRPHWG+4T1lY4V3Tr35lKgBc5tG9iukFRiRf4PvPEvQsd/1b1UfE/RtvLnhOHJj/ED6jpHIKKzBMw==", + "version": "2.3.32", + "resolved": "https://registry.npmjs.org/gatsby-source-filesystem/-/gatsby-source-filesystem-2.3.32.tgz", + "integrity": "sha512-BzXxz27dNg9fcWbF8abKr9bfZ7ODdd7PeoldmDU+E900iBva/erMS+Ul8pUP4O0npzkaM3z0NWS5t9KAMqRhfg==", "requires": { "@babel/runtime": "^7.11.2", "better-queue": "^3.8.10", @@ -18331,7 +18112,7 @@ "chokidar": "^3.4.2", "file-type": "^12.4.2", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "got": "^9.6.0", "md5-file": "^3.2.3", "mime": "^2.4.6", @@ -18414,9 +18195,9 @@ } }, "gatsby-telemetry": { - "version": "1.3.36", - "resolved": "https://registry.npmjs.org/gatsby-telemetry/-/gatsby-telemetry-1.3.36.tgz", - "integrity": "sha512-a1g6WJ86BzOsnr4jemHgNSlpK7annC17m9sQ31iPQNLciowwfULbEKvrKCRYk1ABRUb1VNg61z6dzAnktF9giA==", + "version": "1.3.37", + "resolved": "https://registry.npmjs.org/gatsby-telemetry/-/gatsby-telemetry-1.3.37.tgz", + "integrity": "sha512-T+zqcVJ8jm3kdi5vIDSd7olSUjEs8PpcF6cO92byVMhbI94QRK8ptvmkh9tg8fDaOESyh+qu8lshKjGew8fuXQ==", "requires": { "@babel/code-frame": "^7.10.4", "@babel/runtime": "^7.11.2", @@ -18427,7 +18208,7 @@ "configstore": "^5.0.1", "envinfo": "^7.7.3", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "git-up": "^4.0.2", "is-docker": "^2.1.1", "lodash": "^4.17.20", @@ -18485,13 +18266,13 @@ } }, "gatsby-transformer-remark": { - "version": "2.8.36", - "resolved": "https://registry.npmjs.org/gatsby-transformer-remark/-/gatsby-transformer-remark-2.8.36.tgz", - "integrity": "sha512-TZmQDRQQ3t2NsvgvwBciUhSZyikAHTSSbczanBHS1IyadL3VOL6t4+EKE5aCLwFKFnFj3SO2ivV6w8ABpWs3jA==", + "version": "2.8.37", + "resolved": "https://registry.npmjs.org/gatsby-transformer-remark/-/gatsby-transformer-remark-2.8.37.tgz", + "integrity": "sha512-LeBgjYVj0XeRGYKY9Y7rTFJFgoAgVUFi8Fbvgirv1qqf9iFhVBbSN6/pC0WcrDmfyodScAIK0Yz7ZqpfmO0Hgw==", "requires": { "@babel/runtime": "^7.11.2", "bluebird": "^3.7.2", - "gatsby-core-utils": "^1.3.21", + "gatsby-core-utils": "^1.3.22", "gray-matter": "^4.0.2", "hast-util-raw": "^4.0.0", "hast-util-to-html": "^4.0.1", @@ -26910,7 +26691,6 @@ "version": "7.2.1", "resolved": "https://registry.npmjs.org/open/-/open-7.2.1.tgz", "integrity": "sha512-xbYCJib4spUdmcs0g/2mK1nKo/jO2T7INClWd/beL7PFkXRWgr8B23ssDHX/USPn2M2IjDR5UdpYs6I67SnTSA==", - "dev": true, "requires": { "is-docker": "^2.0.0", "is-wsl": "^2.1.1" @@ -32146,6 +31926,11 @@ "to-array": "0.1.4" }, "dependencies": { + "base64-arraybuffer": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-0.1.5.tgz", + "integrity": "sha1-c5JncZI7Whl0etZmqlzUv5xunOg=" + }, "component-emitter": { "version": "1.2.1", "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.2.1.tgz", @@ -32170,15 +31955,20 @@ "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==" }, "socket.io-parser": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.0.tgz", - "integrity": "sha512-hczmV6bDgdaEbVqhAeVMM/jfUfzuEZHsQg6eOmLgJht6G3mPKMxYm75w2+qhAQZ+4X+1+ATZ+QFKeOZD5riHng==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/socket.io-parser/-/socket.io-parser-3.3.1.tgz", + "integrity": "sha512-1QLvVAe8dTz+mKmZ07Swxt+LAo4Y1ff50rlyoEx00TQmDFVQYPfcqGvIDJLGaBdhdNCecXtyKpD+EgKGcmmbuQ==", "requires": { - "component-emitter": "1.2.1", + "component-emitter": "~1.3.0", "debug": "~3.1.0", "isarray": "2.0.1" }, "dependencies": { + "component-emitter": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", + "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" + }, "debug": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", diff --git a/package.json b/package.json index fcbb76b83..ee8519159 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "@coingecko/cryptoformat": "^0.4.2", "@loadable/component": "5.13.1", "@oceanprotocol/art": "^3.0.0", - "@oceanprotocol/lib": "^0.4.1", - "@oceanprotocol/react": "^0.0.48", + "@oceanprotocol/lib": "^0.5.1", + "@oceanprotocol/react": "^0.0.49", "@oceanprotocol/typographies": "^0.1.0", "@sindresorhus/slugify": "^1.0.0", "@tippyjs/react": "^4.2.0", @@ -39,18 +39,18 @@ "ethereum-blockies": "github:MyEtherWallet/blockies", "filesize": "^6.1.0", "formik": "^2.1.6", - "gatsby": "^2.24.66", + "gatsby": "^2.24.67", "gatsby-image": "^2.4.20", - "gatsby-plugin-manifest": "^2.4.32", + "gatsby-plugin-manifest": "^2.4.33", "gatsby-plugin-react-helmet": "^3.3.12", "gatsby-plugin-remove-trailing-slashes": "^2.3.13", - "gatsby-plugin-sharp": "^2.6.37", + "gatsby-plugin-sharp": "^2.6.38", "gatsby-plugin-svgr": "^2.0.2", "gatsby-plugin-webpack-size": "^1.0.0", - "gatsby-source-filesystem": "^2.3.31", + "gatsby-source-filesystem": "^2.3.32", "gatsby-source-graphql": "^2.7.5", "gatsby-transformer-json": "^2.4.13", - "gatsby-transformer-remark": "^2.8.36", + "gatsby-transformer-remark": "^2.8.37", "gatsby-transformer-sharp": "^2.5.16", "intersection-observer": "^0.11.0", "is-url-superb": "^4.0.0", diff --git a/src/components/pages/History/PoolTransactions.module.css b/src/components/pages/History/PoolTransactions.module.css index 32f41b6af..1bb347b03 100644 --- a/src/components/pages/History/PoolTransactions.module.css +++ b/src/components/pages/History/PoolTransactions.module.css @@ -5,3 +5,11 @@ .table [role='columnheader'] { font-weight: var(--font-weight-bold); } + +.empty { + width: 100%; + text-align: left; + color: var(--color-secondary); + font-size: var(--font-size-small); + font-style: italic; +} diff --git a/src/components/pages/History/PoolTransactions.tsx b/src/components/pages/History/PoolTransactions.tsx index 3d80379d3..cb0f33fbe 100644 --- a/src/components/pages/History/PoolTransactions.tsx +++ b/src/components/pages/History/PoolTransactions.tsx @@ -12,6 +12,10 @@ function AssetTitle({ did }: { did: string }): ReactElement { return {title || did} } +function Empty() { + return
No results found
+} + const columns = [ { name: 'Title', @@ -69,6 +73,7 @@ export default function PoolTransactions(): ReactElement { noHeader pagination={logs?.length >= 19} paginationPerPage={20} + noDataComponent={} /> ) }