Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d565283163 | ||
|
|
eeb7477568 | ||
|
|
588509200c | ||
|
|
a9c11efecb | ||
|
|
1234219c5b | ||
|
|
fa1689ea11 |
@@ -1,5 +1,13 @@
|
||||
# CHANGELOG
|
||||
|
||||
## 16.4.7 Sep 15, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
- fix: Set Statemint xcm types to v4 to patch decoding ([#6208](https://github.com/polkadot-js/api/pull/6208))
|
||||
- fix: Handle optional chaining for claimed rewards in staker rewards functions ([#6205](https://github.com/polkadot-js/api/pull/6205))
|
||||
|
||||
|
||||
## 16.4.6 Aug 26, 2025
|
||||
|
||||
Changes:
|
||||
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
3512 Jaco Bump deps (#5785)
|
||||
164 Tarik Gul Upgrade polkadot/common to 13.5.1 (#6150)
|
||||
166 Tarik Gul 16.4.7 (#6209)
|
||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||
55 Valentin Fernandez 16.4.6 (#6203)
|
||||
37 Keith Ingram Update contract types and rpc (#4541)
|
||||
@@ -10,8 +10,8 @@
|
||||
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
||||
11 Ian He HttpProvider support clone() (#3949)
|
||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||
8 Arjun Porwal fix: handle optional chaining for claimed rewards in staker rewards functions (#6205)
|
||||
8 rajk93 16.4.3 (#6194)
|
||||
7 Arjun Porwal fix: transferable balance calculation (#6197)
|
||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||
|
||||
+3
-3
@@ -14,10 +14,10 @@
|
||||
},
|
||||
"sideEffects": false,
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"versions": {
|
||||
"git": "16.4.6",
|
||||
"npm": "16.4.6"
|
||||
"git": "16.4.7",
|
||||
"npm": "16.4.7"
|
||||
},
|
||||
"workspaces": [
|
||||
"packages/*"
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-base": "16.4.6",
|
||||
"@polkadot/rpc-augment": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-augment": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/api-base": "16.4.7",
|
||||
"@polkadot/rpc-augment": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-augment": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/rpc-core": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,22 +18,22 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.4.6",
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types-create": "16.4.6",
|
||||
"@polkadot/api": "16.4.7",
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/types-create": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"@polkadot/util-crypto": "^13.5.6",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/keyring": "^13.5.6",
|
||||
"@polkadot/types-support": "16.4.6"
|
||||
"@polkadot/types-support": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,25 +18,25 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.4.6",
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/api-base": "16.4.6",
|
||||
"@polkadot/rpc-core": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/api": "16.4.7",
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/api-base": "16.4.7",
|
||||
"@polkadot/rpc-core": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"@polkadot/util-crypto": "^13.5.6",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "16.4.6",
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/rpc-augment": "16.4.6",
|
||||
"@polkadot/rpc-provider": "16.4.6",
|
||||
"@polkadot/types-support": "16.4.6"
|
||||
"@polkadot/api": "16.4.7",
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/rpc-augment": "16.4.7",
|
||||
"@polkadot/rpc-provider": "16.4.7",
|
||||
"@polkadot/types-support": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -23,10 +23,10 @@ function extractCompatRewards (claimedRewardsEras: Vec<u32>, ledger?: PalletStak
|
||||
? (
|
||||
ledger.legacyClaimedRewards ||
|
||||
(ledger as PalletStakingStakingLedger & { claimedRewards: Vec<u32> }).claimedRewards
|
||||
).toArray()
|
||||
)?.toArray()
|
||||
: [] as unknown as Vec<u32>;
|
||||
|
||||
return claimedRewardsEras.toArray().concat(l);
|
||||
return (claimedRewardsEras.toArray() || []).concat(l);
|
||||
}
|
||||
|
||||
function parseRewards (api: DeriveApi, stashId: AccountId, [erasPoints, erasPrefs, erasRewards]: ErasResult, exposures: DeriveStakerExposure[], claimedRewardsEras: Vec<u32>): DeriveStakerReward[] {
|
||||
@@ -125,7 +125,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
||||
if (index !== -1) {
|
||||
const valLedger = queryValidators[index].stakingLedger;
|
||||
|
||||
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era.eq(e))) {
|
||||
if (extractCompatRewards(claimedRewardsEras, valLedger).some((e) => reward.era?.eq(e))) {
|
||||
rm.push(validatorId);
|
||||
}
|
||||
}
|
||||
@@ -137,7 +137,7 @@ function removeClaimed (validators: string[], queryValidators: DeriveStakingQuer
|
||||
}
|
||||
|
||||
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 filter = eras.filter((e) => !extractCompatRewards(claimedRewardsEras, stakingLedger).some((s) => s?.eq(e)));
|
||||
const validators = valInfo.map(([v]) => v);
|
||||
const queryValidators = valInfo.map(([, q]) => q);
|
||||
|
||||
@@ -162,7 +162,7 @@ function filterRewards (eras: EraIndex[], valInfo: [string, DeriveStakingQuery][
|
||||
const info = queryValidators.find((i) => i.accountId.toString() === key);
|
||||
|
||||
if (info) {
|
||||
isClaimed = info.claimedRewardsEras.toArray().some((era) => era.eq(reward.era));
|
||||
isClaimed = info.claimedRewardsEras?.toArray().some((era) => era.eq(reward.era));
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
+14
-14
@@ -18,21 +18,21 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/api-base": "16.4.6",
|
||||
"@polkadot/api-derive": "16.4.6",
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/api-base": "16.4.7",
|
||||
"@polkadot/api-derive": "16.4.7",
|
||||
"@polkadot/keyring": "^13.5.6",
|
||||
"@polkadot/rpc-augment": "16.4.6",
|
||||
"@polkadot/rpc-core": "16.4.6",
|
||||
"@polkadot/rpc-provider": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-augment": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types-create": "16.4.6",
|
||||
"@polkadot/types-known": "16.4.6",
|
||||
"@polkadot/rpc-augment": "16.4.7",
|
||||
"@polkadot/rpc-core": "16.4.7",
|
||||
"@polkadot/rpc-provider": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-augment": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/types-create": "16.4.7",
|
||||
"@polkadot/types-known": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"@polkadot/util-crypto": "^13.5.6",
|
||||
"eventemitter3": "^5.0.1",
|
||||
@@ -40,7 +40,7 @@
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/types-support": "16.4.6"
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/types-support": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-core": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/rpc-core": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,18 +18,18 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/rpc-augment": "16.4.6",
|
||||
"@polkadot/rpc-provider": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/rpc-augment": "16.4.7",
|
||||
"@polkadot/rpc-provider": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"rxjs": "^7.8.1",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.5.6",
|
||||
"@polkadot/rpc-augment": "16.4.6"
|
||||
"@polkadot/rpc-augment": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,12 +18,12 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.5.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-support": "16.4.6",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-support": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"@polkadot/util-crypto": "^13.5.6",
|
||||
"@polkadot/x-fetch": "^13.5.6",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"bin": {
|
||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||
@@ -28,16 +28,16 @@
|
||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||
},
|
||||
"dependencies": {
|
||||
"@polkadot/api": "16.4.6",
|
||||
"@polkadot/api-augment": "16.4.6",
|
||||
"@polkadot/api-derive": "16.4.6",
|
||||
"@polkadot/rpc-augment": "16.4.6",
|
||||
"@polkadot/rpc-provider": "16.4.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-augment": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types-create": "16.4.6",
|
||||
"@polkadot/types-support": "16.4.6",
|
||||
"@polkadot/api": "16.4.7",
|
||||
"@polkadot/api-augment": "16.4.7",
|
||||
"@polkadot/api-derive": "16.4.7",
|
||||
"@polkadot/rpc-augment": "16.4.7",
|
||||
"@polkadot/rpc-provider": "16.4.7",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-augment": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/types-create": "16.4.7",
|
||||
"@polkadot/types-support": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"@polkadot/util-crypto": "^13.5.6",
|
||||
"@polkadot/x-ws": "^13.5.6",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,11 +18,11 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"tslib": "^2.8.1"
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.5.6",
|
||||
@@ -26,9 +26,9 @@
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-augment": "16.4.6",
|
||||
"@polkadot/types-support": "16.4.6",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-augment": "16.4.7",
|
||||
"@polkadot/types-support": "16.4.7",
|
||||
"@polkadot/util-crypto": "^13.5.6"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,14 +18,14 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/types": "16.4.6"
|
||||
"@polkadot/types": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,17 +18,17 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/networks": "^13.5.6",
|
||||
"@polkadot/types": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types-create": "16.4.6",
|
||||
"@polkadot/types": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/types-create": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"tslib": "^2.8.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/api": "16.4.6"
|
||||
"@polkadot/api": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -53,10 +53,14 @@ export const versioned: OverrideVersionedType[] = [
|
||||
TAssetConversion: 'Option<AssetId>'
|
||||
}
|
||||
},
|
||||
// ref: https://github.com/polkadot-js/api/pull/6208
|
||||
// The following patches an issue where polkadot asset hub block 9686187, can't be decoding using xcm v5
|
||||
// mappings.
|
||||
{
|
||||
minmax: [1002000, undefined],
|
||||
types: {
|
||||
Weight: 'WeightV1'
|
||||
Weight: 'WeightV1',
|
||||
...mapXcmTypes('V4')
|
||||
}
|
||||
}
|
||||
// ,
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/util": "^13.5.6",
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -18,13 +18,13 @@
|
||||
"./packageDetect.cjs"
|
||||
],
|
||||
"type": "module",
|
||||
"version": "16.4.6",
|
||||
"version": "16.4.7",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
"@polkadot/keyring": "^13.5.6",
|
||||
"@polkadot/types-augment": "16.4.6",
|
||||
"@polkadot/types-codec": "16.4.6",
|
||||
"@polkadot/types-create": "16.4.6",
|
||||
"@polkadot/types-augment": "16.4.7",
|
||||
"@polkadot/types-codec": "16.4.7",
|
||||
"@polkadot/types-create": "16.4.7",
|
||||
"@polkadot/util": "^13.5.6",
|
||||
"@polkadot/util-crypto": "^13.5.6",
|
||||
"rxjs": "^7.8.1",
|
||||
@@ -32,6 +32,6 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^13.5.6",
|
||||
"@polkadot/types-support": "16.4.6"
|
||||
"@polkadot/types-support": "16.4.7"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,4 +3,4 @@
|
||||
|
||||
// Do not edit, auto-generated by @polkadot/dev
|
||||
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '16.4.6' };
|
||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '16.4.7' };
|
||||
|
||||
@@ -447,26 +447,26 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/api-augment@npm:16.4.6, @polkadot/api-augment@workspace:packages/api-augment":
|
||||
"@polkadot/api-augment@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-augment": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/api-base": "npm:16.4.7"
|
||||
"@polkadot/rpc-augment": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-augment": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-base@npm:16.4.6, @polkadot/api-base@workspace:packages/api-base":
|
||||
"@polkadot/api-base@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/rpc-core": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
@@ -477,13 +477,13 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:16.4.6"
|
||||
"@polkadot/api-augment": "npm:16.4.6"
|
||||
"@polkadot/api": "npm:16.4.7"
|
||||
"@polkadot/api-augment": "npm:16.4.7"
|
||||
"@polkadot/keyring": "npm:^13.5.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types-create": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/types-create": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -491,19 +491,19 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api-derive@npm:16.4.6, @polkadot/api-derive@workspace:packages/api-derive":
|
||||
"@polkadot/api-derive@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/api-augment": "npm:16.4.6"
|
||||
"@polkadot/api-base": "npm:16.4.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.6"
|
||||
"@polkadot/rpc-core": "npm:16.4.6"
|
||||
"@polkadot/rpc-provider": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/api": "npm:16.4.7"
|
||||
"@polkadot/api-augment": "npm:16.4.7"
|
||||
"@polkadot/api-base": "npm:16.4.7"
|
||||
"@polkadot/rpc-augment": "npm:16.4.7"
|
||||
"@polkadot/rpc-core": "npm:16.4.7"
|
||||
"@polkadot/rpc-provider": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
rxjs: "npm:^7.8.1"
|
||||
@@ -511,23 +511,23 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/api@npm:16.4.6, @polkadot/api@workspace:packages/api":
|
||||
"@polkadot/api@npm:16.4.7, @polkadot/api@workspace:packages/api":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/api@workspace:packages/api"
|
||||
dependencies:
|
||||
"@polkadot/api-augment": "npm:16.4.6"
|
||||
"@polkadot/api-base": "npm:16.4.6"
|
||||
"@polkadot/api-derive": "npm:16.4.6"
|
||||
"@polkadot/api-augment": "npm:16.4.7"
|
||||
"@polkadot/api-base": "npm:16.4.7"
|
||||
"@polkadot/api-derive": "npm:16.4.7"
|
||||
"@polkadot/keyring": "npm:^13.5.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.6"
|
||||
"@polkadot/rpc-core": "npm:16.4.6"
|
||||
"@polkadot/rpc-provider": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-augment": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types-create": "npm:16.4.6"
|
||||
"@polkadot/types-known": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.7"
|
||||
"@polkadot/rpc-core": "npm:16.4.7"
|
||||
"@polkadot/rpc-provider": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-augment": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/types-create": "npm:16.4.7"
|
||||
"@polkadot/types-known": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
eventemitter3: "npm:^5.0.1"
|
||||
@@ -657,39 +657,39 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@polkadot/rpc-augment@npm:16.4.6, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||
"@polkadot/rpc-augment@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/rpc-core": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-core@npm:16.4.6, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||
"@polkadot/rpc-core@npm:16.4.7, @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:^13.5.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.6"
|
||||
"@polkadot/rpc-provider": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.7"
|
||||
"@polkadot/rpc-provider": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
rxjs: "npm:^7.8.1"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/rpc-provider@npm:16.4.6, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||
"@polkadot/rpc-provider@npm:16.4.7, @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:^13.5.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
"@polkadot/x-fetch": "npm:^13.5.6"
|
||||
@@ -710,16 +710,16 @@ __metadata:
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||
dependencies:
|
||||
"@polkadot/api": "npm:16.4.6"
|
||||
"@polkadot/api-augment": "npm:16.4.6"
|
||||
"@polkadot/api-derive": "npm:16.4.6"
|
||||
"@polkadot/rpc-augment": "npm:16.4.6"
|
||||
"@polkadot/rpc-provider": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-augment": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types-create": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/api": "npm:16.4.7"
|
||||
"@polkadot/api-augment": "npm:16.4.7"
|
||||
"@polkadot/api-derive": "npm:16.4.7"
|
||||
"@polkadot/rpc-augment": "npm:16.4.7"
|
||||
"@polkadot/rpc-provider": "npm:16.4.7"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-augment": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/types-create": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
"@polkadot/x-ws": "npm:^13.5.6"
|
||||
@@ -737,24 +737,24 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-augment@npm:16.4.6, @polkadot/types-augment@workspace:packages/types-augment":
|
||||
"@polkadot/types-augment@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-codec@npm:16.4.6, @polkadot/types-codec@workspace:packages/types-codec":
|
||||
"@polkadot/types-codec@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/types-augment": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-augment": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
"@polkadot/x-bigint": "npm:^13.5.6"
|
||||
@@ -762,32 +762,32 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-create@npm:16.4.6, @polkadot/types-create@workspace:packages/types-create":
|
||||
"@polkadot/types-create@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-known@npm:16.4.6, @polkadot/types-known@workspace:packages/types-known":
|
||||
"@polkadot/types-known@npm:16.4.7, @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:16.4.6"
|
||||
"@polkadot/api": "npm:16.4.7"
|
||||
"@polkadot/networks": "npm:^13.5.6"
|
||||
"@polkadot/types": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types-create": "npm:16.4.6"
|
||||
"@polkadot/types": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/types-create": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
tslib: "npm:^2.8.1"
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types-support@npm:16.4.6, @polkadot/types-support@workspace:packages/types-support":
|
||||
"@polkadot/types-support@npm:16.4.7, @polkadot/types-support@workspace:packages/types-support":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||
dependencies:
|
||||
@@ -796,15 +796,15 @@ __metadata:
|
||||
languageName: unknown
|
||||
linkType: soft
|
||||
|
||||
"@polkadot/types@npm:16.4.6, @polkadot/types@workspace:packages/types":
|
||||
"@polkadot/types@npm:16.4.7, @polkadot/types@workspace:packages/types":
|
||||
version: 0.0.0-use.local
|
||||
resolution: "@polkadot/types@workspace:packages/types"
|
||||
dependencies:
|
||||
"@polkadot/keyring": "npm:^13.5.6"
|
||||
"@polkadot/types-augment": "npm:16.4.6"
|
||||
"@polkadot/types-codec": "npm:16.4.6"
|
||||
"@polkadot/types-create": "npm:16.4.6"
|
||||
"@polkadot/types-support": "npm:16.4.6"
|
||||
"@polkadot/types-augment": "npm:16.4.7"
|
||||
"@polkadot/types-codec": "npm:16.4.7"
|
||||
"@polkadot/types-create": "npm:16.4.7"
|
||||
"@polkadot/types-support": "npm:16.4.7"
|
||||
"@polkadot/util": "npm:^13.5.6"
|
||||
"@polkadot/util-crypto": "npm:^13.5.6"
|
||||
rxjs: "npm:^7.8.1"
|
||||
|
||||
Reference in New Issue
Block a user