Upgraded polkadot deps (#11489)

* chore: upgraded polkadot deps

* chore: updated resolutions

* fix: lint and build issues
This commit is contained in:
Arjun Porwal 2025-04-18 18:03:07 +05:30 committed by GitHub
parent 469681f88c
commit 85be596199
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 391 additions and 382 deletions

View File

@ -91,35 +91,35 @@
"source-map-explorer": "^2.5.3"
},
"resolutions": {
"@polkadot/api": "^15.9.1",
"@polkadot/api-augment": "^15.6.1",
"@polkadot/api-base": "^15.6.1",
"@polkadot/api-contract": "^15.9.1",
"@polkadot/api-derive": "^15.9.1",
"@polkadot/hw-ledger": "^13.4.3",
"@polkadot/keyring": "^13.4.3",
"@polkadot/networks": "^13.4.3",
"@polkadot/phishing": "^0.25.7",
"@polkadot/rpc-augment": "^15.6.1",
"@polkadot/rpc-core": "^15.6.1",
"@polkadot/rpc-provider": "^15.9.1",
"@polkadot/typegen": "^15.6.1",
"@polkadot/types": "^15.9.1",
"@polkadot/types-augment": "^15.6.1",
"@polkadot/types-codec": "^15.9.1",
"@polkadot/types-create": "^15.6.1",
"@polkadot/types-known": "^15.6.1",
"@polkadot/types-support": "^15.9.1",
"@polkadot/util": "^13.4.3",
"@polkadot/util-crypto": "^13.4.3",
"@polkadot/api": "^15.9.2",
"@polkadot/api-augment": "^15.9.2",
"@polkadot/api-base": "^15.9.2",
"@polkadot/api-contract": "^15.9.2",
"@polkadot/api-derive": "^15.9.2",
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/keyring": "^13.4.4",
"@polkadot/networks": "^13.4.4",
"@polkadot/phishing": "^0.25.8",
"@polkadot/rpc-augment": "^15.9.2",
"@polkadot/rpc-core": "^15.9.2",
"@polkadot/rpc-provider": "^15.9.2",
"@polkadot/typegen": "^15.9.2",
"@polkadot/types": "^15.9.2",
"@polkadot/types-augment": "^15.9.2",
"@polkadot/types-codec": "^15.9.2",
"@polkadot/types-create": "^15.9.2",
"@polkadot/types-known": "^15.9.2",
"@polkadot/types-support": "^15.9.2",
"@polkadot/util": "^13.4.4",
"@polkadot/util-crypto": "^13.4.4",
"@polkadot/wasm-crypto": "^7.4.1",
"@polkadot/x-bigint": "^13.3.1",
"@polkadot/x-fetch": "^13.4.3",
"@polkadot/x-global": "^13.3.1",
"@polkadot/x-randomvalues": "^13.3.1",
"@polkadot/x-textdecoder": "^13.3.1",
"@polkadot/x-textencoder": "^13.3.1",
"@polkadot/x-ws": "^13.4.3",
"@polkadot/x-bigint": "^13.4.4",
"@polkadot/x-fetch": "^13.4.4",
"@polkadot/x-global": "^13.4.4",
"@polkadot/x-randomvalues": "^13.4.4",
"@polkadot/x-textdecoder": "^13.4.4",
"@polkadot/x-textencoder": "^13.4.4",
"@polkadot/x-ws": "^13.4.4",
"typescript": "^5.5.4"
}
}

View File

@ -38,17 +38,17 @@
"@peaqnetwork/type-definitions": "0.0.4",
"@pendulum-chain/type-definitions": "0.3.8",
"@phala/typedefs": "0.2.33",
"@polkadot/api": "^15.9.1",
"@polkadot/api-derive": "^15.9.1",
"@polkadot/networks": "^13.4.3",
"@polkadot/react-identicon": "^3.12.2",
"@polkadot/types": "^15.9.1",
"@polkadot/types-codec": "^15.9.1",
"@polkadot/util": "^13.4.3",
"@polkadot/util-crypto": "^13.4.3",
"@polkadot/api": "^15.9.2",
"@polkadot/api-derive": "^15.9.2",
"@polkadot/networks": "^13.4.4",
"@polkadot/react-identicon": "^3.13.1",
"@polkadot/types": "^15.9.2",
"@polkadot/types-codec": "^15.9.2",
"@polkadot/util": "^13.4.4",
"@polkadot/util-crypto": "^13.4.4",
"@polkadot/wasm-util": "^7.4.1",
"@polkadot/x-fetch": "^13.4.3",
"@polkadot/x-ws": "^13.4.3",
"@polkadot/x-fetch": "^13.4.4",
"@polkadot/x-ws": "^13.4.4",
"@polymeshassociation/polymesh-types": "5.7.0",
"@snowfork/snowbridge-types": "0.2.7",
"@sora-substrate/type-definitions": "1.27.7",

View File

