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

@hirosystems/chainhook-types

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hirosystems/chainhook-types - npm Package Compare versions

Comparing version 1.0.0 to 1.0.5-rc.1

28

dist/index.d.ts

@@ -58,4 +58,4 @@ /**

export interface BitcoinChainEvent {
apply: BitcoinApply[];
rollback: BitcoinRollback[];
apply: Block[];
rollback: Block[];
chainhook: {

@@ -67,4 +67,4 @@ uuid: string;

export interface StacksChainEvent {
apply: StacksApply[];
rollback: StacksRollback[];
apply: Block[];
rollback: Block[];
chainhook: {

@@ -75,22 +75,2 @@ uuid: string;

}
export interface BitcoinApply {
transaction: BitcoinTransaction;
proof: string;
block_identifier: BlockIdentifier;
confirmations: number;
}
export interface BitcoinRollback {
transaction: BitcoinTransaction;
block_identifier: BlockIdentifier;
}
export interface StacksApply {
transaction: StacksTransaction;
proof: string;
block_identifier: BlockIdentifier;
confirmations: number;
}
export interface StacksRollback {
transaction: BitcoinTransaction;
block_identifier: BlockIdentifier;
}
export interface StacksChainhook {

@@ -97,0 +77,0 @@ uuid: string;

4

package.json
{
"name": "@hirosystems/chainhook-types",
"version": "1.0.0",
"version": "1.0.5-rc.1",
"description": "",

@@ -12,2 +12,2 @@ "main": "dist/index.js",

"license": "ISC"
}
}

@@ -61,4 +61,4 @@ /**

export interface BitcoinChainEvent {
apply: BitcoinApply[];
rollback: BitcoinRollback[];
apply: Block[];
rollback: Block[];
chainhook: {

@@ -71,4 +71,4 @@ uuid: string;

export interface StacksChainEvent {
apply: StacksApply[];
rollback: StacksRollback[];
apply: Block[];
rollback: Block[];
chainhook: {

@@ -80,26 +80,2 @@ uuid: string;

export interface BitcoinApply {
transaction: BitcoinTransaction;
proof: string;
block_identifier: BlockIdentifier;
confirmations: number;
}
export interface BitcoinRollback {
transaction: BitcoinTransaction;
block_identifier: BlockIdentifier;
}
export interface StacksApply {
transaction: StacksTransaction;
proof: string;
block_identifier: BlockIdentifier;
confirmations: number;
}
export interface StacksRollback {
transaction: BitcoinTransaction;
block_identifier: BlockIdentifier;
}
export interface StacksChainhook {

@@ -106,0 +82,0 @@ uuid: string;

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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