diff --git a/packages/extension/package.json b/packages/extension/package.json index 5d679023..20085f1e 100644 --- a/packages/extension/package.json +++ b/packages/extension/package.json @@ -1,6 +1,6 @@ { "name": "@logion/extension", - "version": "0.8.0", + "version": "0.8.1-1", "description": "logion SDK for Polkadot JS extension", "main": "dist/index.js", "packageManager": "yarn@3.2.0", @@ -22,8 +22,8 @@ "author": "Logion Team", "license": "Apache-2.0", "dependencies": { - "@logion/extension-compat-metamask": "^0.46.9", - "@polkadot/extension-dapp": "^0.46.9" + "@polkadot/extension-compat-metamask": "^0.47.3", + "@polkadot/extension-dapp": "^0.47.3" }, "peerDependencies": { "@logion/client-browser": "0.x" diff --git a/packages/extension/src/Extension.ts b/packages/extension/src/Extension.ts index b6e7ce18..b86d1383 100644 --- a/packages/extension/src/Extension.ts +++ b/packages/extension/src/Extension.ts @@ -1,5 +1,5 @@ import { web3Enable, web3EnablePromise, web3Accounts } from '@polkadot/extension-dapp'; -import initMetaMask from "@logion/extension-compat-metamask/bundle"; +import initMetaMask from "@polkadot/extension-compat-metamask/bundle"; import { InjectedAccountWithMeta, InjectedExtension } from '@polkadot/extension-inject/types'; export async function isExtensionAvailable(appName: string): Promise { diff --git a/packages/node-api/package.json b/packages/node-api/package.json index 88750379..c4503ffb 100644 --- a/packages/node-api/package.json +++ b/packages/node-api/package.json @@ -1,6 +1,6 @@ { "name": "@logion/node-api", - "version": "0.29.0", + "version": "0.29.1-1", "description": "logion API", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", @@ -43,7 +43,7 @@ "author": "Logion Team", "license": "Apache-2.0", "dependencies": { - "@polkadot/api": "^10.12.2", + "@polkadot/api": "^11.0.2", "@polkadot/util": "^12.6.2", "@polkadot/util-crypto": "^12.6.2", "@types/uuid": "^9.0.2", @@ -56,7 +56,7 @@ }, "homepage": "https://github.com/logion-network/logion-api/packages/node-api#readme", "devDependencies": { - "@polkadot/typegen": "^10.12.2", + "@polkadot/typegen": "^11.0.2", "@tsconfig/node18": "^1.0.1", "@types/jasmine": "^4.0.3", "@types/node": "^18.6.1", diff --git a/packages/node-api/src/interfaces/augment-api-runtime.ts b/packages/node-api/src/interfaces/augment-api-runtime.ts index f9158abd..46025040 100644 --- a/packages/node-api/src/interfaces/augment-api-runtime.ts +++ b/packages/node-api/src/interfaces/augment-api-runtime.ts @@ -7,13 +7,14 @@ import '@polkadot/api-base/types/calls'; import type { TokenIssuance } from '@logion/node-api/dist/interfaces/default'; import type { ApiTypes, AugmentedCall, DecoratedCallBase } from '@polkadot/api-base/types'; -import type { Bytes, Null, Option, Vec, u32 } from '@polkadot/types-codec'; +import type { Bytes, Null, Option, Result, Vec, u32 } from '@polkadot/types-codec'; import type { AnyNumber, IMethod, ITuple } from '@polkadot/types-codec/types'; import type { CheckInherentsResult, InherentData } from '@polkadot/types/interfaces/blockbuilder'; import type { BlockHash } from '@polkadot/types/interfaces/chain'; import type { AuthorityId } from '@polkadot/types/interfaces/consensus'; import type { CollationInfo } from '@polkadot/types/interfaces/cumulus'; import type { Extrinsic } from '@polkadot/types/interfaces/extrinsics'; +import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder'; import type { OpaqueMetadata } from '@polkadot/types/interfaces/metadata'; import type { FeeDetails, RuntimeDispatchInfo } from '@polkadot/types/interfaces/payment'; import type { AccountId, Balance, Block, Call, Header, Index, KeyTypeId, SlotDuration, Weight } from '@polkadot/types/interfaces/runtime'; @@ -121,6 +122,21 @@ declare module '@polkadot/api-base/types/calls' { **/ [key: string]: DecoratedCallBase; }; + /** 0xfbc577b9d747efd6/1 */ + genesisBuilder: { + /** + * Build `RuntimeGenesisConfig` from a JSON blob not using any defaults and store it in the storage. + **/ + buildConfig: AugmentedCall Observable, GenesisBuildErr>>>; + /** + * Creates the default `RuntimeGenesisConfig` and returns it as a JSON blob. + **/ + createDefaultConfig: AugmentedCall Observable>; + /** + * Generic call + **/ + [key: string]: DecoratedCallBase; + }; /** 0x37e397fc7c91f5e4/2 */ metadata: { /** diff --git a/packages/node-api/src/interfaces/augment-types.ts b/packages/node-api/src/interfaces/augment-types.ts index 3290d8f5..9a2028f5 100644 --- a/packages/node-api/src/interfaces/augment-types.ts +++ b/packages/node-api/src/interfaces/augment-types.ts @@ -6,7 +6,7 @@ import '@polkadot/types/types/registry'; import type { Ballot, BallotStatus, Beneficiary, CollectionItem, CollectionItemFile, CollectionItemId, CollectionItemToken, CollectionSize, File, FileParams, HostData, HostDataParam, ItemsParams, LegalOfficerCaseOf, LegalOfficerCaseSummary, LegalOfficerData, LegalOfficerDataParam, LoAuthorityListStorageVersion, LocId, LocLink, LocLinkParams, LocType, LocVoidInfo, LogionVote, MetadataItem, MetadataItemParams, OtherAccountId, Region, Requester, Sponsorship, SponsorshipId, StorageVersion, SupportedAccountId, TermsAndConditionsElement, TokenIssuance, TokensRecord, TokensRecordFile, VerifiedIssuer, VoteApproved, VoteClosed, VoteId } from '@logion/node-api/dist/interfaces/default'; -import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@logion/node-api/dist/interfaces/runtime'; +import type { AccountId, AccountId20, AccountId32, AccountId33, AccountIdOf, AccountIndex, Address, AssetId, Balance, BalanceOf, Block, BlockNumber, BlockNumberFor, BlockNumberOf, Call, CallHash, CallHashOf, ChangesTrieConfiguration, ChangesTrieSignal, CodecHash, Consensus, ConsensusEngineId, CrateVersion, Digest, DigestItem, EncodedJustification, ExtrinsicInclusionMode, ExtrinsicsWeight, Fixed128, Fixed64, FixedI128, FixedI64, FixedU128, FixedU64, H1024, H128, H160, H2048, H256, H32, H512, H64, Hash, Header, HeaderPartial, I32F32, Index, IndicesLookupSource, Justification, Justifications, KeyTypeId, KeyValue, LockIdentifier, LookupSource, LookupTarget, ModuleId, Moment, MultiAddress, MultiSigner, OpaqueCall, Origin, OriginCaller, PalletId, PalletVersion, PalletsOrigin, Pays, PerU16, Perbill, Percent, Permill, Perquintill, Phantom, PhantomData, PreRuntime, Releases, RuntimeCall, RuntimeDbWeight, RuntimeEvent, Seal, SealV0, SignedBlock, SignedBlockWithJustification, SignedBlockWithJustifications, Slot, SlotDuration, StorageData, StorageInfo, StorageProof, TransactionInfo, TransactionLongevity, TransactionPriority, TransactionStorageProof, TransactionTag, U32F32, ValidatorId, ValidatorIdOf, Weight, WeightMultiplier, WeightV0, WeightV1, WeightV2 } from '@logion/node-api/dist/interfaces/runtime'; import type { BeefyKey, FullIdentification, IdentificationTuple, Keys, MembershipProof, SessionIndex, SessionKeys1, SessionKeys10, SessionKeys10B, SessionKeys2, SessionKeys3, SessionKeys4, SessionKeys5, SessionKeys6, SessionKeys6B, SessionKeys7, SessionKeys7B, SessionKeys8, SessionKeys8B, SessionKeys9, SessionKeys9B, ValidatorCount } from '@logion/node-api/dist/interfaces/session'; import type { Data, StorageKey } from '@polkadot/types'; import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec'; @@ -40,18 +40,20 @@ import type { EvmAccount, EvmCallInfo, EvmCallInfoV2, EvmCreateInfo, EvmCreateIn import type { AnySignature, EcdsaSignature, Ed25519Signature, Era, Extrinsic, ExtrinsicEra, ExtrinsicPayload, ExtrinsicPayloadUnknown, ExtrinsicPayloadV4, ExtrinsicSignature, ExtrinsicSignatureV4, ExtrinsicUnknown, ExtrinsicV4, ImmortalEra, MortalEra, MultiSignature, Signature, SignerPayload, Sr25519Signature } from '@polkadot/types/interfaces/extrinsics'; import type { FungiblesAccessError } from '@polkadot/types/interfaces/fungibles'; import type { AssetOptions, Owner, PermissionLatest, PermissionVersions, PermissionsV1 } from '@polkadot/types/interfaces/genericAsset'; +import type { GenesisBuildErr } from '@polkadot/types/interfaces/genesisBuilder'; import type { ActiveGilt, ActiveGiltsTotal, ActiveIndex, GiltBid } from '@polkadot/types/interfaces/gilt'; import type { AuthorityIndex, AuthorityList, AuthoritySet, AuthoritySetChange, AuthoritySetChanges, AuthorityWeight, DelayKind, DelayKindBest, EncodedFinalityProofs, ForkTreePendingChange, ForkTreePendingChangeNode, GrandpaCommit, GrandpaEquivocation, GrandpaEquivocationProof, GrandpaEquivocationValue, GrandpaJustification, GrandpaPrecommit, GrandpaPrevote, GrandpaSignedPrecommit, JustificationNotification, KeyOwnerProof, NextAuthority, PendingChange, PendingPause, PendingResume, Precommits, Prevotes, ReportedRoundStates, RoundState, SetId, StoredPendingChange, StoredState } from '@polkadot/types/interfaces/grandpa'; import type { IdentityFields, IdentityInfo, IdentityInfoAdditional, IdentityInfoTo198, IdentityJudgement, RegistrarIndex, RegistrarInfo, Registration, RegistrationJudgement, RegistrationTo198 } from '@polkadot/types/interfaces/identity'; import type { AuthIndex, AuthoritySignature, Heartbeat, HeartbeatTo244, OpaqueMultiaddr, OpaqueNetworkState, OpaquePeerId } from '@polkadot/types/interfaces/imOnline'; import type { CallIndex, LotteryConfig } from '@polkadot/types/interfaces/lottery'; import type { CustomMetadata15, CustomValueMetadata15, ErrorMetadataLatest, ErrorMetadataV10, ErrorMetadataV11, ErrorMetadataV12, ErrorMetadataV13, ErrorMetadataV14, ErrorMetadataV9, EventMetadataLatest, EventMetadataV10, EventMetadataV11, EventMetadataV12, EventMetadataV13, EventMetadataV14, EventMetadataV9, ExtrinsicMetadataLatest, ExtrinsicMetadataV11, ExtrinsicMetadataV12, ExtrinsicMetadataV13, ExtrinsicMetadataV14, ExtrinsicMetadataV15, FunctionArgumentMetadataLatest, FunctionArgumentMetadataV10, FunctionArgumentMetadataV11, FunctionArgumentMetadataV12, FunctionArgumentMetadataV13, FunctionArgumentMetadataV14, FunctionArgumentMetadataV9, FunctionMetadataLatest, FunctionMetadataV10, FunctionMetadataV11, FunctionMetadataV12, FunctionMetadataV13, FunctionMetadataV14, FunctionMetadataV9, MetadataAll, MetadataLatest, MetadataV10, MetadataV11, MetadataV12, MetadataV13, MetadataV14, MetadataV15, MetadataV9, ModuleConstantMetadataV10, ModuleConstantMetadataV11, ModuleConstantMetadataV12, ModuleConstantMetadataV13, ModuleConstantMetadataV9, ModuleMetadataV10, ModuleMetadataV11, ModuleMetadataV12, ModuleMetadataV13, ModuleMetadataV9, OpaqueMetadata, OuterEnums15, PalletCallMetadataLatest, PalletCallMetadataV14, PalletConstantMetadataLatest, PalletConstantMetadataV14, PalletErrorMetadataLatest, PalletErrorMetadataV14, PalletEventMetadataLatest, PalletEventMetadataV14, PalletMetadataLatest, PalletMetadataV14, PalletMetadataV15, PalletStorageMetadataLatest, PalletStorageMetadataV14, PortableType, PortableTypeV14, RuntimeApiMetadataLatest, RuntimeApiMetadataV15, RuntimeApiMethodMetadataV15, RuntimeApiMethodParamMetadataV15, SignedExtensionMetadataLatest, SignedExtensionMetadataV14, StorageEntryMetadataLatest, StorageEntryMetadataV10, StorageEntryMetadataV11, StorageEntryMetadataV12, StorageEntryMetadataV13, StorageEntryMetadataV14, StorageEntryMetadataV9, StorageEntryModifierLatest, StorageEntryModifierV10, StorageEntryModifierV11, StorageEntryModifierV12, StorageEntryModifierV13, StorageEntryModifierV14, StorageEntryModifierV9, StorageEntryTypeLatest, StorageEntryTypeV10, StorageEntryTypeV11, StorageEntryTypeV12, StorageEntryTypeV13, StorageEntryTypeV14, StorageEntryTypeV9, StorageHasher, StorageHasherV10, StorageHasherV11, StorageHasherV12, StorageHasherV13, StorageHasherV14, StorageHasherV9, StorageMetadataV10, StorageMetadataV11, StorageMetadataV12, StorageMetadataV13, StorageMetadataV9 } from '@polkadot/types/interfaces/metadata'; +import type { Mixnode, MixnodesErr, SessionPhase, SessionStatus } from '@polkadot/types/interfaces/mixnet'; import type { MmrBatchProof, MmrEncodableOpaqueLeaf, MmrError, MmrHash, MmrLeafBatchProof, MmrLeafIndex, MmrLeafProof, MmrNodeIndex, MmrProof } from '@polkadot/types/interfaces/mmr'; import type { NftCollectionId, NftItemId } from '@polkadot/types/interfaces/nfts'; import type { NpApiError, NpPoolId } from '@polkadot/types/interfaces/nompools'; import type { StorageKind } from '@polkadot/types/interfaces/offchain'; import type { DeferredOffenceOf, Kind, OffenceDetails, Offender, OpaqueTimeSlot, ReportIdOf, Reporter } from '@polkadot/types/interfaces/offences'; -import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, AssignmentId, AssignmentKind, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; +import type { AbridgedCandidateReceipt, AbridgedHostConfiguration, AbridgedHrmpChannel, ApprovalVotingParams, AssignmentId, AssignmentKind, AsyncBackingParams, AttestedCandidate, AuctionIndex, AuthorityDiscoveryId, AvailabilityBitfield, AvailabilityBitfieldRecord, BackedCandidate, BackingState, Bidder, BufferedSessionChange, CandidateCommitments, CandidateDescriptor, CandidateEvent, CandidateHash, CandidateInfo, CandidatePendingAvailability, CandidateReceipt, CollatorId, CollatorSignature, CommittedCandidateReceipt, Constraints, CoreAssignment, CoreIndex, CoreOccupied, CoreState, DisputeLocation, DisputeProof, DisputeResult, DisputeState, DisputeStatement, DisputeStatementSet, DisputesTimeSlot, DoubleVoteReport, DownwardMessage, ExecutorParam, ExecutorParams, ExecutorParamsHash, ExplicitDisputeStatement, GlobalValidationData, GlobalValidationSchedule, GroupIndex, GroupRotationInfo, HeadData, HostConfiguration, HrmpChannel, HrmpChannelId, HrmpOpenChannelRequest, InboundDownwardMessage, InboundHrmpLimitations, InboundHrmpMessage, InboundHrmpMessages, IncomingParachain, IncomingParachainDeploy, IncomingParachainFixed, InvalidDisputeStatementKind, LeasePeriod, LeasePeriodOf, LocalValidationData, MessageIngestionType, MessageQueueChain, MessagingStateSnapshot, MessagingStateSnapshotEgressEntry, MultiDisputeStatementSet, NewBidder, NodeFeatures, OccupiedCore, OccupiedCoreAssumption, OldV1SessionInfo, OutboundHrmpChannelLimitations, OutboundHrmpMessage, ParaGenesisArgs, ParaId, ParaInfo, ParaLifecycle, ParaPastCodeMeta, ParaScheduling, ParaValidatorIndex, ParachainDispatchOrigin, ParachainInherentData, ParachainProposal, ParachainsInherentData, ParathreadClaim, ParathreadClaimQueue, ParathreadEntry, PendingSlashes, PersistedValidationData, PvfCheckStatement, PvfExecTimeoutKind, PvfPrepTimeoutKind, QueuedParathread, RegisteredParachainInfo, RelayBlockNumber, RelayChainBlockNumber, RelayChainHash, RelayHash, Remark, ReplacementTimes, Retriable, ScheduledCore, Scheduling, ScrapedOnChainVotes, ServiceQuality, SessionInfo, SessionInfoValidatorGroup, SignedAvailabilityBitfield, SignedAvailabilityBitfields, SigningContext, SlashingOffenceKind, SlotRange, SlotRange10, Statement, SubId, SystemInherentData, TransientValidationData, UpgradeGoAhead, UpgradeRestriction, UpwardMessage, ValidDisputeStatementKind, ValidationCode, ValidationCodeHash, ValidationData, ValidationDataType, ValidationFunctionParams, ValidatorSignature, ValidityAttestation, VecInboundHrmpMessage, WinnersData, WinnersData10, WinnersDataTuple, WinnersDataTuple10, WinningData, WinningData10, WinningDataEntry } from '@polkadot/types/interfaces/parachains'; import type { FeeDetails, InclusionFee, RuntimeDispatchInfo, RuntimeDispatchInfoV1, RuntimeDispatchInfoV2 } from '@polkadot/types/interfaces/payment'; import type { Approvals } from '@polkadot/types/interfaces/poll'; import type { ProxyAnnouncement, ProxyDefinition, ProxyType } from '@polkadot/types/interfaces/proxy'; @@ -63,6 +65,7 @@ import type { Period, Priority, SchedulePeriod, SchedulePriority, Scheduled, Sch import type { Bid, BidKind, SocietyJudgement, SocietyVote, StrikeCount, VouchingStatus } from '@polkadot/types/interfaces/society'; import type { ActiveEraInfo, CompactAssignments, CompactAssignmentsTo257, CompactAssignmentsTo265, CompactAssignmentsWith16, CompactAssignmentsWith24, CompactScore, CompactScoreCompact, ElectionCompute, ElectionPhase, ElectionResult, ElectionScore, ElectionSize, ElectionStatus, EraIndex, EraPoints, EraRewardPoints, EraRewards, Exposure, ExtendedBalance, Forcing, IndividualExposure, KeyType, MomentOf, Nominations, NominatorIndex, NominatorIndexCompact, OffchainAccuracy, OffchainAccuracyCompact, PhragmenScore, Points, RawSolution, RawSolutionTo265, RawSolutionWith16, RawSolutionWith24, ReadySolution, RewardDestination, RewardPoint, RoundSnapshot, SeatHolder, SignedSubmission, SignedSubmissionOf, SignedSubmissionTo276, SlashJournalEntry, SlashingSpans, SlashingSpansTo204, SolutionOrSnapshotSize, SolutionSupport, SolutionSupports, SpanIndex, SpanRecord, StakingLedger, StakingLedgerTo223, StakingLedgerTo240, SubmissionIndicesOf, Supports, UnappliedSlash, UnappliedSlashOther, UnlockChunk, ValidatorIndex, ValidatorIndexCompact, ValidatorPrefs, ValidatorPrefsTo145, ValidatorPrefsTo196, ValidatorPrefsWithBlocked, ValidatorPrefsWithCommission, VoteWeight, Voter } from '@polkadot/types/interfaces/staking'; import type { ApiId, BlockTrace, BlockTraceEvent, BlockTraceEventData, BlockTraceSpan, KeyValueOption, MigrationStatusResult, ReadProof, RuntimeVersion, RuntimeVersionApi, RuntimeVersionPartial, RuntimeVersionPre3, RuntimeVersionPre4, SpecVersion, StorageChangeSet, TraceBlockResponse, TraceError } from '@polkadot/types/interfaces/state'; +import type { StatementStoreInvalidStatement, StatementStoreStatementSource, StatementStoreValidStatement } from '@polkadot/types/interfaces/statement'; import type { WeightToFeeCoefficient } from '@polkadot/types/interfaces/support'; import type { AccountInfo, AccountInfoWithDualRefCount, AccountInfoWithProviders, AccountInfoWithRefCount, AccountInfoWithRefCountU8, AccountInfoWithTripleRefCount, ApplyExtrinsicResult, ApplyExtrinsicResultPre6, ArithmeticError, BlockLength, BlockWeights, ChainProperties, ChainType, ConsumedWeight, DigestOf, DispatchClass, DispatchError, DispatchErrorModule, DispatchErrorModulePre6, DispatchErrorModuleU8, DispatchErrorModuleU8a, DispatchErrorPre6, DispatchErrorPre6First, DispatchErrorTo198, DispatchInfo, DispatchInfoTo190, DispatchInfoTo244, DispatchOutcome, DispatchOutcomePre6, DispatchResult, DispatchResultOf, DispatchResultTo198, Event, EventId, EventIndex, EventRecord, Health, InvalidTransaction, Key, LastRuntimeUpgradeInfo, NetworkState, NetworkStatePeerset, NetworkStatePeersetInfo, NodeRole, NotConnectedPeer, Peer, PeerEndpoint, PeerEndpointAddr, PeerInfo, PeerPing, PerDispatchClassU32, PerDispatchClassWeight, PerDispatchClassWeightsPerClass, Phase, RawOrigin, RefCount, RefCountTo259, SyncState, SystemOrigin, TokenError, TransactionValidityError, TransactionalError, UnknownTransaction, WeightPerClass } from '@polkadot/types/interfaces/system'; import type { Bounty, BountyIndex, BountyStatus, BountyStatusActive, BountyStatusCuratorProposed, BountyStatusPendingPayout, OpenTip, OpenTipFinderTo225, OpenTipTip, OpenTipTo225, TreasuryProposal } from '@polkadot/types/interfaces/treasury'; @@ -110,6 +113,7 @@ declare module '@polkadot/types/types/registry' { ApplyExtrinsicResultPre6: ApplyExtrinsicResultPre6; ApprovalFlag: ApprovalFlag; Approvals: Approvals; + ApprovalVotingParams: ApprovalVotingParams; ArithmeticError: ArithmeticError; AssetApproval: AssetApproval; AssetApprovalKey: AssetApprovalKey; @@ -125,6 +129,7 @@ declare module '@polkadot/types/types/registry' { AssetOptions: AssetOptions; AssignmentId: AssignmentId; AssignmentKind: AssignmentKind; + AsyncBackingParams: AsyncBackingParams; AttestedCandidate: AttestedCandidate; AuctionIndex: AuctionIndex; AuthIndex: AuthIndex; @@ -147,6 +152,7 @@ declare module '@polkadot/types/types/registry' { BabeGenesisConfigurationV1: BabeGenesisConfigurationV1; BabeWeight: BabeWeight; BackedCandidate: BackedCandidate; + BackingState: BackingState; Balance: Balance; BalanceLock: BalanceLock; BalanceLockTo212: BalanceLockTo212; @@ -257,6 +263,7 @@ declare module '@polkadot/types/types/registry' { ConfigData: ConfigData; Consensus: Consensus; ConsensusEngineId: ConsensusEngineId; + Constraints: Constraints; ConsumedWeight: ConsumedWeight; ContractCallFlags: ContractCallFlags; ContractCallRequest: ContractCallRequest; @@ -480,6 +487,7 @@ declare module '@polkadot/types/types/registry' { ExtendedBalance: ExtendedBalance; Extrinsic: Extrinsic; ExtrinsicEra: ExtrinsicEra; + ExtrinsicInclusionMode: ExtrinsicInclusionMode; ExtrinsicMetadataLatest: ExtrinsicMetadataLatest; ExtrinsicMetadataV11: ExtrinsicMetadataV11; ExtrinsicMetadataV12: ExtrinsicMetadataV12; @@ -535,6 +543,7 @@ declare module '@polkadot/types/types/registry' { FungibilityV2: FungibilityV2; FungiblesAccessError: FungiblesAccessError; Gas: Gas; + GenesisBuildErr: GenesisBuildErr; GiltBid: GiltBid; GlobalValidationData: GlobalValidationData; GlobalValidationSchedule: GlobalValidationSchedule; @@ -593,6 +602,7 @@ declare module '@polkadot/types/types/registry' { ImmortalEra: ImmortalEra; ImportedAux: ImportedAux; InboundDownwardMessage: InboundDownwardMessage; + InboundHrmpLimitations: InboundHrmpLimitations; InboundHrmpMessage: InboundHrmpMessage; InboundHrmpMessages: InboundHrmpMessages; InboundLaneData: InboundLaneData; @@ -695,6 +705,8 @@ declare module '@polkadot/types/types/registry' { MetadataV15: MetadataV15; MetadataV9: MetadataV9; MigrationStatusResult: MigrationStatusResult; + Mixnode: Mixnode; + MixnodesErr: MixnodesErr; MmrBatchProof: MmrBatchProof; MmrEncodableOpaqueLeaf: MmrEncodableOpaqueLeaf; MmrError: MmrError; @@ -750,6 +762,7 @@ declare module '@polkadot/types/types/registry' { NextConfigDescriptorV1: NextConfigDescriptorV1; NftCollectionId: NftCollectionId; NftItemId: NftItemId; + NodeFeatures: NodeFeatures; NodeRole: NodeRole; Nominations: Nominations; NominatorIndex: NominatorIndex; @@ -784,6 +797,7 @@ declare module '@polkadot/types/types/registry' { OriginKindV1: OriginKindV1; OriginKindV2: OriginKindV2; OtherAccountId: OtherAccountId; + OutboundHrmpChannelLimitations: OutboundHrmpChannelLimitations; OutboundHrmpMessage: OutboundHrmpMessage; OutboundLaneData: OutboundLaneData; OutboundMessageFee: OutboundMessageFee; @@ -991,6 +1005,8 @@ declare module '@polkadot/types/types/registry' { SessionKeys8B: SessionKeys8B; SessionKeys9: SessionKeys9; SessionKeys9B: SessionKeys9B; + SessionPhase: SessionPhase; + SessionStatus: SessionStatus; SetId: SetId; SetIndex: SetIndex; Si0Field: Si0Field; @@ -1077,6 +1093,9 @@ declare module '@polkadot/types/types/registry' { StakingLedgerTo240: StakingLedgerTo240; Statement: Statement; StatementKind: StatementKind; + StatementStoreInvalidStatement: StatementStoreInvalidStatement; + StatementStoreStatementSource: StatementStoreStatementSource; + StatementStoreValidStatement: StatementStoreValidStatement; StorageChangeSet: StorageChangeSet; StorageData: StorageData; StorageDeposit: StorageDeposit; diff --git a/packages/node-api/src/interfaces/runtime/types.ts b/packages/node-api/src/interfaces/runtime/types.ts index 934a6ac3..ec976f5a 100644 --- a/packages/node-api/src/interfaces/runtime/types.ts +++ b/packages/node-api/src/interfaces/runtime/types.ts @@ -118,6 +118,13 @@ export interface DigestItem extends Enum { /** @name EncodedJustification */ export interface EncodedJustification extends Bytes {} +/** @name ExtrinsicInclusionMode */ +export interface ExtrinsicInclusionMode extends Enum { + readonly isAllExtrinsics: boolean; + readonly isOnlyInherents: boolean; + readonly type: 'AllExtrinsics' | 'OnlyInherents'; +} + /** @name ExtrinsicsWeight */ export interface ExtrinsicsWeight extends Struct { readonly normal: Weight; diff --git a/yarn.lock b/yarn.lock index 8999bfc2..3cf41fdf 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3002,30 +3002,13 @@ __metadata: languageName: unknown linkType: soft -"@logion/extension-compat-metamask@npm:^0.46.9": - version: 0.46.9 - resolution: "@logion/extension-compat-metamask@npm:0.46.9" - dependencies: - "@metamask/detect-provider": ^2.0.0 - "@polkadot/extension-inject": 0.46.9 - "@polkadot/types": ^10.12.4 - "@polkadot/util": ^12.6.2 - tslib: ^2.6.2 - web3: ^4.7.0 - peerDependencies: - "@polkadot/api": "*" - "@polkadot/util": "*" - checksum: 68d57c23a1032a6027bf989cc9e7af279b31ab8f33911070c8a3915e9d500999f8f8196d5fa48c078e73677ee336d40c1662c31cfbd2c07374948292b896c560 - languageName: node - linkType: hard - "@logion/extension@workspace:packages/extension": version: 0.0.0-use.local resolution: "@logion/extension@workspace:packages/extension" dependencies: "@logion/client-browser": "workspace:^" - "@logion/extension-compat-metamask": ^0.46.9 - "@polkadot/extension-dapp": ^0.46.9 + "@polkadot/extension-compat-metamask": ^0.47.3 + "@polkadot/extension-dapp": ^0.47.3 "@tsconfig/node18": ^1.0.1 "@types/node": ^18.6.1 "@typescript-eslint/eslint-plugin": ^6.9.1 @@ -3067,8 +3050,8 @@ __metadata: version: 0.0.0-use.local resolution: "@logion/node-api@workspace:packages/node-api" dependencies: - "@polkadot/api": ^10.12.2 - "@polkadot/typegen": ^10.12.2 + "@polkadot/api": ^11.0.2 + "@polkadot/typegen": ^11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 "@tsconfig/node18": ^1.0.1 @@ -3297,146 +3280,163 @@ __metadata: languageName: node linkType: hard -"@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - dependencies: - "@polkadot-api/metadata-builders": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/substrate-bindings": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/substrate-client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - peerDependencies: - rxjs: ">=7.8.0" - checksum: 98529e8088a4cdbc63a02c87b47f4de1373fb5ce7c0231da1b32baf8125256a6125848a90edf12f93db86bb72f61017d9a23cf0697cc97c8568c491ff64e68fc +"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1" + checksum: cf8daf52ff6d92f26c6027f13ef5fbef9e512626e0225bc8408b79002cfd34fc17c5f2d856beebcb01aa5f84c93ccc8272f9264dc8349b7f6cb63845b30119b5 languageName: node linkType: hard -"@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/json-rpc-provider-proxy@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 4c47c978806bc62fff1b5788241cd59457d62ebe347b401b0a621d56d301f7b205aeb20ade24b67c2a5d63a497738694cb4030f79d5009460d17a546e8723f81 +"@polkadot-api/json-rpc-provider@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1" + checksum: 1f315bdadcba7def7145011132e6127b983c6f91f976be217ad7d555bb96a67f3a270fe4a46e427531822c5d54d353d84a6439d112a99cdfc07013d3b662ee3c languageName: node linkType: hard -"@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/json-rpc-provider@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 00d4e1f7900a1739e1ba7a3b13d399e5540a27d5c026c985aa4afdf865fb37da4aa4029a3a740932615482cdf18e657011ef05e7e61c2de04016f68fbb343ae7 +"@polkadot-api/metadata-builders@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/metadata-builders@npm:0.0.1" + dependencies: + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/utils": 0.0.1 + checksum: 7cf69e583e64f0ea1b90b141d9f61c4b0ba445daf87d4eba25bfcaa629c95cf4bbe6d89f5263dc495189fae0795c45810a004a2a8fbf59ece01ae71e1e049f17 languageName: node linkType: hard -"@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/metadata-builders@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" +"@polkadot-api/observable-client@npm:0.1.0": + version: 0.1.0 + resolution: "@polkadot-api/observable-client@npm:0.1.0" dependencies: - "@polkadot-api/substrate-bindings": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - checksum: 7fb6264fbe7a49c8f8848fb36f51fa9882c504fc026b0ac28cf2d83890cfa2c2ce7a3dd8c01aed28b991cb4d4a64910557111afe8792375aea2aba1b2aabe233 + "@polkadot-api/metadata-builders": 0.0.1 + "@polkadot-api/substrate-bindings": 0.0.1 + "@polkadot-api/substrate-client": 0.0.1 + "@polkadot-api/utils": 0.0.1 + peerDependencies: + rxjs: ">=7.8.0" + checksum: 694ee405f40ce47eb8d23dd2fc68359a5016c54ac530893a76e772a2d6a1a7c09c3a11d772b7c196af4faa29e98a443849334b97c6bf91af616990b4c7834caa languageName: node linkType: hard -"@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/substrate-bindings@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" +"@polkadot-api/substrate-bindings@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-bindings@npm:0.0.1" dependencies: "@noble/hashes": ^1.3.1 - "@polkadot-api/utils": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/utils": 0.0.1 "@scure/base": ^1.1.1 scale-ts: ^1.6.0 - checksum: 3640063696c4655522587bdb4f2ca99eb2772ee13236965418bf6e97026a1c52cec8a5996560eedac453365e96b51e35283464b4dda0d28d9deb398fe8c3551c + checksum: fc49e49ffe749fc6fab49eee1d10d47fcd1fa3a9b6ca4e7bbde4e9741b9e062cd4e9271fd86a2525095ff36bf33b95d57c51efb88635bb60b2c77fa9e83b2cd6 languageName: node linkType: hard -"@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/substrate-client@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 3e04f430be68d54173a3b3c1fae33f3cfe2e61c959eb431f89bd306500b9da7e009c02553cf2464a6eb15c5bbe7aa27c45f6ea1371bbfcdddc08519dedcaf4a3 +"@polkadot-api/substrate-client@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/substrate-client@npm:0.0.1" + checksum: 13dc05f1fce0d00241b48d262d691a740c65b107800cdfdf8d800333e9b3950932ce50a88bf65810892e43103bf57d1541c71538e68aa27b9aba55b389835b91 languageName: node linkType: hard -"@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0": - version: 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - resolution: "@polkadot-api/utils@npm:0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0" - checksum: 0bf7b078a53f1eaf2f4cec3c41f3e82fc5afb4a347dcbc7b538723aeb1b4893834a2f1aeed425443a25ee0e1a6472c85d8be600e73a6d25ea16a0748d25c00bf +"@polkadot-api/utils@npm:0.0.1": + version: 0.0.1 + resolution: "@polkadot-api/utils@npm:0.0.1" + checksum: 11e67019cbf6dd39997d772edf14296c1b156d7a59c7726ce117b438ee85a5e50e305514a2a93cba87fdce1380fcf045931f2fb959df3a43bb327e77ac876148 languageName: node linkType: hard -"@polkadot/api-augment@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/api-augment@npm:10.12.4" +"@polkadot/api-augment@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/api-augment@npm:11.0.2" dependencies: - "@polkadot/api-base": 10.12.4 - "@polkadot/rpc-augment": 10.12.4 - "@polkadot/types": 10.12.4 - "@polkadot/types-augment": 10.12.4 - "@polkadot/types-codec": 10.12.4 + "@polkadot/api-base": 11.0.2 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: fa51578c890baf8054f11453ff6867e48d083121b311a3e79f9443b1baec5f77fdf74ed69de28859b078eb16481cd14ec1673028a7d870722437f692de1a1506 + checksum: 5da64a991f5eb81eba12afc412a4b7b7d324fe76f2ad5610e7bfab60276c2750fe4c0e27c1e321cdcb9aa4f0fea480c80dff217a5178e5b9fde113bd29e97f49 languageName: node linkType: hard -"@polkadot/api-base@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/api-base@npm:10.12.4" +"@polkadot/api-base@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/api-base@npm:11.0.2" dependencies: - "@polkadot/rpc-core": 10.12.4 - "@polkadot/types": 10.12.4 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/types": 11.0.2 "@polkadot/util": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: f5fcdbec09004e0b8110897f71cd63f9134658d35ab55af341569faecaad68cb0ab24b578faca230a2b866ea573e2c5a4de6f27b005ea1eb7caa0ffd8765c1d9 + checksum: 7a7f30031be9261262413bba1765f40f60c0f0890475b1ff7789c0b628d8531808588091b46f9420e82aee4935045ddf359fd39280a7530a5550ac588fefe6bc languageName: node linkType: hard -"@polkadot/api-derive@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/api-derive@npm:10.12.4" +"@polkadot/api-derive@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/api-derive@npm:11.0.2" dependencies: - "@polkadot/api": 10.12.4 - "@polkadot/api-augment": 10.12.4 - "@polkadot/api-base": 10.12.4 - "@polkadot/rpc-core": 10.12.4 - "@polkadot/types": 10.12.4 - "@polkadot/types-codec": 10.12.4 + "@polkadot/api": 11.0.2 + "@polkadot/api-augment": 11.0.2 + "@polkadot/api-base": 11.0.2 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 5244c02f8209d3899deac7cd3c11188ad4c70014ffd8ef4caef9e4dcf9d30b6ad8036cd74f81d5a6069615f78427b8e1b1eb17b40302fb5b16d868bdb5828cfb + checksum: 80fd722cca61c774ff0ebc315ae960626b24ae7085e02b8f25715fb177f3c812a6bd2978dcff272aa6f2c191885e358108577af86e852c3abf0c1b8f9c18509d languageName: node linkType: hard -"@polkadot/api@npm:10.12.4, @polkadot/api@npm:^10.12.2, @polkadot/api@npm:^10.12.4": - version: 10.12.4 - resolution: "@polkadot/api@npm:10.12.4" +"@polkadot/api@npm:11.0.2, @polkadot/api@npm:^11.0.2": + version: 11.0.2 + resolution: "@polkadot/api@npm:11.0.2" dependencies: - "@polkadot/api-augment": 10.12.4 - "@polkadot/api-base": 10.12.4 - "@polkadot/api-derive": 10.12.4 + "@polkadot/api-augment": 11.0.2 + "@polkadot/api-base": 11.0.2 + "@polkadot/api-derive": 11.0.2 "@polkadot/keyring": ^12.6.2 - "@polkadot/rpc-augment": 10.12.4 - "@polkadot/rpc-core": 10.12.4 - "@polkadot/rpc-provider": 10.12.4 - "@polkadot/types": 10.12.4 - "@polkadot/types-augment": 10.12.4 - "@polkadot/types-codec": 10.12.4 - "@polkadot/types-create": 10.12.4 - "@polkadot/types-known": 10.12.4 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/rpc-provider": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 + "@polkadot/types-known": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 eventemitter3: ^5.0.1 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 3115cec07bb1340062849186a79b0961af86b50f118433b771966261c7e60c4407bca49a5f3312d2773734d2ecba364542b32822da82c6c920418e1520ddcfc1 + checksum: 32d230f2e02bfacb9a81b7928e5d483d5ad7073cb5698269928c20f79e001a17b38e8563eaf34ec4f43095b20a34d1ca7bcb6f91782d32a80906ab5509f4a420 + languageName: node + linkType: hard + +"@polkadot/extension-compat-metamask@npm:^0.47.3": + version: 0.47.3 + resolution: "@polkadot/extension-compat-metamask@npm:0.47.3" + dependencies: + "@metamask/detect-provider": ^2.0.0 + "@polkadot/extension-inject": 0.47.3 + "@polkadot/types": ^11.0.2 + "@polkadot/util": ^12.6.2 + tslib: ^2.6.2 + web3: ^4.7.0 + peerDependencies: + "@polkadot/api": "*" + "@polkadot/util": "*" + checksum: 9665a6602814c97115c6b796a7d77dff48ca430ee1ef80a8041572e89cf730f75a58624b2895e70829151c97db6cf718498e261152cd33bef408ecd1a26c6613 languageName: node linkType: hard -"@polkadot/extension-dapp@npm:^0.46.9": - version: 0.46.9 - resolution: "@polkadot/extension-dapp@npm:0.46.9" +"@polkadot/extension-dapp@npm:^0.47.3": + version: 0.47.3 + resolution: "@polkadot/extension-dapp@npm:0.47.3" dependencies: - "@polkadot/extension-inject": 0.46.9 + "@polkadot/extension-inject": 0.47.3 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 tslib: ^2.6.2 @@ -3444,17 +3444,17 @@ __metadata: "@polkadot/api": "*" "@polkadot/util": "*" "@polkadot/util-crypto": "*" - checksum: 152fc6bb00a529d6bcb4e546e6aebe642d6bb37978cf409cb23bdb97b2a31c656234361b705ae7d1e7f782697df9d4bc01bb62a606118d82154758da6d26c75d + checksum: 926b92394323721ecf3b2d2902203b6b71e0a82ed21bd794eba04cc58fb57daf86852b646b2bfdb11fed08d54549d381751b6bfa7aa22efaf1029ac722c20eec languageName: node linkType: hard -"@polkadot/extension-inject@npm:0.46.9": - version: 0.46.9 - resolution: "@polkadot/extension-inject@npm:0.46.9" +"@polkadot/extension-inject@npm:0.47.3": + version: 0.47.3 + resolution: "@polkadot/extension-inject@npm:0.47.3" dependencies: - "@polkadot/api": ^10.12.4 - "@polkadot/rpc-provider": ^10.12.4 - "@polkadot/types": ^10.12.4 + "@polkadot/api": ^11.0.2 + "@polkadot/rpc-provider": ^11.0.2 + "@polkadot/types": ^11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 "@polkadot/x-global": ^12.6.2 @@ -3462,7 +3462,7 @@ __metadata: peerDependencies: "@polkadot/api": "*" "@polkadot/util": "*" - checksum: 1072bdad808375ebd2fd154f087f9b99c9c7c547629967d58c67a8228feaf221351b0612008dd1428d94eddc833a4dad69ffca7f8a04dcc7db128154d3ad0971 + checksum: d71344ee19577a47120bfe5d9701e15bfc9ca27dd91a08a1c759393ed320db88d368c97461bcc18403d52b1ba4ca4dbe8bc2074d98998ece76ab0e9f0018074d languageName: node linkType: hard @@ -3491,46 +3491,46 @@ __metadata: languageName: node linkType: hard -"@polkadot/rpc-augment@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/rpc-augment@npm:10.12.4" +"@polkadot/rpc-augment@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/rpc-augment@npm:11.0.2" dependencies: - "@polkadot/rpc-core": 10.12.4 - "@polkadot/types": 10.12.4 - "@polkadot/types-codec": 10.12.4 + "@polkadot/rpc-core": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 81285b6d465ca8faf2d72cff14d5e5cd0ad1a5dca2a8308891b86475de498f811ebc76820f7f63ded8d519f3cce978a91525ce97f431d62d2af8d70ccddd8c20 + checksum: ab5b8c6faaeafc7bedc973820e717a93ed5715aeae4412ff7d6359391961bbd7d2d24e7b46f6926617a135a5659c352f4c3a7fd3cff70a11269be26bcf9ab255 languageName: node linkType: hard -"@polkadot/rpc-core@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/rpc-core@npm:10.12.4" +"@polkadot/rpc-core@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/rpc-core@npm:11.0.2" dependencies: - "@polkadot/rpc-augment": 10.12.4 - "@polkadot/rpc-provider": 10.12.4 - "@polkadot/types": 10.12.4 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/rpc-provider": 11.0.2 + "@polkadot/types": 11.0.2 "@polkadot/util": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 0463396fb90d5dce130b61dcf79f4cbc752605ed614230e3e98bb7044b590b3d22abc452159168ac8d13c50c130d3fa1880dc6132f949402e4c831a5d2d1d943 + checksum: 100cfbd87b4088f4bd56fb1927c475038855158742b211faf210a722390f1721a7fcf15697f7af9c6c3a92b96bec35d48d9c52c6d8a9db6f367f5a1a665e4b0c languageName: node linkType: hard -"@polkadot/rpc-provider@npm:10.12.4, @polkadot/rpc-provider@npm:^10.12.4": - version: 10.12.4 - resolution: "@polkadot/rpc-provider@npm:10.12.4" +"@polkadot/rpc-provider@npm:11.0.2, @polkadot/rpc-provider@npm:^11.0.2": + version: 11.0.2 + resolution: "@polkadot/rpc-provider@npm:11.0.2" dependencies: "@polkadot/keyring": ^12.6.2 - "@polkadot/types": 10.12.4 - "@polkadot/types-support": 10.12.4 + "@polkadot/types": 11.0.2 + "@polkadot/types-support": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 "@polkadot/x-fetch": ^12.6.2 "@polkadot/x-global": ^12.6.2 "@polkadot/x-ws": ^12.6.2 - "@substrate/connect": 0.8.8 + "@substrate/connect": 0.8.10 eventemitter3: ^5.0.1 mock-socket: ^9.3.1 nock: ^13.5.0 @@ -3538,23 +3538,23 @@ __metadata: dependenciesMeta: "@substrate/connect": optional: true - checksum: 2ef833a6bd2a8e7a1274e8d3041203d54ff8073645017d182e396e6bdaca968f187c5df4e35380d669a9e086e00c450cf0d8af21b68ffdd4f74fe68f4e12cc1f + checksum: e6354d7e34e51ec551e9de10a3450d7498ceb6a067d714d1cfaedce5586d03d3e7c6ea0ecd0bd1b1cf8090fa20379987fd67e31975cda62b0d0b7dd248a9e5dd languageName: node linkType: hard -"@polkadot/typegen@npm:^10.12.2": - version: 10.12.4 - resolution: "@polkadot/typegen@npm:10.12.4" +"@polkadot/typegen@npm:^11.0.2": + version: 11.0.2 + resolution: "@polkadot/typegen@npm:11.0.2" dependencies: - "@polkadot/api": 10.12.4 - "@polkadot/api-augment": 10.12.4 - "@polkadot/rpc-augment": 10.12.4 - "@polkadot/rpc-provider": 10.12.4 - "@polkadot/types": 10.12.4 - "@polkadot/types-augment": 10.12.4 - "@polkadot/types-codec": 10.12.4 - "@polkadot/types-create": 10.12.4 - "@polkadot/types-support": 10.12.4 + "@polkadot/api": 11.0.2 + "@polkadot/api-augment": 11.0.2 + "@polkadot/rpc-augment": 11.0.2 + "@polkadot/rpc-provider": 11.0.2 + "@polkadot/types": 11.0.2 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 + "@polkadot/types-support": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 "@polkadot/x-ws": ^12.6.2 @@ -3567,81 +3567,81 @@ __metadata: polkadot-types-from-defs: scripts/polkadot-types-from-defs.mjs polkadot-types-internal-interfaces: scripts/polkadot-types-internal-interfaces.mjs polkadot-types-internal-metadata: scripts/polkadot-types-internal-metadata.mjs - checksum: 78075c54fc4d61cf62ca2044ade785fe91dcfa6211f69f99d0c399f12915aa89dec95977ebaa44ce0d44f60b1da5f4ec668cacb9ab7da0af5893c7ecc64393cb + checksum: 93a7aa8078834781af68e331261374b69631e4259062d28f1224d980b916ca764f461fbbcacc79c3ddb46bb994eac831e10cf43c01f600d72ae29eecd15413ba languageName: node linkType: hard -"@polkadot/types-augment@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/types-augment@npm:10.12.4" +"@polkadot/types-augment@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-augment@npm:11.0.2" dependencies: - "@polkadot/types": 10.12.4 - "@polkadot/types-codec": 10.12.4 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: c10c1bce36880428ea3f01a214b8bab5835378bd692eaf3780ed58621fe2e1eb9ee51d58d50c990bf5f1c27cf955b65dad4c1dc84a6333940d8f4ce5f71c75a0 + checksum: fe8ddf90ca9d4438a0e7012500ce6acb0de17decb77b23f91c30644decc2694c1ae04dcac10ec3d934df597de014f63583e31c7a847f9431a217a19f3c0ec9de languageName: node linkType: hard -"@polkadot/types-codec@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/types-codec@npm:10.12.4" +"@polkadot/types-codec@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-codec@npm:11.0.2" dependencies: "@polkadot/util": ^12.6.2 "@polkadot/x-bigint": ^12.6.2 tslib: ^2.6.2 - checksum: a046128ce6bacf22e5f3e1dd672b02ce0014c96dd964ef840b3f59d58951618f2ca09f891d2690cb1dcdb62344a4b155ddbced7cca3ce897fa50d1bc4cdce9fe + checksum: ff991126a092a012f800b83ba82b9d1560b4fe74781ca1fc3c74f4b4ff0b98819fa6af909eabb753781eae8c897b83fd7e01efc699a96148aed765b60e70ef37 languageName: node linkType: hard -"@polkadot/types-create@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/types-create@npm:10.12.4" +"@polkadot/types-create@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-create@npm:11.0.2" dependencies: - "@polkadot/types-codec": 10.12.4 + "@polkadot/types-codec": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: ceb2eade4501990436bf1303c4a6a42d934d8961186403504af044088b61ab8b09d3af62545b260d0e2f9f7a1cb19b08940f874ac15655196d4571a2dba86f5f + checksum: b1c22b5270b0e7e63ddcf9c9bef7ca56db862f4f31dfd039b78ba7d5c249c068b58c84419bbe2315eabf48454db612a668557fed630e9c386656b9658eeff5ab languageName: node linkType: hard -"@polkadot/types-known@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/types-known@npm:10.12.4" +"@polkadot/types-known@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-known@npm:11.0.2" dependencies: "@polkadot/networks": ^12.6.2 - "@polkadot/types": 10.12.4 - "@polkadot/types-codec": 10.12.4 - "@polkadot/types-create": 10.12.4 + "@polkadot/types": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: c8499727265f674a9b447b78706d58a879ddab782a80b7faec00654731987376c759d56b232f0a31c6f5268bcfc534ef4493537ac274317165a6e3c297fb930b + checksum: 4b087c69c1103625ad170905da7bdfa51be754e3127aaf70c6c6ed5edae8c91d99fd4a046c956f0598c13f595bfc1b7942932a89b8c61a566bb01fd953631ba6 languageName: node linkType: hard -"@polkadot/types-support@npm:10.12.4": - version: 10.12.4 - resolution: "@polkadot/types-support@npm:10.12.4" +"@polkadot/types-support@npm:11.0.2": + version: 11.0.2 + resolution: "@polkadot/types-support@npm:11.0.2" dependencies: "@polkadot/util": ^12.6.2 tslib: ^2.6.2 - checksum: 20f4aac402df4d175c5b0f4162c1162621405932da45e1ed9477e8084e2d10add4f5386b8bab71f0d5a6188fe966dbe547b094fbe21f75ac54258af3283a100c + checksum: cb453682888e553e1fe10a72acde66182121b025a52f9096f2a1ca7233fc61213a532c5baf755cf6bfb25e7e4354fb1ec6244f19974a29e0a083e4268da05021 languageName: node linkType: hard -"@polkadot/types@npm:10.12.4, @polkadot/types@npm:^10.12.4": - version: 10.12.4 - resolution: "@polkadot/types@npm:10.12.4" +"@polkadot/types@npm:11.0.2, @polkadot/types@npm:^11.0.2": + version: 11.0.2 + resolution: "@polkadot/types@npm:11.0.2" dependencies: "@polkadot/keyring": ^12.6.2 - "@polkadot/types-augment": 10.12.4 - "@polkadot/types-codec": 10.12.4 - "@polkadot/types-create": 10.12.4 + "@polkadot/types-augment": 11.0.2 + "@polkadot/types-codec": 11.0.2 + "@polkadot/types-create": 11.0.2 "@polkadot/util": ^12.6.2 "@polkadot/util-crypto": ^12.6.2 rxjs: ^7.8.1 tslib: ^2.6.2 - checksum: 3259c18e185616330e86efc96ca3ef2df7756ee7044fc14223b1ea525d162024684513145feb52245c929e29f2677347bd393a10bbfefb9463f68525c5013efc + checksum: 5debd49b5509eee97ae7a8146cb6b1af5849eff6506a160882fca01aec73116fb221870d086ce2532692253c1b3fd27bfbaf3d99c6cdccbbe1cdb9f2f99997ad languageName: node linkType: hard @@ -4051,39 +4051,39 @@ __metadata: languageName: node linkType: hard -"@substrate/connect-known-chains@npm:^1.1.1": - version: 1.1.2 - resolution: "@substrate/connect-known-chains@npm:1.1.2" - checksum: 4e6f68219d87f56e4129209109870e8d270247a6e5a3cd143af72e9ebf3ae77b05e1d3fc9c583c108941c1371890714f6eef10e259069b1020af829d26fb1e9a +"@substrate/connect-known-chains@npm:^1.1.4": + version: 1.1.4 + resolution: "@substrate/connect-known-chains@npm:1.1.4" + checksum: 235c732509391f12525ec740dbb8b8d4c5f56b7c7e71216c933e12974e0ad4f9664f7248a6d6db8b687c1c9fca9105398113ac7fd39515163ab6a9d5f7eba737 languageName: node linkType: hard -"@substrate/connect@npm:0.8.8": - version: 0.8.8 - resolution: "@substrate/connect@npm:0.8.8" +"@substrate/connect@npm:0.8.10": + version: 0.8.10 + resolution: "@substrate/connect@npm:0.8.10" dependencies: "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.1.1 - "@substrate/light-client-extension-helpers": ^0.0.4 + "@substrate/connect-known-chains": ^1.1.4 + "@substrate/light-client-extension-helpers": ^0.0.6 smoldot: 2.0.22 - checksum: c70e8be2a121278af6adbace1060d8f1063c898cbc43b34ce454154cca23cd056e2e8d84407fe49e1c347ff221de9b8e74fbaa18f8145a7e65fb20cd06000368 + checksum: 2ed22ff5eefc547f9c3a7547f166b20c844372802cf406e6511844ed2f813b091f515611a720847e1b78848af1156d5cba403c9423c4ad32e4009daf014150bc languageName: node linkType: hard -"@substrate/light-client-extension-helpers@npm:^0.0.4": - version: 0.0.4 - resolution: "@substrate/light-client-extension-helpers@npm:0.0.4" +"@substrate/light-client-extension-helpers@npm:^0.0.6": + version: 0.0.6 + resolution: "@substrate/light-client-extension-helpers@npm:0.0.6" dependencies: - "@polkadot-api/client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/json-rpc-provider": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/json-rpc-provider-proxy": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 - "@polkadot-api/substrate-client": 0.0.1-492c132563ea6b40ae1fc5470dec4cd18768d182.1.0 + "@polkadot-api/json-rpc-provider": 0.0.1 + "@polkadot-api/json-rpc-provider-proxy": 0.0.1 + "@polkadot-api/observable-client": 0.1.0 + "@polkadot-api/substrate-client": 0.0.1 "@substrate/connect-extension-protocol": ^2.0.0 - "@substrate/connect-known-chains": ^1.1.1 + "@substrate/connect-known-chains": ^1.1.4 rxjs: ^7.8.1 peerDependencies: smoldot: 2.x - checksum: 7ec22cbc13d6acd29e40d716f717942be6cfa0af896fccb6ad797b37908d21a6a56398d8ece6b1b79b956c61dc50978594fbc1e660cbfeb127cd60d58203e043 + checksum: a0cc169e6edf56cdbfd839a32487e31ad0bcb4cc9d4d50bac632c16f95d6ebf54638b268c1f7b8e651482e201f38411139a90071bc91268a2c01e5b50f39f338 languageName: node linkType: hard