Upgraded polkadot dependencies (#11597)

* chore: upgraded polkadot deps

* fix: build error

* chore: update resolutions
This commit is contained in:
Arjun Porwal 2025-06-02 17:14:31 +05:30 committed by GitHub
parent cff03c85f0
commit 6dd6be5751
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 412 additions and 425 deletions

View File

@ -91,35 +91,35 @@
"source-map-explorer": "^2.5.3"
},
"resolutions": {
"@polkadot/api": "^15.10.2",
"@polkadot/api-augment": "^15.10.2",
"@polkadot/api-base": "^15.10.2",
"@polkadot/api-contract": "^15.10.2",
"@polkadot/api-derive": "^15.10.2",
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/keyring": "^13.4.4",
"@polkadot/networks": "^13.4.4",
"@polkadot/phishing": "^0.25.10",
"@polkadot/rpc-augment": "^15.10.2",
"@polkadot/rpc-core": "^15.10.2",
"@polkadot/rpc-provider": "^15.10.2",
"@polkadot/typegen": "^15.10.2",
"@polkadot/types": "^15.10.2",
"@polkadot/types-augment": "^15.10.2",
"@polkadot/types-codec": "^15.10.2",
"@polkadot/types-create": "^15.10.2",
"@polkadot/types-known": "^15.10.2",
"@polkadot/types-support": "^15.10.2",
"@polkadot/util": "^13.4.4",
"@polkadot/util-crypto": "^13.4.4",
"@polkadot/api": "^16.0.1",
"@polkadot/api-augment": "^16.0.1",
"@polkadot/api-base": "^16.0.1",
"@polkadot/api-contract": "^16.0.1",
"@polkadot/api-derive": "^16.0.1",
"@polkadot/hw-ledger": "^13.5.1",
"@polkadot/keyring": "^13.5.1",
"@polkadot/networks": "^13.5.1",
"@polkadot/phishing": "^0.25.11",
"@polkadot/rpc-augment": "^16.0.1",
"@polkadot/rpc-core": "^16.0.1",
"@polkadot/rpc-provider": "^16.0.1",
"@polkadot/typegen": "^16.0.1",
"@polkadot/types": "^16.0.1",
"@polkadot/types-augment": "^16.0.1",
"@polkadot/types-codec": "^16.0.1",
"@polkadot/types-create": "^16.0.1",
"@polkadot/types-known": "^16.0.1",
"@polkadot/types-support": "^16.0.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/wasm-crypto": "^7.4.1",
"@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",
"@polkadot/x-bigint": "^13.5.1",
"@polkadot/x-fetch": "^13.5.1",
"@polkadot/x-global": "^13.5.1",
"@polkadot/x-randomvalues": "^13.5.1",
"@polkadot/x-textdecoder": "^13.5.1",
"@polkadot/x-textencoder": "^13.5.1",
"@polkadot/x-ws": "^13.5.1",
"typescript": "^5.5.4"
}
}

View File

@ -39,17 +39,17 @@
"@peaqnetwork/type-definitions": "0.0.4",
"@pendulum-chain/type-definitions": "0.3.8",
"@phala/typedefs": "0.2.33",
"@polkadot/api": "^15.10.2",
"@polkadot/api-derive": "^15.10.2",
"@polkadot/networks": "^13.4.4",
"@polkadot/react-identicon": "^3.13.1",
"@polkadot/types": "^15.10.2",
"@polkadot/types-codec": "^15.10.2",
"@polkadot/util": "^13.4.4",
"@polkadot/util-crypto": "^13.4.4",
"@polkadot/api": "^16.0.1",
"@polkadot/api-derive": "^16.0.1",
"@polkadot/networks": "^13.5.1",
"@polkadot/react-identicon": "^3.14.1",
"@polkadot/types": "^16.0.1",
"@polkadot/types-codec": "^16.0.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"@polkadot/wasm-util": "^7.4.1",
"@polkadot/x-fetch": "^13.4.4",
"@polkadot/x-ws": "^13.4.4",
"@polkadot/x-fetch": "^13.5.1",
"@polkadot/x-ws": "^13.5.1",
"@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.156.2-14-x",
"dependencies": {
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/phishing": "^0.25.10",
"@polkadot/hw-ledger": "^13.5.1",
"@polkadot/phishing": "^0.25.11",
"@polkadot/react-components": "^0.156.2-14-x",
"@polkadot/react-hooks": "^0.156.2-14-x",
"@polkadot/util": "^13.4.4",
"@polkadot/vanitygen": "^0.63.7",
"@polkadot/util": "^13.5.1",
"@polkadot/vanitygen": "^0.63.8",
"detect-browser": "^5.3.0",
"file-saver": "^2.0.5"
},

View File

@ -16,7 +16,7 @@
"type": "module",
"version": "0.156.2-14-x",
"dependencies": {
"@polkadot/api-contract": "15.10.2",
"@polkadot/api-contract": "16.0.1",
"eventemitter3": "^5.0.1"
},
"peerDependencies": {

View File

@ -20,10 +20,10 @@
"path": false
},
"dependencies": {
"@polkadot/api": "^15.10.2",
"@polkadot/extension-compat-metamask": "^0.58.10",
"@polkadot/extension-dapp": "^0.58.10",
"@polkadot/rpc-provider": "^15.10.2",
"@polkadot/api": "^16.0.1",
"@polkadot/extension-compat-metamask": "^0.59.1",
"@polkadot/extension-dapp": "^0.59.1",
"@polkadot/rpc-provider": "^16.0.1",
"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.4",
"@polkadot/keyring": "^13.5.1",
"@polkadot/react-api": "^0.156.2-14-x",
"@polkadot/react-identicon": "^3.13.1",
"@polkadot/react-qr": "^3.13.1",
"@polkadot/react-identicon": "^3.14.1",
"@polkadot/react-qr": "^3.14.1",
"@polkadot/react-query": "^0.156.2-14-x",
"@polkadot/ui-keyring": "^3.13.1",
"@polkadot/ui-settings": "^3.13.1",
"@polkadot/util": "^13.4.4",
"@polkadot/util-crypto": "^13.4.4",
"@polkadot/ui-keyring": "^3.14.1",
"@polkadot/ui-settings": "^3.14.1",
"@polkadot/util": "^13.5.1",
"@polkadot/util-crypto": "^13.5.1",
"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.156.2-14-x",
"dependencies": {
"@polkadot/hw-ledger": "^13.4.4",
"@polkadot/hw-ledger-transports": "^13.4.4",
"@polkadot/hw-ledger": "^13.5.1",
"@polkadot/hw-ledger-transports": "^13.5.1",
"is-ipfs": "^8.0.1"
},
"peerDependencies": {

View File

@ -66,13 +66,13 @@ function PayWithAssetProvider ({ children }: Props): React.ReactElement<Props> {
}, [completeAssetInfos]);
const isEnabled = useMemo(() =>
api.registry.metadata.extrinsic.signedExtensions.some(
(a) => a.identifier.toString() === 'ChargeAssetTxPayment'
api.registry.signedExtensions.some(
(a) => a === 'ChargeAssetTxPayment'
) &&
!!api.tx.assetConversion &&
!!api.call.assetConversionApi &&
completeAssetInfos.length > 0,
[api.call.assetConversionApi, api.registry.metadata.extrinsic.signedExtensions, api.tx.assetConversion, completeAssetInfos.length]
[api.call.assetConversionApi, api.registry.signedExtensions, api.tx.assetConversion, completeAssetInfos.length]
);
const values: PayWithAsset = useMemo(() => {

View File

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

View File

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

715
yarn.lock

File diff suppressed because it is too large Load Diff