@prefecthq/prefect-ui-library 3.5.8 → 3.5.9

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.
@@ -27,5 +27,5 @@ export declare class WorkspaceFlowRunsApi extends WorkspaceApi {
27
27
  resumeFlowRun(id: string, values?: SchemaValues): Promise<OrchestrationResult>;
28
28
  resumeFlowRunV2(id: string, values: SchemaValuesV2): Promise<OrchestrationResult>;
29
29
  deleteFlowRun(flowRunId: string): Promise<void>;
30
- downloadFlowRunLogsCsv(flowRunId: string, flowRunName: string | null): Promise<void>;
30
+ downloadFlowRunLogs(flowRunId: string, flowRunName: string | null): Promise<void>;
31
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/prefect-ui-library",
3
- "version": "3.5.8",
3
+ "version": "3.5.9",
4
4
  "private": false,
5
5
  "repository": {
6
6
  "type": "git",
@@ -21,7 +21,7 @@
21
21
  loading.value = true
22
22
 
23
23
  try {
24
- await api.flowRuns.downloadFlowRunLogsCsv(flowRun.id, flowRun.name)
24
+ await api.flowRuns.downloadFlowRunLogs(flowRun.id, flowRun.name)
25
25
  } catch (error) {
26
26
  console.error(error)
27
27
 
@@ -146,8 +146,8 @@ export class WorkspaceFlowRunsApi extends WorkspaceApi {
146
146
  return this.delete(`/${flowRunId}`)
147
147
  }
148
148
 
149
- public async downloadFlowRunLogsCsv(flowRunId: string, flowRunName: string | null): Promise<void> {
150
- const { data } = await this.get<string>(`/${flowRunId}/download-logs-csv`, {
149
+ public async downloadFlowRunLogs(flowRunId: string, flowRunName: string | null): Promise<void> {
150
+ const { data } = await this.get<string>(`/${flowRunId}/logs/download`, {
151
151
  responseType: 'stream',
152
152
  })
153
153