diff --git a/package.json b/package.json index b2817a864d..83a168936b 100644 --- a/package.json +++ b/package.json @@ -94,24 +94,24 @@ "styled-components": "^5.3.6" }, "resolutions": { - "@polkadot/api": "^9.10.2", - "@polkadot/api-augment": "^9.10.2", - "@polkadot/api-base": "^9.10.2", - "@polkadot/api-contract": "^9.10.2", - "@polkadot/api-derive": "^9.10.2", + "@polkadot/api": "^9.10.3", + "@polkadot/api-augment": "^9.10.3", + "@polkadot/api-base": "^9.10.3", + "@polkadot/api-contract": "^9.10.3", + "@polkadot/api-derive": "^9.10.3", "@polkadot/hw-ledger": "^10.2.1", "@polkadot/keyring": "^10.2.1", "@polkadot/networks": "^10.2.1", "@polkadot/phishing": "^0.18.12", - "@polkadot/rpc-augment": "^9.10.2", - "@polkadot/rpc-core": "^9.10.2", - "@polkadot/rpc-provider": "^9.10.2", - "@polkadot/types": "^9.10.2", - "@polkadot/types-augment": "^9.10.2", - "@polkadot/types-codec": "^9.10.2", - "@polkadot/types-create": "^9.10.2", - "@polkadot/types-known": "^9.10.2", - "@polkadot/types-support": "^9.10.2", + "@polkadot/rpc-augment": "^9.10.3", + "@polkadot/rpc-core": "^9.10.3", + "@polkadot/rpc-provider": "^9.10.3", + "@polkadot/types": "^9.10.3", + "@polkadot/types-augment": "^9.10.3", + "@polkadot/types-codec": "^9.10.3", + "@polkadot/types-create": "^9.10.3", + "@polkadot/types-known": "^9.10.3", + "@polkadot/types-support": "^9.10.3", "@polkadot/util": "^10.2.1", "@polkadot/util-crypto": "^10.2.1", "@polkadot/wasm-crypto": "^6.4.1", diff --git a/packages/apps-config/package.json b/packages/apps-config/package.json index 18e9b6fb17..009c344dbb 100644 --- a/packages/apps-config/package.json +++ b/packages/apps-config/package.json @@ -32,10 +32,10 @@ "@metaverse-network-sdk/type-definitions": "^0.0.1-13", "@parallel-finance/type-definitions": "1.7.13", "@phala/typedefs": "0.2.32", - "@polkadot/api": "^9.10.2", - "@polkadot/api-derive": "^9.10.2", + "@polkadot/api": "^9.10.3", + "@polkadot/api-derive": "^9.10.3", "@polkadot/networks": "^10.2.1", - "@polkadot/types": "^9.10.2", + "@polkadot/types": "^9.10.3", "@polkadot/util": "^10.2.1", "@polkadot/x-fetch": "^10.2.1", "@polymathnetwork/polymesh-types": "0.0.2", diff --git a/packages/page-contracts/package.json b/packages/page-contracts/package.json index 0b0e45e268..dd7d1ff98f 100644 --- a/packages/page-contracts/package.json +++ b/packages/page-contracts/package.json @@ -14,6 +14,6 @@ "version": "0.122.3-131-x", "dependencies": { "@babel/runtime": "^7.20.6", - "@polkadot/api-contract": "^9.10.2" + "@polkadot/api-contract": "^9.10.3" } } diff --git a/packages/page-gilt/src/Overview/BidAdd.tsx b/packages/page-gilt/src/Overview/BidAdd.tsx index 618b435acd..c382336367 100644 --- a/packages/page-gilt/src/Overview/BidAdd.tsx +++ b/packages/page-gilt/src/Overview/BidAdd.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2022 @polkadot/app-gilt authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { u128 } from '@polkadot/types'; import type { BN } from '@polkadot/util'; import React, { useMemo, useState } from 'react'; @@ -35,8 +36,8 @@ function Bid ({ className, isDisabled, proxies }: Props): React.ReactElement diff --git a/packages/page-gilt/src/Overview/Summary.tsx b/packages/page-gilt/src/Overview/Summary.tsx index 92efbdc1f4..bc77c961b3 100644 --- a/packages/page-gilt/src/Overview/Summary.tsx +++ b/packages/page-gilt/src/Overview/Summary.tsx @@ -1,6 +1,7 @@ // Copyright 2017-2022 @polkadot/app-gilt authors & contributors // SPDX-License-Identifier: Apache-2.0 +import type { u128 } from '@polkadot/types'; import type { ActiveGiltsTotal } from '@polkadot/types/interfaces'; import React from 'react'; @@ -53,7 +54,7 @@ function Summary ({ activeTotal, className, isDisabled }: Props): React.ReactEle label={t('intake')} progress={{ total: api.consts.gilt.intakePeriod, - value: bestNumber.mod(api.consts.gilt.intakePeriod), + value: bestNumber.mod(api.consts.gilt.intakePeriod as u128), withTime: true }} /> diff --git a/packages/page-referenda/src/Referenda/Deposits/index.tsx b/packages/page-referenda/src/Referenda/Deposits/index.tsx index 664574d88e..606fa76323 100644 --- a/packages/page-referenda/src/Referenda/Deposits/index.tsx +++ b/packages/page-referenda/src/Referenda/Deposits/index.tsx @@ -1,12 +1,11 @@ // Copyright 2017-2022 @polkadot/app-referenda authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { Option } from '@polkadot/types'; import type { PalletReferendaDeposit, PalletReferendaTrackInfo } from '@polkadot/types/lookup'; import type { BN } from '@polkadot/util'; import type { PalletReferenda } from '../../types'; -import React, { useMemo } from 'react'; +import React from 'react'; import styled from 'styled-components'; import { AddressMini } from '@polkadot/react-components'; @@ -18,7 +17,7 @@ interface Props { canDeposit?: boolean; canRefund?: boolean; className?: string; - decision: Option | null; + decision: PalletReferendaDeposit | null; id: BN; palletReferenda: PalletReferenda; submit: PalletReferendaDeposit | null; @@ -26,26 +25,21 @@ interface Props { } function Deposits ({ canDeposit, canRefund, className = '', decision, id, palletReferenda, submit, track }: Props): React.ReactElement { - const [valSubmit, valDeposit] = useMemo( - () => [submit, decision && decision.unwrapOr(null)], - [decision, submit] - ); - return ( - {valSubmit && ( + {submit && ( )} - {valDeposit + {decision ? ( <> {canRefund && ( diff --git a/packages/page-referenda/src/Referenda/RefOngoing.tsx b/packages/page-referenda/src/Referenda/RefOngoing.tsx index 45e9e70238..17e5840726 100644 --- a/packages/page-referenda/src/Referenda/RefOngoing.tsx +++ b/packages/page-referenda/src/Referenda/RefOngoing.tsx @@ -2,7 +2,7 @@ // SPDX-License-Identifier: Apache-2.0 import type { Hash } from '@polkadot/types/interfaces'; -import type { PalletReferendaTrackInfo } from '@polkadot/types/lookup'; +import type { PalletConvictionVotingTally, PalletRankedCollectiveTally, PalletReferendaDeposit, PalletReferendaTrackInfo } from '@polkadot/types/lookup'; import type { BN } from '@polkadot/util'; import type { HexString } from '@polkadot/util/types'; import type { Referendum, ReferendumProps as Props } from '../types'; @@ -15,11 +15,12 @@ import { CallExpander, Progress } from '@polkadot/react-components'; import { useTranslation } from '../translate'; import Deposits from './Deposits'; import RefEnd from './RefEnd'; +import { unwrapDeposit } from './util'; import Vote from './Vote'; import Votes from './Votes'; interface Expanded { - ongoing: Referendum['info']['asOngoing']; + decisionDeposit: PalletReferendaDeposit | null; periods: { periodEnd: BN | null; prepareEnd: BN | null; @@ -28,6 +29,8 @@ interface Expanded { }; proposalHash: HexString; shortHash: string; + submissionDeposit: PalletReferendaDeposit | null; + tally: PalletConvictionVotingTally | PalletRankedCollectiveTally; tallyTotal: BN; } @@ -58,7 +61,7 @@ function expandOngoing (info: Referendum['info'], track?: PalletReferendaTrackIn } return { - ongoing, + decisionDeposit: unwrapDeposit(ongoing.decisionDeposit), periods: { confirmEnd, decideEnd, @@ -67,6 +70,8 @@ function expandOngoing (info: Referendum['info'], track?: PalletReferendaTrackIn }, proposalHash, shortHash: `${proposalHash.slice(0, 10)}…${proposalHash.slice(-8)}`, + submissionDeposit: unwrapDeposit(ongoing.submissionDeposit), + tally: ongoing.tally, tallyTotal: ongoing.tally.ayes.add(ongoing.tally.nays) }; } @@ -74,7 +79,7 @@ function expandOngoing (info: Referendum['info'], track?: PalletReferendaTrackIn function Ongoing ({ isMember, members, palletReferenda, palletVote, ranks, trackInfo, value: { id, info, isConvictionVote, track } }: Props): React.ReactElement { const { t } = useTranslation(); - const { ongoing: { decisionDeposit, submissionDeposit, tally }, periods: { confirmEnd, decideEnd, periodEnd }, proposalHash, shortHash, tallyTotal } = useMemo( + const { decisionDeposit, periods: { confirmEnd, decideEnd, periodEnd }, proposalHash, shortHash, submissionDeposit, tally, tallyTotal } = useMemo( () => expandOngoing(info, track), [info, track] ); diff --git a/packages/page-referenda/src/Referenda/RefTuple.tsx b/packages/page-referenda/src/Referenda/RefTuple.tsx index 8ad73efd02..2b15170ac8 100644 --- a/packages/page-referenda/src/Referenda/RefTuple.tsx +++ b/packages/page-referenda/src/Referenda/RefTuple.tsx @@ -1,7 +1,6 @@ // Copyright 2017-2022 @polkadot/app-referenda authors & contributors // SPDX-License-Identifier: Apache-2.0 -import type { Option } from '@polkadot/types'; import type { PalletReferendaDeposit } from '@polkadot/types/lookup'; import type { BN } from '@polkadot/util'; import type { Referendum, ReferendumProps as Props } from '../types'; @@ -10,9 +9,10 @@ import React, { useMemo } from 'react'; import Deposits from './Deposits'; import RefEnd from './RefEnd'; +import { unwrapDeposit } from './util'; interface Expanded { - decision: Option | null; + decision: PalletReferendaDeposit | null; submit: PalletReferendaDeposit | null; when: BN | null; } @@ -30,8 +30,8 @@ function expandTuple (info: Referendum['info']): Expanded { return data ? { - decision: data[2], - submit: data[1], + decision: unwrapDeposit(data[2]), + submit: unwrapDeposit(data[1]), when: data[0] } : { diff --git a/packages/page-referenda/src/Referenda/Vote.tsx b/packages/page-referenda/src/Referenda/Vote.tsx index 10b4b294f6..b469e2a0de 100644 --- a/packages/page-referenda/src/Referenda/Vote.tsx +++ b/packages/page-referenda/src/Referenda/Vote.tsx @@ -50,8 +50,6 @@ function createVoteOpts (api: ApiPromise, t: TFunction): { text: string, value: let hasAbstain = false; try { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-expect-error This issue will go way with the correct types hasAbstain = !!api.createType('PalletConvictionVotingVoteAccountVote', { SplitAbstain: { abstain: 1 } }).isSplitAbstain; } catch { hasAbstain = false; diff --git a/packages/page-referenda/src/Referenda/util.ts b/packages/page-referenda/src/Referenda/util.ts new file mode 100644 index 0000000000..f4806efc59 --- /dev/null +++ b/packages/page-referenda/src/Referenda/util.ts @@ -0,0 +1,12 @@ +// Copyright 2017-2022 @polkadot/app-referenda authors & contributors +// SPDX-License-Identifier: Apache-2.0 + +import type { PalletReferendaDeposit } from '@polkadot/types/lookup'; + +import { Option } from '@polkadot/types'; + +export function unwrapDeposit (value: PalletReferendaDeposit | Option): PalletReferendaDeposit | null { + return value instanceof Option + ? value.unwrapOr(null) + : value; +} diff --git a/packages/page-referenda/src/useAccountLocks.ts b/packages/page-referenda/src/useAccountLocks.ts index b049c59dc8..2e95e5a01e 100644 --- a/packages/page-referenda/src/useAccountLocks.ts +++ b/packages/page-referenda/src/useAccountLocks.ts @@ -12,15 +12,6 @@ import { useMemo } from 'react'; import { createNamedHook, useApi, useCall } from '@polkadot/react-hooks'; import { BN_MAX_INTEGER } from '@polkadot/util'; -interface WithAbstain { - asSplitAbstain: { - abstain: BN; - aye: BN; - nay: BN; - }; - isSplitAbstain: boolean; -} - const OPT_CLASS = { transform: (locks: [BN, BN][]): BN[] => locks.map(([classId]) => classId) @@ -109,9 +100,8 @@ function getLocks (api: ApiPromise, palletVote: PalletVote, votes: [classId: BN, const { aye, nay } = accountVote.asSplit; total = aye.add(nay); - } else if ((accountVote as unknown as WithAbstain).isSplitAbstain) { - // FIXME Once we have updated the API with latest metadata, this won't be needed - const { abstain, aye, nay } = (accountVote as unknown as WithAbstain).asSplitAbstain; + } else if (accountVote.isSplitAbstain) { + const { abstain, aye, nay } = accountVote.asSplitAbstain; total = aye.add(nay).add(abstain); } else { diff --git a/packages/react-api/package.json b/packages/react-api/package.json index 981b6c3f4a..205b042222 100644 --- a/packages/react-api/package.json +++ b/packages/react-api/package.json @@ -18,10 +18,10 @@ }, "dependencies": { "@babel/runtime": "^7.20.6", - "@polkadot/api": "^9.10.2", + "@polkadot/api": "^9.10.3", "@polkadot/extension-compat-metamask": "^0.44.6", "@polkadot/extension-dapp": "^0.44.6", - "@polkadot/rpc-provider": "^9.10.2", + "@polkadot/rpc-provider": "^9.10.3", "fflate": "^0.7.4", "rxjs": "^7.6.0" } diff --git a/packages/test-support/package.json b/packages/test-support/package.json index e91aa037ad..a9a16911a8 100644 --- a/packages/test-support/package.json +++ b/packages/test-support/package.json @@ -17,7 +17,7 @@ "testcontainers": "^8.16.0" }, "devDependencies": { - "@polkadot/types-support": "^9.10.2", + "@polkadot/types-support": "^9.10.3", "@testing-library/jest-dom": "^5.16.5", "tsconfig-paths": "^4.1.1" } diff --git a/yarn.lock b/yarn.lock index afb97181da..0964c276a0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2714,90 +2714,90 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/api-augment@npm:9.10.2" +"@polkadot/api-augment@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/api-augment@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/api-base": 9.10.2 - "@polkadot/rpc-augment": 9.10.2 - "@polkadot/types": 9.10.2 - "@polkadot/types-augment": 9.10.2 - "@polkadot/types-codec": 9.10.2 + "@polkadot/api-base": 9.10.3 + "@polkadot/rpc-augment": 9.10.3 + "@polkadot/types": 9.10.3 + "@polkadot/types-augment": 9.10.3 + "@polkadot/types-codec": 9.10.3 "@polkadot/util": ^10.2.1 - checksum: 79b2162195b63933aae4be1452f07c00ce78f7d08e927f6c832942a2609438ebd32a4ec6103b779e36a0dad53a0e622416b36a3d67a91232219f3d7b4244fae3 + checksum: a51f93cde9af1ae9f371647f3a1420469d64963f05678176f3ce7885bfc1ff073d468d6aad2528567845cefa3b51894ef9d636f73701e5db3bc1ae3fc30e917d languageName: node linkType: hard -"@polkadot/api-base@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/api-base@npm:9.10.2" +"@polkadot/api-base@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/api-base@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/rpc-core": 9.10.2 - "@polkadot/types": 9.10.2 + "@polkadot/rpc-core": 9.10.3 + "@polkadot/types": 9.10.3 "@polkadot/util": ^10.2.1 - rxjs: ^7.6.0 - checksum: 648616b77e11adc3dfd09a1d5d5128c5ba6510f23d5a6b16599fce3c31e19d4d2b69367ae9b0891839f17f618e054b2dbc01f7322900a32c97e740a07080dada + rxjs: ^7.8.0 + checksum: 2b87d0bce1e6b7934a4191e6efb1f9888410d0229b392ad958706307a0d7bc770ad04d16497a545646a9387cb8b12b9efe88628aa9b45e5fb8c08daa915b7a3b languageName: node linkType: hard -"@polkadot/api-contract@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/api-contract@npm:9.10.2" +"@polkadot/api-contract@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/api-contract@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/api": 9.10.2 - "@polkadot/types": 9.10.2 - "@polkadot/types-codec": 9.10.2 - "@polkadot/types-create": 9.10.2 + "@polkadot/api": 9.10.3 + "@polkadot/types": 9.10.3 + "@polkadot/types-codec": 9.10.3 + "@polkadot/types-create": 9.10.3 "@polkadot/util": ^10.2.1 "@polkadot/util-crypto": ^10.2.1 - rxjs: ^7.6.0 - checksum: 77f1e918a15932e04ba7d32c4d7b0ea74eb9e5749f5ffa3204040fd68dd7ad4c0effa54ef020a7d40c82300477aa7d73c9b9de688421e4e06a899f5d7f42f997 + rxjs: ^7.8.0 + checksum: bb0b13cba4a6aa21b143895a409ce4fc9066a0d908b4c717bbcc9dc278b947425c8163f436bc1e4148328d72ab496407ca80a5e33d1d9285612dc4926a533b03 languageName: node linkType: hard -"@polkadot/api-derive@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/api-derive@npm:9.10.2" +"@polkadot/api-derive@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/api-derive@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/api": 9.10.2 - "@polkadot/api-augment": 9.10.2 - "@polkadot/api-base": 9.10.2 - "@polkadot/rpc-core": 9.10.2 - "@polkadot/types": 9.10.2 - "@polkadot/types-codec": 9.10.2 + "@polkadot/api": 9.10.3 + "@polkadot/api-augment": 9.10.3 + "@polkadot/api-base": 9.10.3 + "@polkadot/rpc-core": 9.10.3 + "@polkadot/types": 9.10.3 + "@polkadot/types-codec": 9.10.3 "@polkadot/util": ^10.2.1 "@polkadot/util-crypto": ^10.2.1 - rxjs: ^7.6.0 - checksum: 4cd5f26baaea161908b942ffff68d5311b139c70bee4067718757e02bce1d38ec0e02c2d8658b7f14794f86e139283f1db51f2294a57f865d5ce8326b39eb1b5 + rxjs: ^7.8.0 + checksum: ebc9fd63d00dcf67ecc3813047a4185a9055e0a97123941e0374fac992df58f73d546c82de401b66a402c2da2220527a977ad80757a6abd1c2bcfbcc2ada2635 languageName: node linkType: hard -"@polkadot/api@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/api@npm:9.10.2" +"@polkadot/api@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/api@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/api-augment": 9.10.2 - "@polkadot/api-base": 9.10.2 - "@polkadot/api-derive": 9.10.2 + "@polkadot/api-augment": 9.10.3 + "@polkadot/api-base": 9.10.3 + "@polkadot/api-derive": 9.10.3 "@polkadot/keyring": ^10.2.1 - "@polkadot/rpc-augment": 9.10.2 - "@polkadot/rpc-core": 9.10.2 - "@polkadot/rpc-provider": 9.10.2 - "@polkadot/types": 9.10.2 - "@polkadot/types-augment": 9.10.2 - "@polkadot/types-codec": 9.10.2 - "@polkadot/types-create": 9.10.2 - "@polkadot/types-known": 9.10.2 + "@polkadot/rpc-augment": 9.10.3 + "@polkadot/rpc-core": 9.10.3 + "@polkadot/rpc-provider": 9.10.3 + "@polkadot/types": 9.10.3 + "@polkadot/types-augment": 9.10.3 + "@polkadot/types-codec": 9.10.3 + "@polkadot/types-create": 9.10.3 + "@polkadot/types-known": 9.10.3 "@polkadot/util": ^10.2.1 "@polkadot/util-crypto": ^10.2.1 eventemitter3: ^4.0.7 - rxjs: ^7.6.0 - checksum: dc912213e567cfdb262ccfdfae71bb03da5172760f452968173c371015130bad48a9cb65335fe94acda5dd39a1c8f1a0820f9a885150c9f325c53e1578002e25 + rxjs: ^7.8.0 + checksum: 641bd6c51ea73d4db5f9691712841f2f766764d811b0d773c68a76a13c1f3bbe94a57246880dda6250fe6f06c6ab2860e066fc56b5989aa3861d0bb5f72801b4 languageName: node linkType: hard @@ -2889,7 +2889,7 @@ __metadata: resolution: "@polkadot/app-contracts@workspace:packages/page-contracts" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/api-contract": ^9.10.2 + "@polkadot/api-contract": ^9.10.3 languageName: unknown linkType: soft @@ -3176,10 +3176,10 @@ __metadata: "@metaverse-network-sdk/type-definitions": ^0.0.1-13 "@parallel-finance/type-definitions": 1.7.13 "@phala/typedefs": 0.2.32 - "@polkadot/api": ^9.10.2 - "@polkadot/api-derive": ^9.10.2 + "@polkadot/api": ^9.10.3 + "@polkadot/api-derive": ^9.10.3 "@polkadot/networks": ^10.2.1 - "@polkadot/types": ^9.10.2 + "@polkadot/types": ^9.10.3 "@polkadot/util": ^10.2.1 "@polkadot/x-fetch": ^10.2.1 "@polymathnetwork/polymesh-types": 0.0.2 @@ -3492,10 +3492,10 @@ __metadata: resolution: "@polkadot/react-api@workspace:packages/react-api" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/api": ^9.10.2 + "@polkadot/api": ^9.10.3 "@polkadot/extension-compat-metamask": ^0.44.6 "@polkadot/extension-dapp": ^0.44.6 - "@polkadot/rpc-provider": ^9.10.2 + "@polkadot/rpc-provider": ^9.10.3 fflate: ^0.7.4 rxjs: ^7.6.0 languageName: unknown @@ -3632,51 +3632,51 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/rpc-augment@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/rpc-augment@npm:9.10.2" +"@polkadot/rpc-augment@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/rpc-augment@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/rpc-core": 9.10.2 - "@polkadot/types": 9.10.2 - "@polkadot/types-codec": 9.10.2 + "@polkadot/rpc-core": 9.10.3 + "@polkadot/types": 9.10.3 + "@polkadot/types-codec": 9.10.3 "@polkadot/util": ^10.2.1 - checksum: 8221e8bd746da9b258920c94a5d813e45d8f52e7e26e0116890752561a1b16a386468218237b1c2275906768bb01a495827c082e1b0e642ab35169517e54be15 + checksum: e6c48efed99b09c9396fff6e3d62f968b297869cad0e36ff463a85394423be37633b83c9d99b8b6a56be17199bed2dda4af5b8aa0c04d0390ad3aa87f282f593 languageName: node linkType: hard -"@polkadot/rpc-core@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/rpc-core@npm:9.10.2" +"@polkadot/rpc-core@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/rpc-core@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/rpc-augment": 9.10.2 - "@polkadot/rpc-provider": 9.10.2 - "@polkadot/types": 9.10.2 + "@polkadot/rpc-augment": 9.10.3 + "@polkadot/rpc-provider": 9.10.3 + "@polkadot/types": 9.10.3 "@polkadot/util": ^10.2.1 - rxjs: ^7.6.0 - checksum: 1b87438a59bc6c65568517df3cddbd43b34df5af01a83831c17987f4e1e37b8a5e1d80eabb98741bc547b72cd65a4b5e48b414463c79c56c187af141cab7f711 + rxjs: ^7.8.0 + checksum: 9dee148020fe9e23ae5359195ad6f4a38fcaeced31c805b38b78d1d5d77b78ea5bcda680800dde0f6e08c27dcc266ea660ade9a6d63ed61c9571af007f352c21 languageName: node linkType: hard -"@polkadot/rpc-provider@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/rpc-provider@npm:9.10.2" +"@polkadot/rpc-provider@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/rpc-provider@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 "@polkadot/keyring": ^10.2.1 - "@polkadot/types": 9.10.2 - "@polkadot/types-support": 9.10.2 + "@polkadot/types": 9.10.3 + "@polkadot/types-support": 9.10.3 "@polkadot/util": ^10.2.1 "@polkadot/util-crypto": ^10.2.1 "@polkadot/x-fetch": ^10.2.1 "@polkadot/x-global": ^10.2.1 "@polkadot/x-ws": ^10.2.1 - "@substrate/connect": 0.7.17 + "@substrate/connect": 0.7.18 eventemitter3: ^4.0.7 mock-socket: ^9.1.5 nock: ^13.2.9 - checksum: b3fdc1fdcde27d57af542fad30af441328fc8270f9bef7e5537dc253c96b660894e20c109b177b7ba2d82e050c5ae5ff2929a9c6fb985de7a0b90f5bb6e3f867 + checksum: 75da09fb02d826fa07cc127979099e788d985e75a49b0ceff36a550ebc1daaaf2b3946c9299effb681e48728874d5346fd6b7f1a0400d4b93adcb49994938b99 languageName: node linkType: hard @@ -3684,7 +3684,7 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/test-support@workspace:packages/test-support" dependencies: - "@polkadot/types-support": ^9.10.2 + "@polkadot/types-support": ^9.10.3 "@testing-library/jest-dom": ^5.16.5 "@testing-library/react": ^13.4.0 testcontainers: ^8.16.0 @@ -3692,77 +3692,77 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-augment@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/types-augment@npm:9.10.2" +"@polkadot/types-augment@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/types-augment@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/types": 9.10.2 - "@polkadot/types-codec": 9.10.2 + "@polkadot/types": 9.10.3 + "@polkadot/types-codec": 9.10.3 "@polkadot/util": ^10.2.1 - checksum: 6d6671726a5e025a16d5386db9039a06e864a7a52c70d301de07ba4884d2d2735e5c6a26029fb4b7db02d67a30d26d2e6891d5eff6085530daf8c048bf9ca240 + checksum: da0e0f1968b9a1c5d7c6aaa27c4312b7736d705593aa55ca6b670fe836f21c24505adfe8b3fd054b4c6a667e1072387e3703450ee1963e9f2c684872073c4583 languageName: node linkType: hard -"@polkadot/types-codec@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/types-codec@npm:9.10.2" +"@polkadot/types-codec@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/types-codec@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 "@polkadot/util": ^10.2.1 "@polkadot/x-bigint": ^10.2.1 - checksum: 69366a7975f2ccf02b91a087579185e9580d7448e1aab96519ceb4e76d3b5d8e6a90337fc51789c7e6fec649067e7f05467bd8ff5e44d985a72068ae2e256603 + checksum: 66869e5533f52355f18125863e268266f6d4cf075f208b657d60a8030ed66128a4124ab67d7189bccdb921e4b0c2f4e4c91de77b657a175d6f6152f7f32f7ec3 languageName: node linkType: hard -"@polkadot/types-create@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/types-create@npm:9.10.2" +"@polkadot/types-create@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/types-create@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 - "@polkadot/types-codec": 9.10.2 + "@polkadot/types-codec": 9.10.3 "@polkadot/util": ^10.2.1 - checksum: c32a07924512d3698fcbdc38da9490ee5ce91910533d7756fbab9a8455b8010bc8bba33b727869299aae0acfeaaa49b661364593b49b0ee7df6882cad30e7e4a + checksum: 61be7108a24e9a2daaf7c4d54929297468006535dc180034ae09cec9f4bd9f1fd848c1cab42e18ae79596377ab48200b6cef2b5f66bc94c48a30f89bd6f1adb0 languageName: node linkType: hard -"@polkadot/types-known@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/types-known@npm:9.10.2" +"@polkadot/types-known@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/types-known@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 "@polkadot/networks": ^10.2.1 - "@polkadot/types": 9.10.2 - "@polkadot/types-codec": 9.10.2 - "@polkadot/types-create": 9.10.2 + "@polkadot/types": 9.10.3 + "@polkadot/types-codec": 9.10.3 + "@polkadot/types-create": 9.10.3 "@polkadot/util": ^10.2.1 - checksum: 9e0fb68bf5136f752955564b8691fc218f0f41415d791d93171d22c83bc88f524dbc3b6e49c17b9621aee80ba8953022c5b25d0da71256214331215121f82d19 + checksum: d34ff30e309d05d633e6ed374902081d210909c30ca1d3ec79b87dffab7c74d9fe33adab8d0be2a4934823edde9f0ed875f6d791c5a50934b3bc8b623ca789bc languageName: node linkType: hard -"@polkadot/types-support@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/types-support@npm:9.10.2" +"@polkadot/types-support@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/types-support@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 "@polkadot/util": ^10.2.1 - checksum: 8e00f42211a7d8155a36ab8662b3ddf5b6b849e4e16a36213b12d6cb2030b47664fc7433d29a7bab61808142e9c03e68ddfe30d33fa70dee5d10333a37faaf5d + checksum: 8e97e71ff11f6b2daab18382cb1afe07623655cff0648717cf45e84f72d5dead4dd3314cee6dba9a643302cb555d18f2e2e44a6234c40bc7a1f05c067db1ac2b languageName: node linkType: hard -"@polkadot/types@npm:^9.10.2": - version: 9.10.2 - resolution: "@polkadot/types@npm:9.10.2" +"@polkadot/types@npm:^9.10.3": + version: 9.10.3 + resolution: "@polkadot/types@npm:9.10.3" dependencies: "@babel/runtime": ^7.20.6 "@polkadot/keyring": ^10.2.1 - "@polkadot/types-augment": 9.10.2 - "@polkadot/types-codec": 9.10.2 - "@polkadot/types-create": 9.10.2 + "@polkadot/types-augment": 9.10.3 + "@polkadot/types-codec": 9.10.3 + "@polkadot/types-create": 9.10.3 "@polkadot/util": ^10.2.1 "@polkadot/util-crypto": ^10.2.1 - rxjs: ^7.6.0 - checksum: f2973ec02b086d3df395151170c7dba5b33791a40e5ce9f40f8bbb475c53c7097d1305aa9be64097c9642b2e7334e97bc0c93aebc15c07a59633e81b3d2a8975 + rxjs: ^7.8.0 + checksum: 5eb32c3c59366ec4020964817c6ba35d9bdb8cc25f2cf7c403b99abcc291da9628ac36e660e67fe4dcc9f2a0458cbfebe6efde1819055b9366581e4861b1ac60 languageName: node linkType: hard @@ -4270,24 +4270,24 @@ __metadata: languageName: node linkType: hard -"@substrate/connect@npm:0.7.17": - version: 0.7.17 - resolution: "@substrate/connect@npm:0.7.17" +"@substrate/connect@npm:0.7.18": + version: 0.7.18 + resolution: "@substrate/connect@npm:0.7.18" dependencies: "@substrate/connect-extension-protocol": ^1.0.1 - "@substrate/smoldot-light": 0.7.7 + "@substrate/smoldot-light": 0.7.9 eventemitter3: ^4.0.7 - checksum: 902e89d28da9034e11abc33b47f850f01e5bd247ff291fac415366b27c363306738f1f60d8758fb949db4360018292474e2a835145b94dfa0d9fc12651bf94fe + checksum: cc3e189d3ceffc30b5a89b4575c76371f7b0dd620180f4846b784a168b459b37bb2017bd273de63a199a2d14cffbeabf67b0c8ae8db0fc7252297c9129902ebc languageName: node linkType: hard -"@substrate/smoldot-light@npm:0.7.7": - version: 0.7.7 - resolution: "@substrate/smoldot-light@npm:0.7.7" +"@substrate/smoldot-light@npm:0.7.9": + version: 0.7.9 + resolution: "@substrate/smoldot-light@npm:0.7.9" dependencies: pako: ^2.0.4 ws: ^8.8.1 - checksum: 56870615f295619a7ad6d323eae8fccd6935f845592089bdcc4c43feef4fb1897b84bc907368d02fcf3bbe6dda19707c5fe88034337fd6d99bbf9e2b79d1e357 + checksum: d378ab3330734c3efbbba67fdd49e4ecb45e0ae9cd6539090e22718fd06f3eaeadcc520c030c8b16b30745a4a295c0ad406d3c61ddd37c50204722e251fcc6b9 languageName: node linkType: hard @@ -17864,12 +17864,12 @@ resolve@^2.0.0-next.3: languageName: node linkType: hard -"rxjs@npm:*, rxjs@npm:^7.0.0, rxjs@npm:^7.5.7, rxjs@npm:^7.6.0": - version: 7.6.0 - resolution: "rxjs@npm:7.6.0" +"rxjs@npm:*, rxjs@npm:^7.0.0, rxjs@npm:^7.5.7, rxjs@npm:^7.6.0, rxjs@npm:^7.8.0": + version: 7.8.0 + resolution: "rxjs@npm:7.8.0" dependencies: tslib: ^2.1.0 - checksum: b3abbbfe1ddfd06fca9314b83cbd13bcddc3320429218136f75c79a4802ac430dd13873364aac1ded54fd457f8c77df332d205a92d8a1c61656565bb718c50af + checksum: 61b4d4fd323c1043d8d6ceb91f24183b28bcf5def4f01ca111511d5c6b66755bc5578587fe714ef5d67cf4c9f2e26f4490d4e1d8cabf9bd5967687835e9866a2 languageName: node linkType: hard