diff --git a/apps/extension/package.json b/apps/extension/package.json index 57eaaf09..705250da 100644 --- a/apps/extension/package.json +++ b/apps/extension/package.json @@ -1,6 +1,6 @@ { "name": "@palladxyz/extension", - "version": "0.6.0", + "version": "0.6.1", "type": "module", "scripts": { "dev": "vite", diff --git a/packages/features/package.json b/packages/features/package.json index 892d798e..8b9973ab 100644 --- a/packages/features/package.json +++ b/packages/features/package.json @@ -1,6 +1,6 @@ { "name": "@palladxyz/features", - "version": "0.6.0", + "version": "0.6.1", "description": "", "type": "module", "module": "dist/index.js", diff --git a/packages/features/src/error-renderer/views/error.tsx b/packages/features/src/error-renderer/views/error.tsx index c6e07a90..fe7b6c67 100644 --- a/packages/features/src/error-renderer/views/error.tsx +++ b/packages/features/src/error-renderer/views/error.tsx @@ -13,12 +13,20 @@ export const ErrorView = ({ error, resetErrorBoundary }: FallbackProps) => { } return (
An error happened.
+An error happened.
+ + Check services status. + diff --git a/packages/features/src/transactions/routes/transactions.tsx b/packages/features/src/transactions/routes/transactions.tsx index e093a7db..b1063d8f 100644 --- a/packages/features/src/transactions/routes/transactions.tsx +++ b/packages/features/src/transactions/routes/transactions.tsx @@ -19,11 +19,11 @@ export const TransactionsRoute = () => { .filter((hash) => !transactions?.map((tx) => tx.hash).includes(hash)), ) const openPendingTransactions = () => { - const url = currentNetworkInfo.explorer.accountUrl.replace( + const url = currentNetworkInfo.explorer.pendingTransactionsUrl.replace( "{publicKey}", publicKey, ) - window.open(`${url}/txs`, "_blank")?.focus() + window.open(url, "_blank")?.focus() } // biome-ignore lint: only run on first render useEffect(() => { diff --git a/packages/providers/src/unified-providers/types.ts b/packages/providers/src/unified-providers/types.ts index caa73e13..d12195a8 100644 --- a/packages/providers/src/unified-providers/types.ts +++ b/packages/providers/src/unified-providers/types.ts @@ -11,6 +11,7 @@ export type ProviderConfig = { explorer: { transactionUrl: string accountUrl: string + pendingTransactionsUrl: string } networkName: string networkType: "testnet" | "mainnet" diff --git a/packages/providers/test/unified-providers/individual-providers/chain-history-provider.test.ts b/packages/providers/test/unified-providers/individual-providers/chain-history-provider.test.ts index ebc55c5d..71b3dd8c 100644 --- a/packages/providers/test/unified-providers/individual-providers/chain-history-provider.test.ts +++ b/packages/providers/test/unified-providers/individual-providers/chain-history-provider.test.ts @@ -29,6 +29,7 @@ describe.skip("Unified Chain History Provider (Functional)", () => { explorer: { accountUrl: "", transactionUrl: "", + pendingTransactionsUrl: "", }, networkName: "Devnet", chainId: "...", diff --git a/packages/providers/test/unified-providers/unified-provider.test.ts b/packages/providers/test/unified-providers/unified-provider.test.ts index 72b4ce19..1590daa0 100644 --- a/packages/providers/test/unified-providers/unified-provider.test.ts +++ b/packages/providers/test/unified-providers/unified-provider.test.ts @@ -36,6 +36,7 @@ describe("Unified Chain provider", () => { explorer: { accountUrl: "", transactionUrl: "", + pendingTransactionsUrl: "", }, networkName: "Devnet", chainId: "...", diff --git a/packages/vault/src/network-info/default.ts b/packages/vault/src/network-info/default.ts index 3685f412..95c26aa8 100644 --- a/packages/vault/src/network-info/default.ts +++ b/packages/vault/src/network-info/default.ts @@ -21,10 +21,12 @@ export const DEFAULT_NETWORK_INFO: Record