@jpool/bond-sdk 0.9.0-next.19 → 0.9.0-next.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1865,7 +1865,7 @@ declare class JBondClient {
|
|
|
1865
1865
|
* Get all bond states with total collected collateral
|
|
1866
1866
|
*/
|
|
1867
1867
|
getAllBondStates(bondType: BondType, session_status?: SessionStatus): Promise<{
|
|
1868
|
-
|
|
1868
|
+
bondState: {
|
|
1869
1869
|
name: string;
|
|
1870
1870
|
bondType: ({
|
|
1871
1871
|
crowdfunding?: undefined;
|
|
@@ -1912,7 +1912,7 @@ declare class JBondClient {
|
|
|
1912
1912
|
});
|
|
1913
1913
|
bump: number;
|
|
1914
1914
|
};
|
|
1915
|
-
|
|
1915
|
+
stateStats: {
|
|
1916
1916
|
totalCollected: number;
|
|
1917
1917
|
status: SessionStatus;
|
|
1918
1918
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1865,7 +1865,7 @@ declare class JBondClient {
|
|
|
1865
1865
|
* Get all bond states with total collected collateral
|
|
1866
1866
|
*/
|
|
1867
1867
|
getAllBondStates(bondType: BondType, session_status?: SessionStatus): Promise<{
|
|
1868
|
-
|
|
1868
|
+
bondState: {
|
|
1869
1869
|
name: string;
|
|
1870
1870
|
bondType: ({
|
|
1871
1871
|
crowdfunding?: undefined;
|
|
@@ -1912,7 +1912,7 @@ declare class JBondClient {
|
|
|
1912
1912
|
});
|
|
1913
1913
|
bump: number;
|
|
1914
1914
|
};
|
|
1915
|
-
|
|
1915
|
+
stateStats: {
|
|
1916
1916
|
totalCollected: number;
|
|
1917
1917
|
status: SessionStatus;
|
|
1918
1918
|
};
|
package/dist/index.js
CHANGED
|
@@ -6866,8 +6866,8 @@ var JBondClient = class _JBondClient {
|
|
|
6866
6866
|
const bondStateStats = await this.getBondStateStats(state);
|
|
6867
6867
|
bondStates.push(
|
|
6868
6868
|
{
|
|
6869
|
-
|
|
6870
|
-
|
|
6869
|
+
bondState: state,
|
|
6870
|
+
stateStats: bondStateStats
|
|
6871
6871
|
}
|
|
6872
6872
|
);
|
|
6873
6873
|
}
|