@mastra/client-js 1.51.0-alpha.0 → 1.51.0-alpha.2

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.
@@ -3,7 +3,7 @@ name: mastra-client-js
3
3
  description: Documentation for @mastra/client-js. Use when working with @mastra/client-js APIs, configuration, or implementation.
4
4
  metadata:
5
5
  package: "@mastra/client-js"
6
- version: "1.51.0-alpha.0"
6
+ version: "1.51.0-alpha.2"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.51.0-alpha.0",
2
+ "version": "1.51.0-alpha.2",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -3626,6 +3626,7 @@ var Workflow = class extends BaseResource {
3626
3626
  if (params?.offset !== null && params?.offset !== void 0 && !isNaN(Number(params?.offset))) searchParams.set("offset", String(params.offset));
3627
3627
  if (params?.resourceId) searchParams.set("resourceId", params.resourceId);
3628
3628
  if (params?.status) searchParams.set("status", params.status);
3629
+ if (params?.summary) searchParams.set("summary", "true");
3629
3630
  if (requestContextParam) searchParams.set("requestContext", requestContextParam);
3630
3631
  if (searchParams.size) return this.request(`/workflows/${this.workflowId}/runs?${searchParams}`);
3631
3632
  else return this.request(`/workflows/${this.workflowId}/runs`);