Skip to content

Commit

Permalink
v3.1.4
Browse files Browse the repository at this point in the history
  • Loading branch information
mytonwalletorg committed Nov 29, 2024
1 parent 37f30b3 commit 5c0e756
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions changelogs/3.1.4.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Bug fixes and performance improvements
4 changes: 2 additions & 2 deletions 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": "mytonwallet",
"version": "3.1.3",
"version": "3.1.4",
"description": "The most feature-rich web wallet and browser extension for TON – with support of multi-accounts, tokens (jettons), NFT, TON DNS, TON Sites, TON Proxy, and TON Magic.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion public/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.1.3
3.1.4
3 changes: 2 additions & 1 deletion src/api/common/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ export async function addTokens(tokens: ApiToken[], onUpdate?: OnApiUpdate, shou
for (let i = 0; i < tokens.length; i++) {
const token = tokens[i];
const mergedToken = mergeTokenWithCache(token);
tokensCache[token.slug] = mergedToken;

if (!(token.slug in tokensCache)) {
newTokens.push(mergedToken);
}

tokensCache[token.slug] = mergedToken;
tokens[i] = mergedToken;
}

Expand Down

0 comments on commit 5c0e756

Please sign in to comment.