diff --git a/gatsby-config.js b/gatsby-config.js index 7764aa5..b210942 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -7,7 +7,7 @@ module.exports = { /* Your site config here */ plugins: [ - 'fullstack-gatsby-theme-bch-wallet' + 'fullstack-gatsby-theme-bch-wallet', // 'bch-wallet-plugin-postoffice', // { // resolve: 'gatsby-plugin-compile-es6-packages', @@ -16,7 +16,7 @@ module.exports = { // } // }, // require.resolve('/home/trout/work/psf/gatsby-plugin-bch-sweep') - // 'fullstack-gatsby-plugin-bch-sweep' + 'fullstack-gatsby-plugin-bch-sweep' // 'gatsby-plugin-bch-create-token' ], // https://www.gatsbyjs.com/docs/reference/release-notes/v2.28/#feature-flags-in-gatsby-configjs diff --git a/package-lock.json b/package-lock.json index ae091b5..f78b501 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13,6 +13,7 @@ "@capacitor/cli": "2.4.6", "@capacitor/core": "2.4.6", "adminlte-2-react": "0.2.0-beta.10", + "fullstack-gatsby-plugin-bch-sweep": "1.0.0", "fullstack-gatsby-theme-bch-wallet": "1.0.4", "gatsby": "4.4.0" }, @@ -14592,6 +14593,199 @@ "moment": "^2.20.1" } }, + "node_modules/fullstack-gatsby-plugin-bch-sweep": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/fullstack-gatsby-plugin-bch-sweep/-/fullstack-gatsby-plugin-bch-sweep-1.0.0.tgz", + "integrity": "sha512-yMRrqMqv7C3Pmil4odzV8VdC4d4mC4c+lJc5d6DJaqadNg3+Ns7msmCGn2Hfhq//hYbJzCQLMkS1o2gScbg2xA==", + "license": "MIT", + "dependencies": { + "adminlte-2-react": "^0.1.27" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/adminlte-2-react": { + "version": "0.1.31", + "resolved": "http://94.130.170.209:4873/adminlte-2-react/-/adminlte-2-react-0.1.31.tgz", + "integrity": "sha512-36XJA6/mgxXvbEcSpnvS/eacspTdKDLuOOOg9n3AXaqSkAz4YBUwZTYt77Olndue26BTCt+zeiUHttpFFERMLw==", + "license": "MIT", + "dependencies": { + "@fortawesome/fontawesome-svg-core": "^1.2.34", + "@fortawesome/free-brands-svg-icons": "^5.15.2", + "@fortawesome/free-regular-svg-icons": "^5.15.2", + "@fortawesome/free-solid-svg-icons": "^5.15.2", + "@fortawesome/react-fontawesome": "^0.1.14", + "bootstrap": "^3.3.7", + "browserify-css": "^0.15.0", + "datatables.net-bs": "^1.10.23", + "datatables.net-select-bs": "^1.3.1", + "fullcalendar": "^3.10.2", + "icheck": "^1.0.2", + "jquery": "^3.6.0", + "jquery-sparkline": "^2.4.0", + "jquery-ui": "^1.12.1", + "moment": "^2.29.1", + "prop-types": "^15.6.2", + "rc-slider": "^8.7.1", + "rc-tooltip": "^3.7.3", + "react": "^16.14.0", + "react-bootstrap": "^0.32.4", + "react-bootstrap-slider": "^2.2.3", + "react-dates": "^21.8.0", + "react-datetime": "^2.16.3", + "react-dom": "^16.14.0", + "react-draggable": "^4.4.3", + "react-fontawesome": "^1.7.1", + "react-ionicons": "^1.3.6", + "react-moment-proptypes": "^1.7.0", + "react-router-dom": "^4.3.1", + "react-router-prop-types": "^1.0.5", + "react-select": "^2.4.4", + "select2": "^4.0.13", + "source-sans-pro": "^2.45.0", + "uuid": "^3.4.0" + }, + "peerDependencies": { + "react": "^16.6.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/browserify-css": { + "version": "0.15.0", + "resolved": "http://94.130.170.209:4873/browserify-css/-/browserify-css-0.15.0.tgz", + "integrity": "sha512-ZgLHyZ16PH6P25JlBE+5xNtdobpkc5Egh+ctc8ha3GDtuZqSSQu0ovOxOQvXt0xAmaXixth/DY9iT56HlDOxyg==", + "license": "MIT", + "dependencies": { + "clean-css": "^4.1.5", + "concat-stream": "^1.6.0", + "css": "^2.2.1", + "find-node-modules": "^2.0.0", + "lodash": "^4.17.11", + "mime": "^1.3.6", + "strip-css-comments": "^3.0.0", + "through2": "2.0.x" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/detect-file": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=", + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/expand-tilde": { + "version": "2.0.2", + "resolved": "http://94.130.170.209:4873/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", + "license": "MIT", + "dependencies": { + "homedir-polyfill": "^1.0.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/find-node-modules": { + "version": "2.1.2", + "resolved": "http://94.130.170.209:4873/find-node-modules/-/find-node-modules-2.1.2.tgz", + "integrity": "sha512-x+3P4mbtRPlSiVE1Qco0Z4YLU8WFiFcuWTf3m75OV9Uzcfs2Bg+O9N+r/K0AnmINBW06KpfqKwYJbFlFq4qNug==", + "license": "MIT", + "dependencies": { + "findup-sync": "^4.0.0", + "merge": "^2.1.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/findup-sync": { + "version": "4.0.0", + "resolved": "http://94.130.170.209:4873/findup-sync/-/findup-sync-4.0.0.tgz", + "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", + "license": "MIT", + "dependencies": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.0", + "micromatch": "^4.0.2", + "resolve-dir": "^1.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/global-modules": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "license": "MIT", + "dependencies": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/global-prefix": { + "version": "1.0.2", + "resolved": "http://94.130.170.209:4873/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", + "license": "MIT", + "dependencies": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/ini": { + "version": "1.3.8", + "resolved": "http://94.130.170.209:4873/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==", + "license": "ISC" + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/merge": { + "version": "2.1.1", + "resolved": "http://94.130.170.209:4873/merge/-/merge-2.1.1.tgz", + "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==", + "license": "MIT" + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/mime": { + "version": "1.6.0", + "resolved": "http://94.130.170.209:4873/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", + "bin": { + "mime": "cli.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/resolve-dir": { + "version": "1.0.1", + "resolved": "http://94.130.170.209:4873/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", + "license": "MIT", + "dependencies": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/fullstack-gatsby-plugin-bch-sweep/node_modules/uuid": { + "version": "3.4.0", + "resolved": "http://94.130.170.209:4873/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", + "deprecated": "Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.", + "license": "MIT", + "bin": { + "uuid": "bin/uuid" + } + }, "node_modules/fullstack-gatsby-theme-bch-wallet": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.4.tgz", @@ -47169,6 +47363,156 @@ "integrity": "sha512-JGWpECKgza/344bbF5QT0hBJpx04DZ/7QGPlR1ZbAwrG6Yz6mWEkQd+NnZUh1sK6HCBIPnPRW2x53aJxeLGvvQ==", "requires": {} }, + "fullstack-gatsby-plugin-bch-sweep": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/fullstack-gatsby-plugin-bch-sweep/-/fullstack-gatsby-plugin-bch-sweep-1.0.0.tgz", + "integrity": "sha512-yMRrqMqv7C3Pmil4odzV8VdC4d4mC4c+lJc5d6DJaqadNg3+Ns7msmCGn2Hfhq//hYbJzCQLMkS1o2gScbg2xA==", + "requires": { + "adminlte-2-react": "^0.1.27" + }, + "dependencies": { + "adminlte-2-react": { + "version": "0.1.31", + "resolved": "http://94.130.170.209:4873/adminlte-2-react/-/adminlte-2-react-0.1.31.tgz", + "integrity": "sha512-36XJA6/mgxXvbEcSpnvS/eacspTdKDLuOOOg9n3AXaqSkAz4YBUwZTYt77Olndue26BTCt+zeiUHttpFFERMLw==", + "requires": { + "@fortawesome/fontawesome-svg-core": "^1.2.34", + "@fortawesome/free-brands-svg-icons": "^5.15.2", + "@fortawesome/free-regular-svg-icons": "^5.15.2", + "@fortawesome/free-solid-svg-icons": "^5.15.2", + "@fortawesome/react-fontawesome": "^0.1.14", + "bootstrap": "^3.3.7", + "browserify-css": "^0.15.0", + "datatables.net-bs": "^1.10.23", + "datatables.net-select-bs": "^1.3.1", + "fullcalendar": "^3.10.2", + "icheck": "^1.0.2", + "jquery": "^3.6.0", + "jquery-sparkline": "^2.4.0", + "jquery-ui": "^1.12.1", + "moment": "^2.29.1", + "prop-types": "^15.6.2", + "rc-slider": "^8.7.1", + "rc-tooltip": "^3.7.3", + "react": "^16.14.0", + "react-bootstrap": "^0.32.4", + "react-bootstrap-slider": "^2.2.3", + "react-dates": "^21.8.0", + "react-datetime": "^2.16.3", + "react-dom": "^16.14.0", + "react-draggable": "^4.4.3", + "react-fontawesome": "^1.7.1", + "react-ionicons": "^1.3.6", + "react-moment-proptypes": "^1.7.0", + "react-router-dom": "^4.3.1", + "react-router-prop-types": "^1.0.5", + "react-select": "^2.4.4", + "select2": "^4.0.13", + "source-sans-pro": "^2.45.0", + "uuid": "^3.4.0" + } + }, + "browserify-css": { + "version": "0.15.0", + "resolved": "http://94.130.170.209:4873/browserify-css/-/browserify-css-0.15.0.tgz", + "integrity": "sha512-ZgLHyZ16PH6P25JlBE+5xNtdobpkc5Egh+ctc8ha3GDtuZqSSQu0ovOxOQvXt0xAmaXixth/DY9iT56HlDOxyg==", + "requires": { + "clean-css": "^4.1.5", + "concat-stream": "^1.6.0", + "css": "^2.2.1", + "find-node-modules": "^2.0.0", + "lodash": "^4.17.11", + "mime": "^1.3.6", + "strip-css-comments": "^3.0.0", + "through2": "2.0.x" + } + }, + "detect-file": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/detect-file/-/detect-file-1.0.0.tgz", + "integrity": "sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc=" + }, + "expand-tilde": { + "version": "2.0.2", + "resolved": "http://94.130.170.209:4873/expand-tilde/-/expand-tilde-2.0.2.tgz", + "integrity": "sha1-l+gBqgUt8CRU3kawK/YhZCzchQI=", + "requires": { + "homedir-polyfill": "^1.0.1" + } + }, + "find-node-modules": { + "version": "2.1.2", + "resolved": "http://94.130.170.209:4873/find-node-modules/-/find-node-modules-2.1.2.tgz", + "integrity": "sha512-x+3P4mbtRPlSiVE1Qco0Z4YLU8WFiFcuWTf3m75OV9Uzcfs2Bg+O9N+r/K0AnmINBW06KpfqKwYJbFlFq4qNug==", + "requires": { + "findup-sync": "^4.0.0", + "merge": "^2.1.0" + } + }, + "findup-sync": { + "version": "4.0.0", + "resolved": "http://94.130.170.209:4873/findup-sync/-/findup-sync-4.0.0.tgz", + "integrity": "sha512-6jvvn/12IC4quLBL1KNokxC7wWTvYncaVUYSoxWw7YykPLuRrnv4qdHcSOywOI5RpkOVGeQRtWM8/q+G6W6qfQ==", + "requires": { + "detect-file": "^1.0.0", + "is-glob": "^4.0.0", + "micromatch": "^4.0.2", + "resolve-dir": "^1.0.1" + } + }, + "global-modules": { + "version": "1.0.0", + "resolved": "http://94.130.170.209:4873/global-modules/-/global-modules-1.0.0.tgz", + "integrity": "sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==", + "requires": { + "global-prefix": "^1.0.1", + "is-windows": "^1.0.1", + "resolve-dir": "^1.0.0" + } + }, + "global-prefix": { + "version": "1.0.2", + "resolved": "http://94.130.170.209:4873/global-prefix/-/global-prefix-1.0.2.tgz", + "integrity": "sha1-2/dDxsFJklk8ZVVoy2btMsASLr4=", + "requires": { + "expand-tilde": "^2.0.2", + "homedir-polyfill": "^1.0.1", + "ini": "^1.3.4", + "is-windows": "^1.0.1", + "which": "^1.2.14" + } + }, + "ini": { + "version": "1.3.8", + "resolved": "http://94.130.170.209:4873/ini/-/ini-1.3.8.tgz", + "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" + }, + "merge": { + "version": "2.1.1", + "resolved": "http://94.130.170.209:4873/merge/-/merge-2.1.1.tgz", + "integrity": "sha512-jz+Cfrg9GWOZbQAnDQ4hlVnQky+341Yk5ru8bZSe6sIDTCIg8n9i/u7hSQGSVOF3C7lH6mGtqjkiT9G4wFLL0w==" + }, + "mime": { + "version": "1.6.0", + "resolved": "http://94.130.170.209:4873/mime/-/mime-1.6.0.tgz", + "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==" + }, + "resolve-dir": { + "version": "1.0.1", + "resolved": "http://94.130.170.209:4873/resolve-dir/-/resolve-dir-1.0.1.tgz", + "integrity": "sha1-eaQGRMNivoLybv/nOcm7U4IEb0M=", + "requires": { + "expand-tilde": "^2.0.0", + "global-modules": "^1.0.0" + } + }, + "uuid": { + "version": "3.4.0", + "resolved": "http://94.130.170.209:4873/uuid/-/uuid-3.4.0.tgz", + "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==" + } + } + }, "fullstack-gatsby-theme-bch-wallet": { "version": "1.0.4", "resolved": "https://registry.npmjs.org/fullstack-gatsby-theme-bch-wallet/-/fullstack-gatsby-theme-bch-wallet-1.0.4.tgz", diff --git a/package.json b/package.json index caea7bf..8147148 100644 --- a/package.json +++ b/package.json @@ -25,6 +25,7 @@ "@capacitor/cli": "2.4.6", "@capacitor/core": "2.4.6", "adminlte-2-react": "0.2.0-beta.10", + "fullstack-gatsby-plugin-bch-sweep": "1.0.0", "fullstack-gatsby-theme-bch-wallet": "1.0.4", "gatsby": "4.4.0" }, diff --git a/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js b/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js index 1ae49a6..499b03e 100644 --- a/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js +++ b/src/fullstack-gatsby-theme-bch-wallet/components/menu-components.js @@ -15,7 +15,7 @@ import Configure from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lt import SendReceive from 'fullstack-gatsby-theme-bch-wallet/src/components/admin-lte/send-receive' import About from '../../about' -// import Sweep from 'fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index' +import Sweep from 'fullstack-gatsby-plugin-bch-sweep/src/components/sweep/index' // import CreateToken from 'gatsby-plugin-bch-create-token/src/components/create-token' const { Item } = Sidebar @@ -38,11 +38,11 @@ const MenuComponents = props => { /> ) }, - // { - // key: 'Sweep', - // component: , - // menuItem: - // }, + { + key: 'Sweep', + component: , + menuItem: + }, { key: 'Wallet', component: ,