New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@darwinia/types-known

Package Overview
Dependencies
Maintainers
6
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@darwinia/types-known - npm Package Compare versions

Comparing version 2.8.3 to 2.8.4

2

package.json
{
"name": "@darwinia/types-known",
"version": "2.8.3",
"version": "2.8.4",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -39,3 +39,3 @@ "use strict";

const versioned = [{
minmax: [0, 41],
minmax: [0, 0],
types: (0, _util.objectSpread)({}, sharedTypes, addrAccountIdTypes, {

@@ -47,5 +47,129 @@ StakingBalanceT: {

}
},
Signature: 'H512',
Keys: 'SessionKeys4',
NominatorIndexCompact: 'u32',
ValidatorIndexCompact: 'u16',
OffchainAccuracyCompact: 'PerU16',
PerU16: 'UInt<16, PerU16>',
EthHeader: {
parent_hash: 'H256',
timestamp: 'u64',
number: 'EthBlockNumber',
author: 'EthAddress',
transaction_root: 'H256',
uncles_hash: 'H256',
extra_data: 'Bytes',
state_root: 'H256',
receipts_root: 'H256',
log_bloom: 'Bloom',
gas_used: 'U256',
gas_limit: 'U256',
difficulty: 'U256',
seal: 'Vec<Bytes>',
hash: 'Option<H256>'
},
EthBlockNumber: 'u64',
DoubleNodeWithMerkleProof: {
dag_nodes: '[H512;2]',
proof: 'Vec<H128>'
},
OtherSignature: {
_enum: {
Eth: 'EcdsaSignature',
Tron: 'EcdsaSignature'
}
}
})
}, {
minmax: [1, 41],
types: (0, _util.objectSpread)({}, sharedTypes, addrAccountIdTypes, {
StakingBalanceT: {
_enum: {
RingBalance: 'Balance',
KtonBalance: 'Balance'
}
},
Signature: 'H512',
Keys: 'SessionKeys4',
EthereumRelayHeaderParcel: {
header: 'EthereumHeader',
mmrRoot: 'H256'
},
OtherSignature: {
_enum: {
Eth: 'EcdsaSignature',
Tron: 'EcdsaSignature'
}
},
// MMRProof: 'Vec<H256>',
EthereumReceiptProofThing: '(EthereumHeader, EthereumReceiptProof, MMRProof)',
EthereumHeader: {
parentHash: 'H256',
timestamp: 'u64',
number: 'EthereumBlockNumber',
author: 'EthereumAddress',
transactionsRoot: 'H256',
unclesHash: 'H256',
extraData: 'Bytes',
stateRoot: 'H256',
receiptsRoot: 'H256',
logBloom: 'Bloom',
gasUsed: 'U256',
gasLimit: 'U256',
difficulty: 'U256',
seal: 'Vec<Bytes>',
// baseFeePerGas: 'Option<U256>',
hash: 'Option<H256>'
},
EthereumReceiptProof: {
index: 'u64',
proof: 'Bytes',
headerHash: 'H256'
},
MMRProof: {
memberLeafIndex: 'u64',
lastLeafIndex: 'u64',
proof: 'Vec<H256>'
},
NominatorIndexCompact: 'u32',
ValidatorIndexCompact: 'u32',
OffchainAccuracyCompact: 'PerU16',
PerU16: 'UInt<16, PerU16>',
DoubleNodeWithMerkleProof: {
dag_nodes: '[H512;2]',
proof: 'Vec<H128>'
},
EthHeader: {
parent_hash: 'H256',
timestamp: 'u64',
number: 'EthBlockNumber',
author: 'EthAddress',
transaction_root: 'H256',
uncles_hash: 'H256',
extra_data: 'Bytes',
state_root: 'H256',
receipts_root: 'H256',
log_bloom: 'Bloom',
gas_used: 'U256',
gas_limit: 'U256',
difficulty: 'U256',
seal: 'Vec<Bytes>',
hash: 'Option<H256>'
},
EthBlockNumber: 'u64',
TcBlockNumber: 'u64',
GameId: 'TcBlockNumber',
EthereumHeaderThingWithProof: {
header: 'EthereumHeader',
ethashProof: 'Vec<EthashProof>',
mmrRoot: 'H256',
mmrProof: 'Vec<H256>'
},
EthereumHeaderThing: {
header: 'EthereumHeader',
mmrRoot: 'H256'
}
})
}, {
minmax: [42, 43],

@@ -52,0 +176,0 @@ types: (0, _util.objectSpread)({}, sharedTypes, {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc