@defichain/jellyfish-api-core
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -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" | ||
} | ||
} |
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
83842
2121
+ Added@defichain/jellyfish-json@0.0.22(transitive)
- Removed@defichain/jellyfish-json@0.0.21(transitive)