@chainstream-io/sdk 0.2.3 → 0.2.5

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.cjs CHANGED
@@ -62,6 +62,7 @@ __export(index_exports, {
62
62
  GetNewTokensSortBy: () => GetNewTokensSortBy,
63
63
  GetNewTokensSortDirection: () => GetNewTokensSortDirection,
64
64
  GetNewTokensTag: () => GetNewTokensTag,
65
+ GetPoolsDirection: () => GetPoolsDirection,
65
66
  GetPoolsSortBy: () => GetPoolsSortBy,
66
67
  GetPoolsSortDirection: () => GetPoolsSortDirection,
67
68
  GetPricesDirection: () => GetPricesDirection,
@@ -2312,7 +2313,7 @@ __export(wallet_exports, {
2312
2313
  });
2313
2314
  var getPnl = (chain, walletAddress, params, options) => {
2314
2315
  return chainstreamApiClient(
2315
- { url: `/v1/wallet/${chain}/${walletAddress}`, method: "GET", params },
2316
+ { url: `/v1/wallet/${chain}/${walletAddress}/pnl`, method: "GET", params },
2316
2317
  options
2317
2318
  );
2318
2319
  };
@@ -2771,6 +2772,10 @@ var GetTokensSortDirection = {
2771
2772
  ASC: "ASC",
2772
2773
  DESC: "DESC"
2773
2774
  };
2775
+ var GetPoolsDirection = {
2776
+ next: "next",
2777
+ prev: "prev"
2778
+ };
2774
2779
  var GetPoolsSortBy = {
2775
2780
  tvlInSol: "tvlInSol",
2776
2781
  tvlInUsd: "tvlInUsd"
@@ -3205,6 +3210,7 @@ var ListEndpointsOrder = {
3205
3210
  GetNewTokensSortBy,
3206
3211
  GetNewTokensSortDirection,
3207
3212
  GetNewTokensTag,
3213
+ GetPoolsDirection,
3208
3214
  GetPoolsSortBy,
3209
3215
  GetPoolsSortDirection,
3210
3216
  GetPricesDirection,