@chainstream-io/sdk 0.2.12 → 0.2.13

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.
@@ -1,2 +1,2 @@
1
- export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, ha as PostOptions, T as TokenProvider } from './chainstream-BY9CsB3h.cjs';
1
+ export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, he as PostOptions, T as TokenProvider } from './chainstream-DeYuVTgJ.cjs';
2
2
  import 'axios';
@@ -1,2 +1,2 @@
1
- export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, ha as PostOptions, T as TokenProvider } from './chainstream-BY9CsB3h.js';
1
+ export { C as ChainStreamClient, y as ChainStreamClientOptions, z as ChainStreamRequestContext, he as PostOptions, T as TokenProvider } from './chainstream-DeYuVTgJ.js';
2
2
  import 'axios';
@@ -2198,6 +2198,7 @@ __export(wallet_exports, {
2198
2198
  calculatePnl: () => calculatePnl,
2199
2199
  getBalanceUpdates: () => getBalanceUpdates,
2200
2200
  getNetWorth: () => getNetWorth,
2201
+ getNetWorthByTokens: () => getNetWorthByTokens,
2201
2202
  getNetWorthChart: () => getNetWorthChart,
2202
2203
  getNetWorthDetails: () => getNetWorthDetails,
2203
2204
  getNetWorthSummary: () => getNetWorthSummary,
@@ -2245,6 +2246,12 @@ var getNetWorth = (chain, walletAddress, params, options) => {
2245
2246
  options
2246
2247
  );
2247
2248
  };
2249
+ var getNetWorthByTokens = (chain, walletAddress, params, options) => {
2250
+ return chainstreamApiClient(
2251
+ { url: `/v1/wallet/${chain}/${walletAddress}/net-worth/tokens`, method: "GET", params },
2252
+ options
2253
+ );
2254
+ };
2248
2255
  var getTokensBalance = (chain, walletAddress, params, options) => {
2249
2256
  return chainstreamApiClient(
2250
2257
  { url: `/v1/wallet/${chain}/${walletAddress}/tokens-balance`, method: "GET", params },