From 06d0ca2882f3abdc5dcba13b5ca004ddbbac3766 Mon Sep 17 00:00:00 2001 From: envin Date: Sat, 9 Nov 2024 01:09:43 +0100 Subject: [PATCH 1/4] 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/4] 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/4] 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: {} From 089958f720304e8121d6a4b2f3b90f64717f3310 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 9 Nov 2024 00:22:04 +0000 Subject: [PATCH 4/4] chore: release package(s) --- .changeset/cuddly-windows-jog.md | 5 ----- CHANGELOG.md | 6 ++++++ package-lock.json | 4 ++-- package.json | 2 +- 4 files changed, 9 insertions(+), 8 deletions(-) delete mode 100644 .changeset/cuddly-windows-jog.md diff --git a/.changeset/cuddly-windows-jog.md b/.changeset/cuddly-windows-jog.md deleted file mode 100644 index 7b745bf5..00000000 --- a/.changeset/cuddly-windows-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'ptokens-dapp-v2': minor ---- - -disable tokens diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f068f4f..0edefc47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # ptokens-dapp-v2 +## 1.29.0 + +### Minor Changes + +- ed59959: disable tokens + ## 1.28.0 ### Minor Changes diff --git a/package-lock.json b/package-lock.json index 2e0e7f73..da61398f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ptokens-dapp-v2", - "version": "1.28.0", + "version": "1.29.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ptokens-dapp-v2", - "version": "1.28.0", + "version": "1.29.0", "dependencies": { "@blockshake/defly-connect": "^1.1.5", "@changesets/cli": "^2.27.1", diff --git a/package.json b/package.json index 7d2f9bcb..575851e8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "ptokens-dapp-v2", "private": true, - "version": "1.28.0", + "version": "1.29.0", "type": "module", "scripts": { "dev": "npm run create-version-file && vite",