Skip to content

Commit 6dd6be5

Browse files
authored
Upgraded polkadot dependencies (#11597)
* chore: upgraded polkadot deps * fix: build error * chore: update resolutions
1 parent cff03c8 commit 6dd6be5

File tree

11 files changed

+417
-430
lines changed

11 files changed

+417
-430
lines changed

package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -91,35 +91,35 @@
9191
"source-map-explorer": "^2.5.3"
9292
},
9393
"resolutions": {
94-
"@polkadot/api": "^15.10.2",
95-
"@polkadot/api-augment": "^15.10.2",
96-
"@polkadot/api-base": "^15.10.2",
97-
"@polkadot/api-contract": "^15.10.2",
98-
"@polkadot/api-derive": "^15.10.2",
99-
"@polkadot/hw-ledger": "^13.4.4",
100-
"@polkadot/keyring": "^13.4.4",
101-
"@polkadot/networks": "^13.4.4",
102-
"@polkadot/phishing": "^0.25.10",
103-
"@polkadot/rpc-augment": "^15.10.2",
104-
"@polkadot/rpc-core": "^15.10.2",
105-
"@polkadot/rpc-provider": "^15.10.2",
106-
"@polkadot/typegen": "^15.10.2",
107-
"@polkadot/types": "^15.10.2",
108-
"@polkadot/types-augment": "^15.10.2",
109-
"@polkadot/types-codec": "^15.10.2",
110-
"@polkadot/types-create": "^15.10.2",
111-
"@polkadot/types-known": "^15.10.2",
112-
"@polkadot/types-support": "^15.10.2",
113-
"@polkadot/util": "^13.4.4",
114-
"@polkadot/util-crypto": "^13.4.4",
94+
"@polkadot/api": "^16.0.1",
95+
"@polkadot/api-augment": "^16.0.1",
96+
"@polkadot/api-base": "^16.0.1",
97+
"@polkadot/api-contract": "^16.0.1",
98+
"@polkadot/api-derive": "^16.0.1",
99+
"@polkadot/hw-ledger": "^13.5.1",
100+
"@polkadot/keyring": "^13.5.1",
101+
"@polkadot/networks": "^13.5.1",
102+
"@polkadot/phishing": "^0.25.11",
103+
"@polkadot/rpc-augment": "^16.0.1",
104+
"@polkadot/rpc-core": "^16.0.1",
105+
"@polkadot/rpc-provider": "^16.0.1",
106+
"@polkadot/typegen": "^16.0.1",
107+
"@polkadot/types": "^16.0.1",
108+
"@polkadot/types-augment": "^16.0.1",
109+
"@polkadot/types-codec": "^16.0.1",
110+
"@polkadot/types-create": "^16.0.1",
111+
"@polkadot/types-known": "^16.0.1",
112+
"@polkadot/types-support": "^16.0.1",
113+
"@polkadot/util": "^13.5.1",
114+
"@polkadot/util-crypto": "^13.5.1",
115115
"@polkadot/wasm-crypto": "^7.4.1",
116-
"@polkadot/x-bigint": "^13.4.4",
117-
"@polkadot/x-fetch": "^13.4.4",
118-
"@polkadot/x-global": "^13.4.4",
119-
"@polkadot/x-randomvalues": "^13.4.4",
120-
"@polkadot/x-textdecoder": "^13.4.4",
121-
"@polkadot/x-textencoder": "^13.4.4",
122-
"@polkadot/x-ws": "^13.4.4",
116+
"@polkadot/x-bigint": "^13.5.1",
117+
"@polkadot/x-fetch": "^13.5.1",
118+
"@polkadot/x-global": "^13.5.1",
119+
"@polkadot/x-randomvalues": "^13.5.1",
120+
"@polkadot/x-textdecoder": "^13.5.1",
121+
"@polkadot/x-textencoder": "^13.5.1",
122+
"@polkadot/x-ws": "^13.5.1",
123123
"typescript": "^5.5.4"
124124
}
125125
}

packages/apps-config/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,17 @@
3939
"@peaqnetwork/type-definitions": "0.0.4",
4040
"@pendulum-chain/type-definitions": "0.3.8",
4141
"@phala/typedefs": "0.2.33",
42-
"@polkadot/api": "^15.10.2",
43-
"@polkadot/api-derive": "^15.10.2",
44-
"@polkadot/networks": "^13.4.4",
45-
"@polkadot/react-identicon": "^3.13.1",
46-
"@polkadot/types": "^15.10.2",
47-
"@polkadot/types-codec": "^15.10.2",
48-
"@polkadot/util": "^13.4.4",
49-
"@polkadot/util-crypto": "^13.4.4",
42+
"@polkadot/api": "^16.0.1",
43+
"@polkadot/api-derive": "^16.0.1",
44+
"@polkadot/networks": "^13.5.1",
45+
"@polkadot/react-identicon": "^3.14.1",
46+
"@polkadot/types": "^16.0.1",
47+
"@polkadot/types-codec": "^16.0.1",
48+
"@polkadot/util": "^13.5.1",
49+
"@polkadot/util-crypto": "^13.5.1",
5050
"@polkadot/wasm-util": "^7.4.1",
51-
"@polkadot/x-fetch": "^13.4.4",
52-
"@polkadot/x-ws": "^13.4.4",
51+
"@polkadot/x-fetch": "^13.5.1",
52+
"@polkadot/x-ws": "^13.5.1",
5353
"@polymeshassociation/polymesh-types": "5.7.0",
5454
"@snowfork/snowbridge-types": "0.2.7",
5555
"@sora-substrate/type-definitions": "1.27.7",

