Comparing version 4.4.1 to 4.5.0
/// <reference types="node" /> | ||
import multiSim from './multi-sim'; | ||
import MultiChain from './multichain'; | ||
@@ -29,2 +30,3 @@ import { InitializationOptions, Ac, TransactionHandler, EventObject, Tx, Transaction, Account, Event, Unsubscribe, Simulate, Destroy, Configuration, SDKError, LimitRules, EnhancedConfig, MultiChainOptions } from './types'; | ||
simulate: Simulate; | ||
multiSim: typeof multiSim; | ||
unsubscribe: Unsubscribe; | ||
@@ -31,0 +33,0 @@ destroy: Destroy; |
import { Subject } from 'rxjs'; | ||
import { SimulationTransactionOutput } from './types'; | ||
export declare const simulations$: Subject<SimulationTransactionOutput>; | ||
export declare const simulations$: Subject<{ | ||
eventId: string; | ||
transaction: SimulationTransactionOutput | SimulationTransactionOutput[]; | ||
}>; |
@@ -211,3 +211,2 @@ import { Subject } from 'rxjs'; | ||
export interface SimulationTransaction { | ||
id: string; | ||
from: string; | ||
@@ -228,3 +227,3 @@ to: string; | ||
export interface SimulationTransactionOutput { | ||
id: string; | ||
id?: string; | ||
from: string; | ||
@@ -254,2 +253,3 @@ to: string; | ||
eventCode: string; | ||
eventId?: string; | ||
categoryCode: string; | ||
@@ -269,3 +269,3 @@ }; | ||
export declare type TransactionEventObject = BaseEventObject & { | ||
transaction: BitcoinTransactionEventObject | EthereumTransactionEventObject | SimulationTransaction; | ||
transaction: BitcoinTransactionEventObject | EthereumTransactionEventObject | SimulationTransaction | SimulationTransaction[]; | ||
}; | ||
@@ -272,0 +272,0 @@ export declare type WalletEventObject = BaseEventObject & { |
{ | ||
"name": "bnc-sdk", | ||
"version": "4.4.1", | ||
"version": "4.5.0", | ||
"description": "SDK to connect to the blocknative backend via a websocket connection", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
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
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
653230
23
20153