diff --git a/CHANGELOG.md b/CHANGELOG.md index e6a243f48a..4442f4fde0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # CHANGELOG +## 10.1.2 Mar 11, 2023 + +Changes: + +- Adjust type exports to remove invalid generated exports from `/src/` +- Apply missing `/*#__PURE__*/` exports in `api-derive` + + ## 10.1.1 Mar 11, 2023 Contributed: diff --git a/package.json b/package.json index d0c3854fef..733dd6cc26 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,7 @@ }, "sideEffects": false, "type": "module", - "version": "10.1.1", + "version": "10.1.2", "versions": { "git": "10.1.1", "npm": "10.1.1" @@ -37,7 +37,7 @@ "test:one": "polkadot-dev-run-test --env node" }, "devDependencies": { - "@polkadot/dev": "^0.71.4", + "@polkadot/dev": "^0.71.5", "@polkadot/typegen": "workspace:packages/typegen", "@types/node": "^18.15.0" }, diff --git a/packages/api-augment/package.json b/packages/api-augment/package.json index ec1d4b3ed6..c17c0f8bc9 100644 --- a/packages/api-augment/package.json +++ b/packages/api-augment/package.json @@ -20,14 +20,14 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/api-base": "10.1.1", - "@polkadot/rpc-augment": "10.1.1", - "@polkadot/types": "10.1.1", - "@polkadot/types-augment": "10.1.1", - "@polkadot/types-codec": "10.1.1", + "@polkadot/api-base": "10.1.2", + "@polkadot/rpc-augment": "10.1.2", + "@polkadot/types": "10.1.2", + "@polkadot/types-augment": "10.1.2", + "@polkadot/types-codec": "10.1.2", "@polkadot/util": "^11.0.2", "tslib": "^2.5.0" } diff --git a/packages/api-augment/src/packageInfo.ts b/packages/api-augment/src/packageInfo.ts index 1a5d9570e4..e1917d3835 100644 --- a/packages/api-augment/src/packageInfo.ts +++ b/packages/api-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/api-base/package.json b/packages/api-base/package.json index b9db2969ba..a9fa50731d 100644 --- a/packages/api-base/package.json +++ b/packages/api-base/package.json @@ -20,11 +20,11 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/rpc-core": "10.1.1", - "@polkadot/types": "10.1.1", + "@polkadot/rpc-core": "10.1.2", + "@polkadot/types": "10.1.2", "@polkadot/util": "^11.0.2", "rxjs": "^7.8.0", "tslib": "^2.5.0" diff --git a/packages/api-base/src/packageInfo.ts b/packages/api-base/src/packageInfo.ts index 912b1a6f65..68ca0444b2 100644 --- a/packages/api-base/src/packageInfo.ts +++ b/packages/api-base/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/api-contract/package.json b/packages/api-contract/package.json index 0d3b4b34c0..01988254e3 100644 --- a/packages/api-contract/package.json +++ b/packages/api-contract/package.json @@ -20,20 +20,20 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/api": "10.1.1", - "@polkadot/types": "10.1.1", - "@polkadot/types-codec": "10.1.1", - "@polkadot/types-create": "10.1.1", + "@polkadot/api": "10.1.2", + "@polkadot/types": "10.1.2", + "@polkadot/types-codec": "10.1.2", + "@polkadot/types-create": "10.1.2", "@polkadot/util": "^11.0.2", "@polkadot/util-crypto": "^11.0.2", "rxjs": "^7.8.0", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/api-augment": "10.1.1", + "@polkadot/api-augment": "10.1.2", "@polkadot/keyring": "^11.0.2" } } diff --git a/packages/api-contract/src/packageInfo.ts b/packages/api-contract/src/packageInfo.ts index 22abe59c2b..a8d6937a44 100644 --- a/packages/api-contract/src/packageInfo.ts +++ b/packages/api-contract/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/api-derive/package.json b/packages/api-derive/package.json index 03cbe0d760..f225202950 100644 --- a/packages/api-derive/package.json +++ b/packages/api-derive/package.json @@ -20,25 +20,25 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/api": "10.1.1", - "@polkadot/api-augment": "10.1.1", - "@polkadot/api-base": "10.1.1", - "@polkadot/rpc-core": "10.1.1", - "@polkadot/types": "10.1.1", - "@polkadot/types-codec": "10.1.1", + "@polkadot/api": "10.1.2", + "@polkadot/api-augment": "10.1.2", + "@polkadot/api-base": "10.1.2", + "@polkadot/rpc-core": "10.1.2", + "@polkadot/types": "10.1.2", + "@polkadot/types-codec": "10.1.2", "@polkadot/util": "^11.0.2", "@polkadot/util-crypto": "^11.0.2", "rxjs": "^7.8.0", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/api": "10.1.1", - "@polkadot/api-augment": "10.1.1", - "@polkadot/rpc-augment": "10.1.1", - "@polkadot/rpc-provider": "10.1.1", - "@polkadot/types-support": "10.1.1" + "@polkadot/api": "10.1.2", + "@polkadot/api-augment": "10.1.2", + "@polkadot/rpc-augment": "10.1.2", + "@polkadot/rpc-provider": "10.1.2", + "@polkadot/types-support": "10.1.2" } } diff --git a/packages/api-derive/src/accounts/identity.ts b/packages/api-derive/src/accounts/identity.ts index 8ef8e211c8..026a8ebb11 100644 --- a/packages/api-derive/src/accounts/identity.ts +++ b/packages/api-derive/src/accounts/identity.ts @@ -111,7 +111,7 @@ export function identity (instanceId: string, api: DeriveApi): (accountId?: Acco ); } -export const hasIdentity = firstMemo( +export const hasIdentity = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: AccountId | Uint8Array | string) => api.derive.accounts.hasIdentityMulti([accountId]) ); diff --git a/packages/api-derive/src/alliance/index.ts b/packages/api-derive/src/alliance/index.ts index bca35134ce..4995abd642 100644 --- a/packages/api-derive/src/alliance/index.ts +++ b/packages/api-derive/src/alliance/index.ts @@ -3,12 +3,16 @@ import { hasProposals as collectiveHasProposals, members as collectiveMembers, prime as collectivePrime, proposal as collectiveProposal, proposalCount as collectiveProposalCount, proposalHashes as collectiveProposalHashes, proposals as collectiveProposals } from '../collective/index.js'; -export const members = collectiveMembers('allianceMotion'); +// We are re-exporting these from here to ensure that *.d.ts generation is correct +export type { u32 } from '@polkadot/types'; +export type { AccountId } from '@polkadot/types/interfaces'; -export const hasProposals = collectiveHasProposals('allianceMotion'); -export const proposal = collectiveProposal('allianceMotion'); -export const proposalCount = collectiveProposalCount('allianceMotion'); -export const proposalHashes = collectiveProposalHashes('allianceMotion'); -export const proposals = collectiveProposals('allianceMotion'); +export const members = /*#__PURE__*/ collectiveMembers('allianceMotion'); -export const prime = collectivePrime('allianceMotion'); +export const hasProposals = /*#__PURE__*/ collectiveHasProposals('allianceMotion'); +export const proposal = /*#__PURE__*/ collectiveProposal('allianceMotion'); +export const proposalCount = /*#__PURE__*/ collectiveProposalCount('allianceMotion'); +export const proposalHashes = /*#__PURE__*/ collectiveProposalHashes('allianceMotion'); +export const proposals = /*#__PURE__*/ collectiveProposals('allianceMotion'); + +export const prime = /*#__PURE__*/ collectivePrime('allianceMotion'); diff --git a/packages/api-derive/src/chain/bestNumber.ts b/packages/api-derive/src/chain/bestNumber.ts index a3f46990f2..7341e29dec 100644 --- a/packages/api-derive/src/chain/bestNumber.ts +++ b/packages/api-derive/src/chain/bestNumber.ts @@ -5,6 +5,9 @@ import type { DeriveApi } from '../types.js'; import { createBlockNumberDerive } from './util.js'; +// We are re-exporting these from here to ensure that *.d.ts generation is correct +export type { BlockNumber } from '@polkadot/types/interfaces'; + /** * @name bestNumber * @returns The latest block number. @@ -17,7 +20,7 @@ import { createBlockNumberDerive } from './util.js'; * }); * ``` */ -export const bestNumber = createBlockNumberDerive( +export const bestNumber = /*#__PURE__*/ createBlockNumberDerive( (api: DeriveApi) => api.rpc.chain.subscribeNewHeads() ); diff --git a/packages/api-derive/src/chain/bestNumberFinalized.ts b/packages/api-derive/src/chain/bestNumberFinalized.ts index 4b5200e03b..d1dcb1e273 100644 --- a/packages/api-derive/src/chain/bestNumberFinalized.ts +++ b/packages/api-derive/src/chain/bestNumberFinalized.ts @@ -5,6 +5,9 @@ import type { DeriveApi } from '../types.js'; import { createBlockNumberDerive } from './util.js'; +// We are re-exporting these from here to ensure that *.d.ts generation is correct +export type { BlockNumber } from '@polkadot/types/interfaces'; + /** * @name bestNumberFinalized * @returns A BlockNumber @@ -18,7 +21,7 @@ import { createBlockNumberDerive } from './util.js'; * }); * ``` */ -export const bestNumberFinalized = createBlockNumberDerive( +export const bestNumberFinalized = /*#__PURE__*/ createBlockNumberDerive( (api: DeriveApi) => api.rpc.chain.subscribeFinalizedHeads() ); diff --git a/packages/api-derive/src/chain/util.ts b/packages/api-derive/src/chain/util.ts index 82d21fb340..fe986b0930 100644 --- a/packages/api-derive/src/chain/util.ts +++ b/packages/api-derive/src/chain/util.ts @@ -12,10 +12,6 @@ import { combineLatest, map, of } from 'rxjs'; import { memo, unwrapBlockNumber } from '../util/index.js'; -// re-export these - since these needs to be resolvable from api-derive, i.e. without this -// we would emit code with ..//src embedded in the *.d.ts files -export type { BlockNumber } from '@polkadot/types/interfaces'; - export function createBlockNumberDerive | BlockNumber }> (fn: (api: DeriveApi) => Observable): (instanceId: string, api: DeriveApi) => () => Observable { return (instanceId: string, api: DeriveApi) => memo(instanceId, () => diff --git a/packages/api-derive/src/collective/members.ts b/packages/api-derive/src/collective/members.ts index 4ba65c3066..baf76ae5e1 100644 --- a/packages/api-derive/src/collective/members.ts +++ b/packages/api-derive/src/collective/members.ts @@ -8,4 +8,4 @@ import { callMethod } from './helpers.js'; // We are re-exporting these from here to ensure that *.d.ts generation is correct export type { AccountId } from '@polkadot/types/interfaces'; -export const members = callMethod('members', []); +export const members = /*#__PURE__*/ callMethod('members', []); diff --git a/packages/api-derive/src/collective/proposals.ts b/packages/api-derive/src/collective/proposals.ts index bd7fcbaf1e..26bd1d493a 100644 --- a/packages/api-derive/src/collective/proposals.ts +++ b/packages/api-derive/src/collective/proposals.ts @@ -73,5 +73,5 @@ export function proposal (section: Collective): (instanceId: string, api: Derive ); } -export const proposalCount = callMethod('proposalCount', null); -export const proposalHashes = callMethod('proposals', []); +export const proposalCount = /*#__PURE__*/ callMethod('proposalCount', null); +export const proposalHashes = /*#__PURE__*/ callMethod('proposals', []); diff --git a/packages/api-derive/src/council/index.ts b/packages/api-derive/src/council/index.ts index be67c374f2..1d9ba755c8 100644 --- a/packages/api-derive/src/council/index.ts +++ b/packages/api-derive/src/council/index.ts @@ -6,12 +6,16 @@ import { hasProposals as collectiveHasProposals, members as collectiveMembers, p export * from './votes.js'; export * from './votesOf.js'; -export const members = collectiveMembers('council'); +// We are re-exporting these from here to ensure that *.d.ts generation is correct +export type { u32 } from '@polkadot/types'; +export type { AccountId } from '@polkadot/types/interfaces'; -export const hasProposals = collectiveHasProposals('council'); -export const proposal = collectiveProposal('council'); -export const proposalCount = collectiveProposalCount('council'); -export const proposalHashes = collectiveProposalHashes('council'); -export const proposals = collectiveProposals('council'); +export const members = /*#__PURE__*/ collectiveMembers('council'); -export const prime = collectivePrime('council'); +export const hasProposals = /*#__PURE__*/ collectiveHasProposals('council'); +export const proposal = /*#__PURE__*/ collectiveProposal('council'); +export const proposalCount = /*#__PURE__*/ collectiveProposalCount('council'); +export const proposalHashes = /*#__PURE__*/ collectiveProposalHashes('council'); +export const proposals = /*#__PURE__*/ collectiveProposals('council'); + +export const prime = /*#__PURE__*/ collectivePrime('council'); diff --git a/packages/api-derive/src/democracy/preimages.ts b/packages/api-derive/src/democracy/preimages.ts index b5b130f12d..d1a7cae6f2 100644 --- a/packages/api-derive/src/democracy/preimages.ts +++ b/packages/api-derive/src/democracy/preimages.ts @@ -136,7 +136,7 @@ export function preimages (instanceId: string, api: DeriveApi): (hashes: (Hash | ); } -export const preimage = firstMemo( +export const preimage = /*#__PURE__*/ firstMemo( (api: DeriveApi, hash: Hash | Uint8Array | string | FrameSupportPreimagesBounded) => api.derive.democracy.preimages([hash]) ); diff --git a/packages/api-derive/src/membership/index.ts b/packages/api-derive/src/membership/index.ts index 7c7aace678..ce93846ee1 100644 --- a/packages/api-derive/src/membership/index.ts +++ b/packages/api-derive/src/membership/index.ts @@ -3,12 +3,16 @@ import { hasProposals as collectiveHasProposals, members as collectiveMembers, prime as collectivePrime, proposal as collectiveProposal, proposalCount as collectiveProposalCount, proposalHashes as collectiveProposalHashes, proposals as collectiveProposals } from '../collective/index.js'; -export const members = collectiveMembers('membership'); +// We are re-exporting these from here to ensure that *.d.ts generation is correct +export type { u32 } from '@polkadot/types'; +export type { AccountId } from '@polkadot/types/interfaces'; -export const hasProposals = collectiveHasProposals('membership'); -export const proposal = collectiveProposal('membership'); -export const proposalCount = collectiveProposalCount('membership'); -export const proposalHashes = collectiveProposalHashes('membership'); -export const proposals = collectiveProposals('membership'); +export const members = /*#__PURE__*/ collectiveMembers('membership'); -export const prime = collectivePrime('membership'); +export const hasProposals = /*#__PURE__*/ collectiveHasProposals('membership'); +export const proposal = /*#__PURE__*/ collectiveProposal('membership'); +export const proposalCount = /*#__PURE__*/ collectiveProposalCount('membership'); +export const proposalHashes = /*#__PURE__*/ collectiveProposalHashes('membership'); +export const proposals = /*#__PURE__*/ collectiveProposals('membership'); + +export const prime = /*#__PURE__*/ collectivePrime('membership'); diff --git a/packages/api-derive/src/packageInfo.ts b/packages/api-derive/src/packageInfo.ts index 95d2e0abb1..ec47af0251 100644 --- a/packages/api-derive/src/packageInfo.ts +++ b/packages/api-derive/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/api-derive/src/session/progress.ts b/packages/api-derive/src/session/progress.ts index 078b42a244..16a5d8c46d 100644 --- a/packages/api-derive/src/session/progress.ts +++ b/packages/api-derive/src/session/progress.ts @@ -88,6 +88,6 @@ export function progress (instanceId: string, api: DeriveApi): () => Observable< ); } -export const eraLength = withProgressField('eraLength'); -export const eraProgress = withProgressField('eraProgress'); -export const sessionProgress = withProgressField('sessionProgress'); +export const eraLength = /*#__PURE__*/ withProgressField('eraLength'); +export const eraProgress = /*#__PURE__*/ withProgressField('eraProgress'); +export const sessionProgress = /*#__PURE__*/ withProgressField('sessionProgress'); diff --git a/packages/api-derive/src/staking/account.ts b/packages/api-derive/src/staking/account.ts index 312710908a..c66ed2967a 100644 --- a/packages/api-derive/src/staking/account.ts +++ b/packages/api-derive/src/staking/account.ts @@ -86,7 +86,7 @@ export function accounts (instanceId: string, api: DeriveApi): (accountIds: (Uin /** * @description From a stash, retrieve the controllerId and fill in all the relevant staking details */ -export const account = firstMemo( +export const account = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: Uint8Array | string, opts?: StakingQueryFlags) => api.derive.staking.accounts([accountId], opts) ); diff --git a/packages/api-derive/src/staking/erasExposure.ts b/packages/api-derive/src/staking/erasExposure.ts index 66c3f380e2..93beaa762e 100644 --- a/packages/api-derive/src/staking/erasExposure.ts +++ b/packages/api-derive/src/staking/erasExposure.ts @@ -49,6 +49,6 @@ export function _eraExposure (instanceId: string, api: DeriveApi): (era: EraInde }); } -export const eraExposure = singleEra('_eraExposure'); -export const _erasExposure = combineEras('_eraExposure'); -export const erasExposure = erasHistoricApply('_erasExposure'); +export const eraExposure = /*#__PURE__*/ singleEra('_eraExposure'); +export const _erasExposure = /*#__PURE__*/ combineEras('_eraExposure'); +export const erasExposure = /*#__PURE__*/ erasHistoricApply('_erasExposure'); diff --git a/packages/api-derive/src/staking/erasPoints.ts b/packages/api-derive/src/staking/erasPoints.ts index c05196fd36..d28c68e4cc 100644 --- a/packages/api-derive/src/staking/erasPoints.ts +++ b/packages/api-derive/src/staking/erasPoints.ts @@ -51,4 +51,4 @@ export function _erasPoints (instanceId: string, api: DeriveApi): (eras: EraInde }); } -export const erasPoints = erasHistoricApply('_erasPoints'); +export const erasPoints = /*#__PURE__*/ erasHistoricApply('_erasPoints'); diff --git a/packages/api-derive/src/staking/erasPrefs.ts b/packages/api-derive/src/staking/erasPrefs.ts index b940acc3bf..c3fbf1c4e5 100644 --- a/packages/api-derive/src/staking/erasPrefs.ts +++ b/packages/api-derive/src/staking/erasPrefs.ts @@ -37,6 +37,6 @@ export function _eraPrefs (instanceId: string, api: DeriveApi): (era: EraIndex, }); } -export const eraPrefs = singleEra('_eraPrefs'); -export const _erasPrefs = combineEras('_eraPrefs'); -export const erasPrefs = erasHistoricApply('_erasPrefs'); +export const eraPrefs = /*#__PURE__*/ singleEra('_eraPrefs'); +export const _erasPrefs = /*#__PURE__*/ combineEras('_eraPrefs'); +export const erasPrefs = /*#__PURE__*/ erasHistoricApply('_erasPrefs'); diff --git a/packages/api-derive/src/staking/erasRewards.ts b/packages/api-derive/src/staking/erasRewards.ts index 7a87c97425..929c931722 100644 --- a/packages/api-derive/src/staking/erasRewards.ts +++ b/packages/api-derive/src/staking/erasRewards.ts @@ -40,4 +40,4 @@ export function _erasRewards (instanceId: string, api: DeriveApi): (eras: EraInd }); } -export const erasRewards = erasHistoricApply('_erasRewards'); +export const erasRewards = /*#__PURE__*/ erasHistoricApply('_erasRewards'); diff --git a/packages/api-derive/src/staking/erasSlashes.ts b/packages/api-derive/src/staking/erasSlashes.ts index a29b0eba0c..097709e6e5 100644 --- a/packages/api-derive/src/staking/erasSlashes.ts +++ b/packages/api-derive/src/staking/erasSlashes.ts @@ -45,6 +45,6 @@ export function _eraSlashes (instanceId: string, api: DeriveApi): (era: EraIndex }); } -export const eraSlashes = singleEra('_eraSlashes'); -export const _erasSlashes = combineEras('_eraSlashes'); -export const erasSlashes = erasHistoricApply('_erasSlashes'); +export const eraSlashes = /*#__PURE__*/ singleEra('_eraSlashes'); +export const _erasSlashes = /*#__PURE__*/ combineEras('_eraSlashes'); +export const erasSlashes = /*#__PURE__*/ erasHistoricApply('_erasSlashes'); diff --git a/packages/api-derive/src/staking/keys.ts b/packages/api-derive/src/staking/keys.ts index ec59ae5aec..68761653cb 100644 --- a/packages/api-derive/src/staking/keys.ts +++ b/packages/api-derive/src/staking/keys.ts @@ -26,7 +26,7 @@ function extractsIds (stashId: Uint8Array | string, queuedKeys: [AccountId, Kitc }; } -export const keys = firstMemo( +export const keys = /*#__PURE__*/ firstMemo( (api: DeriveApi, stashId: Uint8Array | string) => api.derive.staking.keysMulti([stashId]) ); diff --git a/packages/api-derive/src/staking/ownExposure.ts b/packages/api-derive/src/staking/ownExposure.ts index 8777bbc317..ec97b483fe 100644 --- a/packages/api-derive/src/staking/ownExposure.ts +++ b/packages/api-derive/src/staking/ownExposure.ts @@ -26,9 +26,9 @@ export function _ownExposures (instanceId: string, api: DeriveApi): (accountId: ); } -export const ownExposure = firstMemo( +export const ownExposure = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: Uint8Array | string, era: EraIndex) => api.derive.staking._ownExposures(accountId, [era], true) ); -export const ownExposures = erasHistoricApplyAccount('_ownExposures'); +export const ownExposures = /*#__PURE__*/ erasHistoricApplyAccount('_ownExposures'); diff --git a/packages/api-derive/src/staking/ownSlashes.ts b/packages/api-derive/src/staking/ownSlashes.ts index 6df89f2f12..82f94b986f 100644 --- a/packages/api-derive/src/staking/ownSlashes.ts +++ b/packages/api-derive/src/staking/ownSlashes.ts @@ -32,9 +32,9 @@ export function _ownSlashes (instanceId: string, api: DeriveApi): (accountId: Ui ); } -export const ownSlash = firstMemo( +export const ownSlash = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: Uint8Array | string, era: EraIndex) => api.derive.staking._ownSlashes(accountId, [era], true) ); -export const ownSlashes = erasHistoricApplyAccount('_ownSlashes'); +export const ownSlashes = /*#__PURE__*/ erasHistoricApplyAccount('_ownSlashes'); diff --git a/packages/api-derive/src/staking/query.ts b/packages/api-derive/src/staking/query.ts index bb8a43f81c..8a23daa5a3 100644 --- a/packages/api-derive/src/staking/query.ts +++ b/packages/api-derive/src/staking/query.ts @@ -92,7 +92,7 @@ function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], f /** * @description From a stash, retrieve the controllerId and all relevant details */ -export const query = firstMemo( +export const query = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: Uint8Array | string, flags: StakingQueryFlags) => api.derive.staking.queryMulti([accountId], flags) ); diff --git a/packages/api-derive/src/staking/stakerExposure.ts b/packages/api-derive/src/staking/stakerExposure.ts index dda58dbad2..b68897e0aa 100644 --- a/packages/api-derive/src/staking/stakerExposure.ts +++ b/packages/api-derive/src/staking/stakerExposure.ts @@ -46,7 +46,7 @@ export function stakerExposures (instanceId: string, api: DeriveApi): (accountId ); } -export const stakerExposure = firstMemo( +export const stakerExposure = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: Uint8Array | string, withActive?: boolean) => api.derive.staking.stakerExposures([accountId], withActive) ); diff --git a/packages/api-derive/src/staking/stakerPoints.ts b/packages/api-derive/src/staking/stakerPoints.ts index 96b5219cba..130a73cd55 100644 --- a/packages/api-derive/src/staking/stakerPoints.ts +++ b/packages/api-derive/src/staking/stakerPoints.ts @@ -26,4 +26,4 @@ export function _stakerPoints (instanceId: string, api: DeriveApi): (accountId: }); } -export const stakerPoints = erasHistoricApplyAccount('_stakerPoints'); +export const stakerPoints = /*#__PURE__*/ erasHistoricApplyAccount('_stakerPoints'); diff --git a/packages/api-derive/src/staking/stakerPrefs.ts b/packages/api-derive/src/staking/stakerPrefs.ts index 6280a7418d..6fffce4386 100644 --- a/packages/api-derive/src/staking/stakerPrefs.ts +++ b/packages/api-derive/src/staking/stakerPrefs.ts @@ -24,4 +24,4 @@ export function _stakerPrefs (instanceId: string, api: DeriveApi): (accountId: U ); } -export const stakerPrefs = erasHistoricApplyAccount('_stakerPrefs'); +export const stakerPrefs = /*#__PURE__*/ erasHistoricApplyAccount('_stakerPrefs'); diff --git a/packages/api-derive/src/staking/stakerRewards.ts b/packages/api-derive/src/staking/stakerRewards.ts index a8bddb6c05..9d89f5f903 100644 --- a/packages/api-derive/src/staking/stakerRewards.ts +++ b/packages/api-derive/src/staking/stakerRewards.ts @@ -184,7 +184,7 @@ export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds ); } -export const stakerRewards = firstMemo( +export const stakerRewards = /*#__PURE__*/ firstMemo( (api: DeriveApi, accountId: Uint8Array | string, withActive?: boolean) => api.derive.staking.erasHistoric(withActive).pipe( switchMap((eras) => api.derive.staking._stakerRewards([accountId], eras, withActive)) diff --git a/packages/api-derive/src/staking/stakerSlashes.ts b/packages/api-derive/src/staking/stakerSlashes.ts index d17919b9f0..877f322f3c 100644 --- a/packages/api-derive/src/staking/stakerSlashes.ts +++ b/packages/api-derive/src/staking/stakerSlashes.ts @@ -25,4 +25,4 @@ export function _stakerSlashes (instanceId: string, api: DeriveApi): (accountId: }); } -export const stakerSlashes = erasHistoricApplyAccount('_stakerSlashes'); +export const stakerSlashes = /*#__PURE__*/ erasHistoricApplyAccount('_stakerSlashes'); diff --git a/packages/api-derive/src/technicalCommittee/index.ts b/packages/api-derive/src/technicalCommittee/index.ts index c7673b6896..71a5c75228 100644 --- a/packages/api-derive/src/technicalCommittee/index.ts +++ b/packages/api-derive/src/technicalCommittee/index.ts @@ -3,12 +3,16 @@ import { hasProposals as collectiveHasProposals, members as collectiveMembers, prime as collectivePrime, proposal as collectiveProposal, proposalCount as collectiveProposalCount, proposalHashes as collectiveProposalHashes, proposals as collectiveProposals } from '../collective/index.js'; -export const members = collectiveMembers('technicalCommittee'); +// We are re-exporting these from here to ensure that *.d.ts generation is correct +export type { u32 } from '@polkadot/types'; +export type { AccountId } from '@polkadot/types/interfaces'; -export const hasProposals = collectiveHasProposals('technicalCommittee'); -export const proposal = collectiveProposal('technicalCommittee'); -export const proposalCount = collectiveProposalCount('technicalCommittee'); -export const proposalHashes = collectiveProposalHashes('technicalCommittee'); -export const proposals = collectiveProposals('technicalCommittee'); +export const members = /*#__PURE__*/ collectiveMembers('technicalCommittee'); -export const prime = collectivePrime('technicalCommittee'); +export const hasProposals = /*#__PURE__*/ collectiveHasProposals('technicalCommittee'); +export const proposal = /*#__PURE__*/ collectiveProposal('technicalCommittee'); +export const proposalCount = /*#__PURE__*/ collectiveProposalCount('technicalCommittee'); +export const proposalHashes = /*#__PURE__*/ collectiveProposalHashes('technicalCommittee'); +export const proposals = /*#__PURE__*/ collectiveProposals('technicalCommittee'); + +export const prime = /*#__PURE__*/ collectivePrime('technicalCommittee'); diff --git a/packages/api/package.json b/packages/api/package.json index 17f4b83e7f..78e7951d98 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -20,21 +20,21 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/api-augment": "10.1.1", - "@polkadot/api-base": "10.1.1", - "@polkadot/api-derive": "10.1.1", + "@polkadot/api-augment": "10.1.2", + "@polkadot/api-base": "10.1.2", + "@polkadot/api-derive": "10.1.2", "@polkadot/keyring": "^11.0.2", - "@polkadot/rpc-augment": "10.1.1", - "@polkadot/rpc-core": "10.1.1", - "@polkadot/rpc-provider": "10.1.1", - "@polkadot/types": "10.1.1", - "@polkadot/types-augment": "10.1.1", - "@polkadot/types-codec": "10.1.1", - "@polkadot/types-create": "10.1.1", - "@polkadot/types-known": "10.1.1", + "@polkadot/rpc-augment": "10.1.2", + "@polkadot/rpc-core": "10.1.2", + "@polkadot/rpc-provider": "10.1.2", + "@polkadot/types": "10.1.2", + "@polkadot/types-augment": "10.1.2", + "@polkadot/types-codec": "10.1.2", + "@polkadot/types-create": "10.1.2", + "@polkadot/types-known": "10.1.2", "@polkadot/util": "^11.0.2", "@polkadot/util-crypto": "^11.0.2", "eventemitter3": "^5.0.0", @@ -42,7 +42,7 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/api-augment": "10.1.1", - "@polkadot/types-support": "10.1.1" + "@polkadot/api-augment": "10.1.2", + "@polkadot/types-support": "10.1.2" } } diff --git a/packages/api/src/packageInfo.ts b/packages/api/src/packageInfo.ts index 71dda0deb8..dc401778fa 100644 --- a/packages/api/src/packageInfo.ts +++ b/packages/api/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/rpc-augment/package.json b/packages/rpc-augment/package.json index fd4a25a626..98ac522b66 100644 --- a/packages/rpc-augment/package.json +++ b/packages/rpc-augment/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/rpc-core": "10.1.1", - "@polkadot/types": "10.1.1", - "@polkadot/types-codec": "10.1.1", + "@polkadot/rpc-core": "10.1.2", + "@polkadot/types": "10.1.2", + "@polkadot/types-codec": "10.1.2", "@polkadot/util": "^11.0.2", "tslib": "^2.5.0" } diff --git a/packages/rpc-augment/src/packageInfo.ts b/packages/rpc-augment/src/packageInfo.ts index dfc337a699..98d47d3b16 100644 --- a/packages/rpc-augment/src/packageInfo.ts +++ b/packages/rpc-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/rpc-core/package.json b/packages/rpc-core/package.json index 900d25594e..568205f461 100644 --- a/packages/rpc-core/package.json +++ b/packages/rpc-core/package.json @@ -20,18 +20,18 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/rpc-augment": "10.1.1", - "@polkadot/rpc-provider": "10.1.1", - "@polkadot/types": "10.1.1", + "@polkadot/rpc-augment": "10.1.2", + "@polkadot/rpc-provider": "10.1.2", + "@polkadot/types": "10.1.2", "@polkadot/util": "^11.0.2", "rxjs": "^7.8.0", "tslib": "^2.5.0" }, "devDependencies": { "@polkadot/keyring": "^11.0.2", - "@polkadot/rpc-augment": "10.1.1" + "@polkadot/rpc-augment": "10.1.2" } } diff --git a/packages/rpc-core/src/packageInfo.ts b/packages/rpc-core/src/packageInfo.ts index a55572ea1a..9a5c90ef51 100644 --- a/packages/rpc-core/src/packageInfo.ts +++ b/packages/rpc-core/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/rpc-provider/package.json b/packages/rpc-provider/package.json index fd445cd1ab..0787f21b5a 100644 --- a/packages/rpc-provider/package.json +++ b/packages/rpc-provider/package.json @@ -20,12 +20,12 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { "@polkadot/keyring": "^11.0.2", - "@polkadot/types": "10.1.1", - "@polkadot/types-support": "10.1.1", + "@polkadot/types": "10.1.2", + "@polkadot/types-support": "10.1.2", "@polkadot/util": "^11.0.2", "@polkadot/util-crypto": "^11.0.2", "@polkadot/x-fetch": "^11.0.2", diff --git a/packages/rpc-provider/src/packageInfo.ts b/packages/rpc-provider/src/packageInfo.ts index cfb45eeecf..083a2b441d 100644 --- a/packages/rpc-provider/src/packageInfo.ts +++ b/packages/rpc-provider/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/typegen/package.json b/packages/typegen/package.json index 030d0d7a76..f0cc36a0b4 100644 --- a/packages/typegen/package.json +++ b/packages/typegen/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "bin": { "polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs", @@ -30,15 +30,15 @@ "polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs" }, "dependencies": { - "@polkadot/api": "10.1.1", - "@polkadot/api-augment": "10.1.1", - "@polkadot/rpc-augment": "10.1.1", - "@polkadot/rpc-provider": "10.1.1", - "@polkadot/types": "10.1.1", - "@polkadot/types-augment": "10.1.1", - "@polkadot/types-codec": "10.1.1", - "@polkadot/types-create": "10.1.1", - "@polkadot/types-support": "10.1.1", + "@polkadot/api": "10.1.2", + "@polkadot/api-augment": "10.1.2", + "@polkadot/rpc-augment": "10.1.2", + "@polkadot/rpc-provider": "10.1.2", + "@polkadot/types": "10.1.2", + "@polkadot/types-augment": "10.1.2", + "@polkadot/types-codec": "10.1.2", + "@polkadot/types-create": "10.1.2", + "@polkadot/types-support": "10.1.2", "@polkadot/util": "^11.0.2", "@polkadot/util-crypto": "^11.0.2", "@polkadot/x-ws": "^11.0.2", diff --git a/packages/typegen/src/packageInfo.ts b/packages/typegen/src/packageInfo.ts index 66ede6cc4a..cf63f9acad 100644 --- a/packages/typegen/src/packageInfo.ts +++ b/packages/typegen/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/types-augment/package.json b/packages/types-augment/package.json index eb2f8e2e65..306fae443c 100644 --- a/packages/types-augment/package.json +++ b/packages/types-augment/package.json @@ -20,11 +20,11 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/types": "10.1.1", - "@polkadot/types-codec": "10.1.1", + "@polkadot/types": "10.1.2", + "@polkadot/types-codec": "10.1.2", "@polkadot/util": "^11.0.2", "tslib": "^2.5.0" } diff --git a/packages/types-augment/src/packageInfo.ts b/packages/types-augment/src/packageInfo.ts index 6bb84cc052..0ead075754 100644 --- a/packages/types-augment/src/packageInfo.ts +++ b/packages/types-augment/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/types-codec/package.json b/packages/types-codec/package.json index 62fbbc11fd..ab9d91a8bb 100644 --- a/packages/types-codec/package.json +++ b/packages/types-codec/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { "@polkadot/util": "^11.0.2", @@ -28,9 +28,9 @@ "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/types": "10.1.1", - "@polkadot/types-augment": "10.1.1", - "@polkadot/types-support": "10.1.1", + "@polkadot/types": "10.1.2", + "@polkadot/types-augment": "10.1.2", + "@polkadot/types-support": "10.1.2", "@polkadot/util-crypto": "^11.0.2" } } diff --git a/packages/types-codec/src/packageInfo.ts b/packages/types-codec/src/packageInfo.ts index e065dd14e9..499e99842f 100644 --- a/packages/types-codec/src/packageInfo.ts +++ b/packages/types-codec/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/types-create/package.json b/packages/types-create/package.json index a3707c2779..b80e0f3286 100644 --- a/packages/types-create/package.json +++ b/packages/types-create/package.json @@ -20,14 +20,14 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { - "@polkadot/types-codec": "10.1.1", + "@polkadot/types-codec": "10.1.2", "@polkadot/util": "^11.0.2", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/types": "10.1.1" + "@polkadot/types": "10.1.2" } } diff --git a/packages/types-create/src/packageInfo.ts b/packages/types-create/src/packageInfo.ts index 6cbd02de9a..ded1f14f65 100644 --- a/packages/types-create/src/packageInfo.ts +++ b/packages/types-create/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/types-known/package.json b/packages/types-known/package.json index 15f9c4ff57..1aa07d10a5 100644 --- a/packages/types-known/package.json +++ b/packages/types-known/package.json @@ -20,17 +20,17 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { "@polkadot/networks": "^11.0.2", - "@polkadot/types": "10.1.1", - "@polkadot/types-codec": "10.1.1", - "@polkadot/types-create": "10.1.1", + "@polkadot/types": "10.1.2", + "@polkadot/types-codec": "10.1.2", + "@polkadot/types-create": "10.1.2", "@polkadot/util": "^11.0.2", "tslib": "^2.5.0" }, "devDependencies": { - "@polkadot/api": "10.1.1" + "@polkadot/api": "10.1.2" } } diff --git a/packages/types-known/src/packageInfo.ts b/packages/types-known/src/packageInfo.ts index dbd0adfb50..afc5dd38f9 100644 --- a/packages/types-known/src/packageInfo.ts +++ b/packages/types-known/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/types-support/package.json b/packages/types-support/package.json index 695b13c3e1..7e484c612f 100644 --- a/packages/types-support/package.json +++ b/packages/types-support/package.json @@ -20,7 +20,7 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { "@polkadot/util": "^11.0.2", diff --git a/packages/types-support/src/packageInfo.ts b/packages/types-support/src/packageInfo.ts index d24623c111..2761ba96a5 100644 --- a/packages/types-support/src/packageInfo.ts +++ b/packages/types-support/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/packages/types/package.json b/packages/types/package.json index 80bc098b63..3fc0e1d62a 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -20,13 +20,13 @@ "./detectPackage.cjs" ], "type": "module", - "version": "10.1.1", + "version": "10.1.2", "main": "index.js", "dependencies": { "@polkadot/keyring": "^11.0.2", - "@polkadot/types-augment": "10.1.1", - "@polkadot/types-codec": "10.1.1", - "@polkadot/types-create": "10.1.1", + "@polkadot/types-augment": "10.1.2", + "@polkadot/types-codec": "10.1.2", + "@polkadot/types-create": "10.1.2", "@polkadot/util": "^11.0.2", "@polkadot/util-crypto": "^11.0.2", "rxjs": "^7.8.0", @@ -34,6 +34,6 @@ }, "devDependencies": { "@polkadot/keyring": "^11.0.2", - "@polkadot/types-support": "10.1.1" + "@polkadot/types-support": "10.1.2" } } diff --git a/packages/types/src/packageInfo.ts b/packages/types/src/packageInfo.ts index 0a2277523e..94b72ce943 100644 --- a/packages/types/src/packageInfo.ts +++ b/packages/types/src/packageInfo.ts @@ -3,4 +3,4 @@ // Do not edit, auto-generated by @polkadot/dev -export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.1.1' }; +export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.1.2' }; diff --git a/yarn.lock b/yarn.lock index 71f8217ff2..46f6d0b986 100644 --- a/yarn.lock +++ b/yarn.lock @@ -66,27 +66,45 @@ __metadata: languageName: node linkType: hard -"@eslint/eslintrc@npm:^2.0.0": - version: 2.0.0 - resolution: "@eslint/eslintrc@npm:2.0.0" +"@eslint-community/eslint-utils@npm:^4.2.0": + version: 4.2.0 + resolution: "@eslint-community/eslint-utils@npm:4.2.0" + dependencies: + eslint-visitor-keys: ^3.3.0 + peerDependencies: + eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 + checksum: 82fdd1cc2a5d169def0e665ec790580ef708e7df9c91f20006595dc90e3bd42ec31c8976a2eeccd336286301a72e937c0ddf3ab4b7377d7014997c36333a7d22 + languageName: node + linkType: hard + +"@eslint-community/regexpp@npm:^4.4.0": + version: 4.4.0 + resolution: "@eslint-community/regexpp@npm:4.4.0" + checksum: 2d127af0c752b80e8a782eacfe996a86925d21de92da3ffc6f9e615e701145e44a62e26bdd88bfac2cd76779c39ba8d9875a91046ec5e7e5f23cb647c247ea6a + languageName: node + linkType: hard + +"@eslint/eslintrc@npm:^2.0.1": + version: 2.0.1 + resolution: "@eslint/eslintrc@npm:2.0.1" dependencies: ajv: ^6.12.4 debug: ^4.3.2 - espree: ^9.4.0 + espree: ^9.5.0 globals: ^13.19.0 ignore: ^5.2.0 import-fresh: ^3.2.1 js-yaml: ^4.1.0 minimatch: ^3.1.2 strip-json-comments: ^3.1.1 - checksum: 31119c8ca06723d80384f18f5c78e0530d8e6306ad36379868650131a8b10dd7cffd7aff79a5deb3a2e9933660823052623d268532bae9538ded53d5b19a69a6 + checksum: 56b9192a687a450db53a7b883daf9f0f447c43b3510189cf88808a7a2467c2a302a42a50f184cc6d5a9faf3d1df890a2ef0fd0d60b751f32a3e9dfea717c6b48 languageName: node linkType: hard -"@eslint/js@npm:8.35.0, @eslint/js@npm:^8.35.0": - version: 8.35.0 - resolution: "@eslint/js@npm:8.35.0" - checksum: 6687ceff659a6d617e37823f809dc9c4b096535961a81acead27d26b1a51a4cf608a5e59d831ddd57f24f6f8bb99340a4a0e19f9c99b390fbb4b275f51ed5f5e +"@eslint/js@npm:8.36.0, @eslint/js@npm:^8.36.0": + version: 8.36.0 + resolution: "@eslint/js@npm:8.36.0" + checksum: b7d6b84b823c8c7784be390741196617565527b1f7c0977fde9455bfb57fd88f81c074a03dd878757d2c33fa29f24291e9ecbc1425710f067917324b55e1bf3a languageName: node linkType: hard @@ -346,26 +364,26 @@ __metadata: languageName: node linkType: hard -"@polkadot/api-augment@10.1.1, @polkadot/api-augment@workspace:packages/api-augment": +"@polkadot/api-augment@10.1.2, @polkadot/api-augment@workspace:packages/api-augment": version: 0.0.0-use.local resolution: "@polkadot/api-augment@workspace:packages/api-augment" dependencies: - "@polkadot/api-base": 10.1.1 - "@polkadot/rpc-augment": 10.1.1 - "@polkadot/types": 10.1.1 - "@polkadot/types-augment": 10.1.1 - "@polkadot/types-codec": 10.1.1 + "@polkadot/api-base": 10.1.2 + "@polkadot/rpc-augment": 10.1.2 + "@polkadot/types": 10.1.2 + "@polkadot/types-augment": 10.1.2 + "@polkadot/types-codec": 10.1.2 "@polkadot/util": ^11.0.2 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/api-base@10.1.1, @polkadot/api-base@workspace:packages/api-base": +"@polkadot/api-base@10.1.2, @polkadot/api-base@workspace:packages/api-base": version: 0.0.0-use.local resolution: "@polkadot/api-base@workspace:packages/api-base" dependencies: - "@polkadot/rpc-core": 10.1.1 - "@polkadot/types": 10.1.1 + "@polkadot/rpc-core": 10.1.2 + "@polkadot/types": 10.1.2 "@polkadot/util": ^11.0.2 rxjs: ^7.8.0 tslib: ^2.5.0 @@ -376,12 +394,12 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/api-contract@workspace:packages/api-contract" dependencies: - "@polkadot/api": 10.1.1 - "@polkadot/api-augment": 10.1.1 + "@polkadot/api": 10.1.2 + "@polkadot/api-augment": 10.1.2 "@polkadot/keyring": ^11.0.2 - "@polkadot/types": 10.1.1 - "@polkadot/types-codec": 10.1.1 - "@polkadot/types-create": 10.1.1 + "@polkadot/types": 10.1.2 + "@polkadot/types-codec": 10.1.2 + "@polkadot/types-create": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 rxjs: ^7.8.0 @@ -389,19 +407,19 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/api-derive@10.1.1, @polkadot/api-derive@workspace:packages/api-derive": +"@polkadot/api-derive@10.1.2, @polkadot/api-derive@workspace:packages/api-derive": version: 0.0.0-use.local resolution: "@polkadot/api-derive@workspace:packages/api-derive" dependencies: - "@polkadot/api": 10.1.1 - "@polkadot/api-augment": 10.1.1 - "@polkadot/api-base": 10.1.1 - "@polkadot/rpc-augment": 10.1.1 - "@polkadot/rpc-core": 10.1.1 - "@polkadot/rpc-provider": 10.1.1 - "@polkadot/types": 10.1.1 - "@polkadot/types-codec": 10.1.1 - "@polkadot/types-support": 10.1.1 + "@polkadot/api": 10.1.2 + "@polkadot/api-augment": 10.1.2 + "@polkadot/api-base": 10.1.2 + "@polkadot/rpc-augment": 10.1.2 + "@polkadot/rpc-core": 10.1.2 + "@polkadot/rpc-provider": 10.1.2 + "@polkadot/types": 10.1.2 + "@polkadot/types-codec": 10.1.2 + "@polkadot/types-support": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 rxjs: ^7.8.0 @@ -409,23 +427,23 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/api@10.1.1, @polkadot/api@workspace:packages/api": +"@polkadot/api@10.1.2, @polkadot/api@workspace:packages/api": version: 0.0.0-use.local resolution: "@polkadot/api@workspace:packages/api" dependencies: - "@polkadot/api-augment": 10.1.1 - "@polkadot/api-base": 10.1.1 - "@polkadot/api-derive": 10.1.1 + "@polkadot/api-augment": 10.1.2 + "@polkadot/api-base": 10.1.2 + "@polkadot/api-derive": 10.1.2 "@polkadot/keyring": ^11.0.2 - "@polkadot/rpc-augment": 10.1.1 - "@polkadot/rpc-core": 10.1.1 - "@polkadot/rpc-provider": 10.1.1 - "@polkadot/types": 10.1.1 - "@polkadot/types-augment": 10.1.1 - "@polkadot/types-codec": 10.1.1 - "@polkadot/types-create": 10.1.1 - "@polkadot/types-known": 10.1.1 - "@polkadot/types-support": 10.1.1 + "@polkadot/rpc-augment": 10.1.2 + "@polkadot/rpc-core": 10.1.2 + "@polkadot/rpc-provider": 10.1.2 + "@polkadot/types": 10.1.2 + "@polkadot/types-augment": 10.1.2 + "@polkadot/types-codec": 10.1.2 + "@polkadot/types-create": 10.1.2 + "@polkadot/types-known": 10.1.2 + "@polkadot/types-support": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 eventemitter3: ^5.0.0 @@ -434,11 +452,11 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/dev@npm:^0.71.4": - version: 0.71.4 - resolution: "@polkadot/dev@npm:0.71.4" +"@polkadot/dev@npm:^0.71.5": + version: 0.71.5 + resolution: "@polkadot/dev@npm:0.71.5" dependencies: - "@eslint/js": ^8.35.0 + "@eslint/js": ^8.36.0 "@rollup/plugin-alias": ^4.0.3 "@rollup/plugin-commonjs": ^24.0.1 "@rollup/plugin-dynamic-import-vars": ^2.0.3 @@ -448,7 +466,7 @@ __metadata: "@rushstack/eslint-patch": ^1.2.0 "@typescript-eslint/eslint-plugin": ^5.54.1 "@typescript-eslint/parser": ^5.54.1 - eslint: ^8.35.0 + eslint: ^8.36.0 eslint-config-standard: ^17.0.0 eslint-import-resolver-node: ^0.3.7 eslint-plugin-deprecation: ^1.3.3 @@ -471,7 +489,7 @@ __metadata: tap-parser: ^12.0.1 tslib: ^2.5.0 typescript: ^4.9.5 - webpack: ^5.76.0 + webpack: ^5.76.1 webpack-cli: ^5.0.1 webpack-dev-server: ^4.11.1 webpack-merge: ^5.8.0 @@ -501,7 +519,7 @@ __metadata: polkadot-exec-rollup: scripts/polkadot-exec-rollup.mjs polkadot-exec-tsc: scripts/polkadot-exec-tsc.mjs polkadot-exec-webpack: scripts/polkadot-exec-webpack.mjs - checksum: 11b8cc42bd637245dd972a5c740b02fa5bf1dcd5a3a849af1b34c3d3bd21cb2a654d423eeceee79b29d3327ba47b9066cd11f73ee1df9751e0928f611721852c + checksum: 07f199334c273173c010406fa50b9d584b378a16a4c096c6012e0a303707c786e6e0dca5642d5631a25243b2fbfd1bb2e88d2a84e7b000a3169e348e3b0e11c9 languageName: node linkType: hard @@ -530,39 +548,39 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@10.1.1, @polkadot/rpc-augment@workspace:packages/rpc-augment": +"@polkadot/rpc-augment@10.1.2, @polkadot/rpc-augment@workspace:packages/rpc-augment": version: 0.0.0-use.local resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment" dependencies: - "@polkadot/rpc-core": 10.1.1 - "@polkadot/types": 10.1.1 - "@polkadot/types-codec": 10.1.1 + "@polkadot/rpc-core": 10.1.2 + "@polkadot/types": 10.1.2 + "@polkadot/types-codec": 10.1.2 "@polkadot/util": ^11.0.2 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/rpc-core@10.1.1, @polkadot/rpc-core@workspace:packages/rpc-core": +"@polkadot/rpc-core@10.1.2, @polkadot/rpc-core@workspace:packages/rpc-core": version: 0.0.0-use.local resolution: "@polkadot/rpc-core@workspace:packages/rpc-core" dependencies: "@polkadot/keyring": ^11.0.2 - "@polkadot/rpc-augment": 10.1.1 - "@polkadot/rpc-provider": 10.1.1 - "@polkadot/types": 10.1.1 + "@polkadot/rpc-augment": 10.1.2 + "@polkadot/rpc-provider": 10.1.2 + "@polkadot/types": 10.1.2 "@polkadot/util": ^11.0.2 rxjs: ^7.8.0 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/rpc-provider@10.1.1, @polkadot/rpc-provider@workspace:packages/rpc-provider": +"@polkadot/rpc-provider@10.1.2, @polkadot/rpc-provider@workspace:packages/rpc-provider": version: 0.0.0-use.local resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider" dependencies: "@polkadot/keyring": ^11.0.2 - "@polkadot/types": 10.1.1 - "@polkadot/types-support": 10.1.1 + "@polkadot/types": 10.1.2 + "@polkadot/types-support": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 "@polkadot/x-fetch": ^11.0.2 @@ -583,15 +601,15 @@ __metadata: version: 0.0.0-use.local resolution: "@polkadot/typegen@workspace:packages/typegen" dependencies: - "@polkadot/api": 10.1.1 - "@polkadot/api-augment": 10.1.1 - "@polkadot/rpc-augment": 10.1.1 - "@polkadot/rpc-provider": 10.1.1 - "@polkadot/types": 10.1.1 - "@polkadot/types-augment": 10.1.1 - "@polkadot/types-codec": 10.1.1 - "@polkadot/types-create": 10.1.1 - "@polkadot/types-support": 10.1.1 + "@polkadot/api": 10.1.2 + "@polkadot/api-augment": 10.1.2 + "@polkadot/rpc-augment": 10.1.2 + "@polkadot/rpc-provider": 10.1.2 + "@polkadot/types": 10.1.2 + "@polkadot/types-augment": 10.1.2 + "@polkadot/types-codec": 10.1.2 + "@polkadot/types-create": 10.1.2 + "@polkadot/types-support": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 "@polkadot/x-ws": ^11.0.2 @@ -609,24 +627,24 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-augment@10.1.1, @polkadot/types-augment@workspace:packages/types-augment": +"@polkadot/types-augment@10.1.2, @polkadot/types-augment@workspace:packages/types-augment": version: 0.0.0-use.local resolution: "@polkadot/types-augment@workspace:packages/types-augment" dependencies: - "@polkadot/types": 10.1.1 - "@polkadot/types-codec": 10.1.1 + "@polkadot/types": 10.1.2 + "@polkadot/types-codec": 10.1.2 "@polkadot/util": ^11.0.2 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/types-codec@10.1.1, @polkadot/types-codec@workspace:packages/types-codec": +"@polkadot/types-codec@10.1.2, @polkadot/types-codec@workspace:packages/types-codec": version: 0.0.0-use.local resolution: "@polkadot/types-codec@workspace:packages/types-codec" dependencies: - "@polkadot/types": 10.1.1 - "@polkadot/types-augment": 10.1.1 - "@polkadot/types-support": 10.1.1 + "@polkadot/types": 10.1.2 + "@polkadot/types-augment": 10.1.2 + "@polkadot/types-support": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 "@polkadot/x-bigint": ^11.0.2 @@ -634,32 +652,32 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types-create@10.1.1, @polkadot/types-create@workspace:packages/types-create": +"@polkadot/types-create@10.1.2, @polkadot/types-create@workspace:packages/types-create": version: 0.0.0-use.local resolution: "@polkadot/types-create@workspace:packages/types-create" dependencies: - "@polkadot/types": 10.1.1 - "@polkadot/types-codec": 10.1.1 + "@polkadot/types": 10.1.2 + "@polkadot/types-codec": 10.1.2 "@polkadot/util": ^11.0.2 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/types-known@10.1.1, @polkadot/types-known@workspace:packages/types-known": +"@polkadot/types-known@10.1.2, @polkadot/types-known@workspace:packages/types-known": version: 0.0.0-use.local resolution: "@polkadot/types-known@workspace:packages/types-known" dependencies: - "@polkadot/api": 10.1.1 + "@polkadot/api": 10.1.2 "@polkadot/networks": ^11.0.2 - "@polkadot/types": 10.1.1 - "@polkadot/types-codec": 10.1.1 - "@polkadot/types-create": 10.1.1 + "@polkadot/types": 10.1.2 + "@polkadot/types-codec": 10.1.2 + "@polkadot/types-create": 10.1.2 "@polkadot/util": ^11.0.2 tslib: ^2.5.0 languageName: unknown linkType: soft -"@polkadot/types-support@10.1.1, @polkadot/types-support@workspace:packages/types-support": +"@polkadot/types-support@10.1.2, @polkadot/types-support@workspace:packages/types-support": version: 0.0.0-use.local resolution: "@polkadot/types-support@workspace:packages/types-support" dependencies: @@ -668,15 +686,15 @@ __metadata: languageName: unknown linkType: soft -"@polkadot/types@10.1.1, @polkadot/types@workspace:packages/types": +"@polkadot/types@10.1.2, @polkadot/types@workspace:packages/types": version: 0.0.0-use.local resolution: "@polkadot/types@workspace:packages/types" dependencies: "@polkadot/keyring": ^11.0.2 - "@polkadot/types-augment": 10.1.1 - "@polkadot/types-codec": 10.1.1 - "@polkadot/types-create": 10.1.1 - "@polkadot/types-support": 10.1.1 + "@polkadot/types-augment": 10.1.2 + "@polkadot/types-codec": 10.1.2 + "@polkadot/types-create": 10.1.2 + "@polkadot/types-support": 10.1.2 "@polkadot/util": ^11.0.2 "@polkadot/util-crypto": ^11.0.2 rxjs: ^7.8.0 @@ -3754,12 +3772,14 @@ __metadata: languageName: node linkType: hard -"eslint@npm:^8.35.0": - version: 8.35.0 - resolution: "eslint@npm:8.35.0" +"eslint@npm:^8.36.0": + version: 8.36.0 + resolution: "eslint@npm:8.36.0" dependencies: - "@eslint/eslintrc": ^2.0.0 - "@eslint/js": 8.35.0 + "@eslint-community/eslint-utils": ^4.2.0 + "@eslint-community/regexpp": ^4.4.0 + "@eslint/eslintrc": ^2.0.1 + "@eslint/js": 8.36.0 "@humanwhocodes/config-array": ^0.11.8 "@humanwhocodes/module-importer": ^1.0.1 "@nodelib/fs.walk": ^1.2.8 @@ -3770,9 +3790,8 @@ __metadata: doctrine: ^3.0.0 escape-string-regexp: ^4.0.0 eslint-scope: ^7.1.1 - eslint-utils: ^3.0.0 eslint-visitor-keys: ^3.3.0 - espree: ^9.4.0 + espree: ^9.5.0 esquery: ^1.4.2 esutils: ^2.0.2 fast-deep-equal: ^3.1.3 @@ -3794,24 +3813,23 @@ __metadata: minimatch: ^3.1.2 natural-compare: ^1.4.0 optionator: ^0.9.1 - regexpp: ^3.2.0 strip-ansi: ^6.0.1 strip-json-comments: ^3.1.0 text-table: ^0.2.0 bin: eslint: bin/eslint.js - checksum: 6212173691d90b1bc94dd3d640e1f210374b30c3905fc0a15e501cf71c6ca52aa3d80ea7a9a245adaaed26d6019169e01fb6881b3f2885b188d37069c749308c + checksum: e9a961fc3b3de5cff5a1cb2c92eeffaa7e155a715489e30b3e1e76f186bd1255e0481e09564f2094733c0b1dbd3453499fb72ae7c043c83156e11e6d965b2304 languageName: node linkType: hard -"espree@npm:^9.4.0": - version: 9.4.0 - resolution: "espree@npm:9.4.0" +"espree@npm:^9.5.0": + version: 9.5.0 + resolution: "espree@npm:9.5.0" dependencies: acorn: ^8.8.0 acorn-jsx: ^5.3.2 eslint-visitor-keys: ^3.3.0 - checksum: 2e3020dde67892d2ba3632413b44d0dc31d92c29ce72267d7ec24216a562f0a6494d3696e2fa39a3ec8c0e0088d773947ab2925fbb716801a11eb8dd313ac89c + checksum: a7f110aefb6407e0d3237aa635ab3cea87106ae63748dd23c67031afccc640d04c4209fca2daf16e2233c82efb505faead0fb84097478fd9cc6e8f8dd80bf99d languageName: node linkType: hard @@ -7404,7 +7422,7 @@ fsevents@~2.3.2: version: 0.0.0-use.local resolution: "root-workspace-0b6124@workspace:." dependencies: - "@polkadot/dev": ^0.71.4 + "@polkadot/dev": ^0.71.5 "@polkadot/typegen": "workspace:packages/typegen" "@types/node": ^18.15.0 languageName: unknown @@ -8831,7 +8849,7 @@ fsevents@~2.3.2: languageName: node linkType: hard -"webpack@npm:^5.76.0": +"webpack@npm:^5.76.1": version: 5.76.1 resolution: "webpack@npm:5.76.1" dependencies: