Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8db5e2b1b7 | ||
|
|
6a903db371 | ||
|
|
d67bcd4f39 | ||
|
|
014dc29ccf | ||
|
|
dd9cc04d6b | ||
|
|
a15433ec0e | ||
|
|
1996dd477c | ||
|
|
21a28e003a | ||
|
|
7bd4c7afb0 | ||
|
|
5edb5d9b57 | ||
|
|
25037ae918 | ||
|
|
a4474228b7 | ||
|
|
ad9ade7dda | ||
|
|
203c59667e | ||
|
|
e86abeefda | ||
|
|
d7ffc65401 | ||
|
|
619853f56a | ||
|
|
c129dda5ce | ||
|
|
ad6f3d4531 | ||
|
|
1d28f994db | ||
|
|
b132f6401a | ||
|
|
331036a2b7 | ||
|
|
ad375cbebf | ||
|
|
71e4d14147 | ||
|
|
ac8e554108 | ||
|
|
97fe4ea226 | ||
|
|
beca93e7a9 | ||
|
|
e16ae0869c | ||
|
|
62dbfe6896 | ||
|
|
42c0b2da83 |
+42
-3
@@ -1,6 +1,41 @@
|
|||||||
# CHANGELOG
|
# CHANGELOG
|
||||||
|
|
||||||
## 15.4.1 Jan 20, 2024
|
## 15.6.1 Feb 17, 2025
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Log Http/Ws request on error [#6091](https://github.com/polkadot-js/api/pull/6091)
|
||||||
|
- Only identify Struct as empty when it has no keys. [#6092](https://github.com/polkadot-js/api/pull/6092)
|
||||||
|
- Check for api.query.identity in getSubIdentities [#6093](https://github.com/polkadot-js/api/pull/6093)
|
||||||
|
- Upgrade common to 13.4.3 [#6095](https://github.com/polkadot-js/api/pull/6095)
|
||||||
|
|
||||||
|
|
||||||
|
## 15.5.2 Feb 3, 2025
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Ensure assetId is handled correctly when addSignature is used ([#6083](https://github.com/polkadot-js/api/pull/6083))
|
||||||
|
- NOTE: This is specific to signers but also extends to `class GenericExtrinsicPayloadV4`.
|
||||||
|
- Fix typegen adding invalid imports ([#6082](https://github.com/polkadot-js/api/pull/6082))
|
||||||
|
- Include missing known keys ([#6084](https://github.com/polkadot-js/api/pull/6084))
|
||||||
|
|
||||||
|
|
||||||
|
## 15.5.1 Jan 27, 2025
|
||||||
|
|
||||||
|
Contributed:
|
||||||
|
|
||||||
|
- Add `offchain_localStorageClear` RPC method ([#6070](https://github.com/polkadot-js/api/pull/6070)) (Thanks to https://github.com/khssnv)
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
|
- Update polkadot, kusama types-support for rpc, and ver ([#6078](https://github.com/polkadot-js/api/pull/6078))
|
||||||
|
- Update Asset-Hub types-support rpc, and ver ([#6077](https://github.com/polkadot-js/api/pull/6077))
|
||||||
|
- Patch typegen query to prevent it from adding invalid import ([#6073](https://github.com/polkadot-js/api/pull/6073))
|
||||||
|
- Extend `GenericAccountId` description ([#6072](https://github.com/polkadot-js/api/pull/6072))
|
||||||
|
|
||||||
|
## 15.4.1 Jan 20, 2025
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
- Allow api.derive.accounts.identity() to obtain SubIdentities ([#6066](https://github.com/polkadot-js/api/pull/6066))
|
- Allow api.derive.accounts.identity() to obtain SubIdentities ([#6066](https://github.com/polkadot-js/api/pull/6066))
|
||||||
- Adds a new field `subs` to the `DeriveAccountRegistration` output of `api.derive.accounts.identity()`
|
- Adds a new field `subs` to the `DeriveAccountRegistration` output of `api.derive.accounts.identity()`
|
||||||
@@ -9,7 +44,9 @@
|
|||||||
- Increases performance of the test-runner, both locally, and in the CI
|
- Increases performance of the test-runner, both locally, and in the CI
|
||||||
|
|
||||||
|
|
||||||
## 15.3.1 Jan 11, 2024
|
## 15.3.1 Jan 11, 2025
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
- Set typegen scripts for Docs to use v15 ([#6060](https://github.com/polkadot-js/api/pull/6060))
|
- Set typegen scripts for Docs to use v15 ([#6060](https://github.com/polkadot-js/api/pull/6060))
|
||||||
- Add Asset hub options to polkadot-types-internal-metadata ([#6062](https://github.com/polkadot-js/api/pull/6062))
|
- Add Asset hub options to polkadot-types-internal-metadata ([#6062](https://github.com/polkadot-js/api/pull/6062))
|
||||||
@@ -17,7 +54,9 @@
|
|||||||
- This adds `--metadataVer` to `polkadot-types-internal-metadata`. It is meant to be used along side `--endpoint` which will allow for the use of metadata versions above v14.
|
- This adds `--metadataVer` to `polkadot-types-internal-metadata`. It is meant to be used along side `--endpoint` which will allow for the use of metadata versions above v14.
|
||||||
|
|
||||||
|
|
||||||
## 15.2.1 Jan 6, 2024
|
## 15.2.1 Jan 6, 2025
|
||||||
|
|
||||||
|
Changes:
|
||||||
|
|
||||||
- Give compatibility for nodejs v22
|
- Give compatibility for nodejs v22
|
||||||
- Update common to 13.3.1 ([#6057](https://github.com/polkadot-js/api/pull/6057))
|
- Update common to 13.3.1 ([#6057](https://github.com/polkadot-js/api/pull/6057))
|
||||||
|
|||||||
+4
-2
@@ -1,5 +1,5 @@
|
|||||||
3512 Jaco Bump deps (#5785)
|
3512 Jaco Bump deps (#5785)
|
||||||
154 Tarik Gul 15.4.1 (#6071)
|
159 Tarik Gul 15.5.2 (#6086)
|
||||||
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
83 Amaury Martiny StatementKind: Regular and Saft (#2303)
|
||||||
37 Keith Ingram Update contract types and rpc (#4541)
|
37 Keith Ingram Update contract types and rpc (#4541)
|
||||||
35 Stefanie Doll Updated child storage parameters (#1709)
|
35 Stefanie Doll Updated child storage parameters (#1709)
|
||||||
@@ -9,6 +9,7 @@
|
|||||||
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
14 Nikos Kontakis Bump substrate connect to 0.7.16 (#5307)
|
||||||
11 Ian He HttpProvider support clone() (#3949)
|
11 Ian He HttpProvider support clone() (#3949)
|
||||||
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
10 Axel Chalon Make Enum/Tuple constructor use value directly if instance (#1954)
|
||||||
|
10 Valentin Fernandez prepare 15.6.1 release (#6097)
|
||||||
6 Andreea Eftene Update check for contract instantiation (#5699)
|
6 Andreea Eftene Update check for contract instantiation (#5699)
|
||||||
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
6 Branislav Kontur Fix for fungiblesApi (#5944)
|
||||||
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
5 Alberto Nicolas Penayo added use of accountNonceApi (#5915)
|
||||||
@@ -50,7 +51,6 @@
|
|||||||
2 peetzweg/ feat: ink! v5 (#5791)
|
2 peetzweg/ feat: ink! v5 (#5791)
|
||||||
2 rob thijssen nimbus author mapping correction (#5590)
|
2 rob thijssen nimbus author mapping correction (#5590)
|
||||||
2 sung wu Update tx.md (#2485)
|
2 sung wu Update tx.md (#2485)
|
||||||
2 Valentin Fernandez Add ElectionResult type override (#6067)
|
|
||||||
2 Veliko Abi constructor takes different parameters (#3347)
|
2 Veliko Abi constructor takes different parameters (#3347)
|
||||||
2 Wei Tang Use /usr/bin/env bash instead of /bin/bash (#2053)
|
2 Wei Tang Use /usr/bin/env bash instead of /bin/bash (#2053)
|
||||||
2 Yaroslav Bolyukin feat: allow objects to be supplied as map keys (#5128)
|
2 Yaroslav Bolyukin feat: allow objects to be supplied as map keys (#5128)
|
||||||
@@ -58,6 +58,8 @@
|
|||||||
2 扩散性百万甜面包 Typo, deocrateMethod -> decorateMethod (#1594)
|
2 扩散性百万甜面包 Typo, deocrateMethod -> decorateMethod (#1594)
|
||||||
1 Alan Sapede Adds Eth feeHistory & maxPriorityFeePerGas rpc (#4956)
|
1 Alan Sapede Adds Eth feeHistory & maxPriorityFeePerGas rpc (#4956)
|
||||||
1 Aleš Ferlan fix: use H160 for address in getTransactionCount (#5472)
|
1 Aleš Ferlan fix: use H160 for address in getTransactionCount (#5472)
|
||||||
|
1 Alisher A. Khassanov Add `offchain_localStorageClear` RPC method (#6070)
|
||||||
|
1 Arjun Porwal fix: check for api.query.identity in getSubIdentities (#6093)
|
||||||
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
|
1 Brad Larson [NEW] Support for custom headers with providers (#2423)
|
||||||
1 Btwiuse Arch Add side effect check workaround (#4994) (#5009)
|
1 Btwiuse Arch Add side effect check workaround (#4994) (#5009)
|
||||||
1 Cameron Marshall implement xcm dry run api (#5970)
|
1 Cameron Marshall implement xcm dry run api (#5970)
|
||||||
|
|||||||
+3
-3
@@ -14,10 +14,10 @@
|
|||||||
},
|
},
|
||||||
"sideEffects": false,
|
"sideEffects": false,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"versions": {
|
"versions": {
|
||||||
"git": "15.4.1",
|
"git": "15.6.1",
|
||||||
"npm": "15.4.1"
|
"npm": "15.6.1"
|
||||||
},
|
},
|
||||||
"workspaces": [
|
"workspaces": [
|
||||||
"packages/*"
|
"packages/*"
|
||||||
|
|||||||
@@ -18,15 +18,15 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-base": "15.4.1",
|
"@polkadot/api-base": "15.6.1",
|
||||||
"@polkadot/rpc-augment": "15.4.1",
|
"@polkadot/rpc-augment": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-augment": "15.4.1",
|
"@polkadot/types-augment": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, Struct, U8aFixed, Vec, bo
|
|||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, StagingXcmV4Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmount, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNisBid, PalletNisReceiptRecord, PalletNisSummaryRecord, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletRankedCollectiveMemberRecord, PalletRankedCollectiveVoteRecord, PalletRecoveryActiveRecovery, PalletRecoveryRecoveryConfig, PalletReferendaReferendumInfoConvictionVotingTally, PalletReferendaReferendumInfoRankedCollectiveTally, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletSocietyBid, PalletSocietyCandidacy, PalletSocietyGroupParams, PalletSocietyIntakeRecord, PalletSocietyMemberRecord, PalletSocietyPayoutRecord, PalletSocietyTally, PalletSocietyVote, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingKusamaRuntimeRuntimeFreezeReason, StagingKusamaRuntimeRuntimeHoldReason, StagingKusamaRuntimeRuntimeParametersKey, StagingKusamaRuntimeRuntimeParametersValue, StagingKusamaRuntimeSessionKeys, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/api-augment', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ import type { BTreeMap, BTreeSet, Bytes, Null, Option, U8aFixed, Vec, bool, u128
|
|||||||
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
import type { AnyNumber, ITuple } from '@polkadot/types-codec/types';
|
||||||
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
import type { EthereumAddress } from '@polkadot/types/interfaces/eth';
|
||||||
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
import type { AccountId32, H256, Perbill, Percent } from '@polkadot/types/interfaces/runtime';
|
||||||
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV4Instruction, StagingXcmV4Xcm, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
import type { BinaryHeapEnqueuedOrder, FrameSupportDispatchPerDispatchClassWeight, FrameSupportTokensMiscIdAmountRuntimeFreezeReason, FrameSupportTokensMiscIdAmountRuntimeHoldReason, FrameSystemAccountInfo, FrameSystemCodeUpgradeAuthorization, FrameSystemEventRecord, FrameSystemLastRuntimeUpgradeInfo, FrameSystemPhase, PalletBagsListListBag, PalletBagsListListNode, PalletBalancesAccountData, PalletBalancesBalanceLock, PalletBalancesReserveData, PalletBountiesBounty, PalletChildBountiesChildBounty, PalletConvictionVotingVoteVoting, PalletElectionProviderMultiPhasePhase, PalletElectionProviderMultiPhaseReadySolution, PalletElectionProviderMultiPhaseRoundSnapshot, PalletElectionProviderMultiPhaseSignedSignedSubmission, PalletElectionProviderMultiPhaseSolutionOrSnapshotSize, PalletFastUnstakeUnstakeRequest, PalletGrandpaStoredPendingChange, PalletGrandpaStoredState, PalletMessageQueueBookState, PalletMessageQueuePage, PalletMultisigMultisig, PalletNominationPoolsBondedPoolInner, PalletNominationPoolsClaimPermission, PalletNominationPoolsPoolMember, PalletNominationPoolsRewardPool, PalletNominationPoolsSubPools, PalletPreimageOldRequestStatus, PalletPreimageRequestStatus, PalletProxyAnnouncement, PalletProxyProxyDefinition, PalletReferendaReferendumInfo, PalletSchedulerRetryConfig, PalletSchedulerScheduled, PalletStakingActiveEraInfo, PalletStakingEraRewardPoints, PalletStakingForcing, PalletStakingNominations, PalletStakingRewardDestination, PalletStakingSlashingSlashingSpans, PalletStakingSlashingSpanRecord, PalletStakingStakingLedger, PalletStakingUnappliedSlash, PalletStakingValidatorPrefs, PalletStateTrieMigrationMigrationLimits, PalletStateTrieMigrationMigrationTask, PalletTransactionPaymentReleases, PalletTreasuryProposal, PalletTreasurySpendStatus, PalletVestingReleases, PalletVestingVestingInfo, PalletXcmQueryStatus, PalletXcmRemoteLockedFungibleRecord, PalletXcmVersionMigrationStage, PolkadotCorePrimitivesInboundDownwardMessage, PolkadotCorePrimitivesInboundHrmpMessage, PolkadotParachainPrimitivesPrimitivesHrmpChannelId, PolkadotPrimitivesV7AssignmentAppPublic, PolkadotPrimitivesV7DisputeState, PolkadotPrimitivesV7ExecutorParams, PolkadotPrimitivesV7ScrapedOnChainVotes, PolkadotPrimitivesV7SessionInfo, PolkadotPrimitivesV7SlashingPendingSlashes, PolkadotPrimitivesV7UpgradeGoAhead, PolkadotPrimitivesV7UpgradeRestriction, PolkadotPrimitivesV7ValidatorAppPublic, PolkadotRuntimeCommonClaimsStatementKind, PolkadotRuntimeCommonCrowdloanFundInfo, PolkadotRuntimeCommonImplsVersionedLocatableAsset, PolkadotRuntimeCommonParasRegistrarParaInfo, PolkadotRuntimeParachainsAssignerCoretimeCoreDescriptor, PolkadotRuntimeParachainsAssignerCoretimeSchedule, PolkadotRuntimeParachainsAssignerOnDemandTypesCoreAffinityCount, PolkadotRuntimeParachainsAssignerOnDemandTypesEnqueuedOrder, PolkadotRuntimeParachainsAssignerOnDemandTypesQueueStatusType, PolkadotRuntimeParachainsConfigurationHostConfiguration, PolkadotRuntimeParachainsHrmpHrmpChannel, PolkadotRuntimeParachainsHrmpHrmpOpenChannelRequest, PolkadotRuntimeParachainsInclusionAggregateMessageOrigin, PolkadotRuntimeParachainsInclusionCandidatePendingAvailability, PolkadotRuntimeParachainsInitializerBufferedSessionChange, PolkadotRuntimeParachainsParasParaGenesisArgs, PolkadotRuntimeParachainsParasParaLifecycle, PolkadotRuntimeParachainsParasParaPastCodeMeta, PolkadotRuntimeParachainsParasPvfCheckActiveVoteState, PolkadotRuntimeParachainsSchedulerPalletCoreOccupied, PolkadotRuntimeParachainsSchedulerPalletParasEntry, PolkadotRuntimeParachainsSharedAllowedRelayParentsTracker, PolkadotRuntimeRuntimeParametersKey, PolkadotRuntimeRuntimeParametersValue, PolkadotRuntimeSessionKeys, SpAuthorityDiscoveryAppPublic, SpConsensusBabeAppPublic, SpConsensusBabeBabeEpochConfiguration, SpConsensusBabeDigestsNextConfigDescriptor, SpConsensusBabeDigestsPreDigest, SpConsensusBeefyEcdsaCryptoPublic, SpConsensusBeefyMmrBeefyAuthoritySet, SpConsensusGrandpaAppPublic, SpCoreCryptoKeyTypeId, SpNposElectionsElectionScore, SpRuntimeDigest, SpStakingExposure, SpStakingExposurePage, SpStakingOffenceOffenceDetails, SpStakingPagedExposureMetadata, SpWeightsWeightV2Weight, StagingXcmV4Instruction, XcmVersionedAssetId, XcmVersionedLocation } from '@polkadot/types/lookup';
|
||||||
import type { Observable } from '@polkadot/types/types';
|
import type { Observable } from '@polkadot/types/types';
|
||||||
|
|
||||||
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
export type __AugmentedQuery<ApiType extends ApiTypes> = AugmentedQuery<ApiType, () => unknown>;
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "15.4.1",
|
"@polkadot/rpc-core": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/api-base', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,22 +18,22 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "15.4.1",
|
"@polkadot/api": "15.6.1",
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/types-create": "15.4.1",
|
"@polkadot/types-create": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/util-crypto": "^13.3.1",
|
"@polkadot/util-crypto": "^13.4.3",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/keyring": "^13.3.1",
|
"@polkadot/keyring": "^13.4.3",
|
||||||
"@polkadot/types-support": "15.4.1"
|
"@polkadot/types-support": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/api-contract', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,25 +18,25 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "15.4.1",
|
"@polkadot/api": "15.6.1",
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/api-base": "15.4.1",
|
"@polkadot/api-base": "15.6.1",
|
||||||
"@polkadot/rpc-core": "15.4.1",
|
"@polkadot/rpc-core": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/util-crypto": "^13.3.1",
|
"@polkadot/util-crypto": "^13.4.3",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "15.4.1",
|
"@polkadot/api": "15.6.1",
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/rpc-augment": "15.4.1",
|
"@polkadot/rpc-augment": "15.6.1",
|
||||||
"@polkadot/rpc-provider": "15.4.1",
|
"@polkadot/rpc-provider": "15.6.1",
|
||||||
"@polkadot/types-support": "15.4.1"
|
"@polkadot/types-support": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -148,7 +148,7 @@ export function identity (instanceId: string, api: DeriveApi): (accountId?: Acco
|
|||||||
function getSubIdentities (identity: DeriveAccountRegistration, api: DeriveApi, accountId?: AccountId | Uint8Array | string): Observable<DeriveAccountRegistration> {
|
function getSubIdentities (identity: DeriveAccountRegistration, api: DeriveApi, accountId?: AccountId | Uint8Array | string): Observable<DeriveAccountRegistration> {
|
||||||
const targetAccount = identity.parent || accountId;
|
const targetAccount = identity.parent || accountId;
|
||||||
|
|
||||||
if (!targetAccount) {
|
if (!targetAccount || !api.query.identity) {
|
||||||
// No valid accountId return the identity as-is
|
// No valid accountId return the identity as-is
|
||||||
return of(identity);
|
return of(identity);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/api-derive', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
+17
-17
@@ -18,29 +18,29 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/api-base": "15.4.1",
|
"@polkadot/api-base": "15.6.1",
|
||||||
"@polkadot/api-derive": "15.4.1",
|
"@polkadot/api-derive": "15.6.1",
|
||||||
"@polkadot/keyring": "^13.3.1",
|
"@polkadot/keyring": "^13.4.3",
|
||||||
"@polkadot/rpc-augment": "15.4.1",
|
"@polkadot/rpc-augment": "15.6.1",
|
||||||
"@polkadot/rpc-core": "15.4.1",
|
"@polkadot/rpc-core": "15.6.1",
|
||||||
"@polkadot/rpc-provider": "15.4.1",
|
"@polkadot/rpc-provider": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-augment": "15.4.1",
|
"@polkadot/types-augment": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/types-create": "15.4.1",
|
"@polkadot/types-create": "15.6.1",
|
||||||
"@polkadot/types-known": "15.4.1",
|
"@polkadot/types-known": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/util-crypto": "^13.3.1",
|
"@polkadot/util-crypto": "^13.4.3",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/types-support": "15.4.1"
|
"@polkadot/types-support": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/api', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,13 +18,13 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-core": "15.4.1",
|
"@polkadot/rpc-core": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -404,6 +404,10 @@ declare module '@polkadot/rpc-core/types/jsonrpc' {
|
|||||||
version: AugmentedRpc<() => Observable<Text>>;
|
version: AugmentedRpc<() => Observable<Text>>;
|
||||||
};
|
};
|
||||||
offchain: {
|
offchain: {
|
||||||
|
/**
|
||||||
|
* Clear offchain local storage under given key and prefix
|
||||||
|
**/
|
||||||
|
localStorageClear: AugmentedRpc<(kind: StorageKind | 'PERSISTENT' | 'LOCAL' | number | Uint8Array, key: Bytes | string | Uint8Array) => Observable<Null>>;
|
||||||
/**
|
/**
|
||||||
* Get offchain local storage under given key and prefix
|
* Get offchain local storage under given key and prefix
|
||||||
**/
|
**/
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/rpc-augment', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,18 +18,18 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/rpc-augment": "15.4.1",
|
"@polkadot/rpc-augment": "15.6.1",
|
||||||
"@polkadot/rpc-provider": "15.4.1",
|
"@polkadot/rpc-provider": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^13.3.1",
|
"@polkadot/keyring": "^13.4.3",
|
||||||
"@polkadot/rpc-augment": "15.4.1"
|
"@polkadot/rpc-augment": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/rpc-core', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^13.3.1",
|
"@polkadot/keyring": "^13.4.3",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-support": "15.4.1",
|
"@polkadot/types-support": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/util-crypto": "^13.3.1",
|
"@polkadot/util-crypto": "^13.4.3",
|
||||||
"@polkadot/x-fetch": "^13.3.1",
|
"@polkadot/x-fetch": "^13.4.3",
|
||||||
"@polkadot/x-global": "^13.3.1",
|
"@polkadot/x-global": "^13.4.3",
|
||||||
"@polkadot/x-ws": "^13.3.1",
|
"@polkadot/x-ws": "^13.4.3",
|
||||||
"eventemitter3": "^5.0.1",
|
"eventemitter3": "^5.0.1",
|
||||||
"mock-socket": "^9.3.1",
|
"mock-socket": "^9.3.1",
|
||||||
"nock": "^13.5.5",
|
"nock": "^13.5.5",
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
// Copyright 2017-2025 @polkadot/rpc-provider authors & contributors
|
||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
|
import type RpcError from '../coder/error.js';
|
||||||
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted, ProviderStats } from '../types.js';
|
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted, ProviderStats } from '../types.js';
|
||||||
|
|
||||||
import { logger, noop, stringify } from '@polkadot/util';
|
import { logger, noop, stringify } from '@polkadot/util';
|
||||||
@@ -185,7 +186,18 @@ export class HttpProvider implements ProviderInterface {
|
|||||||
this.#stats.active.requests--;
|
this.#stats.active.requests--;
|
||||||
this.#stats.total.errors++;
|
this.#stats.total.errors++;
|
||||||
|
|
||||||
throw e;
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||||
|
const { method, params } = JSON.parse(body);
|
||||||
|
|
||||||
|
const rpcError: RpcError = e as RpcError;
|
||||||
|
|
||||||
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
|
||||||
|
const failedRequest = `\nFailed HTTP Request: ${JSON.stringify({ method, params })}`;
|
||||||
|
|
||||||
|
// Provide HTTP Request alongside the error
|
||||||
|
rpcError.message = `${rpcError.message}${failedRequest}`;
|
||||||
|
|
||||||
|
throw rpcError;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/rpc-provider', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
// SPDX-License-Identifier: Apache-2.0
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
|
||||||
import type { Class } from '@polkadot/util/types';
|
import type { Class } from '@polkadot/util/types';
|
||||||
|
import type RpcError from '../coder/error.js';
|
||||||
import type { EndpointStats, JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted, ProviderStats } from '../types.js';
|
import type { EndpointStats, JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted, ProviderStats } from '../types.js';
|
||||||
|
|
||||||
import { EventEmitter } from 'eventemitter3';
|
import { EventEmitter } from 'eventemitter3';
|
||||||
@@ -372,7 +373,12 @@ export class WsProvider implements ProviderInterface {
|
|||||||
this.#endpointStats.errors++;
|
this.#endpointStats.errors++;
|
||||||
this.#stats.total.errors++;
|
this.#stats.total.errors++;
|
||||||
|
|
||||||
reject(error);
|
const rpcError: RpcError = error as RpcError;
|
||||||
|
const failedRequest = `\nFailed WS Request: ${JSON.stringify({ method, params })}`;
|
||||||
|
|
||||||
|
// Provide WS Request alongside the error
|
||||||
|
rpcError.message = `${rpcError.message}${failedRequest}`;
|
||||||
|
reject(rpcError);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
"polkadot-types-chain-info": "./scripts/polkadot-types-chain-info.mjs",
|
||||||
@@ -28,18 +28,18 @@
|
|||||||
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
"polkadot-types-internal-metadata": "./scripts/polkadot-types-internal-metadata.mjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/api": "15.4.1",
|
"@polkadot/api": "15.6.1",
|
||||||
"@polkadot/api-augment": "15.4.1",
|
"@polkadot/api-augment": "15.6.1",
|
||||||
"@polkadot/rpc-augment": "15.4.1",
|
"@polkadot/rpc-augment": "15.6.1",
|
||||||
"@polkadot/rpc-provider": "15.4.1",
|
"@polkadot/rpc-provider": "15.6.1",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-augment": "15.4.1",
|
"@polkadot/types-augment": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/types-create": "15.4.1",
|
"@polkadot/types-create": "15.6.1",
|
||||||
"@polkadot/types-support": "15.4.1",
|
"@polkadot/types-support": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/util-crypto": "^13.3.1",
|
"@polkadot/util-crypto": "^13.4.3",
|
||||||
"@polkadot/x-ws": "^13.3.1",
|
"@polkadot/x-ws": "^13.4.3",
|
||||||
"handlebars": "^4.7.8",
|
"handlebars": "^4.7.8",
|
||||||
"tslib": "^2.8.1",
|
"tslib": "^2.8.1",
|
||||||
"yargs": "^17.7.2"
|
"yargs": "^17.7.2"
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
|
|||||||
import { stringCamelCase } from '@polkadot/util';
|
import { stringCamelCase } from '@polkadot/util';
|
||||||
|
|
||||||
import { compareName, createImports, formatType, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
import { compareName, createImports, formatType, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
||||||
|
import { ignoreUnusedLookups } from './lookup.js';
|
||||||
|
|
||||||
const generateForMetaTemplate = Handlebars.compile(readTemplate('consts'));
|
const generateForMetaTemplate = Handlebars.compile(readTemplate('consts'));
|
||||||
|
|
||||||
@@ -34,6 +35,7 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
|
|||||||
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
||||||
}, {});
|
}, {});
|
||||||
const { lookup, pallets, registry } = meta.asLatest;
|
const { lookup, pallets, registry } = meta.asLatest;
|
||||||
|
const usedTypes = new Set<string>([]);
|
||||||
|
|
||||||
const modules = pallets
|
const modules = pallets
|
||||||
.filter(({ constants }) => constants.length > 0)
|
.filter(({ constants }) => constants.length > 0)
|
||||||
@@ -47,6 +49,11 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
|
|||||||
const typeDef = lookup.getTypeDef(type);
|
const typeDef = lookup.getTypeDef(type);
|
||||||
const returnType = typeDef.lookupName || formatType(registry, allDefs, typeDef, imports);
|
const returnType = typeDef.lookupName || formatType(registry, allDefs, typeDef, imports);
|
||||||
|
|
||||||
|
// Add the type to the list of used types
|
||||||
|
if (!(imports.primitiveTypes[returnType])) {
|
||||||
|
usedTypes.add(returnType);
|
||||||
|
}
|
||||||
|
|
||||||
setImports(allDefs, imports, [returnType]);
|
setImports(allDefs, imports, [returnType]);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
@@ -64,6 +71,9 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
|
|||||||
})
|
})
|
||||||
.sort(compareName);
|
.sort(compareName);
|
||||||
|
|
||||||
|
// filter out the unused lookup types from imports
|
||||||
|
ignoreUnusedLookups([...usedTypes], imports);
|
||||||
|
|
||||||
return generateForMetaTemplate({
|
return generateForMetaTemplate({
|
||||||
headerType: 'chain',
|
headerType: 'chain',
|
||||||
imports,
|
imports,
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
|
|||||||
import { stringCamelCase } from '@polkadot/util';
|
import { stringCamelCase } from '@polkadot/util';
|
||||||
|
|
||||||
import { compareName, createImports, formatType, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
import { compareName, createImports, formatType, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
||||||
|
import { ignoreUnusedLookups } from './lookup.js';
|
||||||
|
|
||||||
const generateForMetaTemplate = Handlebars.compile(readTemplate('events'));
|
const generateForMetaTemplate = Handlebars.compile(readTemplate('events'));
|
||||||
|
|
||||||
@@ -78,6 +79,7 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
|
|||||||
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
||||||
}, {});
|
}, {});
|
||||||
const { lookup, pallets, registry } = meta.asLatest;
|
const { lookup, pallets, registry } = meta.asLatest;
|
||||||
|
const usedTypes = new Set<string>([]);
|
||||||
const modules = pallets
|
const modules = pallets
|
||||||
.filter(({ events }) => events.isSome)
|
.filter(({ events }) => events.isSome)
|
||||||
.map(({ events, name }) => ({
|
.map(({ events, name }) => ({
|
||||||
@@ -85,7 +87,17 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
|
|||||||
.map(({ docs, fields, name }) => {
|
.map(({ docs, fields, name }) => {
|
||||||
const args = fields
|
const args = fields
|
||||||
.map(({ type }) => lookup.getTypeDef(type))
|
.map(({ type }) => lookup.getTypeDef(type))
|
||||||
.map((typeDef) => typeDef.lookupName || formatType(registry, allDefs, typeDef, imports));
|
.map((typeDef) => {
|
||||||
|
const arg = typeDef.lookupName || formatType(registry, allDefs, typeDef, imports);
|
||||||
|
|
||||||
|
// Add the type to the list of used types
|
||||||
|
if (!(imports.primitiveTypes[arg])) {
|
||||||
|
usedTypes.add(arg);
|
||||||
|
}
|
||||||
|
|
||||||
|
return arg;
|
||||||
|
});
|
||||||
|
|
||||||
const names = fields
|
const names = fields
|
||||||
.map(({ name }) => registry.lookup.sanitizeField(name)[0])
|
.map(({ name }) => registry.lookup.sanitizeField(name)[0])
|
||||||
.filter((n): n is string => !!n);
|
.filter((n): n is string => !!n);
|
||||||
@@ -105,6 +117,9 @@ function generateForMeta (meta: Metadata, dest: string, extraTypes: ExtraTypes,
|
|||||||
}))
|
}))
|
||||||
.sort(compareName);
|
.sort(compareName);
|
||||||
|
|
||||||
|
// filter out the unused lookup types from imports
|
||||||
|
ignoreUnusedLookups([...usedTypes], imports);
|
||||||
|
|
||||||
return generateForMetaTemplate({
|
return generateForMetaTemplate({
|
||||||
headerType: 'chain',
|
headerType: 'chain',
|
||||||
imports,
|
imports,
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ import staticPolkadot from '@polkadot/types-support/metadata/v15/polkadot-hex';
|
|||||||
import staticSubstrate from '@polkadot/types-support/metadata/v15/substrate-hex';
|
import staticSubstrate from '@polkadot/types-support/metadata/v15/substrate-hex';
|
||||||
import { isString, stringify } from '@polkadot/util';
|
import { isString, stringify } from '@polkadot/util';
|
||||||
|
|
||||||
import { createImports, exportInterface, initMeta, readTemplate, writeFile } from '../util/index.js';
|
import { createImports, exportInterface, initMeta, readTemplate, type TypeImports, writeFile } from '../util/index.js';
|
||||||
import { typeEncoders } from './tsDef.js';
|
import { typeEncoders } from './tsDef.js';
|
||||||
|
|
||||||
// Record<string, >
|
// Record<string, >
|
||||||
@@ -275,3 +275,16 @@ export function generateDefaultLookup (destDir = 'packages/types-augment/src/loo
|
|||||||
]
|
]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Based on a list of types, it filters out the lookup types that are not needed.
|
||||||
|
export function ignoreUnusedLookups (usedTypes: string[], imports: TypeImports) {
|
||||||
|
const usedStringified = usedTypes.toString();
|
||||||
|
|
||||||
|
const [lookupKey, typeDefinitions] = Object.entries(imports.localTypes).find(([typeModule, _]) => typeModule.includes('/lookup')) || ['', {}];
|
||||||
|
|
||||||
|
Object.keys(typeDefinitions).forEach((typeDef) => {
|
||||||
|
if (!(usedStringified.includes(typeDef))) {
|
||||||
|
delete (imports.localTypes[lookupKey])[typeDef];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|||||||
@@ -5,8 +5,7 @@ import type { StorageEntryMetadataLatest } from '@polkadot/types/interfaces';
|
|||||||
import type { Metadata, PortableRegistry } from '@polkadot/types/metadata';
|
import type { Metadata, PortableRegistry } from '@polkadot/types/metadata';
|
||||||
import type { Definitions, Registry } from '@polkadot/types/types';
|
import type { Definitions, Registry } from '@polkadot/types/types';
|
||||||
import type { HexString } from '@polkadot/util/types';
|
import type { HexString } from '@polkadot/util/types';
|
||||||
import type { ModuleTypes } from '../util/imports.js';
|
import type { ModuleTypes, TypeImports } from '../util/imports.js';
|
||||||
import type { TypeImports } from '../util/index.js';
|
|
||||||
import type { ExtraTypes } from './types.js';
|
import type { ExtraTypes } from './types.js';
|
||||||
|
|
||||||
import Handlebars from 'handlebars';
|
import Handlebars from 'handlebars';
|
||||||
@@ -17,6 +16,7 @@ import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
|
|||||||
import { stringCamelCase } from '@polkadot/util';
|
import { stringCamelCase } from '@polkadot/util';
|
||||||
|
|
||||||
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
||||||
|
import { ignoreUnusedLookups } from './lookup.js';
|
||||||
|
|
||||||
const generateForMetaTemplate = Handlebars.compile(readTemplate('query'));
|
const generateForMetaTemplate = Handlebars.compile(readTemplate('query'));
|
||||||
|
|
||||||
@@ -81,17 +81,29 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
|
|||||||
'@polkadot/types/interfaces': defaultDefs,
|
'@polkadot/types/interfaces': defaultDefs,
|
||||||
...extraTypes
|
...extraTypes
|
||||||
};
|
};
|
||||||
|
|
||||||
const imports = createImports(allTypes);
|
const imports = createImports(allTypes);
|
||||||
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
|
const allDefs = Object.entries(allTypes).reduce((defs, [path, obj]) => {
|
||||||
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
||||||
}, {});
|
}, {});
|
||||||
const { lookup, pallets } = meta.asLatest;
|
const { lookup, pallets } = meta.asLatest;
|
||||||
|
const usedTypes = new Set<string>([]);
|
||||||
const modules = pallets
|
const modules = pallets
|
||||||
.filter(({ storage }) => storage.isSome)
|
.filter(({ storage }) => storage.isSome)
|
||||||
.map(({ name, storage }) => {
|
.map(({ name, storage }) => {
|
||||||
const items = storage.unwrap().items
|
const items = storage.unwrap().items
|
||||||
.map((storageEntry) => {
|
.map((storageEntry) => {
|
||||||
const [isOptional, args, params, _returnType] = entrySignature(lookup, allDefs, registry, name.toString(), storageEntry, imports);
|
const [isOptional, args, params, _returnType] = entrySignature(lookup, allDefs, registry, name.toString(), storageEntry, imports);
|
||||||
|
|
||||||
|
// Add the type and args to the list of used types
|
||||||
|
if (!(imports.primitiveTypes[_returnType])) {
|
||||||
|
usedTypes.add(_returnType);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!(imports.primitiveTypes[args])) {
|
||||||
|
usedTypes.add(args);
|
||||||
|
}
|
||||||
|
|
||||||
const returnType = isOptional
|
const returnType = isOptional
|
||||||
? `Option<${_returnType}>`
|
? `Option<${_returnType}>`
|
||||||
: _returnType;
|
: _returnType;
|
||||||
@@ -116,6 +128,9 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
|
|||||||
|
|
||||||
imports.typesTypes['Observable'] = true;
|
imports.typesTypes['Observable'] = true;
|
||||||
|
|
||||||
|
// filter out the unused lookup types from imports
|
||||||
|
ignoreUnusedLookups([...usedTypes], imports);
|
||||||
|
|
||||||
return generateForMetaTemplate({
|
return generateForMetaTemplate({
|
||||||
headerType: 'chain',
|
headerType: 'chain',
|
||||||
imports,
|
imports,
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ import lookupDefinitions from '@polkadot/types-augment/lookup/definitions';
|
|||||||
import { stringCamelCase } from '@polkadot/util';
|
import { stringCamelCase } from '@polkadot/util';
|
||||||
|
|
||||||
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
import { compareName, createImports, formatType, getSimilarTypes, initMeta, readTemplate, setImports, writeFile } from '../util/index.js';
|
||||||
|
import { ignoreUnusedLookups } from './lookup.js';
|
||||||
|
|
||||||
const MAPPED_NAMES: Record<string, string> = {
|
const MAPPED_NAMES: Record<string, string> = {
|
||||||
class: 'clazz',
|
class: 'clazz',
|
||||||
@@ -46,6 +47,7 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
|
|||||||
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
return Object.entries(obj).reduce((defs, [key, value]) => ({ ...defs, [`${path}/${key}`]: value }), defs);
|
||||||
}, {});
|
}, {});
|
||||||
const { lookup, pallets } = meta.asLatest;
|
const { lookup, pallets } = meta.asLatest;
|
||||||
|
const usedTypes = new Set<string>([]);
|
||||||
const modules = pallets
|
const modules = pallets
|
||||||
.sort(compareName)
|
.sort(compareName)
|
||||||
.filter(({ calls }) => calls.isSome)
|
.filter(({ calls }) => calls.isSome)
|
||||||
@@ -76,6 +78,11 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
|
|||||||
|
|
||||||
setImports(allDefs, imports, [typeStr, ...similarTypes]);
|
setImports(allDefs, imports, [typeStr, ...similarTypes]);
|
||||||
|
|
||||||
|
// Add the type to the list of used types
|
||||||
|
if (!(imports.primitiveTypes[typeStr])) {
|
||||||
|
usedTypes.add(typeStr);
|
||||||
|
}
|
||||||
|
|
||||||
return `${name}: ${similarTypes.join(' | ')}`;
|
return `${name}: ${similarTypes.join(' | ')}`;
|
||||||
})
|
})
|
||||||
.join(', ');
|
.join(', ');
|
||||||
@@ -98,6 +105,9 @@ function generateForMeta (registry: Registry, meta: Metadata, dest: string, extr
|
|||||||
})
|
})
|
||||||
.sort(compareName);
|
.sort(compareName);
|
||||||
|
|
||||||
|
// filter out the unused lookup types from imports
|
||||||
|
ignoreUnusedLookups([...usedTypes], imports);
|
||||||
|
|
||||||
return generateForMetaTemplate({
|
return generateForMetaTemplate({
|
||||||
headerType: 'chain',
|
headerType: 'chain',
|
||||||
imports,
|
imports,
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/typegen', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,12 +18,12 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/types-augment', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/x-bigint": "^13.3.1",
|
"@polkadot/x-bigint": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-augment": "15.4.1",
|
"@polkadot/types-augment": "15.6.1",
|
||||||
"@polkadot/types-support": "15.4.1",
|
"@polkadot/types-support": "15.6.1",
|
||||||
"@polkadot/util-crypto": "^13.3.1"
|
"@polkadot/util-crypto": "^13.4.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -154,16 +154,10 @@ export class Struct<
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @description Checks if the value is an empty value
|
* @description Checks if the value is an empty value '{}'
|
||||||
*/
|
*/
|
||||||
public get isEmpty (): boolean {
|
public get isEmpty (): boolean {
|
||||||
for (const v of this.values()) {
|
return [...this.keys()].length === 0;
|
||||||
if (!v.isEmpty) {
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/types-codec', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,14 +18,14 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/types": "15.4.1"
|
"@polkadot/types": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/types-create', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,17 +18,17 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/networks": "^13.3.1",
|
"@polkadot/networks": "^13.4.3",
|
||||||
"@polkadot/types": "15.4.1",
|
"@polkadot/types": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/types-create": "15.4.1",
|
"@polkadot/types-create": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/api": "15.4.1"
|
"@polkadot/api": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/types-known', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,10 +18,10 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -67,6 +67,7 @@ export default {
|
|||||||
"mmr_root",
|
"mmr_root",
|
||||||
"mmr_verifyProof",
|
"mmr_verifyProof",
|
||||||
"mmr_verifyProofStateless",
|
"mmr_verifyProofStateless",
|
||||||
|
"offchain_localStorageClear",
|
||||||
"offchain_localStorageGet",
|
"offchain_localStorageGet",
|
||||||
"offchain_localStorageSet",
|
"offchain_localStorageSet",
|
||||||
"payment_queryFeeDetails",
|
"payment_queryFeeDetails",
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export default {
|
|||||||
"mmr_root",
|
"mmr_root",
|
||||||
"mmr_verifyProof",
|
"mmr_verifyProof",
|
||||||
"mmr_verifyProofStateless",
|
"mmr_verifyProofStateless",
|
||||||
|
"offchain_localStorageClear",
|
||||||
"offchain_localStorageGet",
|
"offchain_localStorageGet",
|
||||||
"offchain_localStorageSet",
|
"offchain_localStorageSet",
|
||||||
"payment_queryFeeDetails",
|
"payment_queryFeeDetails",
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ export default {
|
|||||||
"archive_unstable_genesisHash",
|
"archive_unstable_genesisHash",
|
||||||
"archive_unstable_hashByHeight",
|
"archive_unstable_hashByHeight",
|
||||||
"archive_unstable_header",
|
"archive_unstable_header",
|
||||||
|
"archive_unstable_stopStorage",
|
||||||
"archive_unstable_storage",
|
"archive_unstable_storage",
|
||||||
|
"archive_unstable_storageDiff",
|
||||||
|
"archive_unstable_storageDiff_stopStorageDiff",
|
||||||
"author_hasKey",
|
"author_hasKey",
|
||||||
"author_hasSessionKeys",
|
"author_hasSessionKeys",
|
||||||
"author_insertKey",
|
"author_insertKey",
|
||||||
|
|||||||
@@ -86,5 +86,6 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"transactionVersion": 15,
|
"transactionVersion": 15,
|
||||||
|
"systemVersion": 0,
|
||||||
"stateVersion": 0
|
"stateVersion": 0
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ export default {
|
|||||||
"archive_unstable_genesisHash",
|
"archive_unstable_genesisHash",
|
||||||
"archive_unstable_hashByHeight",
|
"archive_unstable_hashByHeight",
|
||||||
"archive_unstable_header",
|
"archive_unstable_header",
|
||||||
|
"archive_unstable_stopStorage",
|
||||||
"archive_unstable_storage",
|
"archive_unstable_storage",
|
||||||
|
"archive_unstable_storageDiff",
|
||||||
|
"archive_unstable_storageDiff_stopStorageDiff",
|
||||||
"author_hasKey",
|
"author_hasKey",
|
||||||
"author_hasSessionKeys",
|
"author_hasSessionKeys",
|
||||||
"author_insertKey",
|
"author_insertKey",
|
||||||
|
|||||||
@@ -86,5 +86,6 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"transactionVersion": 15,
|
"transactionVersion": 15,
|
||||||
|
"systemVersion": 0,
|
||||||
"stateVersion": 0
|
"stateVersion": 0
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ export default {
|
|||||||
"archive_unstable_genesisHash",
|
"archive_unstable_genesisHash",
|
||||||
"archive_unstable_hashByHeight",
|
"archive_unstable_hashByHeight",
|
||||||
"archive_unstable_header",
|
"archive_unstable_header",
|
||||||
|
"archive_unstable_stopStorage",
|
||||||
"archive_unstable_storage",
|
"archive_unstable_storage",
|
||||||
|
"archive_unstable_storageDiff",
|
||||||
|
"archive_unstable_storageDiff_stopStorageDiff",
|
||||||
"author_hasKey",
|
"author_hasKey",
|
||||||
"author_hasSessionKeys",
|
"author_hasSessionKeys",
|
||||||
"author_insertKey",
|
"author_insertKey",
|
||||||
|
|||||||
@@ -106,5 +106,6 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"transactionVersion": 26,
|
"transactionVersion": 26,
|
||||||
|
"systemVersion": 1,
|
||||||
"stateVersion": 1
|
"stateVersion": 1
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -14,7 +14,10 @@ export default {
|
|||||||
"archive_unstable_genesisHash",
|
"archive_unstable_genesisHash",
|
||||||
"archive_unstable_hashByHeight",
|
"archive_unstable_hashByHeight",
|
||||||
"archive_unstable_header",
|
"archive_unstable_header",
|
||||||
|
"archive_unstable_stopStorage",
|
||||||
"archive_unstable_storage",
|
"archive_unstable_storage",
|
||||||
|
"archive_unstable_storageDiff",
|
||||||
|
"archive_unstable_storageDiff_stopStorageDiff",
|
||||||
"author_hasKey",
|
"author_hasKey",
|
||||||
"author_hasSessionKeys",
|
"author_hasSessionKeys",
|
||||||
"author_insertKey",
|
"author_insertKey",
|
||||||
|
|||||||
@@ -106,5 +106,6 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
"transactionVersion": 26,
|
"transactionVersion": 26,
|
||||||
|
"systemVersion": 1,
|
||||||
"stateVersion": 1
|
"stateVersion": 1
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ export default {
|
|||||||
"mmr_root",
|
"mmr_root",
|
||||||
"mmr_verifyProof",
|
"mmr_verifyProof",
|
||||||
"mmr_verifyProofStateless",
|
"mmr_verifyProofStateless",
|
||||||
|
"offchain_localStorageClear",
|
||||||
"offchain_localStorageGet",
|
"offchain_localStorageGet",
|
||||||
"offchain_localStorageSet",
|
"offchain_localStorageSet",
|
||||||
"payment_queryFeeDetails",
|
"payment_queryFeeDetails",
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/types-support', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
@@ -18,20 +18,20 @@
|
|||||||
"./packageDetect.cjs"
|
"./packageDetect.cjs"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "15.4.1",
|
"version": "15.6.1",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@polkadot/keyring": "^13.3.1",
|
"@polkadot/keyring": "^13.4.3",
|
||||||
"@polkadot/types-augment": "15.4.1",
|
"@polkadot/types-augment": "15.6.1",
|
||||||
"@polkadot/types-codec": "15.4.1",
|
"@polkadot/types-codec": "15.6.1",
|
||||||
"@polkadot/types-create": "15.4.1",
|
"@polkadot/types-create": "15.6.1",
|
||||||
"@polkadot/util": "^13.3.1",
|
"@polkadot/util": "^13.4.3",
|
||||||
"@polkadot/util-crypto": "^13.3.1",
|
"@polkadot/util-crypto": "^13.4.3",
|
||||||
"rxjs": "^7.8.1",
|
"rxjs": "^7.8.1",
|
||||||
"tslib": "^2.8.1"
|
"tslib": "^2.8.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@polkadot/keyring": "^13.3.1",
|
"@polkadot/keyring": "^13.4.3",
|
||||||
"@polkadot/types-support": "15.4.1"
|
"@polkadot/types-support": "15.6.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -95,4 +95,22 @@ describe('ExtrinsicPayload', (): void => {
|
|||||||
'0x940600ffd7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c0703d148e25901007b000000dcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025bde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7'
|
'0x940600ffd7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c0703d148e25901007b000000dcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025bde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7'
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('has a sane inspect of an empty value', (): void => {
|
||||||
|
const reg = new TypeRegistry();
|
||||||
|
|
||||||
|
reg.setSignedExtensions(fallbackExtensions.concat(['ChargeAssetTxPayment']));
|
||||||
|
expect(new ExtrinsicPayload(reg, undefined).inspect()).toEqual({
|
||||||
|
inner: [
|
||||||
|
{ name: 'method', outer: [new Uint8Array()] },
|
||||||
|
{ inner: undefined, name: 'era', outer: [new Uint8Array([0]), new Uint8Array([0])] },
|
||||||
|
{ name: 'nonce', outer: [new Uint8Array([0])] },
|
||||||
|
{ name: 'tip', outer: [new Uint8Array([0])] },
|
||||||
|
{ name: 'assetId', outer: [new Uint8Array([0])] },
|
||||||
|
{ name: 'specVersion', outer: [new Uint8Array([0, 0, 0, 0])] },
|
||||||
|
{ name: 'genesisHash', outer: [new Uint8Array(32)] },
|
||||||
|
{ name: 'blockHash', outer: [new Uint8Array(32)] }
|
||||||
|
]
|
||||||
|
});
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -39,6 +39,33 @@ const PREAMBLES = {
|
|||||||
general: 'ExtrinsicPayloadV5'
|
general: 'ExtrinsicPayloadV5'
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HACK: In order to change the assetId from `number | object` to HexString (While maintaining the true type ie Option<TAssetConversion>),
|
||||||
|
* to allow for easier generalization of the SignerPayloadJSON interface the below check is necessary. The ExtrinsicPayloadV4 class does not like
|
||||||
|
* a value passed in as an Option, and can't decode it properly. Therefore, we ensure to convert the following below, and then pass the option as a unwrapped
|
||||||
|
* JSON value.
|
||||||
|
*
|
||||||
|
* ref: https://github.com/polkadot-js/api/pull/5968
|
||||||
|
* ref: https://github.com/polkadot-js/api/pull/5967
|
||||||
|
*/
|
||||||
|
export function decodeAssetId (registry: Registry, payload?: ExtrinsicPayloadValue | Uint8Array | HexString) {
|
||||||
|
const maybeAsset = (payload as ExtrinsicPayloadValue)?.assetId;
|
||||||
|
|
||||||
|
if (maybeAsset && isHex(maybeAsset)) {
|
||||||
|
const assetId = registry.createType('TAssetConversion', hexToU8a(maybeAsset));
|
||||||
|
|
||||||
|
// we only want to adjust the payload if the hex passed has the option
|
||||||
|
if (maybeAsset === '0x00' || maybeAsset === '0x01' + assetId.toHex().slice(2)) {
|
||||||
|
return {
|
||||||
|
...(payload as ExtrinsicPayloadValue),
|
||||||
|
assetId: assetId.toJSON()
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return payload;
|
||||||
|
}
|
||||||
|
|
||||||
/** @internal */
|
/** @internal */
|
||||||
function decodeExtrinsicPayload (registry: Registry, value?: GenericExtrinsicPayload | ExtrinsicPayloadValue | Uint8Array | string, version = LATEST_EXTRINSIC_VERSION, preamble: Preamble = DEFAULT_PREAMBLE): ExtrinsicPayloadVx {
|
function decodeExtrinsicPayload (registry: Registry, value?: GenericExtrinsicPayload | ExtrinsicPayloadValue | Uint8Array | string, version = LATEST_EXTRINSIC_VERSION, preamble: Preamble = DEFAULT_PREAMBLE): ExtrinsicPayloadVx {
|
||||||
if (value instanceof GenericExtrinsicPayload) {
|
if (value instanceof GenericExtrinsicPayload) {
|
||||||
@@ -46,32 +73,9 @@ function decodeExtrinsicPayload (registry: Registry, value?: GenericExtrinsicPay
|
|||||||
}
|
}
|
||||||
|
|
||||||
const extVersion = version === 5 ? PREAMBLES[preamble] : VERSIONS[version] || VERSIONS[0];
|
const extVersion = version === 5 ? PREAMBLES[preamble] : VERSIONS[version] || VERSIONS[0];
|
||||||
|
const payload = decodeAssetId(registry, value as ExtrinsicPayloadValue);
|
||||||
|
|
||||||
/**
|
return registry.createTypeUnsafe(extVersion, [payload, { version }]);
|
||||||
* HACK: In order to change the assetId from `number | object` to HexString (While maintaining the true type ie Option<TAssetConversion>),
|
|
||||||
* to allow for easier generalization of the SignerPayloadJSON interface the below check is necessary. The ExtrinsicPayloadV4 class does not like
|
|
||||||
* a value passed in as an Option, and can't decode it properly. Therefore, we ensure to convert the following below, and then pass the option as a unwrapped
|
|
||||||
* JSON value.
|
|
||||||
*
|
|
||||||
* ref: https://github.com/polkadot-js/api/pull/5968
|
|
||||||
* ref: https://github.com/polkadot-js/api/pull/5967
|
|
||||||
*/
|
|
||||||
if (value && (value as ExtrinsicPayloadValue).assetId && isHex((value as ExtrinsicPayloadValue).assetId)) {
|
|
||||||
const assetId = registry.createType('TAssetConversion', hexToU8a((value as ExtrinsicPayloadValue).assetId));
|
|
||||||
|
|
||||||
// we only want to adjust the payload if the hex passed has the option
|
|
||||||
if ((value as ExtrinsicPayloadValue).assetId === '0x00' ||
|
|
||||||
(value as ExtrinsicPayloadValue).assetId === '0x01' + assetId.toHex().slice(2)) {
|
|
||||||
const adjustedPayload = {
|
|
||||||
...(value as ExtrinsicPayloadValue),
|
|
||||||
assetId: assetId.toJSON()
|
|
||||||
};
|
|
||||||
|
|
||||||
return registry.createTypeUnsafe(extVersion, [adjustedPayload, { version }]);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return registry.createTypeUnsafe(extVersion, [value, { version }]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -38,24 +38,24 @@ describe('ExtrinsicPayload', (): void => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('correctly decodes assetId', () => {
|
it('Correctly decodes assetId', () => {
|
||||||
const TEST_WITH_ASSET = {
|
const TEST_VALUE = {
|
||||||
address: '5DTestUPts3kjeXSTMyerHihn1uwMfLj8vU8sqF7qYrFabHE',
|
address: 'J97drEQy6sYPXf2D1uj1hJfeHsxjvwr4tVGKs9o8VDSht8r',
|
||||||
assetId: '0x0002043205011f' as `0x${string}`,
|
assetId: '0x010002043205011f' as `0x${string}`,
|
||||||
blockHash: '0xde8f69eeb5e065e18c6950ff708d7e551f68dc9bf59a07c52367c0280f805ec7',
|
blockHash: '0x28a464e6b40fccec3b9e7989db97d2627d3653c644a3c801f8239910eaaa58a8',
|
||||||
era: '0x0703',
|
era: '0x4401',
|
||||||
genesisHash: '0xdcd1346701ca8396496e52aa2785b1748deb6db09551b72159dcb3e08991025b',
|
genesisHash: '0x48239ef607d7928874027a43a67689209727dfb3d3dc5e5b03a39bdc2eda771a',
|
||||||
method: '0x0600ffd7568e5f0a7eda67a82691ff379ac4bba4f9c9b859fe779b5d46363b61ad2db9e56c',
|
method: '0x0a0300d27001b334c34489c67b81dfbbdc86eba5b433163bd08226d89b081914e9aa490284d717',
|
||||||
nonce: '0x00001234',
|
nonce: '0x0000000a',
|
||||||
specVersion: 123,
|
specVersion: '0x000f4dfc',
|
||||||
tip: '0x00000000000000000000000000005678',
|
tip: '0x00000000000000000000000000000000',
|
||||||
transactionVersion: '0x00'
|
transactionVersion: '0x0000000f'
|
||||||
};
|
};
|
||||||
|
|
||||||
const reg = new TypeRegistry();
|
const reg = new TypeRegistry();
|
||||||
|
|
||||||
reg.setSignedExtensions(fallbackExtensions.concat(['ChargeAssetTxPayment']));
|
reg.setSignedExtensions(fallbackExtensions.concat(['ChargeAssetTxPayment']));
|
||||||
const ext = new ExtrinsicPayload(reg, TEST_WITH_ASSET);
|
const ext = new ExtrinsicPayload(reg, TEST_VALUE);
|
||||||
|
|
||||||
expect(ext.assetId.toJSON()).toEqual({
|
expect(ext.assetId.toJSON()).toEqual({
|
||||||
interior: {
|
interior: {
|
||||||
|
|||||||
@@ -13,6 +13,7 @@ import type { ExtrinsicPayloadValue, ICompact, IKeyringPair, INumber, IOption }
|
|||||||
import { Enum, Struct } from '@polkadot/types-codec';
|
import { Enum, Struct } from '@polkadot/types-codec';
|
||||||
import { objectSpread } from '@polkadot/util';
|
import { objectSpread } from '@polkadot/util';
|
||||||
|
|
||||||
|
import { decodeAssetId } from '../ExtrinsicPayload.js';
|
||||||
import { sign } from '../util.js';
|
import { sign } from '../util.js';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -29,7 +30,7 @@ export class GenericExtrinsicPayloadV4 extends Struct {
|
|||||||
{ method: 'Bytes' },
|
{ method: 'Bytes' },
|
||||||
registry.getSignedExtensionTypes(),
|
registry.getSignedExtensionTypes(),
|
||||||
registry.getSignedExtensionExtra()
|
registry.getSignedExtensionExtra()
|
||||||
), value);
|
), decodeAssetId(registry, value));
|
||||||
|
|
||||||
// Do detection for the type of extrinsic, in the case of MultiSignature
|
// Do detection for the type of extrinsic, in the case of MultiSignature
|
||||||
// this is an enum, in the case of AnySignature, this is a Hash only
|
// this is an enum, in the case of AnySignature, this is a Hash only
|
||||||
|
|||||||
@@ -84,6 +84,8 @@ class BaseAccountId extends U8aFixed {
|
|||||||
* A wrapper around an AccountId/PublicKey representation. Since we are dealing with
|
* A wrapper around an AccountId/PublicKey representation. Since we are dealing with
|
||||||
* underlying PublicKeys (32 bytes in length), we extend from U8aFixed which is
|
* underlying PublicKeys (32 bytes in length), we extend from U8aFixed which is
|
||||||
* just a Uint8Array wrapper with a fixed length.
|
* just a Uint8Array wrapper with a fixed length.
|
||||||
|
* If constructed with an empty value ([], "", undefined) it will result in
|
||||||
|
* the zero account 0x000...000.
|
||||||
*/
|
*/
|
||||||
export class GenericAccountId extends BaseAccountId {
|
export class GenericAccountId extends BaseAccountId {
|
||||||
constructor (registry: Registry, value?: AnyU8a) {
|
constructor (registry: Registry, value?: AnyU8a) {
|
||||||
|
|||||||
@@ -4,6 +4,21 @@
|
|||||||
import type { DefinitionsRpc } from '../../types/index.js';
|
import type { DefinitionsRpc } from '../../types/index.js';
|
||||||
|
|
||||||
export const rpc: DefinitionsRpc = {
|
export const rpc: DefinitionsRpc = {
|
||||||
|
localStorageClear: {
|
||||||
|
description: 'Clear offchain local storage under given key and prefix',
|
||||||
|
isUnsafe: true,
|
||||||
|
params: [
|
||||||
|
{
|
||||||
|
name: 'kind',
|
||||||
|
type: 'StorageKind'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'key',
|
||||||
|
type: 'Bytes'
|
||||||
|
}
|
||||||
|
],
|
||||||
|
type: 'Null'
|
||||||
|
},
|
||||||
localStorageGet: {
|
localStorageGet: {
|
||||||
description: 'Get offchain local storage under given key and prefix',
|
description: 'Get offchain local storage under given key and prefix',
|
||||||
isUnsafe: true,
|
isUnsafe: true,
|
||||||
|
|||||||
@@ -29,6 +29,10 @@ export const substrate: Record<string, Creator> = {
|
|||||||
docs: 'Wasm code of the runtime.',
|
docs: 'Wasm code of the runtime.',
|
||||||
type: 'Bytes'
|
type: 'Bytes'
|
||||||
}),
|
}),
|
||||||
|
defaultChildStorageKeyPrefix: createSubstrateFn('defaultChildStorageKeyPrefix', ':child_storage:default:', {
|
||||||
|
docs: 'Prefix of the default child storage keys in the top trie.',
|
||||||
|
type: 'u32'
|
||||||
|
}),
|
||||||
extrinsicIndex: createSubstrateFn('extrinsicIndex', ':extrinsic_index', {
|
extrinsicIndex: createSubstrateFn('extrinsicIndex', ':extrinsic_index', {
|
||||||
docs: 'Current extrinsic index (u32) is stored under this key.',
|
docs: 'Current extrinsic index (u32) is stored under this key.',
|
||||||
type: 'u32'
|
type: 'u32'
|
||||||
@@ -40,5 +44,13 @@ export const substrate: Record<string, Creator> = {
|
|||||||
intrablockEntropy: createSubstrateFn('intrablockEntropy', ':intrablock_entropy', {
|
intrablockEntropy: createSubstrateFn('intrablockEntropy', ':intrablock_entropy', {
|
||||||
docs: 'Current intra-block entropy (a universally unique `[u8; 32]` value) is stored here.',
|
docs: 'Current intra-block entropy (a universally unique `[u8; 32]` value) is stored here.',
|
||||||
type: '[u8; 32]'
|
type: '[u8; 32]'
|
||||||
|
}),
|
||||||
|
storageVersionStorageKeyPostfix: createSubstrateFn('storageVersionStorageKeyPostfix', ':__STORAGE_VERSION__:', {
|
||||||
|
docs: 'The storage key postfix that is used to store the [`StorageVersion`] per pallet.',
|
||||||
|
type: 'u16'
|
||||||
|
}),
|
||||||
|
transactionLevelKey: createSubstrateFn('transactionLevelKey', ':transaction_level:', {
|
||||||
|
docs: 'The key that holds the current number of active layers.',
|
||||||
|
type: 'u32'
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -3,4 +3,4 @@
|
|||||||
|
|
||||||
// Do not edit, auto-generated by @polkadot/dev
|
// Do not edit, auto-generated by @polkadot/dev
|
||||||
|
|
||||||
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '15.4.1' };
|
export const packageInfo = { name: '@polkadot/types', path: 'auto', type: 'auto', version: '15.6.1' };
|
||||||
|
|||||||
+1
-2
@@ -2,8 +2,7 @@
|
|||||||
"extends": "@polkadot/dev/config/tsconfig.json",
|
"extends": "@polkadot/dev/config/tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
"noUnusedLocals": true,
|
||||||
"noUnusedLocals": false,
|
|
||||||
"paths": {
|
"paths": {
|
||||||
"@polkadot/api": ["api/src/index.ts"],
|
"@polkadot/api": ["api/src/index.ts"],
|
||||||
"@polkadot/api/base": ["api/src/base/index.ts"],
|
"@polkadot/api/base": ["api/src/base/index.ts"],
|
||||||
|
|||||||
+1
-2
@@ -1,8 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"composite": true,
|
"composite": true,
|
||||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
"noUnusedLocals": true
|
||||||
"noUnusedLocals": false
|
|
||||||
},
|
},
|
||||||
"files": [],
|
"files": [],
|
||||||
"references": [
|
"references": [
|
||||||
|
|||||||
@@ -3,8 +3,7 @@
|
|||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"baseUrl": "./packages",
|
"baseUrl": "./packages",
|
||||||
"composite": false,
|
"composite": false,
|
||||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
"noUnusedLocals": true
|
||||||
"noUnusedLocals": false
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"packages/**/src/**/*",
|
"packages/**/src/**/*",
|
||||||
|
|||||||
+1
-2
@@ -4,8 +4,7 @@
|
|||||||
"baseUrl": "./packages",
|
"baseUrl": "./packages",
|
||||||
"composite": false,
|
"composite": false,
|
||||||
"resolveJsonModule": true,
|
"resolveJsonModule": true,
|
||||||
// Rel: https://github.com/polkadot-js/api/issues/5977
|
"noUnusedLocals": true
|
||||||
"noUnusedLocals": false
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"packages/**/src/**/*",
|
"packages/**/src/**/*",
|
||||||
|
|||||||
@@ -447,27 +447,27 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/api-augment@npm:15.4.1, @polkadot/api-augment@workspace:packages/api-augment":
|
"@polkadot/api-augment@npm:15.6.1, @polkadot/api-augment@workspace:packages/api-augment":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
resolution: "@polkadot/api-augment@workspace:packages/api-augment"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api-base": "npm:15.4.1"
|
"@polkadot/api-base": "npm:15.6.1"
|
||||||
"@polkadot/rpc-augment": "npm:15.4.1"
|
"@polkadot/rpc-augment": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-augment": "npm:15.4.1"
|
"@polkadot/types-augment": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api-base@npm:15.4.1, @polkadot/api-base@workspace:packages/api-base":
|
"@polkadot/api-base@npm:15.6.1, @polkadot/api-base@workspace:packages/api-base":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
resolution: "@polkadot/api-base@workspace:packages/api-base"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/rpc-core": "npm:15.4.1"
|
"@polkadot/rpc-core": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
@@ -477,59 +477,59 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
resolution: "@polkadot/api-contract@workspace:packages/api-contract"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:15.4.1"
|
"@polkadot/api": "npm:15.6.1"
|
||||||
"@polkadot/api-augment": "npm:15.4.1"
|
"@polkadot/api-augment": "npm:15.6.1"
|
||||||
"@polkadot/keyring": "npm:^13.3.1"
|
"@polkadot/keyring": "npm:^13.4.3"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/types-create": "npm:15.4.1"
|
"@polkadot/types-create": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api-derive@npm:15.4.1, @polkadot/api-derive@workspace:packages/api-derive":
|
"@polkadot/api-derive@npm:15.6.1, @polkadot/api-derive@workspace:packages/api-derive":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
resolution: "@polkadot/api-derive@workspace:packages/api-derive"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:15.4.1"
|
"@polkadot/api": "npm:15.6.1"
|
||||||
"@polkadot/api-augment": "npm:15.4.1"
|
"@polkadot/api-augment": "npm:15.6.1"
|
||||||
"@polkadot/api-base": "npm:15.4.1"
|
"@polkadot/api-base": "npm:15.6.1"
|
||||||
"@polkadot/rpc-augment": "npm:15.4.1"
|
"@polkadot/rpc-augment": "npm:15.6.1"
|
||||||
"@polkadot/rpc-core": "npm:15.4.1"
|
"@polkadot/rpc-core": "npm:15.6.1"
|
||||||
"@polkadot/rpc-provider": "npm:15.4.1"
|
"@polkadot/rpc-provider": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/api@npm:15.4.1, @polkadot/api@workspace:packages/api":
|
"@polkadot/api@npm:15.6.1, @polkadot/api@workspace:packages/api":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/api@workspace:packages/api"
|
resolution: "@polkadot/api@workspace:packages/api"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api-augment": "npm:15.4.1"
|
"@polkadot/api-augment": "npm:15.6.1"
|
||||||
"@polkadot/api-base": "npm:15.4.1"
|
"@polkadot/api-base": "npm:15.6.1"
|
||||||
"@polkadot/api-derive": "npm:15.4.1"
|
"@polkadot/api-derive": "npm:15.6.1"
|
||||||
"@polkadot/keyring": "npm:^13.3.1"
|
"@polkadot/keyring": "npm:^13.4.3"
|
||||||
"@polkadot/rpc-augment": "npm:15.4.1"
|
"@polkadot/rpc-augment": "npm:15.6.1"
|
||||||
"@polkadot/rpc-core": "npm:15.4.1"
|
"@polkadot/rpc-core": "npm:15.6.1"
|
||||||
"@polkadot/rpc-provider": "npm:15.4.1"
|
"@polkadot/rpc-provider": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-augment": "npm:15.4.1"
|
"@polkadot/types-augment": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/types-create": "npm:15.4.1"
|
"@polkadot/types-create": "npm:15.6.1"
|
||||||
"@polkadot/types-known": "npm:15.4.1"
|
"@polkadot/types-known": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
eventemitter3: "npm:^5.0.1"
|
eventemitter3: "npm:^5.0.1"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
@@ -632,69 +632,69 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/keyring@npm:^13.3.1":
|
"@polkadot/keyring@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/keyring@npm:13.3.1"
|
resolution: "@polkadot/keyring@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/util": "npm:13.3.1"
|
"@polkadot/util": "npm:13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:13.3.1"
|
"@polkadot/util-crypto": "npm:13.4.3"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@polkadot/util": 13.3.1
|
"@polkadot/util": 13.4.3
|
||||||
"@polkadot/util-crypto": 13.3.1
|
"@polkadot/util-crypto": 13.4.3
|
||||||
checksum: 10/9f2068f4804618c5a35075e187d75f7d020b95bbed835a26d99e8fa6c4653698e5b0af1745e99fa7437403f130e513db27012ffcb7d413818c6663ea225f02af
|
checksum: 10/653288a3d98c90dafcec0373919b8f224791a6148ccf09244db0e8fe3535409fe592921da767c7c8dc3bc4e9853b9024730d6554a31e14aa24ecf500ba22b274
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/networks@npm:13.3.1, @polkadot/networks@npm:^13.3.1":
|
"@polkadot/networks@npm:13.4.3, @polkadot/networks@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/networks@npm:13.3.1"
|
resolution: "@polkadot/networks@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/util": "npm:13.3.1"
|
"@polkadot/util": "npm:13.4.3"
|
||||||
"@substrate/ss58-registry": "npm:^1.51.0"
|
"@substrate/ss58-registry": "npm:^1.51.0"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/bdf806ba36d4989791c8a2b3cc49161dd9541f431c8a03a97da080a29db47ffa33dbf277b45105cb930f2a6fd3bd26c3be1404366816c35db341d013136ea0fb
|
checksum: 10/17f10458809510f7bb33992788a5235bc1a61a09602adf35d288d7dac192c16187323e18ac8744fea67bb0670c07cb994969440e06a0ab7a0052f95202364517
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/rpc-augment@npm:15.4.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
"@polkadot/rpc-augment@npm:15.6.1, @polkadot/rpc-augment@workspace:packages/rpc-augment":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
resolution: "@polkadot/rpc-augment@workspace:packages/rpc-augment"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/rpc-core": "npm:15.4.1"
|
"@polkadot/rpc-core": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/rpc-core@npm:15.4.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
"@polkadot/rpc-core@npm:15.6.1, @polkadot/rpc-core@workspace:packages/rpc-core":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
resolution: "@polkadot/rpc-core@workspace:packages/rpc-core"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/keyring": "npm:^13.3.1"
|
"@polkadot/keyring": "npm:^13.4.3"
|
||||||
"@polkadot/rpc-augment": "npm:15.4.1"
|
"@polkadot/rpc-augment": "npm:15.6.1"
|
||||||
"@polkadot/rpc-provider": "npm:15.4.1"
|
"@polkadot/rpc-provider": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/rpc-provider@npm:15.4.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
"@polkadot/rpc-provider@npm:15.6.1, @polkadot/rpc-provider@workspace:packages/rpc-provider":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
resolution: "@polkadot/rpc-provider@workspace:packages/rpc-provider"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/keyring": "npm:^13.3.1"
|
"@polkadot/keyring": "npm:^13.4.3"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
"@polkadot/x-fetch": "npm:^13.3.1"
|
"@polkadot/x-fetch": "npm:^13.4.3"
|
||||||
"@polkadot/x-global": "npm:^13.3.1"
|
"@polkadot/x-global": "npm:^13.4.3"
|
||||||
"@polkadot/x-ws": "npm:^13.3.1"
|
"@polkadot/x-ws": "npm:^13.4.3"
|
||||||
"@substrate/connect": "npm:0.8.11"
|
"@substrate/connect": "npm:0.8.11"
|
||||||
eventemitter3: "npm:^5.0.1"
|
eventemitter3: "npm:^5.0.1"
|
||||||
mock-socket: "npm:^9.3.1"
|
mock-socket: "npm:^9.3.1"
|
||||||
@@ -710,18 +710,18 @@ __metadata:
|
|||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
resolution: "@polkadot/typegen@workspace:packages/typegen"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:15.4.1"
|
"@polkadot/api": "npm:15.6.1"
|
||||||
"@polkadot/api-augment": "npm:15.4.1"
|
"@polkadot/api-augment": "npm:15.6.1"
|
||||||
"@polkadot/rpc-augment": "npm:15.4.1"
|
"@polkadot/rpc-augment": "npm:15.6.1"
|
||||||
"@polkadot/rpc-provider": "npm:15.4.1"
|
"@polkadot/rpc-provider": "npm:15.6.1"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-augment": "npm:15.4.1"
|
"@polkadot/types-augment": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/types-create": "npm:15.4.1"
|
"@polkadot/types-create": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
"@polkadot/x-ws": "npm:^13.3.1"
|
"@polkadot/x-ws": "npm:^13.4.3"
|
||||||
"@types/yargs": "npm:^17.0.33"
|
"@types/yargs": "npm:^17.0.33"
|
||||||
handlebars: "npm:^4.7.8"
|
handlebars: "npm:^4.7.8"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
@@ -735,113 +735,113 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-augment@npm:15.4.1, @polkadot/types-augment@workspace:packages/types-augment":
|
"@polkadot/types-augment@npm:15.6.1, @polkadot/types-augment@workspace:packages/types-augment":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
resolution: "@polkadot/types-augment@workspace:packages/types-augment"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-codec@npm:15.4.1, @polkadot/types-codec@workspace:packages/types-codec":
|
"@polkadot/types-codec@npm:15.6.1, @polkadot/types-codec@workspace:packages/types-codec":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
resolution: "@polkadot/types-codec@workspace:packages/types-codec"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-augment": "npm:15.4.1"
|
"@polkadot/types-augment": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
"@polkadot/x-bigint": "npm:^13.3.1"
|
"@polkadot/x-bigint": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-create@npm:15.4.1, @polkadot/types-create@workspace:packages/types-create":
|
"@polkadot/types-create@npm:15.6.1, @polkadot/types-create@workspace:packages/types-create":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
resolution: "@polkadot/types-create@workspace:packages/types-create"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-known@npm:15.4.1, @polkadot/types-known@workspace:packages/types-known":
|
"@polkadot/types-known@npm:15.6.1, @polkadot/types-known@workspace:packages/types-known":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
resolution: "@polkadot/types-known@workspace:packages/types-known"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/api": "npm:15.4.1"
|
"@polkadot/api": "npm:15.6.1"
|
||||||
"@polkadot/networks": "npm:^13.3.1"
|
"@polkadot/networks": "npm:^13.4.3"
|
||||||
"@polkadot/types": "npm:15.4.1"
|
"@polkadot/types": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/types-create": "npm:15.4.1"
|
"@polkadot/types-create": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types-support@npm:15.4.1, @polkadot/types-support@workspace:packages/types-support":
|
"@polkadot/types-support@npm:15.6.1, @polkadot/types-support@workspace:packages/types-support":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
resolution: "@polkadot/types-support@workspace:packages/types-support"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/types@npm:15.4.1, @polkadot/types@workspace:packages/types":
|
"@polkadot/types@npm:15.6.1, @polkadot/types@workspace:packages/types":
|
||||||
version: 0.0.0-use.local
|
version: 0.0.0-use.local
|
||||||
resolution: "@polkadot/types@workspace:packages/types"
|
resolution: "@polkadot/types@workspace:packages/types"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/keyring": "npm:^13.3.1"
|
"@polkadot/keyring": "npm:^13.4.3"
|
||||||
"@polkadot/types-augment": "npm:15.4.1"
|
"@polkadot/types-augment": "npm:15.6.1"
|
||||||
"@polkadot/types-codec": "npm:15.4.1"
|
"@polkadot/types-codec": "npm:15.6.1"
|
||||||
"@polkadot/types-create": "npm:15.4.1"
|
"@polkadot/types-create": "npm:15.6.1"
|
||||||
"@polkadot/types-support": "npm:15.4.1"
|
"@polkadot/types-support": "npm:15.6.1"
|
||||||
"@polkadot/util": "npm:^13.3.1"
|
"@polkadot/util": "npm:^13.4.3"
|
||||||
"@polkadot/util-crypto": "npm:^13.3.1"
|
"@polkadot/util-crypto": "npm:^13.4.3"
|
||||||
rxjs: "npm:^7.8.1"
|
rxjs: "npm:^7.8.1"
|
||||||
tslib: "npm:^2.8.1"
|
tslib: "npm:^2.8.1"
|
||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@polkadot/util-crypto@npm:13.3.1, @polkadot/util-crypto@npm:^13.3.1":
|
"@polkadot/util-crypto@npm:13.4.3, @polkadot/util-crypto@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/util-crypto@npm:13.3.1"
|
resolution: "@polkadot/util-crypto@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@noble/curves": "npm:^1.3.0"
|
"@noble/curves": "npm:^1.3.0"
|
||||||
"@noble/hashes": "npm:^1.3.3"
|
"@noble/hashes": "npm:^1.3.3"
|
||||||
"@polkadot/networks": "npm:13.3.1"
|
"@polkadot/networks": "npm:13.4.3"
|
||||||
"@polkadot/util": "npm:13.3.1"
|
"@polkadot/util": "npm:13.4.3"
|
||||||
"@polkadot/wasm-crypto": "npm:^7.4.1"
|
"@polkadot/wasm-crypto": "npm:^7.4.1"
|
||||||
"@polkadot/wasm-util": "npm:^7.4.1"
|
"@polkadot/wasm-util": "npm:^7.4.1"
|
||||||
"@polkadot/x-bigint": "npm:13.3.1"
|
"@polkadot/x-bigint": "npm:13.4.3"
|
||||||
"@polkadot/x-randomvalues": "npm:13.3.1"
|
"@polkadot/x-randomvalues": "npm:13.4.3"
|
||||||
"@scure/base": "npm:^1.1.7"
|
"@scure/base": "npm:^1.1.7"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@polkadot/util": 13.3.1
|
"@polkadot/util": 13.4.3
|
||||||
checksum: 10/f2991b6e5436b5fa382da107b50476068d931f071161834a82aeb633e8dda6c5662d2c846c2913866af6ff4b3c46cca06843c8bfa69bfb2f141f2c08abb6aca5
|
checksum: 10/b2f886d8b14549e6c366550d068a0b07c9cce509254472a63f1b7a91e8eddc2a832124d7e3c104e29687342756225908c5eef2cb2fd398da83f0f64d905529ce
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/util@npm:13.3.1, @polkadot/util@npm:^13.3.1":
|
"@polkadot/util@npm:13.4.3, @polkadot/util@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/util@npm:13.3.1"
|
resolution: "@polkadot/util@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-bigint": "npm:13.3.1"
|
"@polkadot/x-bigint": "npm:13.4.3"
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
"@polkadot/x-textdecoder": "npm:13.3.1"
|
"@polkadot/x-textdecoder": "npm:13.4.3"
|
||||||
"@polkadot/x-textencoder": "npm:13.3.1"
|
"@polkadot/x-textencoder": "npm:13.4.3"
|
||||||
"@types/bn.js": "npm:^5.1.6"
|
"@types/bn.js": "npm:^5.1.6"
|
||||||
bn.js: "npm:^5.2.1"
|
bn.js: "npm:^5.2.1"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/ac42fecd3f3ae04e56196b86e78a34cf26df782e1cce44f0668007bafa07427b6a4eeef2afdb4d49fa418526a3aa5859c1bbb2b9050b0b4ecb376d0450b07499
|
checksum: 10/187e1a978edc19654ebf042eb3c9fa3c164e68630eff94891b89c3584bb09fc7e32717fdd36cba5e70fed85afa011299c47de116af9b04799d9087f916b8e104
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
@@ -925,77 +925,77 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-bigint@npm:13.3.1, @polkadot/x-bigint@npm:^13.3.1":
|
"@polkadot/x-bigint@npm:13.4.3, @polkadot/x-bigint@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-bigint@npm:13.3.1"
|
resolution: "@polkadot/x-bigint@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/e0279eba940757a4de4ca046d9e2dec64913451516e78783d75724e4343bd86ee520d3f69972dda76395fa113524b40414f515688e01a31424a94a8d5909ca11
|
checksum: 10/6c299309c9913f8ea899032b5f0aa510178499431e9d8c525583109949a3148bc07cf3683fb672c07f670683f181886df98fd49397c587e1701a36472cdf12e6
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-fetch@npm:^13.3.1":
|
"@polkadot/x-fetch@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-fetch@npm:13.3.1"
|
resolution: "@polkadot/x-fetch@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
node-fetch: "npm:^3.3.2"
|
node-fetch: "npm:^3.3.2"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/b7f0dacfc3d2d8f4706de0081e8586f04d34a7cf12cce7f87d974eccb6512178ed2f1585ad0d91f5ee65ddb5c1ab4a631c2910cc271379b18ff1a0a287473f34
|
checksum: 10/52ef0705c6f1cf15001a111ecb5c9d9b47df51cbf5555bbd0e4c5ca95e9ae4019b10fd3337f222a4cd6d85ac95ad51d3408947683714ceb777b59aa401078887
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-global@npm:13.3.1, @polkadot/x-global@npm:^13.3.1":
|
"@polkadot/x-global@npm:13.4.3, @polkadot/x-global@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-global@npm:13.3.1"
|
resolution: "@polkadot/x-global@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/e8185a7529c3d3228c46c859d357e8fecb1d970aa52d4528a0c5eb8d0718d59038b7fa4e37c5239f6c017b1ade9bd9e41a0e005c963c24ab54967013c8356e5c
|
checksum: 10/ce549dc41894880c66ae27e6d7114e77b91b36236da80914366a06f90b68f46398ad6a46f821c966287636621f208c5bbd85f05b60a372b86ba400e952245476
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-randomvalues@npm:13.3.1":
|
"@polkadot/x-randomvalues@npm:13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-randomvalues@npm:13.3.1"
|
resolution: "@polkadot/x-randomvalues@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
"@polkadot/util": 13.3.1
|
"@polkadot/util": 13.4.3
|
||||||
"@polkadot/wasm-util": "*"
|
"@polkadot/wasm-util": "*"
|
||||||
checksum: 10/c5b2a17790a2e72c3fdba50d23bafda4a5641866ff53b5bae56ee07aaff25353231be58277c5b312d891457fc80d0ded7130868304e9926f525b263ca1e463aa
|
checksum: 10/523dcebded03a42796bf7b23119ef7e9277ada5e9c85bf8baceef18bc775f533b7496d5ca9b29ca0b5abff629f1b5fb7ded91c0c7c6b206ed4def270edd8a100
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-textdecoder@npm:13.3.1":
|
"@polkadot/x-textdecoder@npm:13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-textdecoder@npm:13.3.1"
|
resolution: "@polkadot/x-textdecoder@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/9ca9481be1c396ddf496f6dbfbff8030619b51dc6ac6b1e84c1be18fded7011d60317d108cbd3c433426cd6720d436b206e8161f562778be4f43b26a25892b39
|
checksum: 10/e7882607082a88d5e19843acba92fc519f354c2ada1af141dcd5eaf87cd14c782499e04641623d6e993404bed559b3c32ed584e79df70acc3d1d331654e0c967
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-textencoder@npm:13.3.1":
|
"@polkadot/x-textencoder@npm:13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-textencoder@npm:13.3.1"
|
resolution: "@polkadot/x-textencoder@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
checksum: 10/2de22bc4e17b58ddb9de351fc1e4665a39e8a1baed847d11f23a0d2318f0c3201bd3f2e7bcbd71a76c61e8982b224e0ec442290b7f6a6f077e8bcd579267b292
|
checksum: 10/ee3a7bebbc6d429eb37c68c9310e6484780ef1b9f8d6f92976c92a8dc14a9a5314d53f91bb64acfdc401b3bd13cbac71a08360b6eeefb1884af40d4ad881f016
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@polkadot/x-ws@npm:^13.3.1":
|
"@polkadot/x-ws@npm:^13.4.3":
|
||||||
version: 13.3.1
|
version: 13.4.3
|
||||||
resolution: "@polkadot/x-ws@npm:13.3.1"
|
resolution: "@polkadot/x-ws@npm:13.4.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@polkadot/x-global": "npm:13.3.1"
|
"@polkadot/x-global": "npm:13.4.3"
|
||||||
tslib: "npm:^2.8.0"
|
tslib: "npm:^2.8.0"
|
||||||
ws: "npm:^8.18.0"
|
ws: "npm:^8.18.0"
|
||||||
checksum: 10/b1e54016b7625b4c8c9f82bd5db2007a21ead89254dc0023cbe28a371778f4c8e442e26cd457e6eb8cef4c031e6c8be91c16847ca45a1ae031277c27bb33d69d
|
checksum: 10/724eae6cc1ccb36822bc902112ff9316d66c894f9a825de50347b0f43e38dd24516680ccb73b1e679c63cfd09a6bd5322083cf67c694894372d0eeea800c4a31
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user