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

@defichain/jellyfish-api-core

Package Overview
Dependencies
Maintainers
2
Versions
294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defichain/jellyfish-api-core - npm Package Compare versions

Comparing version 0.0.21 to 0.0.22

19

dist/category/poolpair.d.ts

@@ -34,5 +34,5 @@ import BigNumber from 'bignumber.js';

* @param {boolean} verbose default = true, otherwise only symbol, name, status, idTokenA, idTokenB
* @return {Promise<PoolPairResult>}
* @return {Promise<PoolPairsResult>}
*/
listPoolPairs(pagination?: PoolPairPagination, verbose?: boolean): Promise<PoolPairResult>;
listPoolPairs(pagination?: PoolPairPagination, verbose?: boolean): Promise<PoolPairsResult>;
/**

@@ -43,5 +43,5 @@ * Returns information about pool

* @param {boolean} verbose default = true, otherwise only symbol, name, status, idTokena, idTokenB
* @return {Promise<PoolPairResult>}
* @return {Promise<PoolPairsResult>}
*/
getPoolPair(symbol: string, verbose?: boolean): Promise<PoolPairResult>;
getPoolPair(symbol: string, verbose?: boolean): Promise<PoolPairsResult>;
/**

@@ -70,5 +70,5 @@ * Add pool liquidity transaction

* @param {boolean} [options.isMineOnly=true]
* @return {Promise<PoolShareResult>}
* @return {Promise<PoolSharesResult>}
*/
listPoolShares(pagination?: PoolPairPagination, verbose?: boolean, options?: PoolShareOptions): Promise<PoolShareResult>;
listPoolShares(pagination?: PoolPairPagination, verbose?: boolean, options?: PoolShareOptions): Promise<PoolSharesResult>;
}

@@ -88,3 +88,3 @@ export interface CreatePoolPairMetadata {

}
export interface PoolPairResult {
export interface PoolPairsResult {
[id: string]: PoolPairInfo;

@@ -113,6 +113,6 @@ }

}
export interface PoolShareResult {
export interface PoolSharesResult {
[id: string]: PoolShareInfo;
}
interface PoolShareInfo {
export interface PoolShareInfo {
poolID: string;

@@ -142,2 +142,1 @@ owner: string;

}
export {};

@@ -49,3 +49,3 @@ "use strict";

* @param {boolean} verbose default = true, otherwise only symbol, name, status, idTokenA, idTokenB
* @return {Promise<PoolPairResult>}
* @return {Promise<PoolPairsResult>}
*/

@@ -66,3 +66,3 @@ listPoolPairs(pagination = {

* @param {boolean} verbose default = true, otherwise only symbol, name, status, idTokena, idTokenB
* @return {Promise<PoolPairResult>}
* @return {Promise<PoolPairsResult>}
*/

@@ -102,3 +102,3 @@ getPoolPair(symbol, verbose = true) {

* @param {boolean} [options.isMineOnly=true]
* @return {Promise<PoolShareResult>}
* @return {Promise<PoolSharesResult>}
*/

@@ -105,0 +105,0 @@ listPoolShares(pagination = {

{
"private": false,
"name": "@defichain/jellyfish-api-core",
"version": "0.0.21",
"version": "0.0.22",
"description": "A collection of TypeScript + JavaScript tools and libraries for DeFi Blockchain developers to build decentralized finance on Bitcoin",

@@ -38,7 +38,7 @@ "keywords": [

"dependencies": {
"@defichain/jellyfish-json": "^0.0.21"
"@defichain/jellyfish-json": "^0.0.22"
},
"devDependencies": {
"@defichain/testcontainers": "^0.0.21"
"@defichain/testcontainers": "^0.0.22"
}
}
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