packages/page-accounts/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
"type": "module",
1717
"version": "0.156.2-14-x",
1818
"dependencies": {
19-
"@polkadot/hw-ledger": "^13.4.4",
20-
"@polkadot/phishing": "^0.25.10",
19+
"@polkadot/hw-ledger": "^13.5.1",
20+
"@polkadot/phishing": "^0.25.11",
2121
"@polkadot/react-components": "^0.156.2-14-x",
2222
"@polkadot/react-hooks": "^0.156.2-14-x",
23-
"@polkadot/util": "^13.4.4",
24-
"@polkadot/vanitygen": "^0.63.7",
23+
"@polkadot/util": "^13.5.1",
24+
"@polkadot/vanitygen": "^0.63.8",
2525
"detect-browser": "^5.3.0",
2626
"file-saver": "^2.0.5"
2727
},

packages/page-contracts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"type": "module",
1717
"version": "0.156.2-14-x",
1818
"dependencies": {
19-
"@polkadot/api-contract": "15.10.2",
19+
"@polkadot/api-contract": "16.0.1",
2020
"eventemitter3": "^5.0.1"
2121
},
2222
"peerDependencies": {

packages/react-api/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
"path": false
2121
},
2222
"dependencies": {
23-
"@polkadot/api": "^15.10.2",
24-
"@polkadot/extension-compat-metamask": "^0.58.10",
25-
"@polkadot/extension-dapp": "^0.58.10",
26-
"@polkadot/rpc-provider": "^15.10.2",
23+
"@polkadot/api": "^16.0.1",
24+
"@polkadot/extension-compat-metamask": "^0.59.1",
25+
"@polkadot/extension-dapp": "^0.59.1",
26+
"@polkadot/rpc-provider": "^16.0.1",
2727
"fflate": "^0.8.1",
2828
"rxjs": "^7.8.1"
2929
},

packages/react-components/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"@fortawesome/fontawesome-svg-core": "^6.5.1",
2020
"@fortawesome/free-solid-svg-icons": "^6.5.1",
2121
"@fortawesome/react-fontawesome": "^0.2.0",
22-
"@polkadot/keyring": "^13.4.4",
22+
"@polkadot/keyring": "^13.5.1",
2323
"@polkadot/react-api": "^0.156.2-14-x",
24-
"@polkadot/react-identicon": "^3.13.1",
25-
"@polkadot/react-qr": "^3.13.1",
24+
"@polkadot/react-identicon": "^3.14.1",
25+
"@polkadot/react-qr": "^3.14.1",
2626
"@polkadot/react-query": "^0.156.2-14-x",
27-
"@polkadot/ui-keyring": "^3.13.1",
28-
"@polkadot/ui-settings": "^3.13.1",
29-
"@polkadot/util": "^13.4.4",
30-
"@polkadot/util-crypto": "^13.4.4",
27+
"@polkadot/ui-keyring": "^3.14.1",
28+
"@polkadot/ui-settings": "^3.14.1",
29+
"@polkadot/util": "^13.5.1",
30+
"@polkadot/util-crypto": "^13.5.1",
3131
"chart.js": "^4.4.1",
3232
"chartjs-plugin-annotation": "^3.0.1",
3333
"chartjs-plugin-crosshair": "^2.0.0",

packages/react-hooks/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
"type": "module",
1717
"version": "0.156.2-14-x",
1818
"dependencies": {
19-
"@polkadot/hw-ledger": "^13.4.4",
20-
"@polkadot/hw-ledger-transports": "^13.4.4",
19+
"@polkadot/hw-ledger": "^13.5.1",
20+
"@polkadot/hw-ledger-transports": "^13.5.1",
2121
"is-ipfs": "^8.0.1"
2222
},
2323
"peerDependencies": {

packages/react-hooks/src/ctx/PayWithAsset.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ function PayWithAssetProvider ({ children }: Props): React.ReactElement<Props> {
6666
}, [completeAssetInfos]);
6767

6868
const isEnabled = useMemo(() =>
69-
api.registry.metadata.extrinsic.signedExtensions.some(
70-
(a) => a.identifier.toString() === 'ChargeAssetTxPayment'
69+
api.registry.signedExtensions.some(
70+
(a) => a === 'ChargeAssetTxPayment'
7171
) &&
7272
!!api.tx.assetConversion &&
7373
!!api.call.assetConversionApi &&
7474
completeAssetInfos.length > 0,
75-
[api.call.assetConversionApi, api.registry.metadata.extrinsic.signedExtensions, api.tx.assetConversion, completeAssetInfos.length]
75+
[api.call.assetConversionApi, api.registry.signedExtensions, api.tx.assetConversion, completeAssetInfos.length]
7676
);
7777

7878
const values: PayWithAsset = useMemo(() => {

packages/react-signer/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"version": "0.156.2-14-x",
1818
"dependencies": {
1919
"@polkadot-api/merkleize-metadata": "^1.1.13",
20-
"@polkadot/hw-ledger": "^13.4.4",
20+
"@polkadot/hw-ledger": "^13.5.1",
2121
"@polkadot/react-components": "^0.156.2-14-x"
2222
},
2323
"peerDependencies": {

packages/test-support/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"testcontainers": "^10.4.0"
2121
},
2222
"devDependencies": {
23-
"@polkadot/types-support": "15.10.2",
23+
"@polkadot/types-support": "16.0.1",
2424
"@testing-library/jest-dom": "^5.17.0",
2525
"tsconfig-paths": "^4.2.0"
2626
},

0 commit comments

Comments
 (0)