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

bnc-sdk

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bnc-sdk - npm Package Compare versions

Comparing version 3.4.1 to 3.5.0

36

dist/types/src/interfaces.d.ts

@@ -11,5 +11,3 @@ import { Subject } from 'rxjs';

methodName: string;
params: {
[key: string]: string;
};
params: Record<string, unknown>;
contractAddress?: string;

@@ -46,2 +44,4 @@ contractType?: string;

contractCall: ContractCall;
internalTransactions: InternalTransaction[];
netBalanceChanges: NetBalanceChange[];
to: string;

@@ -66,2 +66,30 @@ from: string;

}
export interface InternalTransaction {
type: string;
from: string;
to: string;
input: string;
gas: number;
gasUsed: number;
value: string;
contractCall: ContractCall;
}
export interface NetBalanceChange {
address: string;
balanceChanges: BalanceChange[];
}
export interface BalanceChange {
delta: string;
asset: Asset;
breakdown: BreakDown[];
}
export interface Asset {
type: string;
symbol: string;
contractAddress: string;
}
export interface BreakDown {
counterparty: string;
amount: string;
}
export declare type TransactionData = BitcoinTransactionData | EthereumTransactionData;

@@ -73,3 +101,3 @@ export interface TransactionEvent {

export declare type System = 'bitcoin' | 'ethereum';
export declare type Network = 'main' | 'testnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'xdai' | 'bsc-main' | 'local';
export declare type Network = 'main' | 'testnet' | 'ropsten' | 'rinkeby' | 'goerli' | 'kovan' | 'xdai' | 'bsc-main' | 'matic-main' | 'local';
export declare type Status = 'pending' | 'confirmed' | 'speedup' | 'cancel' | 'failed' | 'dropped';

@@ -76,0 +104,0 @@ export interface InputOutput {

6

package.json
{
"name": "bnc-sdk",
"version": "3.4.1",
"version": "3.5.0",
"description": "SDK to connect to the blocknative backend via a websocket connection",

@@ -29,3 +29,3 @@ "keywords": [

"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/cli": "^7.14.8",
"@babel/core": "^7.5.5",

@@ -39,3 +39,3 @@ "@babel/preset-env": "^7.5.5",

"babel-plugin-external-helpers": "^6.18.0",
"eslint": "^6.8.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^6.11.0",

@@ -42,0 +42,0 @@ "eslint-plugin-prettier": "^3.1.3",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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