From 70d2ed5b85803732dc2b6e14d777db3a22a43ad6 Mon Sep 17 00:00:00 2001 From: Jacob Karlsson Date: Fri, 3 Aug 2018 13:10:43 +0200 Subject: [PATCH 1/8] Add a button for testing --- package-lock.json | 8 ++++---- src/dashboard/components/DonationSummaryComponent.vue | 7 +++++++ 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4e021d79..58ee2e33 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "thankful", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7108,12 +7108,12 @@ "resolved": "https://registry.npmjs.org/eth-sig-util/-/eth-sig-util-1.4.2.tgz", "integrity": "sha1-jZWCAsftuq6Dlwf7pvCf8ydgYhA=", "requires": { - "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#4ea2fdfed09e8f99117d9362d17c6b01b64a2bcf", + "ethereumjs-abi": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", "ethereumjs-util": "^5.1.1" }, "dependencies": { "ethereumjs-abi": { - "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#4ea2fdfed09e8f99117d9362d17c6b01b64a2bcf", + "version": "git+https://github.com/ethereumjs/ethereumjs-abi.git#00ba8463a7f7a67fcad737ff9c2ebd95643427f7", "from": "git+https://github.com/ethereumjs/ethereumjs-abi.git", "requires": { "bn.js": "^4.10.0", @@ -7485,7 +7485,7 @@ "requires": { "bn.js": "^4.8.0", "create-hash": "^1.1.2", - "keccak": "^1.0.2", + "keccakjs": "^0.2.0", "rlp": "^2.0.0", "secp256k1": "^3.0.1" } diff --git a/src/dashboard/components/DonationSummaryComponent.vue b/src/dashboard/components/DonationSummaryComponent.vue index 7ab99422..85e701fa 100644 --- a/src/dashboard/components/DonationSummaryComponent.vue +++ b/src/dashboard/components/DonationSummaryComponent.vue @@ -52,6 +52,10 @@ div.pt-2 | Send your thanks! (${{ total.toFixed(2) }}) v-btn(v-else, disabled, large, outline, color='primary', v-on:click="donateAll()") | {{ buttonError }} + // TODO: Make this a checkbox and send it on donation instead + div.text-xs-center.pb-3 + v-btn(large, outline, color='primary', v-on:click="sendAddressLess()") + | Send address-less creator info