@carrot-protocol/boost-http-client 0.2.15-group-refactor1-dev-647d298 → 0.2.15-group-refactor1-dev-57b10ba

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/utils.d.ts CHANGED
@@ -1,5 +1,3 @@
1
1
  import { web3 } from "@coral-xyz/anchor";
2
2
  import { ClendAccount } from "./types";
3
3
  export declare function netValueInToken(clendAccount: ClendAccount, tokenMint: web3.PublicKey): number;
4
- export declare function getProductionGroups(): web3.PublicKey[];
5
- export declare function getStagingGroups(): web3.PublicKey[];
package/dist/utils.js CHANGED
@@ -1,9 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.netValueInToken = netValueInToken;
4
- exports.getProductionGroups = getProductionGroups;
5
- exports.getStagingGroups = getStagingGroups;
6
- const anchor_1 = require("@coral-xyz/anchor");
7
4
  // returns the net value of the clend account in a given tokens price
8
5
  function netValueInToken(clendAccount, tokenMint) {
9
6
  const clendAccountTokenBalance = clendAccount.balances.find((balance) => balance.mint.equals(tokenMint));
@@ -12,9 +9,3 @@ function netValueInToken(clendAccount, tokenMint) {
12
9
  }
13
10
  return clendAccount.netValue / clendAccountTokenBalance.price;
14
11
  }
15
- function getProductionGroups() {
16
- return [new anchor_1.web3.PublicKey("9bCWxAXFdWQ9GcZTSU3G636T6EyGXYMgaWR74yc7QZz8")];
17
- }
18
- function getStagingGroups() {
19
- return [new anchor_1.web3.PublicKey("HKMDWLBK7yUmorSx9argg2rYcro6KoWf41N57FccKRP5")];
20
- }
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-647d298",
3
+ "version": "0.2.15-group-refactor1-dev-57b10ba",
4
4
  "description": "HTTP client for Carrot Boost",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -14,7 +14,7 @@
14
14
  },
15
15
  "dependencies": {
16
16
  "@coral-xyz/anchor": "^0.29.0",
17
- "@carrot-protocol/clend-common": "0.1.8-group-refactor1-dev-0c262b0",
17
+ "@carrot-protocol/clend-common": "0.1.8-group-refactor1-dev-7bf1ecf",
18
18
  "axios": "^1.8.3",
19
19
  "bs58": "^6.0.0",
20
20
  "decimal.js": "^10.5.0"
package/src/utils.ts CHANGED
@@ -15,11 +15,3 @@ export function netValueInToken(
15
15
 
16
16
  return clendAccount.netValue / clendAccountTokenBalance.price;
17
17
  }
18
-
19
- export function getProductionGroups(): web3.PublicKey[] {
20
- return [new web3.PublicKey("9bCWxAXFdWQ9GcZTSU3G636T6EyGXYMgaWR74yc7QZz8")];
21
- }
22
-
23
- export function getStagingGroups(): web3.PublicKey[] {
24
- return [new web3.PublicKey("HKMDWLBK7yUmorSx9argg2rYcro6KoWf41N57FccKRP5")];
25
- }