update dependencies

This commit is contained in:
Victor Oliva
2025-11-20 23:50:01 +01:00
parent d5420c4f8e
commit 1b23278c92
3 changed files with 2315 additions and 972 deletions
+8 -8
View File
@@ -20,13 +20,13 @@
"@polkadot-api/descriptors": "file:.papi/descriptors",
"@polkadot-api/json-rpc-provider-proxy": "^0.2.7",
"@polkadot-api/metadata-builders": "^0.13.7",
"@polkadot-api/observable-client": "^0.16.2",
"@polkadot-api/observable-client": "^0.16.3",
"@polkadot-api/react-builder": "0.3.9",
"@polkadot-api/react-components": "^0.4.1",
"@polkadot-api/substrate-bindings": "^0.16.5",
"@polkadot-api/tx-utils": "^0.1.8",
"@polkadot-api/utils": "^0.2.0",
"@polkahub/ui-components": "0.3.1",
"@polkahub/ui-components": "0.3.2",
"@radix-ui/react-accordion": "^1.2.12",
"@radix-ui/react-dialog": "^1.1.15",
"@radix-ui/react-label": "^2.1.8",
@@ -44,9 +44,9 @@
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"idb-keyval": "^6.2.2",
"lucide-react": "^0.553.0",
"polkadot-api": "^1.20.6",
"polkahub": "0.3.1",
"lucide-react": "^0.554.0",
"polkadot-api": "^1.20.7",
"polkahub": "0.4.0",
"react": "^19.2.0",
"react-dom": "^19.2.0",
"react-portal": "^4.3.0",
@@ -64,7 +64,7 @@
"@eslint/js": "^9.39.1",
"@tailwindcss/vite": "^4.1.17",
"@types/node": "^24.10.1",
"@types/react": "^19.2.5",
"@types/react": "^19.2.6",
"@types/react-dom": "^19.2.3",
"@types/react-portal": "^4.0.7",
"@vitejs/plugin-react": "^5.1.1",
@@ -75,8 +75,8 @@
"prettier": "^3.6.2",
"tailwindcss": "^4.1.17",
"typescript": "^5.9.3",
"typescript-eslint": "^8.46.4",
"vite": "^7.2.2"
"typescript-eslint": "^8.47.0",
"vite": "^7.2.4"
},
"packageManager": "pnpm@10.18.3+sha512.bbd16e6d7286fd7e01f6b3c0b3c932cda2965c06a908328f74663f10a9aea51f1129eea615134bf992831b009eabe167ecb7008b597f40ff9bc75946aadfb08d",
"pnpm": {
+2288 -946
View File
File diff suppressed because it is too large Load Diff
+19 -18
View File
@@ -31,9 +31,23 @@ const removeSuspense = <T>() =>
filter<T | SUSPENSE, T>((v): v is T => v !== SUSPENSE),
)
const getNetworkInfo = () =>
firstValueFrom(
chainProperties$.pipe(
removeSuspense(),
filter((v) => v != null),
map(({ tokenDecimals, tokenSymbol }) => ({
decimals: tokenDecimals!,
tokenSymbol: tokenSymbol!,
})),
),
)
const selectedAccountPlugin = createSelectedAccountPlugin()
const pjsWalletProvider = createPjsWalletProvider()
const polkadotVaultProvider = createPolkadotVaultProvider()
const polkadotVaultProvider = createPolkadotVaultProvider({
getNetworkInfo,
})
const readOnlyProvider$ = canSetStorage$.pipe(
liftSuspense(),
filter((v) => v !== SUSPENSE),
@@ -43,23 +57,10 @@ const readOnlyProvider$ = canSetStorage$.pipe(
}),
),
)
const ledgerAccountProvider = createLedgerProvider(
async () => {
const module = await import("@ledgerhq/hw-transport-webusb")
return module.default.create()
},
() =>
firstValueFrom(
chainProperties$.pipe(
removeSuspense(),
filter((v) => v != null),
map(({ tokenDecimals, tokenSymbol }) => ({
decimals: tokenDecimals!,
tokenSymbol: tokenSymbol!,
})),
),
),
)
const ledgerAccountProvider = createLedgerProvider(async () => {
const module = await import("@ledgerhq/hw-transport-webusb")
return module.default.create()
}, getNetworkInfo)
const walletConnectProvider = createWalletConnectProvider(
import.meta.env.VITE_REOWN_PROJECT_ID,
[