@ -16,12 +16,12 @@
"type": "module",
"version": "0.153.2-13-x",
"dependencies": {
"@polkadot/hw-ledger": "^13.4.3",
"@polkadot/phishing": "^0.25.7",
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/phishing": "^0.25.8",
"@polkadot/react-components": "^0.153.2-13-x",
"@polkadot/react-hooks": "^0.153.2-13-x",
"@polkadot/util": "^13.4.3",
"@polkadot/vanitygen": "^0.63.5",
"@polkadot/util": "^13.4.4",
"@polkadot/vanitygen": "^0.63.6",
"detect-browser": "^5.3.0",
"file-saver": "^2.0.5"
},

View File

@ -16,7 +16,7 @@
"type": "module",
"version": "0.153.2-13-x",
"dependencies": {
"@polkadot/api-contract": "15.9.1",
"@polkadot/api-contract": "15.9.2",
"eventemitter3": "^5.0.1"
},
"peerDependencies": {

View File

@ -4,7 +4,7 @@
import type { ApiPromise } from '@polkadot/api';
import type { SignedBlockExtended } from '@polkadot/api-derive/types';
import type { Event } from '@polkadot/types/interfaces';
import type { PolkadotPrimitivesV7CandidateReceipt } from '@polkadot/types/lookup';
import type { PolkadotPrimitivesV8CandidateReceipt } from '@polkadot/types/lookup';
import type { IEvent } from '@polkadot/types/types';
import type { BN } from '@polkadot/util';
import type { EventMapInfo } from './types.js';
@ -26,7 +26,7 @@ const EMPTY_EVENTS: Result = { lastBacked: {}, lastIncluded: {}, lastTimeout: {}
function includeEntry (map: EventMap, event: Event, blockHash: string, blockNumber: BN): void {
try {
const { descriptor } = (event as unknown as IEvent<[PolkadotPrimitivesV7CandidateReceipt]>).data[0];
const { descriptor } = (event as unknown as IEvent<[PolkadotPrimitivesV8CandidateReceipt]>).data[0];
if (descriptor?.paraId) {
map[descriptor.paraId.toString()] = {

View File

@ -20,10 +20,10 @@
"path": false
},
"dependencies": {
"@polkadot/api": "^15.9.1",
"@polkadot/extension-compat-metamask": "^0.58.7",
"@polkadot/extension-dapp": "^0.58.7",
"@polkadot/rpc-provider": "^15.9.1",
"@polkadot/api": "^15.9.2",
"@polkadot/extension-compat-metamask": "^0.58.8",
"@polkadot/extension-dapp": "^0.58.8",
"@polkadot/rpc-provider": "^15.9.2",
"fflate": "^0.8.1",
"rxjs": "^7.8.1"
},

View File

@ -19,15 +19,15 @@
"@fortawesome/fontawesome-svg-core": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@polkadot/keyring": "^13.4.3",
"@polkadot/keyring": "^13.4.4",
"@polkadot/react-api": "^0.153.2-13-x",
"@polkadot/react-identicon": "^3.12.2",
"@polkadot/react-qr": "^3.12.2",
"@polkadot/react-identicon": "^3.13.1",
"@polkadot/react-qr": "^3.13.1",
"@polkadot/react-query": "^0.153.2-13-x",
"@polkadot/ui-keyring": "^3.12.2",
"@polkadot/ui-settings": "^3.12.2",
"@polkadot/util": "^13.4.3",
"@polkadot/util-crypto": "^13.4.3",
"@polkadot/ui-keyring": "^3.13.1",
"@polkadot/ui-settings": "^3.13.1",
"@polkadot/util": "^13.4.4",
"@polkadot/util-crypto": "^13.4.4",
"chart.js": "^4.4.1",
"chartjs-plugin-annotation": "^3.0.1",
"chartjs-plugin-crosshair": "^2.0.0",

View File

@ -16,8 +16,8 @@
"type": "module",
"version": "0.153.2-13-x",
"dependencies": {
"@polkadot/hw-ledger": "^13.4.3",
"@polkadot/hw-ledger-transports": "^13.4.3",
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/hw-ledger-transports": "^13.4.4",
"is-ipfs": "^8.0.1"
},
"peerDependencies": {

View File

@ -17,7 +17,7 @@
"version": "0.153.2-13-x",
"dependencies": {
"@polkadot-api/merkleize-metadata": "^1.1.13",
"@polkadot/hw-ledger": "^13.4.3",
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/react-components": "^0.153.2-13-x"
},
"peerDependencies": {

View File

@ -20,7 +20,7 @@
"testcontainers": "^10.4.0"
},
"devDependencies": {
"@polkadot/types-support": "15.9.1",
"@polkadot/types-support": "15.9.2",
"@testing-library/jest-dom": "^5.17.0",
"tsconfig-paths": "^4.2.0"
},

653
yarn.lock

File diff suppressed because it is too large Load Diff