Версия 0.6.3

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

View File

@@ -751,12 +751,12 @@ class SettingsPage extends Vue {
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
confirmButtonText: 'OK', confirmButtonText: 'OK',
cancelButtonText: 'Отмена', 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), inputValue: (key && _.isString(key) ? key : null),
type: 'warning' type: 'warning'
}); });
if (result.value && result.value.length == 44) { if (result.value && utils.fromBase58(result.value).length == 32) {
this.commit('reader/setServerStorageKey', result.value); this.commit('reader/setServerStorageKey', result.value);
} }
} catch (e) { } catch (e) {

View File

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