Merge branch 'release/0.6.3'

This commit is contained in:
Book Pauk
2019-03-24 12:51:55 +07:00
2 changed files with 3 additions and 3 deletions

View File

@@ -751,12 +751,12 @@ class SettingsPage extends Vue {
dangerouslyUseHTMLString: true,
confirmButtonText: 'OK',
cancelButtonText: 'Отмена',
inputValidator: (str) => { if (str && str.length == 44) return true; else return 'Неверный формат ключа'; },
inputValidator: (str) => { if (str && utils.fromBase58(str).length == 32) return true; else return 'Неверный формат ключа'; },
inputValue: (key && _.isString(key) ? key : null),
type: 'warning'
});
if (result.value && result.value.length == 44) {
if (result.value && utils.fromBase58(result.value).length == 32) {
this.commit('reader/setServerStorageKey', result.value);
}
} catch (e) {

View File

@@ -1,6 +1,6 @@
{
"name": "Liberama",
"version": "0.6.2",
"version": "0.6.3",
"engines": {
"node": ">=10.0.0"
},