@chainstream-io/sdk 0.2.4 → 0.2.6
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 +2 -2
- 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 +2 -2
- package/dist/chainstream.mjs.map +1 -1
- package/dist/index.cjs +8 -2
- 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 +7 -2
- 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,
|
|
@@ -1833,11 +1834,11 @@ __export(jobs_exports, {
|
|
|
1833
1834
|
streaming: () => streaming
|
|
1834
1835
|
});
|
|
1835
1836
|
var get = (id, options) => {
|
|
1836
|
-
return chainstreamApiClient({ url: `/jobs/${id}`, method: "GET" }, options);
|
|
1837
|
+
return chainstreamApiClient({ url: `/v1/jobs/${id}`, method: "GET" }, options);
|
|
1837
1838
|
};
|
|
1838
1839
|
var streaming = (id, options) => {
|
|
1839
1840
|
return chainstreamApiClient(
|
|
1840
|
-
{ url: `/jobs/${id}/streaming`, method: "GET" },
|
|
1841
|
+
{ url: `/v1/jobs/${id}/streaming`, method: "GET" },
|
|
1841
1842
|
options
|
|
1842
1843
|
);
|
|
1843
1844
|
};
|
|
@@ -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,
|