@mastra/client-js 1.57.0-alpha.7 → 1.57.1-alpha.0
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/client.d.ts.map +1 -1
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-client-js-observability.md +16 -15
- package/dist/docs/references/reference-observability-tracing-advanced-queries.md +33 -16
- package/dist/index.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/resources/workflow.d.ts.map +1 -1
- package/dist/route-types.generated.d.ts +49 -2
- package/dist/route-types.generated.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -4432,7 +4432,7 @@ var Workflow = class extends BaseResource {
|
|
|
4432
4432
|
if (params?.summary) searchParams.set("summary", "true");
|
|
4433
4433
|
if (requestContextParam) searchParams.set("requestContext", requestContextParam);
|
|
4434
4434
|
if (searchParams.size) return this.request(`/workflows/${this.workflowId}/runs?${searchParams}`);
|
|
4435
|
-
|
|
4435
|
+
return this.request(`/workflows/${this.workflowId}/runs`);
|
|
4436
4436
|
}
|
|
4437
4437
|
/**
|
|
4438
4438
|
* Retrieves a specific workflow run by its ID
|
|
@@ -7878,7 +7878,7 @@ var MastraClient = class extends BaseResource {
|
|
|
7878
7878
|
else searchParams.set("filters", _filters);
|
|
7879
7879
|
}
|
|
7880
7880
|
if (searchParams.size) return this.request(`/logs?${searchParams}`);
|
|
7881
|
-
|
|
7881
|
+
return this.request(`/logs`);
|
|
7882
7882
|
}
|
|
7883
7883
|
/**
|
|
7884
7884
|
* Gets logs for a specific run
|
|
@@ -7901,7 +7901,7 @@ var MastraClient = class extends BaseResource {
|
|
|
7901
7901
|
else searchParams.set("filters", _filters);
|
|
7902
7902
|
}
|
|
7903
7903
|
if (searchParams.size) return this.request(`/logs/${runId}?${searchParams}`);
|
|
7904
|
-
|
|
7904
|
+
return this.request(`/logs/${runId}`);
|
|
7905
7905
|
}
|
|
7906
7906
|
/**
|
|
7907
7907
|
* List of all log transports
|