@mastra/client-js 1.57.0-alpha.1 → 1.57.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.57.0-alpha.1"
6
+ version: "1.57.0-alpha.2"
7
7
  ---
8
8
 
9
9
  ## When to use
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.57.0-alpha.1",
2
+ "version": "1.57.0-alpha.2",
3
3
  "package": "@mastra/client-js",
4
4
  "exports": {},
5
5
  "modules": {}
package/dist/index.cjs CHANGED
@@ -4522,7 +4522,7 @@ var Workflow = class extends BaseResource {
4522
4522
  */
4523
4523
  async createRun(params) {
4524
4524
  const searchParams = new URLSearchParams();
4525
- if (!!params?.runId) searchParams.set("runId", params.runId);
4525
+ if (params?.runId) searchParams.set("runId", params.runId);
4526
4526
  const res = await this.request(`/workflows/${this.workflowId}/create-run?${searchParams.toString()}`, {
4527
4527
  method: "POST",
4528
4528
  body: {
@@ -5080,7 +5080,7 @@ var AgentBuilder = class extends BaseResource {
5080
5080
  */
5081
5081
  async createRun(params) {
5082
5082
  const searchParams = new URLSearchParams();
5083
- if (!!params?.runId) searchParams.set("runId", params.runId);
5083
+ if (params?.runId) searchParams.set("runId", params.runId);
5084
5084
  const url = `/agent-builder/${this.actionId}/create-run${searchParams.toString() ? `?${searchParams.toString()}` : ""}`;
5085
5085
  return this.request(url, { method: "POST" });
5086
5086
  }