diff --git a/.circleci/config.yml b/.circleci/config.yml index d077646..afc1c14 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -2,7 +2,7 @@ version: 2 jobs: build: docker: - - image: circleci/node:10 + - image: circleci/node:12 working_directory: ~/repo steps: - checkout diff --git a/package.json b/package.json index e515983..e40b82f 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,8 @@ "contributors": [ "Kirill Pimenov " ], - - "version": "0.1.0", + "version": "0.2.0", "private": true, - "scripts": { "serve": "vue-cli-service serve", "build": "vue-cli-service build", @@ -17,6 +15,7 @@ "test:unit": "vue-cli-service test:unit" }, "dependencies": { + "base64-js": "^1.3.0", "scryptsy": "^2.0.0", "secrets.js-grempe": "^1.1.0", "tweetnacl": "^1.0.0", diff --git a/src/App.vue b/src/App.vue index 63fd57c..71ad2d4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -11,6 +11,7 @@ + @@ -20,12 +21,14 @@ import GoOfflineInfo from './components/GoOfflineInfo' import SavePageInfo from './components/SavePageInfo' import ForkMe from './components/ForkMe' +import {version} from '../package.json'; + export default { name: 'App', components: {GeneralInfo, GoOfflineInfo, SavePageInfo, ForkMe}, computed: { localFile: function() { - return (window.location.protocol === 'file:'); + return (window.location.protocol === 'file:') }, secure: function() { if (process.env.NODE_ENV === 'production') { @@ -33,6 +36,12 @@ export default { } else { return true } + }, + version: function() { + return version + }, + gitRevision: function() { + return process.env.GIT_REVISION; } } } @@ -67,4 +76,10 @@ nav a.router-link-exact-active { display: none; } } + +.version-footer { + font-size: 80%; + font-style: italic; + color: darkgray; +} diff --git a/src/components/ShardQrCode.vue b/src/components/ShardQrCode.vue index 24e4552..730a7b6 100644 --- a/src/components/ShardQrCode.vue +++ b/src/components/ShardQrCode.vue @@ -5,18 +5,20 @@

You need {{requiredShards - 1}} more QR {{pluralizeCode}} like this to reconstruct the secret

Please go to https://bs.parity.io to download the reconstruction webapp, if you don't have one already

- +