From 5366216f6120f357cdad035361ae8998aeee6a3f Mon Sep 17 00:00:00 2001 From: monokh Date: Mon, 14 Dec 2020 22:51:06 +0000 Subject: [PATCH] Fix eth message signing --- package-lock.json | 335 +++++++++++++++++------------------ package.json | 40 ++--- src/views/PermissionSign.vue | 5 +- 3 files changed, 191 insertions(+), 189 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4712813b0..ff5ef5293 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1783,12 +1783,12 @@ } }, "@liquality/bitcoin-earn-fee-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-earn-fee-provider/-/bitcoin-earn-fee-provider-0.8.3.tgz", - "integrity": "sha512-RXPR2yf4vNPD96mIeSwX9EMPxGwYagzwUc/7OEjajyNCTZuYk3L4OCQPz4IOqvA9A/OHv5PBeYJdG6eVX6/aCQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-earn-fee-provider/-/bitcoin-earn-fee-provider-0.8.4.tgz", + "integrity": "sha512-rIpPH/gKSlMNhah3Zj0gn/N4U2faE/s/yjEfHZhjM1lbGrylnqjx0gSiW9NtUdr9Vtish+RPNaKKTArC6cb//g==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/node-provider": "^0.8.3" + "@liquality/node-provider": "^0.8.4" }, "dependencies": { "@babel/runtime": { @@ -1802,15 +1802,15 @@ } }, "@liquality/bitcoin-esplora-api-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-esplora-api-provider/-/bitcoin-esplora-api-provider-0.8.3.tgz", - "integrity": "sha512-4DLQPT0z8IE1QEr9WbZg4zxYXSQsQzJpyNqCKv9vPwvMjd+fJ9coPg3kk3gO/UQinxnr4aqli2Jdbol7PPDJeA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-esplora-api-provider/-/bitcoin-esplora-api-provider-0.8.4.tgz", + "integrity": "sha512-rDd7sssv1NXDYN2I9bWHbYg3OV0b4io0fyLnxIxGSnIu3ZykYpyp8Tz2rPmLugSfFYWcYdvyuQS2Q8j/fWDs3w==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-utils": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/node-provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/bitcoin-utils": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/node-provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "lodash": "^4.17.20" }, @@ -1831,14 +1831,14 @@ } }, "@liquality/bitcoin-esplora-batch-api-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-esplora-batch-api-provider/-/bitcoin-esplora-batch-api-provider-0.8.3.tgz", - "integrity": "sha512-zuEzXXQNQB54S+IVUocLMZvFK9X0KibOA5fVqK40oizfquoMv56sm69rPRa+p9H6x3+rcPleYwvYuHiWLCqANg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-esplora-batch-api-provider/-/bitcoin-esplora-batch-api-provider-0.8.4.tgz", + "integrity": "sha512-WsMTDTeqNs7Pnd/7VyQhSRb3tiGZAm/BMx2XNVQEAkJlrhYuRdRB+moTZs1kCtMLQoy2Z2UPPcasAwO/rQF0Eg==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-esplora-api-provider": "^0.8.3", - "@liquality/node-provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/bitcoin-esplora-api-provider": "^0.8.4", + "@liquality/node-provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "lodash": "^4.17.20" }, @@ -1859,12 +1859,12 @@ } }, "@liquality/bitcoin-esplora-swap-find-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-esplora-swap-find-provider/-/bitcoin-esplora-swap-find-provider-0.8.3.tgz", - "integrity": "sha512-mvM8VjH1Ultxyud/Lc9ZAX1rVjghg1MyHroICF9BJ5UfKoM1M33sWQ0KDTykIeR7sAhaeljVC7k0O9s2CDtg1g==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-esplora-swap-find-provider/-/bitcoin-esplora-swap-find-provider-0.8.4.tgz", + "integrity": "sha512-A5kSrdqjWe4+d+zxC/kWbasjp+dlAfAhn0xJJB509/p1w84F8OuYAGChCSfurU2O+tGlRUgl9Y/hEmHMelBXjQ==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/node-provider": "^0.8.3" + "@liquality/node-provider": "^0.8.4" }, "dependencies": { "@babel/runtime": { @@ -1878,14 +1878,14 @@ } }, "@liquality/bitcoin-js-wallet-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-js-wallet-provider/-/bitcoin-js-wallet-provider-0.8.3.tgz", - "integrity": "sha512-ghdSS/LAVjaeGHUanw22WiPHIuzloSo+7IPxr4jJWMPTGvspkRsifIsXm+fapIYOsjJwAZ9CSjs0tL+rH93tfQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-js-wallet-provider/-/bitcoin-js-wallet-provider-0.8.4.tgz", + "integrity": "sha512-uFWkpzQXNrpaLgTwSFNDA/IrO4unn2NKA/T5h5gBkpprgDRNXxRJ+/9+on+jKvWsffrb9SIuxro5qPB9L9imLA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-wallet-provider": "^0.8.3", - "@liquality/utils": "^0.8.3", - "@liquality/wallet-provider": "^0.8.3", + "@liquality/bitcoin-wallet-provider": "^0.8.4", + "@liquality/utils": "^0.8.4", + "@liquality/wallet-provider": "^0.8.4", "bip32": "^1.0.2", "bip39": "^3.0.2", "bitcoinjs-lib": "^5.2.0", @@ -1916,9 +1916,9 @@ } }, "@liquality/bitcoin-networks": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-networks/-/bitcoin-networks-0.8.3.tgz", - "integrity": "sha512-zyvyP/0mC5HPVPmxufBBXpRlRoWbENRifv4uV1fiY0Leaz5zyMtuCu0L1MJWWrfELXiIB8XO8cMdmiihVrHVXQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-networks/-/bitcoin-networks-0.8.4.tgz", + "integrity": "sha512-9YWHDZFDjmxTlJwdpRk/EjQILMBI6fneexAUvcNpsKGvgXUU3GyCerFQvzqmaTpPA+h2EK/Hwnf4B/ZIrNiktw==", "requires": { "@babel/runtime": "^7.12.1", "bitcoinjs-lib": "^5.2.0" @@ -1935,12 +1935,12 @@ } }, "@liquality/bitcoin-rpc-fee-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-rpc-fee-provider/-/bitcoin-rpc-fee-provider-0.8.3.tgz", - "integrity": "sha512-d8Xdg8IrxKvUaeTupBo1E/puJEji0TVxALR6h8NnzEZOS/dq4RTl/KuOQG824HWdiZpApY+EFVJDZW8XT/Tw0w==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-rpc-fee-provider/-/bitcoin-rpc-fee-provider-0.8.4.tgz", + "integrity": "sha512-5FYf+7bAzC00OCLbzFGQiQGrtW+FCSMwKnOqHXlar1iCpeabP6+MhdN4PLJboSgx1oWwiAruU0G0pcYHeGqaEA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/provider": "^0.8.3", + "@liquality/provider": "^0.8.4", "lodash": "^4.17.20" }, "dependencies": { @@ -1960,15 +1960,15 @@ } }, "@liquality/bitcoin-rpc-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-rpc-provider/-/bitcoin-rpc-provider-0.8.3.tgz", - "integrity": "sha512-czlEbsfn+82QOZO1DNLsiUk2CGakfDpqEoJlVTBUnQOLi1gJnjIqEt3EoMd1BKCjEa7zp5OieBiV/na163XTNA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-rpc-provider/-/bitcoin-rpc-provider-0.8.4.tgz", + "integrity": "sha512-Up5qyuefOuh4YxIaZjRufxCUFR/GmyVFOq4NJN52IYj0F91W9K6WqeZL1SvpAQgQwz/xSDHSo28PwEQDdDSzMg==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-utils": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/jsonrpc-provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/bitcoin-utils": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/jsonrpc-provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "lodash": "^4.17.20" }, @@ -1989,15 +1989,15 @@ } }, "@liquality/bitcoin-swap-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-swap-provider/-/bitcoin-swap-provider-0.8.3.tgz", - "integrity": "sha512-EG7SgFwu2y4MK1SGxRk6NSbXfg1qiVHogvfBMuujZE/PaQUhB/YnvkXssyBzTsSNUR24z1CQ1+2eQ6+CPmNvKg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-swap-provider/-/bitcoin-swap-provider-0.8.4.tgz", + "integrity": "sha512-MAGvGqzDtRg9bOIzNUbbVSNBpq0TjElijeFPJXXeUpBegKAloOiVikTmE61//z1MvTzluLIh/kQ40mW4Kful5w==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-networks": "^0.8.3", - "@liquality/bitcoin-utils": "^0.8.3", - "@liquality/provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/bitcoin-networks": "^0.8.4", + "@liquality/bitcoin-utils": "^0.8.4", + "@liquality/provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "bitcoinjs-lib": "^5.2.0" }, @@ -2013,14 +2013,14 @@ } }, "@liquality/bitcoin-utils": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-utils/-/bitcoin-utils-0.8.3.tgz", - "integrity": "sha512-OKKLVCgMKf4uWPWG/DLrSLxYMVSIj07t4om1EhOilZ/BOWSXUDx39L71BWIpeh4rPBqfGiaQq2lTIQhLvtcQ8A==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-utils/-/bitcoin-utils-0.8.4.tgz", + "integrity": "sha512-DkN+Xcno1P1SphFt4vAvk1lrBaWXy6ViJnXjfJ9e9kIjIUihsBAzWiYyvAtmXQey4tNFpexxQpP2tBVOpnSYJA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-networks": "^0.8.3", - "@liquality/crypto": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/bitcoin-networks": "^0.8.4", + "@liquality/crypto": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "bip174": "^2.0.1", "bitcoinjs-lib": "^5.2.0", @@ -2044,13 +2044,13 @@ } }, "@liquality/bitcoin-wallet-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/bitcoin-wallet-provider/-/bitcoin-wallet-provider-0.8.3.tgz", - "integrity": "sha512-SECPTyrr8BANmEQT0Nt6VYBWlPCK1WBSoPsaqex5i68eC3oPUBK0bjKmEaWi5e+0GHas35KPpAv8iyUg09Z3ug==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/bitcoin-wallet-provider/-/bitcoin-wallet-provider-0.8.4.tgz", + "integrity": "sha512-SyB/WdMzQPT6zxUOIqf673RNqDS+7UizpZmLCVEWEyjvjoDzdlL1aFiZD1H0/yi5LpL/+F7zmvq6sGm4mgW3aw==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/bitcoin-utils": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/bitcoin-utils": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "bitcoinjs-lib": "^5.2.0" }, @@ -2066,14 +2066,14 @@ } }, "@liquality/client": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/client/-/client-0.8.3.tgz", - "integrity": "sha512-2wm0dw/XFu5rOtvt/+6mBOrYaTWnEbfliPwR9Y/zulwjhJ+1Mtv/EIb1tzwYre0xAnFpVBanIy6h58WjRShFdw==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/client/-/client-0.8.4.tgz", + "integrity": "sha512-1HNq/WdolceEiwEERAj+kYRtWvJM8hZP5UYIXQKvBbDUJYM9R+LSYl1WpDDNyMRM3WahMOUGHyz+jp7MIcMlVQ==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/schema": "^0.8.3", + "@liquality/crypto": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/schema": "^0.8.4", "ajv": "^6.10.0", "bignumber.js": "^9.0.0", "debug": "^4.1.1", @@ -2096,9 +2096,9 @@ } }, "@liquality/crypto": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/crypto/-/crypto-0.8.3.tgz", - "integrity": "sha512-nb4Za32yjD15aSjdqZxVnjjpGy93c69yH35lPV/1RwUmRQDauMCUHIjzid/H42e2IvO9/USEpZQI+E+8sHOgwg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/crypto/-/crypto-0.8.4.tgz", + "integrity": "sha512-pr0OhgP4wW+N1HA6FLct9YTCE4D7Yt9PLWZ3lKY7NI7yHdpixw+rnwVnjVReaAePlCQWfWTOLeatgj3+LJmySg==", "requires": { "@babel/runtime": "^7.12.1", "bech32": "^1.1.3", @@ -2136,9 +2136,9 @@ } }, "@liquality/debug": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/debug/-/debug-0.8.3.tgz", - "integrity": "sha512-pBtgGtSbi1B+I4p5LOoR8+rnIKeZD0PL6yuQ9gdrJKRYggiIdVIAnfMphRuZmuB1oz+7Xl4bvNTjcDZ+gP3+HA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/debug/-/debug-0.8.4.tgz", + "integrity": "sha512-0LH3mi03ggTPG+/I0L4Il3DXoPDW2wIQu7J6t6iNga1w1KlYvJVxg0AmOlbyFwi0AW6WyMqnbvulWmjpPpgZgA==", "requires": { "@babel/runtime": "^7.12.1", "debug": "^4.1.1" @@ -2155,9 +2155,9 @@ } }, "@liquality/errors": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/errors/-/errors-0.8.3.tgz", - "integrity": "sha512-9MT4SFxX9AM4NGqgSyjuYXbK45t9zAvKgMxyl91jnHXLsPoxcGVBBQBSwZ1q4xIrvJn0SVwV4zt9pMdiTVWaUg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/errors/-/errors-0.8.4.tgz", + "integrity": "sha512-AfU+lRi6kn5unf4wBcxuY4pQkaL5RVHcYI5E4JnN27J37D9VQO0ZzFlWexVR52yOHo/cLc1FLvytewUkg/P1SA==", "requires": { "@babel/runtime": "^7.12.1", "standard-error": "^1.1.0" @@ -2174,15 +2174,15 @@ } }, "@liquality/ethereum-erc20-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-erc20-provider/-/ethereum-erc20-provider-0.8.3.tgz", - "integrity": "sha512-oUM77E62fwMWwDmgRPZV1SUicjU7XaofFjoACB4iRPumfmVEJb+J81qf7yo8Ct/Lz+kKlNcq9x74hwrSwmoQBA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-erc20-provider/-/ethereum-erc20-provider-0.8.4.tgz", + "integrity": "sha512-eQ2h0WFdFzdb+OYuusa8Xldr1/xNn6M4arhMk1aa1LgIpiEzshcjszbKRcpyKeQulfh3VKaLh3FF5TLYRXfSeQ==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3", - "@liquality/provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/crypto": "^0.8.4", + "@liquality/ethereum-utils": "^0.8.4", + "@liquality/provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "lodash": "^4.17.20" }, @@ -2203,15 +2203,15 @@ } }, "@liquality/ethereum-erc20-scraper-swap-find-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-erc20-scraper-swap-find-provider/-/ethereum-erc20-scraper-swap-find-provider-0.8.3.tgz", - "integrity": "sha512-GuFlS18+5pO2T8bxX2ZPhKelRilb47obIgrMjva3zvi9/4SUF79lLmDIWmgYDyTH6rPzF8pIGOUIaly0dBVn/g==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-erc20-scraper-swap-find-provider/-/ethereum-erc20-scraper-swap-find-provider-0.8.4.tgz", + "integrity": "sha512-9tn01/5mRCDjgzajTvKKJ59vLRdbmhF3WOI+8fuszJU5Tjqp5k59kQqBXvpTP8F0eNOM/uKnmgb5otdZ5QgEEg==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/errors": "^0.8.3", - "@liquality/ethereum-erc20-swap-provider": "^0.8.3", - "@liquality/ethereum-scraper-swap-find-provider": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3" + "@liquality/errors": "^0.8.4", + "@liquality/ethereum-erc20-swap-provider": "^0.8.4", + "@liquality/ethereum-scraper-swap-find-provider": "^0.8.4", + "@liquality/ethereum-utils": "^0.8.4" }, "dependencies": { "@babel/runtime": { @@ -2225,16 +2225,16 @@ } }, "@liquality/ethereum-erc20-swap-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-erc20-swap-provider/-/ethereum-erc20-swap-provider-0.8.3.tgz", - "integrity": "sha512-CIjC4TRxaSidLrnNas5LtXTB9BLW/VRVbSXv3ODVlYW/I4Ts+eJjR7trPeDLnT7PBgszMgiIRfacyEetKUYZOw==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-erc20-swap-provider/-/ethereum-erc20-swap-provider-0.8.4.tgz", + "integrity": "sha512-2OuYLOvZBKeXHcej0XvddQCDcIc+HbvVVgutYtFrHBFk9buEU/FiI1+lxLOe/HvBHSm4xzB+NTAcFSgkNkssQA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3", - "@liquality/provider": "^0.8.3", - "@liquality/utils": "^0.8.3" + "@liquality/crypto": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/ethereum-utils": "^0.8.4", + "@liquality/provider": "^0.8.4", + "@liquality/utils": "^0.8.4" }, "dependencies": { "@babel/runtime": { @@ -2248,12 +2248,12 @@ } }, "@liquality/ethereum-gas-station-fee-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-gas-station-fee-provider/-/ethereum-gas-station-fee-provider-0.8.3.tgz", - "integrity": "sha512-fxWrSQyNTKS9pr4qFWg97TM2+fQU0jPsnu78oHRkygfp05vMNi0erwzBmtLy0XCPf9t2v0TLRc0+UFhuRhDAsw==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-gas-station-fee-provider/-/ethereum-gas-station-fee-provider-0.8.4.tgz", + "integrity": "sha512-D1QsAxNAZp+YdWuqk0WM4EssYKpHUOjDuJ7DOYmYNdTQhibyZIQM65OaLTV9HFj8IdoN9w7PCVTwsXzLLpA7YA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/node-provider": "^0.8.3", + "@liquality/node-provider": "^0.8.4", "bignumber.js": "^9.0.0" }, "dependencies": { @@ -2268,15 +2268,14 @@ } }, "@liquality/ethereum-js-wallet-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-js-wallet-provider/-/ethereum-js-wallet-provider-0.8.3.tgz", - "integrity": "sha512-T+uL3theKtLtkcPvd9KK1w8h7E4AJ3DXhESD5//cCdmiyhaY8pBGAmnRM+iaWcmgkMyHI0G/DBHQEwH19YTedQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-js-wallet-provider/-/ethereum-js-wallet-provider-0.8.4.tgz", + "integrity": "sha512-KJV/8YdmLzpkZ+cBBUQkhmE5lbE3nlXovyRKiUQ+9LjV5jJnOm+sL9fZtO/twnVlGQ0MOM4sWHryWla/50ScHA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3", - "@liquality/provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/ethereum-utils": "^0.8.4", + "@liquality/provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "bip39": "^3.0.2", "ethereumjs-common": "^1.4.0", @@ -2296,9 +2295,9 @@ } }, "@liquality/ethereum-networks": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-networks/-/ethereum-networks-0.8.3.tgz", - "integrity": "sha512-ZBK2GCvEcZiWUMHdUlAQkIuPnW7EwtFP/1fUvkkAjWYcV50Awulo1UOS67FQZgJmVpFqzOq3Eq/3TaFZgmbv6A==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-networks/-/ethereum-networks-0.8.4.tgz", + "integrity": "sha512-fbSJZU/k3U/JiXSMfO7MH3owMPasUrmQ6kuB4yQ74WfeQF8HVCUnQciVkJu5uVZDcBLf3rBZ684JXLzlSrMULg==", "requires": { "@babel/runtime": "^7.12.1" }, @@ -2314,12 +2313,12 @@ } }, "@liquality/ethereum-rpc-fee-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-rpc-fee-provider/-/ethereum-rpc-fee-provider-0.8.3.tgz", - "integrity": "sha512-f+juK1TILEQCIUoXqcroeE1CfTeSQU1cx28KV8Spza/YzV6DBIg5cYBEXAGeGd4o4fFvSNaIORbkmMT6CKmOwA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-rpc-fee-provider/-/ethereum-rpc-fee-provider-0.8.4.tgz", + "integrity": "sha512-az5FT2nvw8NJ6w/3rMKpn/vj4nlKC0O9572oEGg6SYqLRPuPpUrEyPAuAhios4kIMRQE+gWRYn8lk0IzYt27Kw==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/provider": "^0.8.3", + "@liquality/provider": "^0.8.4", "bignumber.js": "^9.0.0" }, "dependencies": { @@ -2334,16 +2333,16 @@ } }, "@liquality/ethereum-rpc-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-rpc-provider/-/ethereum-rpc-provider-0.8.3.tgz", - "integrity": "sha512-3G+lkFQ961h6xNs0B+LZWW+Yp9dozE7h8ccM14BBkJOO2L3vWXggk75Mrmcd2/27RnbgkkV7wNCcFfeSltGBhw==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-rpc-provider/-/ethereum-rpc-provider-0.8.4.tgz", + "integrity": "sha512-1NdUuAAKX865cJY6+vAcsgJ3AYAStsnY21A7C3DfAbnj2fCbpwYQ/5NeVn2Gjt6y3cHcoP0Ve5glh88kMcgYgA==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3", - "@liquality/jsonrpc-provider": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/crypto": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/ethereum-utils": "^0.8.4", + "@liquality/jsonrpc-provider": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "lodash": "^4.17.20" }, @@ -2364,15 +2363,15 @@ } }, "@liquality/ethereum-scraper-swap-find-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-scraper-swap-find-provider/-/ethereum-scraper-swap-find-provider-0.8.3.tgz", - "integrity": "sha512-qwmhTUIarC0efCWO1yepLEEzHD5+zzrUKmqqbv93NvFm1dOqPCqk0Eu6Jro97q53crXLUuHRFlBU7aSeqRkfdA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-scraper-swap-find-provider/-/ethereum-scraper-swap-find-provider-0.8.4.tgz", + "integrity": "sha512-ZCS4JTgsCt4erad/oShooNy/mQgeZXZwWE/U6phIIHL+ojEF9bCsf4JGjSh4dn3G5H3gqiJ+CKGrmyUjbF5x0Q==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/errors": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3", - "@liquality/node-provider": "^0.8.3", - "@liquality/utils": "^0.8.3" + "@liquality/errors": "^0.8.4", + "@liquality/ethereum-utils": "^0.8.4", + "@liquality/node-provider": "^0.8.4", + "@liquality/utils": "^0.8.4" }, "dependencies": { "@babel/runtime": { @@ -2386,16 +2385,16 @@ } }, "@liquality/ethereum-swap-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-swap-provider/-/ethereum-swap-provider-0.8.3.tgz", - "integrity": "sha512-jouKp4RItpIPkOZSCH2qiGxG8fMgrMaT9V2fR41HoK8WwUhYyztMklNkUrY1eNm3HnqBOC/W+lwB9wxmkgezcg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-swap-provider/-/ethereum-swap-provider-0.8.4.tgz", + "integrity": "sha512-pmJmoR4gsS0UJCswiSBZruuoNlU+msfm2QFPeCBlhGPTmdgX0P1QNPn4bdmuQAEzCQyoAP1/XGGrsti3Jp0A9g==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/ethereum-utils": "^0.8.3", - "@liquality/provider": "^0.8.3", - "@liquality/utils": "^0.8.3" + "@liquality/crypto": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/ethereum-utils": "^0.8.4", + "@liquality/provider": "^0.8.4", + "@liquality/utils": "^0.8.4" }, "dependencies": { "@babel/runtime": { @@ -2409,14 +2408,14 @@ } }, "@liquality/ethereum-utils": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/ethereum-utils/-/ethereum-utils-0.8.3.tgz", - "integrity": "sha512-LGYecbzs7fWSEiR+yrJ7i1Gr14MHIzLK66pzTx0D4Ji8PcBKyOsr7fGClrYdlTyr+kRqp1ZgfXVXI9WvpXxj1g==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/ethereum-utils/-/ethereum-utils-0.8.4.tgz", + "integrity": "sha512-2/J9lQmxKfeoyNVK4V0hUDTUKT50WE88FGtll6fLVYXUILBFLmyKOGyyVUCIe425eEynXoG3E2h+yEZC9MdXJg==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/crypto": "^0.8.3", - "@liquality/schema": "^0.8.3", - "@liquality/utils": "^0.8.3", + "@liquality/crypto": "^0.8.4", + "@liquality/schema": "^0.8.4", + "@liquality/utils": "^0.8.4", "bignumber.js": "^9.0.0", "eip55": "^1.0.3", "lodash": "^4.17.20" @@ -2438,14 +2437,14 @@ } }, "@liquality/jsonrpc-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/jsonrpc-provider/-/jsonrpc-provider-0.8.3.tgz", - "integrity": "sha512-49Y8aUpKQncXTGdJo+MPMBRG4HnUCFi2ma7Rgq7180ale1wAX0CZHYMWNyfG/oDPLjfaC42qClhjiuCfYhzWXg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/jsonrpc-provider/-/jsonrpc-provider-0.8.4.tgz", + "integrity": "sha512-64ABbQ8zllJf3q3jI5rY7aPBjUmvESBCExqXs4YST/rc3ZnwGSKGn3zgrO3atsMsAslintYqduAngvxNN/4+EQ==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/debug": "^0.8.3", - "@liquality/errors": "^0.8.3", - "@liquality/node-provider": "^0.8.3", + "@liquality/debug": "^0.8.4", + "@liquality/errors": "^0.8.4", + "@liquality/node-provider": "^0.8.4", "json-bigint": "^1.0.0", "lodash": "^4.17.20" }, @@ -2466,13 +2465,13 @@ } }, "@liquality/node-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/node-provider/-/node-provider-0.8.3.tgz", - "integrity": "sha512-PAQstHYAY8nMxrMjDErI9dMbLl2L4A3ZmRJmOL01hByPIr4+MH2thG3lzRzijp7qxVVsqIzhNN5jFrnWXeN+mg==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/node-provider/-/node-provider-0.8.4.tgz", + "integrity": "sha512-5++VVQfRBkU2BfuIPK2WVLXfVeKJEKJ5f5n7LrMKqW47cIilq5hX2rmmYHbkbdXrl/dzbUC+z/osQcUkPGsiZQ==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/errors": "^0.8.3", - "@liquality/provider": "^0.8.3", + "@liquality/errors": "^0.8.4", + "@liquality/provider": "^0.8.4", "axios": "^0.21.0", "lodash": "^4.17.20" }, @@ -2493,9 +2492,9 @@ } }, "@liquality/provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/provider/-/provider-0.8.3.tgz", - "integrity": "sha512-ylBeIzgARRJ43lLubBHfOdkF75w5CZ3EC+IC2YB6jzqb4FXAMb2qRa3LIxRsDF0qYtOmwcmYAlpCDskxggnwlQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/provider/-/provider-0.8.4.tgz", + "integrity": "sha512-DuiKagGd2fg5D5yWoxPfA0Hxwhkk+lKvpSDHpTa4HRoVE1I8XHifvigB0jpGjhyTE4XKlP8HQJ/dXatWvwY0NQ==", "requires": { "@babel/runtime": "^7.12.1" }, @@ -2511,9 +2510,9 @@ } }, "@liquality/schema": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/schema/-/schema-0.8.3.tgz", - "integrity": "sha512-Fk2p2qbAFO9v3EA/Uf4OyeTRdHF14SunqKXjVrqMm7tOQbIYpYBBNNk6hdjgeCnuxLGQHLL7dltl+fqfag1rjA==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/schema/-/schema-0.8.4.tgz", + "integrity": "sha512-H/76kiSJ4z9FSAkpL1gxA+ECOgObRuhKzr/gmZ2Q44ChYVPlYUn3Rs3rHwkkUc3NSQX1z7HPYQ76i7rCx21ehQ==", "requires": { "@babel/runtime": "^7.12.1" }, @@ -2529,9 +2528,9 @@ } }, "@liquality/utils": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/utils/-/utils-0.8.3.tgz", - "integrity": "sha512-F8WSE3Q5NL2OWrgvWhOneOr0MuQUg2SPSPfdRMPoCXrhHrqkCyQnrMZrEA4+M5fr2Os9/SUs1XX5B3omdY6AeQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/utils/-/utils-0.8.4.tgz", + "integrity": "sha512-rF7qW71EuH1XuP4Juqvs4DID1GZAA6v+E46v6KXlevJJzrIhyeeRQbbDjBqqOAPWWDUVyet/3P8Nwzj++xdRPg==", "requires": { "@babel/runtime": "^7.12.1" }, @@ -2547,13 +2546,13 @@ } }, "@liquality/wallet-provider": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/@liquality/wallet-provider/-/wallet-provider-0.8.3.tgz", - "integrity": "sha512-XtOCU2UBH1jfQzyDQGjhEVM2/JysFlWdobEdcCg3e2827Zklc+fm9WzSGE3wJeROPrFxuIYcnIz8pxy6nRS1pQ==", + "version": "0.8.4", + "resolved": "https://registry.npmjs.org/@liquality/wallet-provider/-/wallet-provider-0.8.4.tgz", + "integrity": "sha512-UnYuyg2EVkYGJGZx3olfcWk+FtBdvJr5M5LjxRxy73FHJ7MiHWC9Urkzng184GCzpUAzHkhoKbyb61qbQ8q8WQ==", "requires": { "@babel/runtime": "^7.12.1", - "@liquality/errors": "^0.8.3", - "@liquality/provider": "^0.8.3", + "@liquality/errors": "^0.8.4", + "@liquality/provider": "^0.8.4", "lodash": "^4.17.20" }, "dependencies": { diff --git a/package.json b/package.json index 7827d2b61..c2869ee7e 100644 --- a/package.json +++ b/package.json @@ -18,27 +18,27 @@ "postinstall": "husky install" }, "dependencies": { - "@liquality/bitcoin-earn-fee-provider": "^0.8.3", - "@liquality/bitcoin-esplora-batch-api-provider": "^0.8.3", - "@liquality/bitcoin-esplora-swap-find-provider": "^0.8.3", - "@liquality/bitcoin-js-wallet-provider": "^0.8.3", - "@liquality/bitcoin-networks": "^0.8.3", - "@liquality/bitcoin-rpc-fee-provider": "^0.8.3", - "@liquality/bitcoin-rpc-provider": "^0.8.3", - "@liquality/bitcoin-swap-provider": "^0.8.3", - "@liquality/client": "^0.8.3", - "@liquality/crypto": "^0.8.3", + "@liquality/bitcoin-earn-fee-provider": "^0.8.4", + "@liquality/bitcoin-esplora-batch-api-provider": "^0.8.4", + "@liquality/bitcoin-esplora-swap-find-provider": "^0.8.4", + "@liquality/bitcoin-js-wallet-provider": "^0.8.4", + "@liquality/bitcoin-networks": "^0.8.4", + "@liquality/bitcoin-rpc-fee-provider": "^0.8.4", + "@liquality/bitcoin-rpc-provider": "^0.8.4", + "@liquality/bitcoin-swap-provider": "^0.8.4", + "@liquality/client": "^0.8.4", + "@liquality/crypto": "^0.8.4", "@liquality/cryptoassets": "^0.2.4", - "@liquality/ethereum-erc20-provider": "^0.8.3", - "@liquality/ethereum-erc20-scraper-swap-find-provider": "^0.8.3", - "@liquality/ethereum-erc20-swap-provider": "^0.8.3", - "@liquality/ethereum-gas-station-fee-provider": "^0.8.3", - "@liquality/ethereum-js-wallet-provider": "^0.8.3", - "@liquality/ethereum-networks": "^0.8.3", - "@liquality/ethereum-rpc-fee-provider": "^0.8.3", - "@liquality/ethereum-rpc-provider": "^0.8.3", - "@liquality/ethereum-scraper-swap-find-provider": "^0.8.3", - "@liquality/ethereum-swap-provider": "^0.8.3", + "@liquality/ethereum-erc20-provider": "^0.8.4", + "@liquality/ethereum-erc20-scraper-swap-find-provider": "^0.8.4", + "@liquality/ethereum-erc20-swap-provider": "^0.8.4", + "@liquality/ethereum-gas-station-fee-provider": "^0.8.4", + "@liquality/ethereum-js-wallet-provider": "^0.8.4", + "@liquality/ethereum-networks": "^0.8.4", + "@liquality/ethereum-rpc-fee-provider": "^0.8.4", + "@liquality/ethereum-rpc-provider": "^0.8.4", + "@liquality/ethereum-scraper-swap-find-provider": "^0.8.4", + "@liquality/ethereum-swap-provider": "^0.8.4", "bignumber.js": "^9.0.0", "bip39": "^3.0.2", "bluebird": "^3.7.2", diff --git a/src/views/PermissionSign.vue b/src/views/PermissionSign.vue index 9f30adcdd..486f871f8 100644 --- a/src/views/PermissionSign.vue +++ b/src/views/PermissionSign.vue @@ -70,7 +70,10 @@ export default { try { await this.replyPermission({ - request: this.request, + request: { + ...this.request, + args: [this.message, this.request.args[1]] + }, allowed }) this.replied = true