Bump @logion/node-api (#9541)

This commit is contained in:
Jaco 2023-06-05 19:16:30 +03:00 committed by GitHub
parent c2b2982785
commit 2fe9538275
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 292 additions and 14 deletions

View File

@ -30,7 +30,7 @@
"@interlay/interbtc-types": "1.12.0",
"@kiltprotocol/type-definitions": "0.32.1",
"@laminar/type-definitions": "0.3.1",
"@logion/node-api": "0.9.0-3",
"@logion/node-api": "0.16.0-1",
"@metaverse-network-sdk/type-definitions": "0.0.1-16",
"@parallel-finance/type-definitions": "1.7.17",
"@phala/typedefs": "0.2.33",

View File

@ -6,7 +6,7 @@
import type { OverrideBundleDefinition } from '@polkadot/types/types';
import logionDefault, { session as logionSession } from '@logion/node-api/dist/interfaces/definitions.js';
import logionDefault, { runtime as logionRuntime, session as logionSession } from '@logion/node-api/interfaces/definitions';
const defaultTypesUpTo109 = {
Address: 'MultiAddress',
@ -327,6 +327,7 @@ const definitions: OverrideBundleDefinition = {
minmax: [117, undefined],
types: {
...logionDefault.types,
...logionRuntime.types,
...logionSession.types
}
}

View File

@ -59345,12 +59345,19 @@ export const typesBundle = {
"collection_last_block_submission": "Option<BlockNumber>",
"collection_max_size": "Option<CollectionSize>",
"collection_can_upload": "bool",
"seal": "Option<Hash>"
"seal": "Option<Hash>",
"sponsorship_id": "Option<SponsorshipId>"
},
"MetadataItemParams": {
"name": "Vec<u8>",
"value": "Vec<u8>",
"submitter": "SupportedAccountId"
},
"MetadataItem": {
"name": "Vec<u8>",
"value": "Vec<u8>",
"submitter": "AccountId"
"submitter": "SupportedAccountId",
"acknowledged": "bool"
},
"LocType": {
"_enum": [
@ -59363,10 +59370,16 @@ export const typesBundle = {
"id": "LocId",
"nature": "Vec<u8>"
},
"FileParams": {
"hash": "Hash",
"nature": "Vec<u8>",
"submitter": "SupportedAccountId"
},
"File": {
"hash": "Hash",
"nature": "Vec<u8>",
"submitter": "AccountId"
"submitter": "SupportedAccountId",
"acknowledged": "bool"
},
"LocVoidInfo": {
"replacer": "Option<LocId>"
@ -59388,7 +59401,8 @@ export const typesBundle = {
"_enum": {
"None": null,
"Account": "AccountId",
"Loc": "LocId"
"Loc": "LocId",
"OtherAccount": "OtherAccountId"
}
},
"CollectionSize": "u32",
@ -59432,6 +59446,269 @@ export const typesBundle = {
"tcLoc": "LocId",
"details": "Vec<u8>"
},
"LogionVote": {
"locId": "LocId",
"ballots": "Vec<Ballot>"
},
"Ballot": {
"voter": "LocId",
"status": "AccountId"
},
"BallotStatus": {
"_enum": [
"NotVoted",
"VotedYes",
"VotedNo"
]
},
"VoteId": "u64",
"VoteClosed": "bool",
"VoteApproved": "bool",
"LegalOfficerCaseSummary": {
"owner": "AccountId",
"requester": "Option<AccountId>"
},
"TokensRecord": {
"description": "Vec<u8>",
"files": "Vec<TokensRecordFile>",
"submitter": "AccountId"
},
"TokensRecordFile": {
"name": "Vec<u8>",
"contentType": "Vec<u8>",
"file_size": "u32",
"hash": "Hash"
},
"UnboundedTokensRecordFile": "TokensRecordFile",
"UnboundedTokensRecordFileOf": "TokensRecordFile",
"VerifiedIssuer": {
"identityLoc": "LocId"
},
"OtherAccountId": {
"_enum": {
"Ethereum": "H160"
}
},
"SupportedAccountId": {
"_enum": {
"None": null,
"Polkadot": "AccountId",
"Other": "OtherAccountId"
}
},
"SponsorshipId": "u128",
"Sponsorship": {
"sponsor": "AccountId",
"sponsored_account": "SupportedAccountId",
"legal_officer": "AccountId",
"loc_id": "Option<LocId>"
},
"Beneficiary": {
"_enum": {
"Treasury": null,
"LegalOfficer": "AccountId"
}
},
"Fixed64": "Int<64, Fixed64>",
"FixedI64": "Int<64, FixedI64>",
"FixedU64": "UInt<64, FixedU64>",
"Fixed128": "Int<128, Fixed128>",
"FixedI128": "Int<128, FixedI128>",
"FixedU128": "UInt<128, FixedU128>",
"I32F32": "Int<64, I32F32>",
"U32F32": "UInt<64, U32F32>",
"PerU16": "UInt<16, PerU16>",
"Perbill": "UInt<32, Perbill>",
"Percent": "UInt<8, Percent>",
"Permill": "UInt<32, Permill>",
"Perquintill": "UInt<64, Perquintill>",
"AccountId": "AccountId32",
"AccountId20": "GenericEthereumAccountId",
"AccountId32": "GenericAccountId32",
"AccountId33": "GenericAccountId33",
"AccountIdOf": "AccountId",
"AccountIndex": "GenericAccountIndex",
"Address": "MultiAddress",
"AssetId": "u64",
"Balance": "UInt<128, Balance>",
"BalanceOf": "Balance",
"Block": "GenericBlock",
"BlockNumber": "u32",
"BlockNumberFor": "BlockNumber",
"BlockNumberOf": "BlockNumber",
"Call": "GenericCall",
"CallHash": "Hash",
"CallHashOf": "CallHash",
"ChangesTrieConfiguration": {
"digestInterval": "u32",
"digestLevels": "u32"
},
"ChangesTrieSignal": {
"_enum": {
"NewConfiguration": "Option<ChangesTrieConfiguration>"
}
},
"ConsensusEngineId": "GenericConsensusEngineId",
"CodecHash": "Hash",
"CrateVersion": {
"major": "u16",
"minor": "u8",
"patch": "u8"
},
"Digest": {
"logs": "Vec<DigestItem>"
},
"DigestItem": {
"_enum": {
"Other": "Bytes",
"AuthoritiesChange": "Vec<AuthorityId>",
"ChangesTrieRoot": "Hash",
"SealV0": "SealV0",
"Consensus": "Consensus",
"Seal": "Seal",
"PreRuntime": "PreRuntime",
"ChangesTrieSignal": "ChangesTrieSignal",
"RuntimeEnvironmentUpdated": "Null"
}
},
"ExtrinsicsWeight": {
"normal": "Weight",
"operational": "Weight"
},
"H32": "[u8; 4; H32]",
"H64": "[u8; 8; H64]",
"H128": "[u8; 16; H128]",
"H160": "[u8; 20; H160]",
"H256": "[u8; 32; H256]",
"H512": "[u8; 64; H512]",
"H1024": "[u8; 128; H1024]",
"H2048": "[u8; 256; H2048]",
"Hash": "H256",
"Header": {
"parentHash": "Hash",
"number": "Compact<BlockNumber>",
"stateRoot": "Hash",
"extrinsicsRoot": "Hash",
"digest": "Digest"
},
"HeaderPartial": {
"parentHash": "Hash",
"number": "BlockNumber"
},
"IndicesLookupSource": "GenericLookupSource",
"Index": "u32",
"Justification": "(ConsensusEngineId, EncodedJustification)",
"EncodedJustification": "Bytes",
"Justifications": "Vec<Justification>",
"KeyValue": "(StorageKey, StorageData)",
"KeyTypeId": "u32",
"LockIdentifier": "[u8; 8]",
"LookupSource": "MultiAddress",
"LookupTarget": "AccountId",
"ModuleId": "LockIdentifier",
"MultiAddress": "GenericMultiAddress",
"MultiSigner": {
"_enum": {
"Ed25519": "[u8; 32]",
"Sr25519": "[u8; 32]",
"Ecdsa": "[u8; 33]"
}
},
"Moment": "UInt<64, Moment>",
"OpaqueCall": "Bytes",
"Origin": "DoNotConstruct<Origin>",
"OriginCaller": {
"_enum": {
"System": "SystemOrigin"
}
},
"PalletId": "LockIdentifier",
"PalletsOrigin": "OriginCaller",
"PalletVersion": {
"major": "u16",
"minor": "u8",
"patch": "u8"
},
"Pays": {
"_enum": [
"Yes",
"No"
]
},
"Phantom": "Null",
"PhantomData": "Null",
"Releases": {
"_enum": [
"V1",
"V2",
"V3",
"V4",
"V5",
"V6",
"V7",
"V8",
"V9",
"V10"
]
},
"RuntimeCall": "Call",
"RuntimeEvent": "Event",
"RuntimeDbWeight": {
"read": "Weight",
"write": "Weight"
},
"SignedBlock": "SignedBlockWithJustifications",
"SignedBlockWithJustification": {
"block": "Block",
"justification": "Option<EncodedJustification>"
},
"SignedBlockWithJustifications": {
"block": "Block",
"justifications": "Option<Justifications>"
},
"Slot": "u64",
"SlotDuration": "u64",
"StorageData": "Bytes",
"StorageInfo": {
"palletName": "Bytes",
"storage_name": "Bytes",
"prefix": "Bytes",
"maxValues": "Option<u32>",
"maxSize": "Option<u32>"
},
"StorageProof": {
"trieNodes": "Vec<Bytes>"
},
"TransactionPriority": "u64",
"TransactionLongevity": "u64",
"TransactionTag": "Bytes",
"TransactionInfo": {
"_alias": {
"dataSize": "size"
},
"chunkRoot": "H256",
"contentHash": "H256",
"dataSize": "u32",
"blockChunks": "u32"
},
"TransactionStorageProof": {
"chunk": "Vec<u8>",
"proof": "Vec<Vec<u8>>"
},
"ValidatorId": "AccountId",
"ValidatorIdOf": "ValidatorId",
"WeightV0": "u32",
"WeightV1": "u64",
"WeightV2": {
"refTime": "Compact<u64>",
"proofSize": "Compact<u64>"
},
"Weight": "WeightV2",
"WeightMultiplier": "Fixed64",
"PreRuntime": "(ConsensusEngineId, Bytes)",
"SealV0": "(u64, Signature)",
"Seal": "(ConsensusEngineId, Bytes)",
"Consensus": "(ConsensusEngineId, Bytes)",
"BeefyKey": "[u8; 33]",
"Keys": "SessionKeys2",
"SessionKeys1": "(AccountId)",

View File

@ -932,17 +932,17 @@ __metadata:
languageName: node
linkType: hard
"@logion/node-api@npm:0.9.0-3":
version: 0.9.0-3
resolution: "@logion/node-api@npm:0.9.0-3"
"@logion/node-api@npm:0.16.0-1":
version: 0.16.0-1
resolution: "@logion/node-api@npm:0.16.0-1"
dependencies:
"@polkadot/api": ^9.10.1
"@polkadot/util": ^10.2.1
"@polkadot/util-crypto": ^10.2.1
"@polkadot/api": ^10.4.1
"@polkadot/util": ^12.0.1
"@polkadot/util-crypto": ^12.0.1
"@types/uuid": ^8.3.4
fast-sha256: ^1.3.0
uuid: ^8.3.2
checksum: 393e3c6f82b3457cb100b5818d9c0462dcb85ce4739dfa11df347413b4540ebf87a6c0c4e16c781b91d525f8a0cfaddfb104253ab31c645d1c3fb53a067f9f44
checksum: c9e5ac2cc09c4909be1d32f026a9ac4842a9d312ad4a03f38ca2b228255ef6778a4e5389ddf5cf6f0316040c4bbdcacfa6f9287de6a40ca4605e43203d5c2777
languageName: node
linkType: hard
@ -1843,7 +1843,7 @@ __metadata:
"@interlay/interbtc-types": 1.12.0
"@kiltprotocol/type-definitions": 0.32.1
"@laminar/type-definitions": 0.3.1
"@logion/node-api": 0.9.0-3
"@logion/node-api": 0.16.0-1
"@metaverse-network-sdk/type-definitions": 0.0.1-16
"@parallel-finance/type-definitions": 1.7.17
"@phala/typedefs": 0.2.33