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

@bitaccess/coinlib-common

Package Overview
Dependencies
Maintainers
24
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bitaccess/coinlib-common - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

dist/lib/BalanceMonitor.d.ts

@@ -8,5 +8,5 @@ import { BalanceActivityCallback, GetBalanceActivityOptions, RetrieveBalanceActivitiesResult, BalanceActivity, NewBlockCallback, FilterBlockAddressesCallback, BlockInfo } from './types';

retrieveBalanceActivities(address: string, callbackFn: BalanceActivityCallback, options?: GetBalanceActivityOptions): Promise<RetrieveBalanceActivitiesResult>;
txToBalanceActivity(address: string, tx: object): Promise<BalanceActivity | BalanceActivity[] | null>;
txToBalanceActivity(address: string, tx: object): Promise<BalanceActivity[]>;
subscribeNewBlock?: (callbackFn: NewBlockCallback) => Promise<void>;
retrieveBlockBalanceActivities?: (block: number | string, callbackFn: BalanceActivityCallback, filterRelevantAddresses: FilterBlockAddressesCallback) => Promise<BlockInfo>;
}

@@ -703,3 +703,3 @@ import * as t from 'io-ts';

export declare type GetBalanceActivityOptions = t.TypeOf<typeof GetBalanceActivityOptions>;
export declare type BalanceActivityCallback = (ba: BalanceActivity, rawTx?: any) => Promise<void> | void;
export declare type BalanceActivityCallback = (ba: BalanceActivity[], rawTx?: any) => Promise<void> | void;
export declare const BalanceActivityCallback: import("@faast/ts-common").FunctionC<BalanceActivityCallback>;

@@ -706,0 +706,0 @@ export declare type NewBlockCallback = (b: {

{
"name": "@bitaccess/coinlib-common",
"version": "6.0.0",
"version": "6.0.1",
"description": "Common module used by coinlib",

@@ -53,3 +53,3 @@ "main": "dist/index.cjs.js",

},
"gitHead": "e11bc1520a014177ad66089c0425055412cb12bf"
"gitHead": "a7434c68209050ae0f90e9a92cd55902bb29aa07"
}

@@ -77,3 +77,3 @@ import {

*/
txToBalanceActivity(address: string, tx: object): Promise<BalanceActivity | BalanceActivity[] | null>
txToBalanceActivity(address: string, tx: object): Promise<BalanceActivity[]>

@@ -80,0 +80,0 @@ /**

@@ -399,3 +399,3 @@ import * as t from 'io-ts'

export type BalanceActivityCallback = (ba: BalanceActivity, rawTx?: any) => Promise<void> | void
export type BalanceActivityCallback = (ba: BalanceActivity[], rawTx?: any) => Promise<void> | void
export const BalanceActivityCallback = functionT<BalanceActivityCallback>('BalanceActivityCallback')

@@ -402,0 +402,0 @@

Sorry, the diff of this file is not supported yet

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