Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a9fa603ad8 | ||
|
|
d86bff91a7 | ||
|
|
26b5303c2d | ||
|
|
b4ebdc29a1 | ||
|
|
6e4dc0b52d | ||
|
|
02ec613def | ||
|
|
a83e1da941 | ||
|
|
c4e8270b45 | ||
|
|
ddb9b44460 | ||
|
|
887812eeaa |
@@ -1,5 +1,23 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 11.0.1 Apr 23, 2024
|
||||
|
||||
Breaking Changes:
|
||||
|
||||
Note! The following breaking changes only refer to `@polkadot/api-derive` calls under `api.derive.staking.*` due to the most recent breaking changes in runtime version v1.2. Please refer to the link next to the bullet points for more information.
|
||||
|
||||
- Update` api.derive.staking` calls with breaking changes ([#5860](https://github.com/polkadot-js/api/pull/5860))
|
||||
- Add `claimedRewardsEra` to api.derive.staking.query for compatibility with legacyClaimedRewards ([#5862](https://github.com/polkadot-js/api/pull/5862))
|
||||
|
||||
Contributed:
|
||||
|
||||
- Bump @substrate/connect to 0.8.10 (Thanks to https://github.com/kratico)
|
||||
|
||||
Changes:
|
||||
|
||||
- Update polkadot types-known for latest runtime upgrades
|
||||
|
||||
|
||||
## 10.13.1 Apr 16, 2024
|
||||
|
||||
Changes:
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
37 Tarik Gul 11.0.1 (#5864)
|
||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||
33 Tarik Gul 10.13.1 (#5854)
|
||||
20 Luke Schoen fix: Fixes TypeError: Cannot read property 'vesting' of undefined (#1970)
|
||||
19 Xiliang Chen no warm for unknown signed extensions (#5601)
|
||||
15 Jeremías Díaz feat(types): add correct tuple type to storage key (#3054)
|
||||
@@ -13,11 +13,11 @@
|
||||
5 Chevdor Fix metadata package link (#3458)
|
||||
5 Jake Naviasky Fixing approvalFlagsToBools. (#1250)
|
||||
5 Julien Eluard General WsProvider extensibility improvements (#5467)
|
||||
5 Matias Volpe Bump @substrate/connect to 0.8.10 (#5863)
|
||||
4 Alex D Use derive customAccount and customLocks for balance overrides (#3248)
|
||||
4 Alex Wang fix issue that creates duplicate providers (#983)
|
||||
4 Alexander Popiak Add asset id in signing (#4009)
|
||||
4 Joshy Orndorff spelling; efect -> effect (#2295)
|
||||
4 Matias Volpe Bump @substrate/connect to 0.8.8 (#5817)
|
||||
4 Nantian fix bigint type (#3869)
|
||||
4 Scott Twiname Add support for historical BlockNumber rpc methods (#4574)
|
||||
4 Thibaut Sardan no subscription for http (#3127)
|
||||
|
||||
+3
-3
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"versions": {
|
||||
"git": "10.13.1",
|
||||
"npm": "10.13.1"
|
||||
"git": "11.0.1",
|
||||
"npm": "11.0.1"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "10.13.1",
|
||||
"@polkadot/rpc-augment": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-augment": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/api-base": "11.0.1",
|
||||
"@polkadot/rpc-augment": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-augment": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/rpc-core": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.13.1",
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types-create": "10.13.1",
|
||||
"@polkadot/api": "11.0.1",
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/types-create": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-support": "10.13.1"
|
||||
"@polkadot/types-support": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.13.1",
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/api-base": "10.13.1",
|
||||
"@polkadot/rpc-core": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/api": "11.0.1",
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/api-base": "11.0.1",
|
||||
"@polkadot/rpc-core": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "10.13.1",
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/rpc-augment": "10.13.1",
|
||||
"@polkadot/rpc-provider": "10.13.1",
|
||||
"@polkadot/types-support": "10.13.1"
|
||||
"@polkadot/api": "11.0.1",
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/rpc-augment": "11.0.1",
|
||||
"@polkadot/rpc-provider": "11.0.1",
|
||||
"@polkadot/types-support": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -17,11 +17,11 @@ function combineAccounts (nextElected: AccountId[], validators: AccountId[]): Ac
|
||||
return arrayFlatten([nextElected, validators.filter((v) => !nextElected.find((n) => n.eq(v)))]);
|
||||
}
|
||||
|
||||
export function electedInfo (instanceId: string, api: DeriveApi): (flags?: StakingQueryFlags) => Observable<DeriveStakingElected> {
|
||||
return memo(instanceId, (flags: StakingQueryFlags = DEFAULT_FLAGS): Observable<DeriveStakingElected> =>
|
||||
export function electedInfo (instanceId: string, api: DeriveApi): (flags?: StakingQueryFlags, page?: number) => Observable<DeriveStakingElected> {
|
||||
return memo(instanceId, (flags: StakingQueryFlags = DEFAULT_FLAGS, page = 0): Observable<DeriveStakingElected> =>
|
||||
api.derive.staking.validators().pipe(
|
||||
switchMap(({ nextElected, validators }): Observable<DeriveStakingElected> =>
|
||||
api.derive.staking.queryMulti(combineAccounts(nextElected, validators), flags).pipe(
|
||||
api.derive.staking.queryMulti(combineAccounts(nextElected, validators), flags, page).pipe(
|
||||
map((info): DeriveStakingElected => ({
|
||||
info,
|
||||
nextElected,
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { Option, u32 } from '@polkadot/types';
|
||||
import type { EraIndex } from '@polkadot/types/interfaces';
|
||||
import type { SpStakingExposurePage } from '@polkadot/types/lookup';
|
||||
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||
import type { DeriveApi, DeriveOwnExposure } from '../types.js';
|
||||
|
||||
import { combineLatest, map, of } from 'rxjs';
|
||||
@@ -10,24 +13,28 @@ import { combineLatest, map, of } from 'rxjs';
|
||||
import { firstMemo, memo } from '../util/index.js';
|
||||
import { erasHistoricApplyAccount } from './util.js';
|
||||
|
||||
export function _ownExposures (instanceId: string, api: DeriveApi): (accountId: Uint8Array | string, eras: EraIndex[], withActive: boolean) => Observable<DeriveOwnExposure[]> {
|
||||
return memo(instanceId, (accountId: Uint8Array | string, eras: EraIndex[], _withActive: boolean): Observable<DeriveOwnExposure[]> =>
|
||||
eras.length
|
||||
export function _ownExposures (instanceId: string, api: DeriveApi): (accountId: Uint8Array | string, eras: EraIndex[], withActive: boolean, page: u32 | AnyNumber) => Observable<DeriveOwnExposure[]> {
|
||||
return memo(instanceId, (accountId: Uint8Array | string, eras: EraIndex[], _withActive: boolean, page: u32 | AnyNumber): Observable<DeriveOwnExposure[]> => {
|
||||
return eras.length
|
||||
? combineLatest([
|
||||
// Backwards and forward compat for historical integrity when using `erasHistoricApplyAccount`
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersClipped(e, accountId))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakers(e, accountId)))
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakers(e, accountId))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersPaged<Option<SpStakingExposurePage>>(e, accountId, page))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersOverview(e, accountId)))
|
||||
]).pipe(
|
||||
map(([clp, exp]): DeriveOwnExposure[] =>
|
||||
eras.map((era, index) => ({ clipped: clp[index], era, exposure: exp[index] }))
|
||||
map(([clp, exp, paged, expMeta]): DeriveOwnExposure[] =>
|
||||
eras.map((era, index) => ({ clipped: clp[index], era, exposure: exp[index], exposureMeta: expMeta[index], exposurePaged: paged[index] }))
|
||||
)
|
||||
)
|
||||
: of([])
|
||||
: of([]);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
export const ownExposure = /*#__PURE__*/ firstMemo(
|
||||
(api: DeriveApi, accountId: Uint8Array | string, era: EraIndex) =>
|
||||
api.derive.staking._ownExposures(accountId, [era], true)
|
||||
(api: DeriveApi, accountId: Uint8Array | string, era: EraIndex, page?: u32 | AnyNumber) =>
|
||||
api.derive.staking._ownExposures(accountId, [era], true, page || 0)
|
||||
);
|
||||
|
||||
export const ownExposures = /*#__PURE__*/ erasHistoricApplyAccount('_ownExposures');
|
||||
|
||||
@@ -2,9 +2,10 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { Option } from '@polkadot/types';
|
||||
import type { Option, u32, Vec } from '@polkadot/types';
|
||||
import type { AccountId, EraIndex } from '@polkadot/types/interfaces';
|
||||
import type { PalletStakingNominations, PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure } from '@polkadot/types/lookup';
|
||||
import type { PalletStakingNominations, PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||
import type { DeriveApi, DeriveStakingQuery, StakingQueryFlags } from '../types.js';
|
||||
|
||||
import { combineLatest, map, of, switchMap } from 'rxjs';
|
||||
@@ -19,11 +20,17 @@ function rewardDestinationCompat (rewardDestination: PalletStakingRewardDestinat
|
||||
: (rewardDestination as PalletStakingRewardDestination);
|
||||
}
|
||||
|
||||
function parseDetails (stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestinationOpts: Option<PalletStakingRewardDestination> | PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: SpStakingExposure, stakingLedgerOpt: Option<PalletStakingStakingLedger>): DeriveStakingQuery {
|
||||
function filterClaimedRewards (api: DeriveApi, cl: number[]): Vec<u32> {
|
||||
return api.registry.createType('Vec<u32>', cl.filter((c) => c !== -1));
|
||||
}
|
||||
|
||||
function parseDetails (api: DeriveApi, stashId: AccountId, controllerIdOpt: Option<AccountId> | null, nominatorsOpt: Option<PalletStakingNominations>, rewardDestinationOpts: Option<PalletStakingRewardDestination> | PalletStakingRewardDestination, validatorPrefs: PalletStakingValidatorPrefs, exposure: Option<SpStakingExposurePage>, stakingLedgerOpt: Option<PalletStakingStakingLedger>, exposureMeta: Option<SpStakingPagedExposureMetadata>, claimedRewards: number[]): DeriveStakingQuery {
|
||||
return {
|
||||
accountId: stashId,
|
||||
claimedRewardsEras: filterClaimedRewards(api, claimedRewards),
|
||||
controllerId: controllerIdOpt?.unwrapOr(null) || null,
|
||||
exposure,
|
||||
exposureMeta,
|
||||
exposurePaged: exposure,
|
||||
nominators: nominatorsOpt.isSome
|
||||
? nominatorsOpt.unwrap().targets
|
||||
: [],
|
||||
@@ -57,11 +64,22 @@ function getLedgers (api: DeriveApi, optIds: (Option<AccountId> | null)[], { wit
|
||||
);
|
||||
}
|
||||
|
||||
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withController, withDestination, withExposure, withLedger, withNominations, withPrefs }: StakingQueryFlags): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], Option<PalletStakingRewardDestination>[], PalletStakingValidatorPrefs[], SpStakingExposure[]]> {
|
||||
function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraIndex, { withClaimedRewardsEras, withController, withDestination, withExposure, withExposureMeta, withLedger, withNominations, withPrefs }: StakingQueryFlags, page: u32 | AnyNumber): Observable<[(Option<AccountId> | null)[], Option<PalletStakingNominations>[], Option<PalletStakingRewardDestination>[], PalletStakingValidatorPrefs[], Option<SpStakingExposurePage>[], Option<SpStakingPagedExposureMetadata>[], number[][]]> {
|
||||
const emptyNoms = api.registry.createType<Option<PalletStakingNominations>>('Option<Nominations>');
|
||||
const emptyRewa = api.registry.createType<Option<PalletStakingRewardDestination>>('RewardDestination');
|
||||
const emptyExpo = api.registry.createType<SpStakingExposure>('Exposure');
|
||||
const emptyExpo = api.registry.createType<Option<SpStakingExposurePage>>('Option<SpStakingExposurePage>');
|
||||
const emptyPrefs = api.registry.createType<PalletStakingValidatorPrefs>('ValidatorPrefs');
|
||||
const emptyExpoMeta = api.registry.createType<Option<SpStakingPagedExposureMetadata>>('Option<SpStakingPagedExposureMetadata>');
|
||||
const emptyClaimedRewards = [-1];
|
||||
|
||||
const depth = Number(api.consts.staking.historyDepth.toNumber());
|
||||
const eras = new Array(depth).fill(0).map((_, idx) => {
|
||||
if (idx === 0) {
|
||||
return activeEra.toNumber() - 1;
|
||||
}
|
||||
|
||||
return activeEra.toNumber() - idx - 1;
|
||||
});
|
||||
|
||||
return combineLatest([
|
||||
withController || withLedger
|
||||
@@ -77,18 +95,44 @@ function getStashInfo (api: DeriveApi, stashIds: AccountId[], activeEra: EraInde
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.validators(s)))
|
||||
: of(stashIds.map(() => emptyPrefs)),
|
||||
withExposure
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakers(activeEra, s)))
|
||||
: of(stashIds.map(() => emptyExpo))
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakersPaged<Option<SpStakingExposurePage>>(activeEra, s, page)))
|
||||
: of(stashIds.map(() => emptyExpo)),
|
||||
withExposureMeta
|
||||
? combineLatest(stashIds.map((s) => api.query.staking.erasStakersOverview(activeEra, s)))
|
||||
: of(stashIds.map(() => emptyExpoMeta)),
|
||||
withClaimedRewardsEras
|
||||
? combineLatest(stashIds.map((s) =>
|
||||
combineLatest([
|
||||
combineLatest(eras.map((e) => api.query.staking.claimedRewards(e, s))),
|
||||
combineLatest(eras.map((e) => api.query.staking.erasStakersOverview(e, s)))
|
||||
]))
|
||||
).pipe(
|
||||
map((r) => {
|
||||
return r.map(([stashClaimedEras, overview]) => {
|
||||
// stashClaimedEras length will match the length of eras
|
||||
return stashClaimedEras.map((claimedReward, idx) => {
|
||||
const o = overview[idx].isSome && overview[idx].unwrap();
|
||||
|
||||
if (claimedReward.length === (o && o.pageCount.toNumber())) {
|
||||
return eras[idx];
|
||||
}
|
||||
|
||||
return -1;
|
||||
});
|
||||
});
|
||||
})
|
||||
)
|
||||
: of(stashIds.map(() => emptyClaimedRewards))
|
||||
]);
|
||||
}
|
||||
|
||||
function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], flags: StakingQueryFlags): Observable<DeriveStakingQuery[]> {
|
||||
return getStashInfo(api, stashIds, activeEra, flags).pipe(
|
||||
switchMap(([controllerIdOpt, nominatorsOpt, rewardDestination, validatorPrefs, exposure]): Observable<DeriveStakingQuery[]> =>
|
||||
function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], flags: StakingQueryFlags, page: u32 | AnyNumber): Observable<DeriveStakingQuery[]> {
|
||||
return getStashInfo(api, stashIds, activeEra, flags, page).pipe(
|
||||
switchMap(([controllerIdOpt, nominatorsOpt, rewardDestination, validatorPrefs, exposure, exposureMeta, claimedRewardsEras]): Observable<DeriveStakingQuery[]> =>
|
||||
getLedgers(api, controllerIdOpt, flags).pipe(
|
||||
map((stakingLedgerOpts) =>
|
||||
stashIds.map((stashId, index) =>
|
||||
parseDetails(stashId, controllerIdOpt[index], nominatorsOpt[index], rewardDestination[index], validatorPrefs[index], exposure[index], stakingLedgerOpts[index])
|
||||
parseDetails(api, stashId, controllerIdOpt[index], nominatorsOpt[index], rewardDestination[index], validatorPrefs[index], exposure[index], stakingLedgerOpts[index], exposureMeta[index], claimedRewardsEras[index])
|
||||
)
|
||||
)
|
||||
)
|
||||
@@ -101,18 +145,19 @@ function getBatch (api: DeriveApi, activeEra: EraIndex, stashIds: AccountId[], f
|
||||
* @description From a stash, retrieve the controllerId and all relevant details
|
||||
*/
|
||||
export const query = /*#__PURE__*/ firstMemo(
|
||||
(api: DeriveApi, accountId: Uint8Array | string, flags: StakingQueryFlags) =>
|
||||
api.derive.staking.queryMulti([accountId], flags)
|
||||
(api: DeriveApi, accountId: Uint8Array | string, flags: StakingQueryFlags, page?: u32) =>
|
||||
api.derive.staking.queryMulti([accountId], flags, page)
|
||||
);
|
||||
|
||||
export function queryMulti (instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags) => Observable<DeriveStakingQuery[]> {
|
||||
return memo(instanceId, (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags): Observable<DeriveStakingQuery[]> =>
|
||||
export function queryMulti (instanceId: string, api: DeriveApi): (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags, page?: u32 | AnyNumber) => Observable<DeriveStakingQuery[]> {
|
||||
return memo(instanceId, (accountIds: (Uint8Array | string)[], flags: StakingQueryFlags, page?: u32 | AnyNumber): Observable<DeriveStakingQuery[]> =>
|
||||
api.derive.session.indexes().pipe(
|
||||
switchMap(({ activeEra }): Observable<DeriveStakingQuery[]> => {
|
||||
const stashIds = accountIds.map((a) => api.registry.createType('AccountId', a));
|
||||
const p = page || 0;
|
||||
|
||||
return stashIds.length
|
||||
? getBatch(api, activeEra, stashIds, flags)
|
||||
? getBatch(api, activeEra, stashIds, flags, p)
|
||||
: of([]);
|
||||
})
|
||||
)
|
||||
|
||||
@@ -18,13 +18,15 @@ import { firstMemo, memo } from '../util/index.js';
|
||||
type ErasResult = [DeriveEraPoints[], DeriveEraPrefs[], DeriveEraRewards[]];
|
||||
|
||||
// handle compatibility between generations of structures
|
||||
function extractCompatRewards (ledger?: PalletStakingStakingLedger): u32[] {
|
||||
return ledger
|
||||
function extractCompatRewards (claimedRewardsEras: Vec<u32>, ledger?: PalletStakingStakingLedger): u32[] {
|
||||
const l = ledger
|
||||
? (
|
||||
ledger.legacyClaimedRewards ||
|
||||
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
|
||||
)
|
||||
: [];
|
||||
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
|
||||
).toArray()
|
||||
: [] as unknown as Vec<u32>;
|
||||
|
||||
return claimedRewardsEras.toArray().concat(l);
|
||||
}
|
||||
|
||||
function parseRewards (api: DeriveApi, stashId: AccountId, [erasPoints, erasPrefs, erasRewards]: ErasResult, exposures: DeriveStakerExposure[]): DeriveStakerReward[] {
|
||||
@@ -111,7 +113,7 @@ function allUniqValidators (rewards: DeriveStakerReward[][]): [string[], string[
|
||||
}, [[], []]);
|
||||
}
|
||||
|
||||
function removeClaimed (validators: string[], queryValidators: DeriveStakingQuery[], reward: DeriveStakerReward): void {
|
||||
function removeClaimed (validators: string[], queryValidators: DeriveStakingQuery[], reward: DeriveStakerReward, claimedRewardsEras: Vec<u32>): void {
|
||||
const rm: string[] = [];
|
||||
|
||||
Object.keys(reward.validators).forEach((validatorId): void => {
|
||||
@@ -120,7 +122,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
||||
if (index !== -1) {
|
||||
const valLedger = queryValidators[index].stakingLedger;
|
||||
|
||||
if (extractCompatRewards(valLedger).some((e) => reward.era.eq(e))) {
|
||||
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era.eq(e))) {
|
||||
rm.push(validatorId);
|
||||
}
|
||||
}
|
||||
@@ -131,8 +133,8 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
||||
});
|
||||
}
|
||||
|
||||
function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][], { rewards, stakingLedger }: { rewards: DeriveStakerReward[]; stakingLedger: PalletStakingStakingLedger }): DeriveStakerReward[] {
|
||||
const filter = eras.filter((e) => !extractCompatRewards(stakingLedger).some((s) => s.eq(e)));
|
||||
function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][], { claimedRewardsEras, rewards, stakingLedger }: { rewards: DeriveStakerReward[]; stakingLedger: PalletStakingStakingLedger, claimedRewardsEras: Vec<u32> }): DeriveStakerReward[] {
|
||||
const filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s.eq(e)));
|
||||
const validators = valInfo.map(([v]) => v);
|
||||
const queryValidators = valInfo.map(([, q]) => q);
|
||||
|
||||
@@ -143,7 +145,7 @@ function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][
|
||||
return false;
|
||||
}
|
||||
|
||||
removeClaimed(validators, queryValidators, reward);
|
||||
removeClaimed(validators, queryValidators, reward, claimedRewardsEras);
|
||||
|
||||
return true;
|
||||
})
|
||||
@@ -173,8 +175,8 @@ export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds
|
||||
api.derive.staking._stakerRewardsEras(eras, withActive)
|
||||
]).pipe(
|
||||
switchMap(([queries, exposures, erasResult]): Observable<DeriveStakerReward[][]> => {
|
||||
const allRewards = queries.map(({ stakingLedger, stashId }, index): DeriveStakerReward[] =>
|
||||
(!stashId || !stakingLedger)
|
||||
const allRewards = queries.map(({ claimedRewardsEras, stakingLedger, stashId }, index): DeriveStakerReward[] =>
|
||||
(!stashId || (!stakingLedger && !claimedRewardsEras))
|
||||
? []
|
||||
: parseRewards(api, stashId, erasResult, exposures[index])
|
||||
);
|
||||
@@ -185,9 +187,9 @@ export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds
|
||||
|
||||
const [allValidators, stashValidators] = allUniqValidators(allRewards);
|
||||
|
||||
return api.derive.staking.queryMulti(allValidators, { withLedger: true }).pipe(
|
||||
return api.derive.staking.queryMulti(allValidators, { withClaimedRewardsEras: true, withLedger: true }).pipe(
|
||||
map((queriedVals): DeriveStakerReward[][] =>
|
||||
queries.map(({ stakingLedger }, index): DeriveStakerReward[] =>
|
||||
queries.map(({ claimedRewardsEras, stakingLedger }, index): DeriveStakerReward[] =>
|
||||
filterRewards(
|
||||
eras,
|
||||
stashValidators[index]
|
||||
@@ -197,6 +199,7 @@ export function _stakerRewards (instanceId: string, api: DeriveApi): (accountIds
|
||||
])
|
||||
.filter((v): v is [string, DeriveStakingQuery] => !!v[1]),
|
||||
{
|
||||
claimedRewardsEras,
|
||||
rewards: allRewards[index],
|
||||
stakingLedger
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
// Copyright 2017-2024 @polkadot/api-derive authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Option, u32, Vec } from '@polkadot/types';
|
||||
import type { AccountId, Balance, EraIndex, RewardPoint } from '@polkadot/types/interfaces';
|
||||
import type { PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure, SpStakingExposurePage } from '@polkadot/types/lookup';
|
||||
import type { PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs, SpStakingExposure, SpStakingExposurePage, SpStakingPagedExposureMetadata } from '@polkadot/types/lookup';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { DeriveSessionIndexes } from '../session/types.js';
|
||||
|
||||
@@ -42,8 +43,10 @@ export interface DeriveStakerPoints {
|
||||
|
||||
export interface DeriveOwnExposure {
|
||||
clipped: SpStakingExposure;
|
||||
exposurePaged: Option<SpStakingExposurePage>;
|
||||
era: EraIndex;
|
||||
exposure: SpStakingExposure;
|
||||
exposureMeta: Option<SpStakingPagedExposureMetadata>;
|
||||
}
|
||||
|
||||
export interface DeriveEraExposureNominating {
|
||||
@@ -115,11 +118,13 @@ export interface DeriveStakingValidators {
|
||||
|
||||
export interface DeriveStakingStash {
|
||||
controllerId: AccountId | null;
|
||||
exposure: SpStakingExposure;
|
||||
exposurePaged: Option<SpStakingExposurePage>;
|
||||
exposureMeta: Option<SpStakingPagedExposureMetadata>;
|
||||
nominators: AccountId[];
|
||||
rewardDestination: PalletStakingRewardDestination | null;
|
||||
stashId: AccountId;
|
||||
validatorPrefs: PalletStakingValidatorPrefs;
|
||||
claimedRewardsEras: Vec<u32>
|
||||
}
|
||||
|
||||
export interface DeriveStakingQuery extends DeriveStakingStash {
|
||||
@@ -160,4 +165,6 @@ export interface StakingQueryFlags {
|
||||
withLedger?: boolean;
|
||||
withNominations?: boolean;
|
||||
withPrefs?: boolean;
|
||||
withExposureMeta?: boolean;
|
||||
withClaimedRewardsEras?: boolean;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,9 @@
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { ObsInnerType } from '@polkadot/api-base/types';
|
||||
import type { u32 } from '@polkadot/types';
|
||||
import type { EraIndex } from '@polkadot/types/interfaces';
|
||||
import type { AnyNumber } from '@polkadot/types-codec/types';
|
||||
import type { ExactDerive } from '../derive.js';
|
||||
import type { DeriveApi } from '../types.js';
|
||||
|
||||
@@ -60,9 +62,9 @@ export function erasHistoricApplyAccount <F extends '_ownExposures' | '_ownSlash
|
||||
return (instanceId: string, api: DeriveApi) =>
|
||||
// Cannot quite get the typing right, but it is right in the code
|
||||
// eslint-disable-next-line @typescript-eslint/no-unsafe-return
|
||||
memo(instanceId, (accountId: string | Uint8Array, withActive = false) =>
|
||||
memo(instanceId, (accountId: string | Uint8Array, withActive = false, page?: u32 | AnyNumber) =>
|
||||
api.derive.staking.erasHistoric(withActive).pipe(
|
||||
switchMap((e) => api.derive.staking[fn](accountId, e, withActive))
|
||||
switchMap((e) => api.derive.staking[fn](accountId, e, withActive, page || 0))
|
||||
)
|
||||
) as any;
|
||||
}
|
||||
|
||||
@@ -11,11 +11,11 @@ import { memo } from '../util/index.js';
|
||||
|
||||
export function nextElected (instanceId: string, api: DeriveApi): () => Observable<AccountId[]> {
|
||||
return memo(instanceId, (): Observable<AccountId[]> =>
|
||||
api.query.staking.erasStakers
|
||||
api.query.staking.erasStakersPaged
|
||||
? api.derive.session.indexes().pipe(
|
||||
// only populate for next era in the last session, so track both here - entries are not
|
||||
// subscriptions, so we need a trigger - currentIndex acts as that trigger to refresh
|
||||
switchMap(({ currentEra }) => api.query.staking.erasStakers.keys(currentEra)),
|
||||
switchMap(({ currentEra }) => api.query.staking.erasStakersPaged.keys(currentEra)),
|
||||
map((keys) => keys.map(({ args: [, accountId] }) => accountId))
|
||||
)
|
||||
: api.query.staking['currentElected']<AccountId[]>()
|
||||
|
||||
+14
-14
@@ -18,21 +18,21 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/api-base": "10.13.1",
|
||||
"@polkadot/api-derive": "10.13.1",
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/api-base": "11.0.1",
|
||||
"@polkadot/api-derive": "11.0.1",
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/rpc-augment": "10.13.1",
|
||||
"@polkadot/rpc-core": "10.13.1",
|
||||
"@polkadot/rpc-provider": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-augment": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types-create": "10.13.1",
|
||||
"@polkadot/types-known": "10.13.1",
|
||||
"@polkadot/rpc-augment": "11.0.1",
|
||||
"@polkadot/rpc-core": "11.0.1",
|
||||
"@polkadot/rpc-provider": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-augment": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/types-create": "11.0.1",
|
||||
"@polkadot/types-known": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"eventemitter3": "^5.0.1",
|
||||
@@ -40,7 +40,7 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/types-support": "10.13.1"
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/types-support": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '10.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/rpc-core": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "10.13.1",
|
||||
"@polkadot/rpc-provider": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/rpc-augment": "11.0.1",
|
||||
"@polkadot/rpc-provider": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/rpc-augment": "10.13.1"
|
||||
"@polkadot/rpc-augment": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-support": "10.13.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-support": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-fetch": "^12.6.2",
|
||||
@@ -35,9 +35,9 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@substrate/connect": "0.8.8"
|
||||
"@substrate/connect": "0.8.10"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"@substrate/connect": "0.8.8"
|
||||
"@substrate/connect": "0.8.10"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,15 +28,15 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "10.13.1",
|
||||
"@polkadot/api-augment": "10.13.1",
|
||||
"@polkadot/rpc-augment": "10.13.1",
|
||||
"@polkadot/rpc-provider": "10.13.1",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-augment": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types-create": "10.13.1",
|
||||
"@polkadot/types-support": "10.13.1",
|
||||
"@polkadot/api": "11.0.1",
|
||||
"@polkadot/api-augment": "11.0.1",
|
||||
"@polkadot/rpc-augment": "11.0.1",
|
||||
"@polkadot/rpc-provider": "11.0.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-augment": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/types-create": "11.0.1",
|
||||
"@polkadot/types-support": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"@polkadot/x-ws": "^12.6.2",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '10.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.6.2",
|
||||
@@ -26,9 +26,9 @@
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-augment": "10.13.1",
|
||||
"@polkadot/types-support": "10.13.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-augment": "11.0.1",
|
||||
"@polkadot/types-support": "11.0.1",
|
||||
"@polkadot/util-crypto": "^12.6.2"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "10.13.1"
|
||||
"@polkadot/types": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^12.6.2",
|
||||
"@polkadot/types": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types-create": "10.13.1",
|
||||
"@polkadot/types": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/types-create": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"tslib": "^2.6.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "10.13.1"
|
||||
"@polkadot/api": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -3216,5 +3216,169 @@ export const upgrades: ChainUpgradesExpanded = [
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
20181758,
|
||||
1001003,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
5
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
],
|
||||
[
|
||||
20438530,
|
||||
1002000,
|
||||
[
|
||||
[
|
||||
"0xdf6acb689907609b",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0x37e397fc7c91f5e4",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x40fe3ad401f8959a",
|
||||
6
|
||||
],
|
||||
[
|
||||
"0x17a6bc0d0062aeb3",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x18ef58a3b67ba770",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xd2bc9897eed08f15",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xf78b278be53f454c",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0xaf2c0297a23e6d3d",
|
||||
10
|
||||
],
|
||||
[
|
||||
"0x49eaaf1b548a0cb0",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0x91d5df18b0d2cf58",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x2a5e924655399e60",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xed99c5acb25eedf5",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xcbca25e39f142387",
|
||||
2
|
||||
],
|
||||
[
|
||||
"0x687ad44ad37f03c2",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xab3c0572291feb8b",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0xbc9d89904f5b923f",
|
||||
1
|
||||
],
|
||||
[
|
||||
"0x37c8bb1350a9a2a8",
|
||||
4
|
||||
],
|
||||
[
|
||||
"0xf3ff14d5ab527059",
|
||||
3
|
||||
],
|
||||
[
|
||||
"0xfbc577b9d747efd6",
|
||||
1
|
||||
]
|
||||
]
|
||||
]
|
||||
];
|
||||
|
||||
@@ -14,5 +14,6 @@ export const upgrades: ChainUpgradesRaw = [
|
||||
[10458576, 9200], [10655116, 9220], [10879371, 9230], [11328884, 9250], [11532856, 9260],
|
||||
[11933818, 9270], [12217535, 9280], [12245277, 9281], [12532644, 9291], [12876189, 9300],
|
||||
[13800015, 9340], [14188833, 9360], [14543918, 9370], [15978362, 9420], [16450000, 9430],
|
||||
[17840000, 9431], [18407475, 1000001], [19551000, 1001002]
|
||||
[17840000, 9431], [18407475, 1000001], [19551000, 1001002], [20181758, 1001003],
|
||||
[20438530, 1002000]
|
||||
];
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^12.6.2",
|
||||
|
||||
@@ -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.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "10.13.1",
|
||||
"version": "11.0.1",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-augment": "10.13.1",
|
||||
"@polkadot/types-codec": "10.13.1",
|
||||
"@polkadot/types-create": "10.13.1",
|
||||
"@polkadot/types-augment": "11.0.1",
|
||||
"@polkadot/types-codec": "11.0.1",
|
||||
"@polkadot/types-create": "11.0.1",
|
||||
"@polkadot/util": "^12.6.2",
|
||||
"@polkadot/util-crypto": "^12.6.2",
|
||||
"rxjs": "^7.8.1",
|
||||
@@ -32,6 +32,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^12.6.2",
|
||||
"@polkadot/types-support": "10.13.1"
|
||||
"@polkadot/types-support": "11.0.1"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '10.13.1' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '11.0.1' };
|
||||
|
||||
@@ -380,90 +380,90 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1"
|
||||
checksum: 10/6ee0916504ab702ac40eb1f983c21246738c1cd8624b35886a075430271800543d32ba5a7f9e6a0cb078880f9756db1bdc83cb86c42b39d326e780a8cf9bf22a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/json-rpc-provider@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1"
|
||||
checksum: 10/1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/metadata-builders@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/metadata-builders@npm:0.0.1"
|
||||
dependencies:
|
||||
"@polkadot-api/metadata-builders": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/substrate-bindings": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/substrate-client": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/utils": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/substrate-bindings": "npm:0.0.1"
|
||||
"@polkadot-api/utils": "npm:0.0.1"
|
||||
checksum: 10/e7bf0ad10cbddf75012eaaa1b30060fb1eb142c02f7dfd8edc5a1d78a40ef078b09c85d36bf9f2ac4ab309970ba01dc648ef46745412b006e62e4ddf4f334339
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/observable-client@npm:0.1.0":
|
||||
version: 0.1.0
|
||||
resolution: "@polkadot-api/observable-client@npm:0.1.0"
|
||||
dependencies:
|
||||
"@polkadot-api/metadata-builders": "npm:0.0.1"
|
||||
"@polkadot-api/substrate-bindings": "npm:0.0.1"
|
||||
"@polkadot-api/substrate-client": "npm:0.0.1"
|
||||
"@polkadot-api/utils": "npm:0.0.1"
|
||||
peerDependencies:
|
||||
rxjs: ">=7.8.0"
|
||||
checksum: 10/cc9cc2e54cbb6956290f07ecede3c086455147fc84b5668482655b6e5e3726e408157bbe92747dd5a551ab42604df93f35bab45e78f28489dc998a75586f855b
|
||||
checksum: 10/822b4b24e8b2522fa2b0d88d68d098862d36e9ef285dba7468a6ac9084a37670ef0782a9b8a00c2c4d5510a0af90b3611ea097f530bdad1b07bef63234341bf5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
checksum: 10/bdcdf34feefd9b7f4b29e4fe212ca2609455fce53aeac5b3df9bba4cf714022d3266877e00fbdf5d2d24090cfbcd5139d859295e4e2bb15d055e2fb2704b79ec
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
checksum: 10/00d4e1f7900a1739e1ba7a3b13d399e5540a27d5c026c985aa4afdf865fb37da4aa4029a3a740932615482cdf18e657011ef05e7e61c2de04016f68fbb343ae7
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
dependencies:
|
||||
"@polkadot-api/substrate-bindings": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/utils": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
checksum: 10/0dc59527415b51b9741e95842505cfca788e9fb0e6666be971000b9fe522b7d1a81265d4cab1712c2cc564e14ae8f0e1ef8f32f4023be1261f366edaa1936cc9
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/substrate-bindings@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/substrate-bindings@npm:0.0.1"
|
||||
dependencies:
|
||||
"@noble/hashes": "npm:^1.3.1"
|
||||
"@polkadot-api/utils": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/utils": "npm:0.0.1"
|
||||
"@scure/base": "npm:^1.1.1"
|
||||
scale-ts: "npm:^1.6.0"
|
||||
checksum: 10/e14a81197b86314aa8887d7e81cbf3f0c3b9eec0267b128c81bb3bf6d26d93ac75bd113177861789a066b215a72ac03c940d590e769ca3f33a2ac4480c752538
|
||||
checksum: 10/9a1a70bd571f1cf262796b445c7a005b425e8e6f855b11757442c6bbe398d4a90575cd3973c9b1918202d3c7ff7162675c349c014677a31cc70cd84f7f973f90
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
checksum: 10/af1dce32d1b52bba5494daef387dcb15694ee57ed394e8ac905430ade7cdbae1c44ef5cdb7d777096ee0a0d8a58d3409e9c0c464f780bbd0286cb06d46390c3c
|
||||
"@polkadot-api/substrate-client@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/substrate-client@npm:0.0.1"
|
||||
checksum: 10/a00521dbda6e87a2d0e860c1608dc164269c62748d60a51326452d3573abfa1d01ed79644f103f1d989c49e8c61169ed04b155d466ec9e6f09f6e424572dea48
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0":
|
||||
version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0
|
||||
resolution: "@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
checksum: 10/99d8c233ad4fe58f5ee993cf76b99689e6d34bc239e24785c60d2bd7cd74e4cc2bb8e0704a041c20bff8866a8151126d04c1be01ba5c1d51b1086cd7a5b55814
|
||||
"@polkadot-api/utils@npm:0.0.1":
|
||||
version: 0.0.1
|
||||
resolution: "@polkadot-api/utils@npm:0.0.1"
|
||||
checksum: 10/4bf89955ccf4dafb2ef34f007fc0a12bd6d983a10c4219464a6b1c07e7bfe80ff26f156fa201b3f11ad53adca0abb261fc7ee43b86dcdc10fa0f5325788359ae
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:10.13.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@npm:11.0.1, @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": "npm:10.13.1"
|
||||
"@polkadot/rpc-augment": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-augment": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/api-base": "npm:11.0.1"
|
||||
"@polkadot/rpc-augment": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-augment": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@npm:10.13.1, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@npm:11.0.1, @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": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/rpc-core": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
@@ -474,13 +474,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:10.13.1"
|
||||
"@polkadot/api-augment": "npm:10.13.1"
|
||||
"@polkadot/api": "npm:11.0.1"
|
||||
"@polkadot/api-augment": "npm:11.0.1"
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types-create": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/types-create": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -488,19 +488,19 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@npm:10.13.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@npm:11.0.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:10.13.1"
|
||||
"@polkadot/api-augment": "npm:10.13.1"
|
||||
"@polkadot/api-base": "npm:10.13.1"
|
||||
"@polkadot/rpc-augment": "npm:10.13.1"
|
||||
"@polkadot/rpc-core": "npm:10.13.1"
|
||||
"@polkadot/rpc-provider": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/api": "npm:11.0.1"
|
||||
"@polkadot/api-augment": "npm:11.0.1"
|
||||
"@polkadot/api-base": "npm:11.0.1"
|
||||
"@polkadot/rpc-augment": "npm:11.0.1"
|
||||
"@polkadot/rpc-core": "npm:11.0.1"
|
||||
"@polkadot/rpc-provider": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -508,23 +508,23 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@npm:10.13.1, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@npm:11.0.1, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@polkadot/api-augment": "npm:10.13.1"
|
||||
"@polkadot/api-base": "npm:10.13.1"
|
||||
"@polkadot/api-derive": "npm:10.13.1"
|
||||
"@polkadot/api-augment": "npm:11.0.1"
|
||||
"@polkadot/api-base": "npm:11.0.1"
|
||||
"@polkadot/api-derive": "npm:11.0.1"
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/rpc-augment": "npm:10.13.1"
|
||||
"@polkadot/rpc-core": "npm:10.13.1"
|
||||
"@polkadot/rpc-provider": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-augment": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types-create": "npm:10.13.1"
|
||||
"@polkadot/types-known": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/rpc-augment": "npm:11.0.1"
|
||||
"@polkadot/rpc-core": "npm:11.0.1"
|
||||
"@polkadot/rpc-provider": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-augment": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/types-create": "npm:11.0.1"
|
||||
"@polkadot/types-known": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
@@ -654,45 +654,45 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@npm:10.13.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@npm:11.0.1, @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": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/rpc-core": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@npm:10.13.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@npm:11.0.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/rpc-augment": "npm:10.13.1"
|
||||
"@polkadot/rpc-provider": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/rpc-augment": "npm:11.0.1"
|
||||
"@polkadot/rpc-provider": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@npm:10.13.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@npm:11.0.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-fetch": "npm:^12.6.2"
|
||||
"@polkadot/x-global": "npm:^12.6.2"
|
||||
"@polkadot/x-ws": "npm:^12.6.2"
|
||||
"@substrate/connect": "npm:0.8.8"
|
||||
"@substrate/connect": "npm:0.8.10"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
mock-socket: "npm:^9.3.1"
|
||||
nock: "npm:^13.5.0"
|
||||
@@ -707,15 +707,15 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:10.13.1"
|
||||
"@polkadot/api-augment": "npm:10.13.1"
|
||||
"@polkadot/rpc-augment": "npm:10.13.1"
|
||||
"@polkadot/rpc-provider": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-augment": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types-create": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/api": "npm:11.0.1"
|
||||
"@polkadot/api-augment": "npm:11.0.1"
|
||||
"@polkadot/rpc-augment": "npm:11.0.1"
|
||||
"@polkadot/rpc-provider": "npm:11.0.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-augment": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/types-create": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-ws": "npm:^12.6.2"
|
||||
@@ -732,24 +732,24 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:10.13.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@npm:11.0.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@npm:10.13.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@npm:11.0.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-augment": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-augment": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
"@polkadot/x-bigint": "npm:^12.6.2"
|
||||
@@ -757,32 +757,32 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@npm:10.13.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@npm:11.0.1, @polkadot/types-create@workspace:packages/types-create":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||
dependencies:
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@npm:10.13.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@npm:11.0.1, @polkadot/types-known@workspace:packages/types-known":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:10.13.1"
|
||||
"@polkadot/api": "npm:11.0.1"
|
||||
"@polkadot/networks": "npm:^12.6.2"
|
||||
"@polkadot/types": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types-create": "npm:10.13.1"
|
||||
"@polkadot/types": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/types-create": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
tslib: "npm:^2.6.2"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@npm:10.13.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@npm:11.0.1, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
@@ -791,15 +791,15 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@npm:10.13.1, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@npm:11.0.1, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^12.6.2"
|
||||
"@polkadot/types-augment": "npm:10.13.1"
|
||||
"@polkadot/types-codec": "npm:10.13.1"
|
||||
"@polkadot/types-create": "npm:10.13.1"
|
||||
"@polkadot/types-support": "npm:10.13.1"
|
||||
"@polkadot/types-augment": "npm:11.0.1"
|
||||
"@polkadot/types-codec": "npm:11.0.1"
|
||||
"@polkadot/types-create": "npm:11.0.1"
|
||||
"@polkadot/types-support": "npm:11.0.1"
|
||||
"@polkadot/util": "npm:^12.6.2"
|
||||
"@polkadot/util-crypto": "npm:^12.6.2"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -1224,39 +1224,39 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@substrate/connect-known-chains@npm:^1.1.1":
|
||||
version: 1.1.1
|
||||
resolution: "@substrate/connect-known-chains@npm:1.1.1"
|
||||
checksum: 10/98a1b55b6f6b04e2e30737454f5da703a1bb09e569c2165dcae8c5a98663b2e1c7891d34b809f9ec79394df007fa8f7111f3d2c74a9960700c2905b11be00acb
|
||||
"@substrate/connect-known-chains@npm:^1.1.4":
|
||||
version: 1.1.4
|
||||
resolution: "@substrate/connect-known-chains@npm:1.1.4"
|
||||
checksum: 10/17fdce09bf2ba042371910a5e1c701d7db7e40b7c021eb67f36ed2d28175b8846e01eb2438be03827e2cd2654d35be5a1a248c36e9588ccdbe4545da0bee5047
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@substrate/connect@npm:0.8.8":
|
||||
version: 0.8.8
|
||||
resolution: "@substrate/connect@npm:0.8.8"
|
||||
"@substrate/connect@npm:0.8.10":
|
||||
version: 0.8.10
|
||||
resolution: "@substrate/connect@npm:0.8.10"
|
||||
dependencies:
|
||||
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.1"
|
||||
"@substrate/light-client-extension-helpers": "npm:^0.0.4"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.4"
|
||||
"@substrate/light-client-extension-helpers": "npm:^0.0.6"
|
||||
smoldot: "npm:2.0.22"
|
||||
checksum: 10/056908d641bdbf4a7d8f429e915a7a0519cd9417b6fa46db8591af49f3ac04a631b4a084a30d05a7ae9cfbb70905dc7698452eb252f4e1101c86e82eb4d8ca04
|
||||
checksum: 10/078c08d12eb12b55b2c8ee0e0c335284db07d13b48cc5329db68a6376173f1fb6b2357fb47f8ec4da7b66f4230d9bc2c3873beb66d755c475969d1cdbbec316f
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@substrate/light-client-extension-helpers@npm:^0.0.4":
|
||||
version: 0.0.4
|
||||
resolution: "@substrate/light-client-extension-helpers@npm:0.0.4"
|
||||
"@substrate/light-client-extension-helpers@npm:^0.0.6":
|
||||
version: 0.0.6
|
||||
resolution: "@substrate/light-client-extension-helpers@npm:0.0.6"
|
||||
dependencies:
|
||||
"@polkadot-api/client": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/json-rpc-provider": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/json-rpc-provider-proxy": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/substrate-client": "npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0"
|
||||
"@polkadot-api/json-rpc-provider": "npm:0.0.1"
|
||||
"@polkadot-api/json-rpc-provider-proxy": "npm:0.0.1"
|
||||
"@polkadot-api/observable-client": "npm:0.1.0"
|
||||
"@polkadot-api/substrate-client": "npm:0.0.1"
|
||||
"@substrate/connect-extension-protocol": "npm:^2.0.0"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.1"
|
||||
"@substrate/connect-known-chains": "npm:^1.1.4"
|
||||
rxjs: "npm:^7.8.1"
|
||||
peerDependencies:
|
||||
smoldot: 2.x
|
||||
checksum: 10/f9a3c7775e41223b4e6f2020b4fe17efefebbdd2e7354ded73cac885181e101e7b22e36d47f0f40aec108b5142a9ca895433c51fccae026160a92ed9dbdae600
|
||||
checksum: 10/1a3576019538c8150dd56ddae3ec6ed7b6272af72cd6d17cbb5de76d6ae554af2a0bf72bbb9ffd4b9c64c9eb9ee3f13caaad57e01c5173e35a0cb799fd27574a
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
|
||||
Reference in New Issue
Block a user