update polkadot-api

This commit is contained in:
Victor Oliva
2025-02-27 09:26:50 +01:00
parent 6e8b1f0853
commit 9963736a10
3 changed files with 513 additions and 493 deletions
+7 -7
View File
@@ -17,11 +17,11 @@
"@ledgerhq/hw-transport-webusb": "^6.29.4",
"@noble/hashes": "^1.5.0",
"@polkadot-api/descriptors": "file:.papi/descriptors",
"@polkadot-api/ledger-signer": "^0.1.7",
"@polkadot-api/metadata-builders": "^0.9.2",
"@polkadot-api/observable-client": "^0.6.3",
"@polkadot-api/react-builder": "0.2.1",
"@polkadot-api/substrate-bindings": "^0.9.4",
"@polkadot-api/ledger-signer": "^0.1.10",
"@polkadot-api/metadata-builders": "^0.10.1",
"@polkadot-api/observable-client": "^0.8.1",
"@polkadot-api/react-builder": "0.2.4",
"@polkadot-api/substrate-bindings": "^0.11.0",
"@polkadot-api/substrate-client": "^0.3.0",
"@polkadot-api/utils": "^0.1.2",
"@radix-ui/react-accordion": "^1.2.1",
@@ -46,7 +46,7 @@
"clsx": "^2.1.1",
"cmdk": "1.0.4",
"lucide-react": "^0.460.0",
"polkadot-api": "^1.7.7",
"polkadot-api": "^1.9.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-portal": "^4.2.2",
@@ -85,7 +85,7 @@
"pnpm": {
"patchedDependencies": {
"react18-json-view@0.2.8": "patches/react18-json-view@0.2.8.patch",
"@polkadot-api/observable-client@0.6.3": "patches/@polkadot-api__observable-client@0.6.3.patch"
"@polkadot-api/observable-client": "patches/@polkadot-api__observable-client.patch"
}
}
}
@@ -1,19 +1,19 @@
diff --git a/dist/esm/chainHead/chainHead.mjs b/dist/esm/chainHead/chainHead.mjs
index 43d1b02d7e3346d854971b92c102a61378c4e150..557ca7f05fe8effbfc3e448c7417f5e9ef715c04 100644
index 299d6849e6b8f9b97f97fc444e2fbf5e31ca49cc..a0508f9ef99f549207e024e16d2e13903a047189 100644
--- a/dist/esm/chainHead/chainHead.mjs
+++ b/dist/esm/chainHead/chainHead.mjs
@@ -154,7 +154,7 @@ const getChainHead$ = (chainHead) => {
best$.pipe(map((b) => b.hash))
@@ -175,7 +175,7 @@ const getChainHead$ = (chainHead) => {
usingBlock
);
const _body$ = withOptionalHash$(commonEnhancer(lazyFollower("body")));
const _body$ = withOptionalHash$(commonEnhancer(lazyFollower("body"), "body"));
- const body$ = (hash) => upsertCachedStream(hash, "body", _body$(hash, true));
+ const body$ = (hash, canonical) => upsertCachedStream(hash, "body", _body$(hash, canonical));
const _storage$ = commonEnhancer(lazyFollower("storage"));
const _storage$ = commonEnhancer(lazyFollower("storage"), "storage");
const storage$ = withOptionalHash$(
(hash, withCanonicalChain2, type, keyMapper, childTrie = null, mapper) => pinnedBlocks$.pipe(
@@ -243,11 +243,11 @@ const getChainHead$ = (chainHead) => {
runtime$,
@@ -289,11 +289,11 @@ const getChainHead$ = (chainHead) => {
metadata$,
genesis$,
header$,
- body$,
- call$: withCanonicalChain(call$),
@@ -24,6 +24,6 @@ index 43d1b02d7e3346d854971b92c102a61378c4e150..557ca7f05fe8effbfc3e448c7417f5e9
storageQueries$,
- eventsAt$: withCanonicalChain(eventsAt$),
+ eventsAt$: withCanonicalChain(eventsAt$, false),
holdBlock,
trackTx$,
trackTxWithoutEvents$,
validateTx$,
+498 -478
View File
File diff suppressed because it is too large Load Diff