@carrot-protocol/boost-http-client 0.2.15-group-refactor1-dev-c424fc7 → 0.2.15-group-refactor1-dev-44d9397

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.js CHANGED
@@ -213,6 +213,7 @@ class Client {
213
213
  const clendAccountAddress = new anchor_1.web3.PublicKey(accountAndSumary.clendAccount.key);
214
214
  const clendAccount = {
215
215
  key: clendAccountAddress,
216
+ group: new anchor_1.web3.PublicKey(ca.group),
216
217
  balances: clendAccountBalances,
217
218
  netValue: Number(ca.netValue),
218
219
  netApy: Number(ca.netApy),
package/dist/types.d.ts CHANGED
@@ -87,6 +87,7 @@ export interface UserBalance {
87
87
  }
88
88
  export interface ClendAccount {
89
89
  key: web3.PublicKey;
90
+ group: web3.PublicKey;
90
91
  balances: ClendAccountBalance[];
91
92
  netValue: number;
92
93
  netApy: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carrot-protocol/boost-http-client",
3
- "version": "0.2.15-group-refactor1-dev-c424fc7",
3
+ "version": "0.2.15-group-refactor1-dev-44d9397",
4
4
  "description": "HTTP client for Carrot Boost",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/src/index.ts CHANGED
@@ -239,6 +239,7 @@ export class Client {
239
239
  );
240
240
  const clendAccount: ClendAccount = {
241
241
  key: clendAccountAddress,
242
+ group: new web3.PublicKey(ca.group),
242
243
  balances: clendAccountBalances,
243
244
  netValue: Number(ca.netValue),
244
245
  netApy: Number(ca.netApy),
package/src/types.ts CHANGED
@@ -101,6 +101,7 @@ export interface UserBalance {
101
101
 
102
102
  export interface ClendAccount {
103
103
  key: web3.PublicKey;
104
+ group: web3.PublicKey;
104
105
  balances: ClendAccountBalance[];
105
106
  netValue: number;
106
107
  netApy: number;