From dab0f26ce2d0fca493f77b01ec0bdec4e0a1b135 Mon Sep 17 00:00:00 2001 From: Zhiting Lin Date: Thu, 4 Jul 2019 13:59:42 +0800 Subject: [PATCH] fixed the error and updated the version to v2.0.1 --- README.md | 4 ++-- build/webpack.base.conf.js | 7 +------ doc/en/add-to-chrome.md | 2 +- package.json | 4 ++-- src/manifest.js | 2 +- src/views/sendTransaction/transfer.vue | 5 +++-- src/views/welcome/creation.vue | 2 +- updates.xml | 2 +- 8 files changed, 12 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 0b930d7..df5c787 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Bystore Chrome Extension -Bystore Chrome Extension wallet is a UTXO base Wallet. The extension in charge of the all the Key and Account Management. +# Byone Chrome Extension +Byone Chrome Extension wallet is a UTXO base Wallet. The extension in charge of the all the Key and Account Management. ## Building locally diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index b2098f0..4713d93 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -123,12 +123,7 @@ module.exports = { new WebpackAutoInject({ PACKAGE_JSON_PATH: './package.json', components: { - AutoIncreaseVersion: true - }, - componentsOptions: { - AutoIncreaseVersion: { - runInWatchMode: false // it will increase version with every single build! - } + AutoIncreaseVersion: false } }) ], diff --git a/doc/en/add-to-chrome.md b/doc/en/add-to-chrome.md index 8d1c3dd..93b2591 100644 --- a/doc/en/add-to-chrome.md +++ b/doc/en/add-to-chrome.md @@ -4,7 +4,7 @@ * Check "Developer mode". * Alternatively, use the URL `chrome://extensions/` in your address bar * At the top, click `Load Unpacked Extension`. -* Navigate to your `Bystore/dist` folder. +* Navigate to your `Byone/dist` folder. * Click `Select`. * Change to your locale via `chrome://settings/languages` * Restart the browser and test the plugin in your locale diff --git a/package.json b/package.json index 86232b6..5d38a19 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "Byone", "description": "Bytom Chrome Extension Wallet", - "version": "0.8.0", + "version": "2.0.1", "author": "zhiting.fly@8btc.com", "license": "MIT", "private": true, @@ -63,4 +63,4 @@ "webpack-dev-server": "^2.9.1", "webpack-merge": "^4.1.2" } -} \ No newline at end of file +} diff --git a/src/manifest.js b/src/manifest.js index 9b58fd8..baa2ef3 100644 --- a/src/manifest.js +++ b/src/manifest.js @@ -2,7 +2,7 @@ module.exports = { manifest_version: 2, name: 'Byone', description: 'Bytom Wallet Chrome extension, Bystore officially changed to Byone.', - version: '2.0.0.0', + version: '2.0.1', author: 'Bytom frontend, zhitinglin', web_accessible_resources: ['js/inject.js', 'wasm/main.wasm'], browser_action: { diff --git a/src/views/sendTransaction/transfer.vue b/src/views/sendTransaction/transfer.vue index 886cb89..403a9d6 100644 --- a/src/views/sendTransaction/transfer.vue +++ b/src/views/sendTransaction/transfer.vue @@ -276,9 +276,10 @@ export default { ele.label = ele.alias ele.value = ele.guid }); - - if (Object.keys(this.account).length == 0) { + if (!this.guid) { this.account = accounts[0] + }else{ + this.account = this.accounts.filter(e => e.guid === this.guid)[0] } }); } diff --git a/src/views/welcome/creation.vue b/src/views/welcome/creation.vue index 48f0716..4762941 100644 --- a/src/views/welcome/creation.vue +++ b/src/views/welcome/creation.vue @@ -118,7 +118,7 @@
-

Bystore

+

Byone

{{ $t('home.title')}}

diff --git a/updates.xml b/updates.xml index 95f5189..5c8359e 100644 --- a/updates.xml +++ b/updates.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file -- 2.11.0