From 06d0ca2882f3abdc5dcba13b5ca004ddbbac3766 Mon Sep 17 00:00:00 2001 From: envin Date: Sat, 9 Nov 2024 01:09:43 +0100 Subject: [PATCH 1/3] feat(swap-asset): disable unsupported tokens BTC on Ethereum, BNB Chain, EOS, Algorand PNT on Polygon, Gnosis Chain USDC on Algorand USDT on Algorand WSB on Ethereum LTC on Ethereum, EOS BIST on BNB Chain --- src/settings/swap-assets.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/settings/swap-assets.js b/src/settings/swap-assets.js index 85e121c7..25034e9b 100644 --- a/src/settings/swap-assets.js +++ b/src/settings/swap-assets.js @@ -3,9 +3,14 @@ import { ChainId } from '@p.network/ptokens-constants' export const disabledAssets = [ 'GALA_ON_BSC_MAINNET', '$ANRX_ON_BSC_MAINNET', + 'PBTC_ON_ETH_MAINNET', + 'PBTC_ON_BSC_MAINNET', + 'PBTC_ON_ALGORAND_MAINNET', 'PBTC_ON_ARBITRUM_MAINNET', 'PBTC_ON_TELOS_MAINNET', 'PNT_ON_ARBITRUM_MAINNET', + 'PNT_ON_POLYGON_MAINNET', + 'PNT_ON_GNOSIS_MAINNET', 'PKEYS_ON_BSC_MAINNET', 'LUXO_ON_BSC_MAINNET', 'POPEN_ON_BSC_MAINNET', @@ -14,12 +19,17 @@ export const disabledAssets = [ 'PSEEDS_ON_ETH_MAINNET', 'TLOS_ON_ETH_MAINNET', 'TLOS_ON_BSC_MAINNET', + 'PUSDC_ON_ALGORAND_MAINNET', 'PUSDC_ON_TELOS_MAINNET', + 'PUSDT_ON_ALGORAND_MAINNET', 'PUSDT_ON_TELOS_MAINNET', 'PETH_ON_TELOS_MAINNET', 'NUCO_ON_TELOS_MAINNET', 'ZMT_ON_BSC_MAINNET', 'PUOS_ON_ULTRA_MAINNET', + 'WSB_ON_ETH_MAINNET', + 'PLTC_ON_ETH_MAINNET', + 'BIST_ON_BSC_MAINNET', ] export const dismissedAssets = [ From ed599596c772f05eedeca38c0e16200f4c108805 Mon Sep 17 00:00:00 2001 From: envin Date: Sat, 9 Nov 2024 01:11:50 +0100 Subject: [PATCH 2/3] chore(changeset): update version --- .changeset/cuddly-windows-jog.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/cuddly-windows-jog.md diff --git a/.changeset/cuddly-windows-jog.md b/.changeset/cuddly-windows-jog.md new file mode 100644 index 00000000..7b745bf5 --- /dev/null +++ b/.changeset/cuddly-windows-jog.md @@ -0,0 +1,5 @@ +--- +'ptokens-dapp-v2': minor +--- + +disable tokens From aed96ac56846fcbea6bd21108a95aaa5e2b16945 Mon Sep 17 00:00:00 2001 From: envin Date: Sat, 9 Nov 2024 01:14:37 +0100 Subject: [PATCH 3/3] chore: waive known vulnerabilities --- .snyk | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.snyk b/.snyk index 403964d2..aef9cbee 100644 --- a/.snyk +++ b/.snyk @@ -48,4 +48,9 @@ ignore: reason: Will be fixed in v4 - fix planned expires: 2024-12-10T00:00:00.000Z created: 2024-08-28T11:30:11.068Z + SNYK-JS-CROSSSPAWN-8303230: + - '*': + reason: Will be fixed in v4 - fix planned + expires: 2024-12-10T00:00:00.000Z + created: 2024-08-28T11:30:11.068Z patch: {}