@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/{chainstream-BYuhgvxX.d.cts → chainstream-BD-x5_ck.d.cts} +33 -2
- package/dist/{chainstream-BYuhgvxX.d.ts → chainstream-BD-x5_ck.d.ts} +33 -2
- package/dist/chainstream.cjs +1 -1
- package/dist/chainstream.cjs.map +1 -1
- package/dist/chainstream.d.cts +1 -1
- package/dist/chainstream.d.ts +1 -1
- package/dist/chainstream.mjs +1 -1
- package/dist/chainstream.mjs.map +1 -1
- package/dist/index.cjs +7 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/stream/index.d.cts +1 -1
- package/dist/stream/index.d.ts +1 -1
- package/package.json +1 -1
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,
|