From bf810453c64c5dce9c95cae7ac774ae230fd10bc Mon Sep 17 00:00:00 2001 From: Ross Bulat Date: Mon, 29 Jan 2024 17:14:25 +0800 Subject: [PATCH] chore: merge 1.1.3 commit history (#61) * chore(deps): bump @polkawatch/ddp-client from 2.0.9 to 2.0.10 (#1642) * chore(deps): bump framer-motion from 10.16.4 to 10.16.5 (#1643) * chore(deps): bump react-i18next from 13.4.1 to 13.5.0 (#1644) * chore(main): release 1.2.0 (#1592) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * chore(deps): bump @polkadot-cloud/core from 1.0.46 to 1.0.48 (#1645) * chore(deps-dev): bump @vitejs/plugin-react-swc from 3.4.1 to 3.5.0 (#1646) * chore(deps): bump react-router-dom from 6.18.0 to 6.19.0 (#1648) * chore(deps): bump @polkadot-cloud/react from 0.1.129 to 0.1.130 (#1647) * chore: update cloud URL * chore(deps-dev): bump vite-plugin-svgr from 4.1.0 to 4.2.0 (#1649) * chore: fix text * chore(deps-dev): bump gh-pages from 6.0.0 to 6.1.0 (#1653) * chore(deps-dev): bump @typescript-eslint/parser from 6.11.0 to 6.12.0 (#1652) * chore(deps-dev): bump typescript from 5.2.2 to 5.3.2 (#1656) * chore(deps): bump @polkadot/rpc-provider from 10.10.1 to 10.11.1 (#1657) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.11.0 to 6.12.0 (#1659) * chore(deps): bump @polkadot/api from 10.10.1 to 10.11.1 (#1658) * chore(deps-dev): bump eslint from 8.53.0 to 8.54.0 (#1655) * chore(deps): bump @polkadot-cloud/react from 0.1.130 to 0.1.134 (#1654) * chore(deps-dev): bump @types/react from 18.2.37 to 18.2.38 (#1661) * chore(deps-dev): bump @types/react-dom from 18.2.15 to 18.2.16 (#1664) * chore(deps-dev): bump @types/react-dom from 18.2.16 to 18.2.17 (#1667) * chore(deps): bump react-router-dom from 6.19.0 to 6.20.0 (#1668) * chore(deps-dev): bump @ledgerhq/logs from 6.11.0 to 6.12.0 (#1669) * chore(deps): bump @ledgerhq/hw-transport-webhid from 6.27.20 to 6.28.0 (#1670) * chore(deps-dev): bump @typescript-eslint/parser from 6.12.0 to 6.13.0 (#1675) * chore(deps-dev): bump @types/react from 18.2.38 to 18.2.39 (#1677) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.12.0 to 6.13.0 (#1676) * chore(deps): bump @polkadot/util-crypto from 12.5.1 to 12.6.1 (#1663) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump @fortawesome/fontawesome-svg-core from 6.4.2 to 6.5.0 (#1679) * chore(deps): bump i18next from 23.7.6 to 23.7.7 (#1681) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.0 to 6.13.1 (#1683) * chore(deps): bump @fortawesome/free-solid-svg-icons from 6.4.2 to 6.5.0 (#1680) * chore(deps-dev): bump @typescript-eslint/parser from 6.13.0 to 6.13.1 (#1684) * chore(deps): bump @fortawesome/free-regular-svg-icons from 6.4.2 to 6.5.0 (#1682) * chore(deps): bump @fortawesome/free-brands-svg-icons from 6.4.2 to 6.5.0 (#1685) * chore(deps): bump framer-motion from 10.16.5 to 10.16.7 (#1688) * chore(deps): bump @substrate/connect from 0.7.35 to 0.8.0 (#1691) * Add paged rewards support (#1678) * chore(deps): bump rc-slider from 10.4.0 to 10.5.0 (#1693) * chore(deps): bump framer-motion from 10.16.7 to 10.16.9 (#1694) * chore(deps): bump @fortawesome/fontawesome-svg-core from 6.5.0 to 6.5.1 (#1697) * chore(deps): bump framer-motion from 10.16.9 to 10.16.12 (#1699) * chore(deps): bump react-router-dom from 6.20.0 to 6.20.1 (#1700) * chore(deps): bump @fortawesome/free-regular-svg-icons from 6.5.0 to 6.5.1 (#1698) * chore(deps): bump @fortawesome/free-brands-svg-icons from 6.5.0 to 6.5.1 (#1701) * chore(deps): bump @fortawesome/free-solid-svg-icons from 6.5.0 to 6.5.1 (#1696) * chore: fix polkadot cloud url * chore(deps-dev): bump eslint from 8.54.0 to 8.55.0 (#1705) * chore(deps): bump @polkadot-cloud/core from 1.0.48 to 1.0.49 (#1711) * chore(deps-dev): bump @typescript-eslint/parser from 6.13.1 to 6.13.2 (#1710) * chore(deps-dev): bump @types/react from 18.2.39 to 18.2.42 (#1713) * chore(deps-dev): bump eslint-config-prettier from 9.0.0 to 9.1.0 (#1708) * chore(deps): bump framer-motion from 10.16.12 to 10.16.14 (#1714) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.1 to 6.13.2 (#1715) * chore(deps-dev): bump @types/react-helmet from 6.1.9 to 6.1.11 (#1717) * chore(deps-dev): bump typescript from 5.3.2 to 5.3.3 (#1719) * chore(deps): bump @substrate/connect from 0.8.0 to 0.8.2 (#1720) * chore(deps): bump i18next from 23.7.7 to 23.7.8 (#1721) * chore(deps-dev): bump vite-tsconfig-paths from 4.2.1 to 4.2.2 (#1723) * chore(deps): bump framer-motion from 10.16.14 to 10.16.15 (#1724) * chore(deps): bump @substrate/connect from 0.8.2 to 0.8.3 (#1725) * chore(deps): bump framer-motion from 10.16.15 to 10.16.16 (#1728) * chore(deps): bump @polkadot-cloud/core from 1.0.49 to 1.0.50 (#1729) * chore: release please v4 * chore: chart.js 4.4.1 fixes * chore: dep bumps * chore(deps): bump actions/stale from 8 to 9 (#1726) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ross Bulat * chore: fix file name * bump polkadot daps * chore: trigger publish * fix: incorrect use of ?? operand * chore: ?? to || * fix(worker): add worker format * chore: bump react * chore: bump react * chore: bump react * chore: bump cloud * chore(deps-dev): bump @typescript-eslint/parser from 6.13.2 to 6.14.0 (#1735) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.13.2 to 6.14.0 (#1736) * chore(deps): bump @ledgerhq/hw-transport-webhid from 6.28.0 to 6.28.1 (#1737) * chore(deps-dev): bump vite from 5.0.7 to 5.0.8 (#1738) * chore(deps): bump i18next from 23.7.8 to 23.7.9 (#1739) * chore(deps): bump react-router-dom from 6.20.1 to 6.21.0 (#1740) * chore(deps-dev): bump @types/react from 18.2.43 to 18.2.45 (#1741) * chore(deps): bump i18next from 23.7.9 to 23.7.10 (#1742) * chore(deps-dev): bump vite from 5.0.8 to 5.0.9 (#1744) * chore(deps-dev): bump eslint-plugin-import from 2.29.0 to 2.29.1 (#1745) * chore(deps): bump react-error-boundary from 4.0.11 to 4.0.12 (#1748) * chore(deps-dev): bump vite from 5.0.9 to 5.0.10 (#1749) * chore: bump * chore: bump vite-bundle-visualizer * feat: add docs folder (#1753) * feat: upgrade from yarn classic to yarn modern (berry) (#1752) * feat: Pool commission provider, compartmentalise forms of commission properties (#1755) * chore: use cloud withTimeout * chore(deps): bump @polkadot-cloud/core from 1.0.51 to 1.1.0 (#1756) * chore(deps): bump @polkadot/rpc-provider from 10.11.1 to 10.11.2 (#1758) * chore(deps-dev): bump @typescript-eslint/parser from 6.14.0 to 6.15.0 (#1761) * chore(deps): bump @polkadot-cloud/react from 0.1.146 to 0.2.0 (#1757) * chore(deps): bump @polkadot/keyring from 12.6.1 to 12.6.2 (#1762) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.14.0 to 6.15.0 (#1764) * chore(deps): bump @polkadot-cloud/utils from 0.0.34 to 0.1.0 (#1766) * chore(deps): bump @polkadot/util from 12.6.1 to 12.6.2 (#1763) * chore(deps): bump @polkadot-cloud/assets from 0.1.38 to 0.2.0 (#1765) * chore(deps): bump @polkadot/api from 10.11.1 to 10.11.2 (#1767) * chore: bumps * feat(refactor): useless fragments, linting tidy up (#1768) * refactor: minimise props and memo (#1770) * chore: re-order plugins * chore(deps-dev): bump eslint-plugin-prettier from 5.0.1 to 5.1.0 (#1771) * chore(deps-dev): bump vitest from 1.0.4 to 1.1.0 (#1772) * feat(refactor): Remove explicit `any` types project-wide (#1773) * feat(refactor): Split pool types, replace explicit any types (#1774) * feat(refactor): Notifications as `CustomEvent` emission (#1775) * chore(deps): bump @polkadot-cloud/react from 0.2.0 to 0.2.1 (#1778) * chore(deps): bump @polkadot-cloud/utils from 0.1.0 to 0.1.1 (#1779) * feat(refactor): Use Cloud `LedgerAccounts` context (#1782) * chore: replace any types * chore: type fixes * chore: fixes * chore: disable rule * chore: fix * chore(deps): bump styled-components from 6.1.1 to 6.1.2 (#1781) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: patch core * chore: fix styled components * chore(deps-dev): bump eslint-plugin-prettier from 5.1.0 to 5.1.1 (#1785) * chore(deps): bump @dotlottie/player-component from 2.7.2 to 2.7.3 (#1786) * chore(deps): bump react-router-dom from 6.21.0 to 6.21.1 (#1787) * bump cloud deps * chore: remove explit any 3 (#1788) * chore: amend typescript support * chore: amend releases * chore: fix styling * chore(deps): bump styled-components from 6.1.2 to 6.1.3 (#1791) * feat(refactor): Remove remaining explicit `any` types, turn on `no-explicit-any` (#1792) * feat(refactor): add stylistic eslint rules (#1793) * feat(refactor): enforce curly, braces as needed (#1795) * chore(deps): bump react-i18next from 13.5.0 to 14.0.0 (#1784) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore(deps): bump date-fns from 2.30.0 to 3.0.6 (#1790) Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * feat(refactor): Pool members list to canvas (#1796) Co-authored-by: TingALin * chore: fix remaining * chore(deps-dev): bump eslint-plugin-prettier from 5.1.1 to 5.1.2 (#1797) * chore(deps-dev): bump gh-pages from 6.1.0 to 6.1.1 (#1798) * chore(deps-dev): bump @typescript-eslint/parser from 6.15.0 to 6.16.0 (#1799) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.15.0 to 6.16.0 (#1800) * chore(deps): bump @dotlottie/player-component from 2.7.3 to 2.7.4 (#1801) * feat(refactor): use `html5-qrcode`, remove `react-qr-reader` (#1802) * chore: clean up * chore: cheanup * chore: rm comment * chore: reset callback * chore: context defaults * chore(deps): bump styled-components from 6.1.3 to 6.1.6 (#1803) * chore: usehooks-ts `useEventListener` * fix: replace MAX_EXPOSURE_PAGE_SIZE * chore(deps): bump i18next from 23.7.11 to 23.7.12 (#1804) * chore(deps-dev): bump @types/react from 18.2.45 to 18.2.46 (#1805) * chore(deps): bump @dotlottie/player-component from 2.7.4 to 2.7.5 (#1806) * chore(deps-dev): bump vite-tsconfig-paths from 4.2.2 to 4.2.3 (#1807) * chore(deps-dev): bump sass from 1.69.5 to 1.69.6 (#1808) * chore(deps): bump i18next from 23.7.12 to 23.7.13 (#1809) * chore(deps-dev): bump @typescript-eslint/parser from 6.16.0 to 6.17.0 (#1810) * chore(deps-dev): bump vitest from 1.1.0 to 1.1.1 (#1812) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.16.0 to 6.17.0 (#1811) * chore(deps): bump i18next from 23.7.13 to 23.7.14 (#1813) * chore(deps): bump framer-motion from 10.16.16 to 10.17.0 (#1814) * chore(deps): bump @substrate/connect from 0.8.3 to 0.8.4 (#1815) * fix: Bond fixes (#1816) * chore(deps): bump framer-motion from 10.17.0 to 10.17.4 (#1818) * chore(deps-dev): bump sass from 1.69.6 to 1.69.7 (#1820) * chore(deps): bump i18next from 23.7.14 to 23.7.15 (#1819) * chore(deps): bump framer-motion from 10.17.4 to 10.17.6 (#1822) * chore(deps-dev): bump vitest from 1.1.1 to 1.1.2 (#1824) * chore(deps): bump i18next from 23.7.15 to 23.7.16 (#1823) * feat(refactor): remove ref from `OtherAccounts` (#1825) * feat(refactor): API to static class (#1826) * fix: ready after consts * chore: context & hook to top * chore: destructure React imports * feat: use `navigator.onLine` to handle api connection (#1827) * chore(deps-dev): bump vite from 5.0.10 to 5.0.11 (#1829) * chore(deps): bump framer-motion from 10.17.6 to 10.17.9 (#1830) * chore(deps): bump date-fns from 3.0.6 to 3.1.0 (#1831) * chore(deps-dev): bump vitest from 1.1.2 to 1.1.3 (#1832) * fix: read only account import, local account import (#1833) * fix: make odometer values copy-able (#1834) * feat(ux): block number in network bar (#1835) * chore: fixes * feat: offline recovery (#1836) * chore: refactor, minimise functions * chore: don't use ref * feat: add block verification interval (#1837) * chore: comment * feat: timeout multiplier (#1838) * chore(deps-dev): bump @typescript-eslint/parser from 6.17.0 to 6.18.0 (#1839) * chore(deps): bump usehooks-ts from 2.9.1 to 2.9.2 (#1841) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.17.0 to 6.18.0 (#1840) * chore(deps-dev): bump @types/react from 18.2.46 to 18.2.47 (#1843) * chore(deps): bump styled-components from 6.1.6 to 6.1.8 (#1842) * feat(refactor): types to all `useState` hooks (#1844) * some boilerplate, basic impl * chore: don't notify on block disconnect * chore: use api.registry.signedExtensions * chore(deps): bump date-fns from 3.1.0 to 3.2.0 (#1845) * chore(deps-dev): bump @typescript-eslint/eslint-plugin from 6.18.0 to 6.18.1 (#1847) * chore(deps): bump framer-motion from 10.17.9 to 10.17.12 (#1846) * chore(deps-dev): bump @typescript-eslint/parser from 6.18.0 to 6.18.1 (#1848) * chore: rm arr * feat: Introduce Average Reward Rate (#1849) Co-authored-by: Ting A Lin * chore: rm onFinality * chore: rm adjusted reward rate def * feat(refactor): simplify average reward rate label (#1850) * chore(deps): bump framer-motion from 10.17.12 to 10.18.0 (#1851) * chore(deps-dev): bump eslint-plugin-prettier from 5.1.2 to 5.1.3 (#1852) * chore(deps): bump react-router-dom from 6.21.1 to 6.21.2 (#1854) * fix: max bond fixes * patch assets * Revert "patch assets" This reverts commit 55f17ef2818fe19ed37a1314bd8c9aa87c901cdd. * feat: add P2P.org to community --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: TingALin