Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hirosystems/orchestra-types

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hirosystems/orchestra-types - npm Package Compare versions

Comparing version 1.0.1-beta.1 to 1.0.1-beta.2

2

package.json
{
"name": "@hirosystems/orchestra-types",
"version": "1.0.1-beta.1",
"version": "1.0.1-beta.2",
"description": "",

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

@@ -0,3 +1,63 @@

/**
* BitcoinChainUpdate provide informations about new blocks and confirmed blocks.
* @export
* @interface BitcoinChainUpdate
*/
export interface BitcoinChainUpdate {
/**
* @type {Array<Block>}
* @memberof ChainUpdate
*/
new_blocks: Array<Block>;
/**
* @type {Array<Block>}
* @memberof ChainUpdate
*/
confirmed_blocks: Array<Block>;
}
/**
* StacksChainUpdate provide informations about new blocks and confirmed blocks.
* @export
* @interface StacksChainUpdate
*/
export interface StacksChainUpdate {
/**
* @type {Array<StacksBlockUpdate>}
* @memberof StacksChainUpdate
*/
new_blocks: Array<StacksBlockUpdate>;
/**
* @type {Array<StacksBlockUpdate>}
* @memberof StacksChainUpdate
*/
confirmed_blocks: Array<Block>;
}
/**
* StacksBlockUpdate provide informations about new blocks and confirmed blocks.
* @export
* @interface StacksBlockUpdate
*/
export interface StacksBlockUpdate {
/**
* @type {Array<Block>}
* @memberof StacksBlockUpdate
*/
new_blocks: Array<Block>;
/**
* @type {Array<Block>}
* @memberof StacksBlockUpdate
*/
parent_microblocks_to_rollback: Array<Block>;
/**
* @type {Array<Block>}
* @memberof StacksBlockUpdate
*/
parent_microblocks_to_apply: Array<Block>;
}
export interface BitcoinChainEvent {
apply: BitcoinApply[];
rollback: BitcoinRollback[];
chainhook: {

@@ -11,2 +71,3 @@ uuid: string;

apply: StacksApply[];
rollback: StacksRollback;
chainhook: {

@@ -25,2 +86,7 @@ uuid: string;

export interface BitcoinRollback {
transaction: BitcoinTransaction;
block_identifier: BlockIdentifier;
}
export interface StacksApply {

@@ -33,2 +99,7 @@ transaction: StacksTransaction;

export interface StacksRollback {
transaction: BitcoinTransaction;
block_identifier: BlockIdentifier;
}
export interface StacksChainhook {

@@ -272,2 +343,7 @@ uuid: string;

execution_cost?: StacksTransactionExecutionCost;
/**
* @type {number|any}
* @memberof StacksTransactionMetadata
*/
position: number | any;
}

@@ -593,2 +669,7 @@

/**
* @type {BlockIdentifier}
* @memberof StacksBlockMetadata
*/
confirm_microblock_identifier?: BlockIdentifier;
/**
* @type {number}

@@ -595,0 +676,0 @@ * @memberof StacksBlockMetadata

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