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

@ledgerhq/coin-framework

Package Overview
Dependencies
Maintainers
0
Versions
329
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/coin-framework - npm Package Compare versions

Comparing version 0.21.0-nightly.4 to 0.21.0-nightly.5

14

lib-es/api/types.d.ts

@@ -26,2 +26,6 @@ export type BlockInfo = {

};
export type Pagination = {
limit: number;
start?: number;
};
export type Api = {

@@ -34,4 +38,12 @@ broadcast: (tx: string) => Promise<string>;

lastBlock: () => Promise<BlockInfo>;
listOperations: (address: string, blockHeight: number) => Promise<Operation[]>;
/**
*
* @param address
* @param pagination The max number of operation to receive and the "id" or "index" to start from (see returns value).
* @returns Operations found and the next "id" or "index" to use for pagination (i.e. `start` property).\
* If `0` is returns, no pagination needed.
* This "id" or "index" value, thus it has functional meaning, is different for each blockchain.
*/
listOperations: (address: string, pagination: Pagination) => Promise<[Operation[], number]>;
};
//# sourceMappingURL=types.d.ts.map

@@ -26,2 +26,6 @@ export type BlockInfo = {

};
export type Pagination = {
limit: number;
start?: number;
};
export type Api = {

@@ -34,4 +38,12 @@ broadcast: (tx: string) => Promise<string>;

lastBlock: () => Promise<BlockInfo>;
listOperations: (address: string, blockHeight: number) => Promise<Operation[]>;
/**
*
* @param address
* @param pagination The max number of operation to receive and the "id" or "index" to start from (see returns value).
* @returns Operations found and the next "id" or "index" to use for pagination (i.e. `start` property).\
* If `0` is returns, no pagination needed.
* This "id" or "index" value, thus it has functional meaning, is different for each blockchain.
*/
listOperations: (address: string, pagination: Pagination) => Promise<[Operation[], number]>;
};
//# sourceMappingURL=types.d.ts.map

2

package.json
{
"name": "@ledgerhq/coin-framework",
"version": "0.21.0-nightly.4",
"version": "0.21.0-nightly.5",
"description": "Ledger framework for Coin integration",

@@ -5,0 +5,0 @@ "keywords": [

@@ -30,2 +30,3 @@ export type BlockInfo = {

export type Pagination = { limit: number; start?: number };
export type Api = {

@@ -38,3 +39,11 @@ broadcast: (tx: string) => Promise<string>;

lastBlock: () => Promise<BlockInfo>;
listOperations: (address: string, blockHeight: number) => Promise<Operation[]>;
/**
*
* @param address
* @param pagination The max number of operation to receive and the "id" or "index" to start from (see returns value).
* @returns Operations found and the next "id" or "index" to use for pagination (i.e. `start` property).\
* If `0` is returns, no pagination needed.
* This "id" or "index" value, thus it has functional meaning, is different for each blockchain.
*/
listOperations: (address: string, pagination: Pagination) => Promise<[Operation[], number]>;
};

Sorry, the diff of this file is not supported yet

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

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