diff --git a/package.json b/package.json index c7b5bc3..b29889f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pezkuwi-telegram-miniapp", - "version": "1.0.164", + "version": "1.0.165", "type": "module", "description": "Pezkuwichain Telegram Mini App - Forum, Announcements, Rewards", "author": "Pezkuwichain Team", diff --git a/src/components/wallet/FundFeesModal.tsx b/src/components/wallet/FundFeesModal.tsx index 63a2ebe..4b7792f 100644 --- a/src/components/wallet/FundFeesModal.tsx +++ b/src/components/wallet/FundFeesModal.tsx @@ -327,12 +327,11 @@ export function FundFeesModal({ isOpen, onClose }: Props) { const weightLimit = 'Unlimited'; - // Find which XCM pallet exists on this chain - // eslint-disable-next-line @typescript-eslint/no-explicit-any - const xcmPallet = (sourceApi.tx as any).xcmPallet || (sourceApi.tx as any).polkadotXcm; + // Relay chain uses xcmPallet, teyrchains use pezkuwiXCM + + const xcmPallet = (sourceApi.tx as any).xcmPallet || (sourceApi.tx as any).pezkuwiXCM; if (!xcmPallet?.limitedTeleportAssets) { - const available = Object.keys(sourceApi.tx).filter((p) => p.toLowerCase().includes('xcm')); - throw new Error(`XCM pallet nehate dîtin. Heyî: ${available.join(', ') || 'tune'}`); + throw new Error('XCM pallet nehate dîtin'); } const tx = xcmPallet.limitedTeleportAssets( diff --git a/src/version.json b/src/version.json index 57b9153..298d942 100644 --- a/src/version.json +++ b/src/version.json @@ -1,5 +1,5 @@ { - "version": "1.0.164", - "buildTime": "2026-02-07T19:46:55.715Z", - "buildNumber": 1770493615716 + "version": "1.0.165", + "buildTime": "2026-02-07T20:47:52.583Z", + "buildNumber": 1770497272583 }