Skip to content

Commit

Permalink
v3.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
mytonwalletorg committed Jul 30, 2024
1 parent 0574f98 commit ac9cdb2
Show file tree
Hide file tree
Showing 18 changed files with 34 additions and 28 deletions.
1 change: 1 addition & 0 deletions changelogs/3.0.3.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.0.2",
"version": "3.0.3",
"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.0.2
3.0.3
13 changes: 10 additions & 3 deletions src/components/main/sections/Content/Nfts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import useLastCallback from '../../../../hooks/useLastCallback';
import AnimatedIconWithPreview from '../../../ui/AnimatedIconWithPreview';
import Button from '../../../ui/Button';
import Loading from '../../../ui/Loading';
import Transition from '../../../ui/Transition';
import Nft from './Nft';

import styles from './Nft.module.scss';
Expand Down Expand Up @@ -136,9 +137,15 @@ function Nfts({
{lang('Burn NOT Vouchers')}
</Button>
)}
<div className={buildClassName(styles.list, isLandscape && styles.landscapeList)}>
{nfts.map((nft) => <Nft key={nft.address} nft={nft} selectedAddresses={selectedAddresses} />)}
</div>
<Transition
name="fade"
activeKey={nfts.length}
shouldCleanup
>
<div className={buildClassName(styles.list, isLandscape && styles.landscapeList)}>
{nfts.map((nft) => <Nft key={nft.address} nft={nft} selectedAddresses={selectedAddresses} />)}
</div>
</Transition>
</div>
);
}
Expand Down
10 changes: 5 additions & 5 deletions src/components/mediaViewer/hooks/useNftMenu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ const HIDE_ITEM: DropdownItem = {
name: 'Hide',
value: 'hide',
};
const NOT_A_SCAM: DropdownItem = {
name: 'Not a Scam',
value: 'not_a_scam',
const NOT_SCAM: DropdownItem = {
name: 'Not Scam',
value: 'not_scam',
};
const UNHIDE: DropdownItem = {
name: 'Unhide',
Expand Down Expand Up @@ -147,7 +147,7 @@ export default function useNftMenu(nft?: ApiNft, isNftBlacklisted?: boolean, isN
break;
}

case 'not_a_scam': {
case 'not_scam': {
openUnhideNftModal({ address: nft!.address, name: nft!.name });

break;
Expand Down Expand Up @@ -185,7 +185,7 @@ export default function useNftMenu(nft?: ApiNft, isNftBlacklisted?: boolean, isN
TON_EXPLORER_ITEM,
...(nft.collectionAddress ? [COLLECTION_ITEM] : []),
...((!nft.isScam && !isNftBlacklisted) || isNftWhitelisted ? [HIDE_ITEM] : []),
...(nft.isScam && !isNftWhitelisted ? [NOT_A_SCAM] : []),
...(nft.isScam && !isNftWhitelisted ? [NOT_SCAM] : []),
...(!nft.isScam && isNftBlacklisted ? [UNHIDE] : []),
...(!nft.isOnSale ? [
BURN_ITEM,
Expand Down
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export const PROXY_HOSTS = process.env.PROXY_HOSTS;

export const TINY_TRANSFER_MAX_COST = 0.01;

export const LANG_CACHE_NAME = 'mtw-lang-122';
export const LANG_CACHE_NAME = 'mtw-lang-123';

export const LANG_LIST: LangItem[] = [{
langCode: 'en',
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/de.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -647,5 +647,5 @@ $hardware_blind_sign_not_enabled: |
Um fortzufahren, aktivieren Sie die Option „Blindsignatur“ in den Einstellungen der TON App auf dem Ledger.
Switch to W5: Zu W5 wechseln
Not a Scam: Kein Betrug
Not Scam: Kein Betrug
Untitled: Unbenannt
8 changes: 3 additions & 5 deletions src/i18n/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ Play Sounds: Play Sounds
Focus on asset value rather than current balance: Focus on asset value rather than current balance
$logout_confirm: Remove **all** wallets
$logout_warning2: Wallets are located in the decentralized TON Blockchain. If you want the wallet to be deleted simply transfer all the TON from it and leave it empty.
$tiny_transfers_help: Turn this off to display transactions of less than $%value%. Please be aware that such transactions are often used for spam and scam purposes.
$tiny_transfers_help: Hide transfers worth less than $%value%. Keep in mind - such amounts are often sent by spammers and scammers.
Today: Today
Yesterday: Yesterday
Now: Now
Expand Down Expand Up @@ -528,9 +528,7 @@ Required: Required
Comment is too long.: Comment is too long.
Memo: Memo
Memo was copied!: Memo was copied!
$hide_tokens_no_cost_help: |
Turn this off to display tokens on your account with value less than $%value%. Please be aware that such tokens are often used for spam and scam purposed.
You can also selectively enable and disable particular tokens using the list below on this screen.
$hide_tokens_no_cost_help: Hide tokens worth less than $%value%. Keep in mind - these tokens are often sent by spammers and scammers. On the same screen below, you can hide individual tokens.
No internet connection. Please check your connection and try again.: No internet connection. Please check your connection and try again.
To use this feature, first enable Face ID in your phone settings.: To use this feature, first enable Face ID in your phone settings.
To use this feature, first enable biometrics in your phone settings.: To use this feature, first enable biometrics in your phone settings.
Expand Down Expand Up @@ -647,5 +645,5 @@ $hardware_blind_sign_not_enabled: |
To continue, enable the "Blind Signing" option in the settings of the TON App on Ledger.
Switch to W5: Switch to W5
Not a Scam: Not a Scam
Not Scam: Not Scam
Untitled: Untitled
2 changes: 1 addition & 1 deletion src/i18n/es.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -643,5 +643,5 @@ $hardware_blind_sign_not_enabled: |
Para continuar, habilite la opción "Firma Ciega" en la configuración de la aplicación TON en Ledger.
Switch to W5: Cambiar a W5
Not a Scam: No es una estafa
Not Scam: No es una estafa
Untitled: Sin título
2 changes: 1 addition & 1 deletion src/i18n/pl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -649,5 +649,5 @@ $hardware_blind_sign_not_enabled: |
Aby kontynuować, włącz opcję „Ślepe Podpisywanie” w ustawieniach aplikacji TON na Ledgerze.
Switch to W5: Przełącz na W5
Not a Scam: Nie oszustwo
Not Scam: Nie oszustwo
Untitled: Bez tytułu
2 changes: 1 addition & 1 deletion src/i18n/ru.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -641,5 +641,5 @@ $hardware_blind_sign_not_enabled: |
Чтобы продолжить, включите опцию «Слепое подписание» в настройках TON App на Ledger.
Switch to W5: Версия W5
Not a Scam: Не скам
Not Scam: Не скам
Untitled: Без названия
2 changes: 1 addition & 1 deletion src/i18n/th.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -648,5 +648,5 @@ $hardware_blind_sign_not_enabled: |
ในการดำเนินการต่อ ให้เปิดใช้งานตัวเลือก "การลงนามแบบบอด" ในการตั้งค่าแอป TON บน Ledger
Switch to W5: เปลี่ยนเป็น W5
Not a Scam: ไม่ใช่การหลอกลวง
Not Scam: ไม่ใช่การหลอกลวง
Untitled: ไม่มีชื่อ
2 changes: 1 addition & 1 deletion src/i18n/tr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -646,5 +646,5 @@ $hardware_blind_sign_not_enabled: |
Devam etmek için, Ledger üzerindeki TON Uygulamasının ayarlarında "Kör İmzalama" seçeneğini etkinleştirin.
Switch to W5: W5'e Geç
Not a Scam: Dolandırıcılık Değil
Not Scam: Dolandırıcılık Değil
Untitled: Başlıksız
2 changes: 1 addition & 1 deletion src/i18n/uk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -646,5 +646,5 @@ $hardware_blind_sign_not_enabled: |
Щоб продовжити, увімкніть опцію «Сліпе підписання» в налаштуваннях TON App на Ledger.
Switch to W5: Версія W5
Not a Scam: Не шахрайство
Not Scam: Не шахрайство
Untitled: Без назви
2 changes: 1 addition & 1 deletion src/i18n/zh-Hans.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -630,5 +630,5 @@ $hardware_blind_sign_not_enabled: |
要继续,请在 Ledger 的 TON 应用程序设置中启用“盲签名”选项。
Switch to W5: 切换到 W5
Not a Scam: 不是骗局
Not Scam: 不是骗局
Untitled: 未命名
2 changes: 1 addition & 1 deletion src/i18n/zh-Hant.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -630,5 +630,5 @@ $hardware_blind_sign_not_enabled: |
要繼續,請在 Ledger 的 TON 應用程序設置中啟用“盲簽名”選項。
Switch to W5: 切換到 W5
Not a Scam: 不是騙局
Not Scam: 不是騙局
Untitled: 未命名
2 changes: 1 addition & 1 deletion webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const CSP = `
base-uri 'none';
font-src 'self' https://fonts.gstatic.com/;
form-action 'none';
frame-src 'self' https://widget.changelly.com/ https://dreamwalkers.io/ https://avanchange.com/`
frame-src 'self' https://widget.changelly.com/ https://dreamwalkers.io/ https://avanchange.com/ https://pay.wata.pro/`
.replace(/\s+/g, ' ').trim();

const appVersion = require('./package.json').version;
Expand Down

0 comments on commit ac9cdb2

Please sign in to comment.