@mastra/client-js 0.0.0-main-test-05-11-2025-2-20251105214713 → 0.0.0-main-test-05-11-2025-2-20251105223343
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/CHANGELOG.md +5 -3
- package/dist/client.d.ts +4 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/resources/observability.d.ts +7 -7
- package/dist/resources/observability.d.ts.map +1 -1
- package/dist/types.d.ts +4 -4
- package/dist/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -2563,15 +2563,15 @@ var Observability = class extends BaseResource {
|
|
|
2563
2563
|
super(options);
|
|
2564
2564
|
}
|
|
2565
2565
|
/**
|
|
2566
|
-
* Retrieves a specific
|
|
2566
|
+
* Retrieves a specific trace by ID
|
|
2567
2567
|
* @param traceId - ID of the trace to retrieve
|
|
2568
|
-
* @returns Promise containing the
|
|
2568
|
+
* @returns Promise containing the trace with all its spans
|
|
2569
2569
|
*/
|
|
2570
2570
|
getTrace(traceId) {
|
|
2571
2571
|
return this.request(`/api/observability/traces/${traceId}`);
|
|
2572
2572
|
}
|
|
2573
2573
|
/**
|
|
2574
|
-
* Retrieves paginated list of
|
|
2574
|
+
* Retrieves paginated list of traces with optional filtering
|
|
2575
2575
|
* @param params - Parameters for pagination and filtering
|
|
2576
2576
|
* @returns Promise containing paginated traces and pagination info
|
|
2577
2577
|
*/
|
|
@@ -3116,10 +3116,10 @@ var MastraClient = class extends BaseResource {
|
|
|
3116
3116
|
body: params
|
|
3117
3117
|
});
|
|
3118
3118
|
}
|
|
3119
|
-
|
|
3119
|
+
getTrace(traceId) {
|
|
3120
3120
|
return this.observability.getTrace(traceId);
|
|
3121
3121
|
}
|
|
3122
|
-
|
|
3122
|
+
getTraces(params) {
|
|
3123
3123
|
return this.observability.getTraces(params);
|
|
3124
3124
|
}
|
|
3125
3125
|
listScoresBySpan(params) {
|