@stacks/stacks-blockchain-api-types
Advanced tools
Comparing version 0.68.0 to 0.69.0
@@ -6,3 +6,23 @@ { | ||
"type": "object", | ||
"required": ["canonical", "height", "hash", "parent_block_hash", "txs", "burn_block_time", "burn_block_time_iso", "burn_block_hash", "burn_block_height", "miner_txid", "parent_microblock_hash", "parent_microblock_sequence", "microblocks_accepted", "microblocks_streamed"], | ||
"required": [ | ||
"canonical", | ||
"height", | ||
"hash", | ||
"parent_block_hash", | ||
"txs", | ||
"burn_block_time", | ||
"burn_block_time_iso", | ||
"burn_block_hash", | ||
"burn_block_height", | ||
"miner_txid", | ||
"parent_microblock_hash", | ||
"parent_microblock_sequence", | ||
"microblocks_accepted", | ||
"microblocks_streamed", | ||
"execution_cost_read_count", | ||
"execution_cost_read_length", | ||
"execution_cost_runtime", | ||
"execution_cost_write_count", | ||
"execution_cost_write_length" | ||
], | ||
"properties": { | ||
@@ -76,4 +96,24 @@ "canonical": { | ||
} | ||
}, | ||
"execution_cost_read_count": { | ||
"type": "integer", | ||
"description": "Execution cost read count." | ||
}, | ||
"execution_cost_read_length": { | ||
"type": "integer", | ||
"description": "Execution cost read length." | ||
}, | ||
"execution_cost_runtime": { | ||
"type": "integer", | ||
"description": "Execution cost runtime." | ||
}, | ||
"execution_cost_write_count": { | ||
"type": "integer", | ||
"description": "Execution cost write count." | ||
}, | ||
"execution_cost_write_length": { | ||
"type": "integer", | ||
"description": "Execution cost write length." | ||
} | ||
} | ||
} |
{ | ||
"name": "@stacks/stacks-blockchain-api-types", | ||
"version": "0.68.0", | ||
"version": "0.69.0", | ||
"access": "public", | ||
@@ -5,0 +5,0 @@ "description": "TypeScript descriptions of Stacks 2.0 blockchain API entities", |
@@ -1,6 +0,6 @@ | ||
import type { AddressStxBalanceResponse, AddressTransactionWithTransfers, Block, MempoolTransaction } from '..'; | ||
import type { AddressStxBalanceResponse, AddressTransactionWithTransfers, Block, Microblock, MempoolTransaction } from '..'; | ||
export type AddressTransactionTopic = `address-transaction:${string}`; | ||
export type AddressStxBalanceTopic = `address-stx-balance:${string}`; | ||
export type Topic = 'block' | 'mempool' | AddressTransactionTopic | AddressStxBalanceTopic; | ||
export type Topic = 'block' | 'microblock' | 'mempool' | AddressTransactionTopic | AddressStxBalanceTopic; | ||
@@ -14,2 +14,3 @@ export interface ClientToServerMessages { | ||
block: (block: Block) => void; | ||
microblock: (microblock: Microblock) => void; | ||
mempool: (transaction: MempoolTransaction) => void; | ||
@@ -16,0 +17,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
413745
10210