Skip to content

Commit

Permalink
Merge pull request #1062 from aeternity/release/v0.4.2
Browse files Browse the repository at this point in the history
Release 0.4.2
  • Loading branch information
davidyuk authored Apr 16, 2021
2 parents 6e6a769 + 76e32e8 commit 54b729c
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superhero-ui",
"version": "0.4.1",
"version": "0.4.2",
"scripts": {
"serve": "vue-cli-service serve",
"serve:tnet": "vue-cli-service serve --mode tnet",
Expand Down
7 changes: 2 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -63,17 +63,15 @@ export default {
},
methods: {
...mapMutations([
'setAddress', 'updateTopics',
'setOracleState', 'setChainNames', 'updateBalance',
'setAddress', 'updateTopics', 'setChainNames', 'updateBalance',
'setGraylistedUrls', 'setTokenInfo', 'setWordRegistry', 'setVerifiedUrls',
]),
...mapMutations('aeternity', ['useSdkWallet']),
async reloadData() {
const [
chainNames, oracleState, topics, verifiedUrls, graylistedUrls, tokenInfo, wordRegistry,
chainNames, topics, verifiedUrls, graylistedUrls, tokenInfo, wordRegistry,
] = await Promise.all([
Backend.getCacheChainNames(),
Backend.getOracleCache(),
Backend.getTopicsCache(),
Backend.getVerifiedUrls(),
Backend.getGrayListedUrls(),
Expand All @@ -86,7 +84,6 @@ export default {
this.updateTopics(topics);
this.setChainNames(chainNames);
this.setOracleState(oracleState);
this.setGraylistedUrls(graylistedUrls);
this.setVerifiedUrls(verifiedUrls);
this.setTokenInfo(tokenInfo);
Expand Down
1 change: 0 additions & 1 deletion src/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ export default new Vuex.Store({
selectedCurrency: 'eur',
topics: [],
tipSortBy: 'hot',
oracleState: {},
chainNames: [],
verifiedUrls: [],
graylistedUrls: [],
Expand Down
3 changes: 0 additions & 3 deletions src/store/mutations.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ export default {
setTipSortBy(state, payload) {
state.tipSortBy = payload;
},
setOracleState(state, payload) {
state.oracleState = payload;
},
setChainNames(state, payload) {
state.chainNames = payload;
},
Expand Down
2 changes: 0 additions & 2 deletions src/utils/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ export default class Backend {

static getPrice = async () => backendFetch('cache/price');

static getOracleCache = async () => backendFetch('cache/oracle');

static getTopicsCache = async () => backendFetch('cache/topics');

static getTokenInfo = async () => backendFetch('tokenCache/tokenInfo');
Expand Down

0 comments on commit 54b729c

Please sign in to comment.