@s2-dev/streamstore 0.15.12 → 0.15.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.
package/bin/mcp-server.js CHANGED
@@ -34196,9 +34196,9 @@ var init_config = __esm(() => {
34196
34196
  SDK_METADATA = {
34197
34197
  language: "typescript",
34198
34198
  openapiDocVersion: "1.0.0",
34199
- sdkVersion: "0.15.12",
34200
- genVersion: "2.716.10",
34201
- userAgent: "speakeasy-sdk/typescript 0.15.12 2.716.10 1.0.0 @s2-dev/streamstore"
34199
+ sdkVersion: "0.15.13",
34200
+ genVersion: "2.716.14",
34201
+ userAgent: "speakeasy-sdk/typescript 0.15.13 2.716.14 1.0.0 @s2-dev/streamstore"
34202
34202
  };
34203
34203
  });
34204
34204
 
@@ -42849,7 +42849,11 @@ async function $do8(client, request, options) {
42849
42849
  }];
42850
42850
  }
42851
42851
  const nextFunc = (responseData) => {
42852
- const nextCursor = query(responseData, "$.basins[-1].name")[0];
42852
+ const hasMore = query(responseData, "$.Result.has_more")[0];
42853
+ if (hasMore !== true) {
42854
+ return { next: () => null };
42855
+ }
42856
+ const nextCursor = query(responseData, "$.Result.basins[-1].name")[0];
42853
42857
  if (typeof nextCursor !== "string") {
42854
42858
  return { next: () => null };
42855
42859
  }
@@ -44500,7 +44504,11 @@ async function $do20(client, request, options) {
44500
44504
  }];
44501
44505
  }
44502
44506
  const nextFunc = (responseData) => {
44503
- const nextCursor = query(responseData, "$.streams[-1].name")[0];
44507
+ const hasMore = query(responseData, "$.Result.has_more")[0];
44508
+ if (hasMore !== true) {
44509
+ return { next: () => null };
44510
+ }
44511
+ const nextCursor = query(responseData, "$.Result.streams[-1].name")[0];
44504
44512
  if (typeof nextCursor !== "string") {
44505
44513
  return { next: () => null };
44506
44514
  }
@@ -44686,7 +44694,7 @@ var init_streamsReconfigureStream2 = __esm(() => {
44686
44694
  function createMCPServer(deps) {
44687
44695
  const server = new McpServer({
44688
44696
  name: "S2",
44689
- version: "0.15.12"
44697
+ version: "0.15.13"
44690
44698
  });
44691
44699
  const client = new S2Core({
44692
44700
  accessToken: deps.accessToken,
@@ -45943,7 +45951,7 @@ var routes = rn({
45943
45951
  var app = Ve(routes, {
45944
45952
  name: "mcp",
45945
45953
  versionInfo: {
45946
- currentVersion: "0.15.12"
45954
+ currentVersion: "0.15.13"
45947
45955
  }
45948
45956
  });
45949
45957
  _t(app, process3.argv.slice(2), buildContext(process3));
@@ -45951,5 +45959,5 @@ export {
45951
45959
  app
45952
45960
  };
45953
45961
 
45954
- //# debugId=68149598CBF1402664756E2164756E21
45962
+ //# debugId=B601911852CB4BAC64756E2164756E21
45955
45963
  //# sourceMappingURL=mcp-server.js.map