@mastra/playground-ui 5.1.2-alpha.4 → 5.1.2-alpha.5

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.
@@ -1,5 +1,3 @@
1
- import { RefinedTrace, Span } from './types';
2
-
3
1
  /**
4
2
  *
5
3
  * @param duration duration of the span
@@ -11,5 +9,4 @@ export declare function formatOtelTimestamp(otelTimestamp: number): string;
11
9
  export declare function formatOtelTimestamp2(otelTimestamp: number): string;
12
10
  export declare function transformKey(key: string): string;
13
11
  export declare function cleanString(string: string): string;
14
- export declare const refineTraces: (traces: Span[], isWorkflow?: boolean) => RefinedTrace[];
15
12
  export declare const allowedAiSpanAttributes: string[];
@@ -20,7 +20,5 @@ export * from './ds/components/EmptyState/index';
20
20
  export * from './ds/icons/index';
21
21
  export * from './lib/polls';
22
22
  export * from './hooks/use-speech-recognition';
23
- export { useTraces } from './hooks/index';
24
23
  export type { TraceContextType } from './domains/traces/context/trace-context';
25
- export { refineTraces } from './domains/traces/utils';
26
24
  export * from './store/playground-store';
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "5.1.2-alpha.4",
4
+ "version": "5.1.2-alpha.5",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -117,7 +117,7 @@
117
117
  "vite": "^6.0.0",
118
118
  "vite-plugin-dts": "^3.9.1",
119
119
  "vite-plugin-lib-inject-css": "^2.2.1",
120
- "@mastra/core": "0.10.2-alpha.4"
120
+ "@mastra/core": "0.10.2-alpha.5"
121
121
  },
122
122
  "scripts": {
123
123
  "dev": "vite",
@@ -1 +0,0 @@
1
- export * from './use-traces';
@@ -1,9 +0,0 @@
1
- import { RefinedTrace } from '../domains/traces/types';
2
-
3
- export declare const useTraces: (componentName: string, isWorkflow?: boolean) => {
4
- traces: RefinedTrace[];
5
- firstCallLoading: boolean;
6
- error: {
7
- message: string;
8
- } | null;
9
- };