Skip to content

Commit

Permalink
v2.4.8: story storyhunt badge
Browse files Browse the repository at this point in the history
  • Loading branch information
munris-vlad committed Dec 3, 2024
1 parent fc74af3 commit b6d10bd
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 5 deletions.
5 changes: 5 additions & 0 deletions checkers/story.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const columns = [
{ name: 'Badge Count', alignment: 'right', color: 'cyan' },
{ name: 'Main', alignment: 'right', color: 'cyan' },
{ name: 'OKX', alignment: 'right', color: 'cyan' },
{ name: 'StoryHunt', alignment: 'right', color: 'cyan' },
{ name: 'Verio', alignment: 'right', color: 'cyan' },
{ name: 'Styreal', alignment: 'right', color: 'cyan' },
{ name: 'Wand', alignment: 'right', color: 'cyan' },
Expand Down Expand Up @@ -63,6 +64,7 @@ const headers = [
{ id: 'Badge Count', title: 'TX Count' },
{ id: 'Main', title: 'Main' },
{ id: 'OKX', title: 'OKX' },
{ id: 'StoryHunt', title: 'StoryHunt' },
{ id: 'Verio', title: 'Verio' },
{ id: 'Styreal', title: 'Styreal' },
{ id: 'Wand', title: 'Wand' },
Expand Down Expand Up @@ -276,6 +278,7 @@ async function fetchWallet(wallet, index, isFetch = false) {
badgeCount += stats[wallet].balances['okx_story_odyssey'] ? 1 : 0
badgeCount += stats[wallet].balances['VERIO'] ? 1 : 0
badgeCount += stats[wallet].balances['STYREALBadge'] ? 1 : 0
badgeCount += stats[wallet].balances['SHB'] ? 1 : 0

stats[wallet].badgecount = badgeCount
progressBar.update(iteration)
Expand All @@ -288,6 +291,7 @@ async function fetchWallet(wallet, index, isFetch = false) {
'Badge Count': stats[wallet].badgecount,
'Main': stats[wallet].balances['OTCIPA'] ? 'Yes' : 'No',
'OKX': stats[wallet].balances['okx_story_odyssey'] ? 'Yes' : 'No',
'StoryHunt': stats[wallet].balances['SHB'] ? 'Yes' : 'No',
'Verio': stats[wallet].balances['VERIO'] ? 'Yes' : 'No',
'Styreal': stats[wallet].balances['STYREALBadge'] ? 'Yes' : 'No',
'Wand': stats[wallet].balances['WAND'] ? 'Yes' : 'No',
Expand Down Expand Up @@ -324,6 +328,7 @@ async function fetchWallet(wallet, index, isFetch = false) {
'Badge Count': stats[wallet].badgecount,
'Main': stats[wallet].balances['OTCIPA'] ? 1 : 0,
'OKX': stats[wallet].balances['okx_story_odyssey'] ? 1 : 0,
'StoryHunt': stats[wallet].balances['SHB'] ? 1 : 0,
'Verio': stats[wallet].balances['VERIO'] ? 1 : 0,
'Styreal': stats[wallet].balances['STYREALBadge'] ? 1 : 0,
'Wand': stats[wallet].balances['WAND'] ? 1 : 0,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wallet-checker",
"version": "2.4.7",
"version": "2.4.8",
"scripts": {
"start": "node utils/index.js"
},
Expand Down
2 changes: 1 addition & 1 deletion web/dist/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/fav.png"><title>WalletChecker</title><script defer="defer" src="/js/chunk-vendors.4e8636cd.js"></script><script defer="defer" src="/js/app.7d173780.js"></script><link href="/css/app.aab38bcb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but WalletChecker doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
<!doctype html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" href="/fav.png"><title>WalletChecker</title><script defer="defer" src="/js/chunk-vendors.4e8636cd.js"></script><script defer="defer" src="/js/app.7febb092.js"></script><link href="/css/app.aab38bcb.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but WalletChecker doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
1 change: 0 additions & 1 deletion web/dist/js/app.7d173780.js.map

This file was deleted.

4 changes: 2 additions & 2 deletions web/dist/js/app.7d173780.js → web/dist/js/app.7febb092.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web/dist/js/app.7febb092.js.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions web/src/views/StoryView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<td :class="tdClass">{{ item['Badge Count'] }}</td>
<td :class="tdClass">{{ item['Main'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['OKX'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['StoryHunt'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Verio'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Styreal'] ? '✅' : '❌' }}</td>
<td :class="tdClass">{{ item['Wand'] ? '✅' : '❌' }}</td>
Expand Down Expand Up @@ -105,6 +106,7 @@ export default {
'Badge Count',
'Main',
'OKX',
'StoryHunt',
'Verio',
'Styreal',
'Wand',
Expand Down

0 comments on commit b6d10bd

Please sign in to comment.