Skip to content

Commit 91655e0

Browse files
committed
Remove MetadataGenerator re-export from client and update index exports for clarity
1 parent e150943 commit 91655e0

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

packages/durabletask-js/src/client/client.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,6 @@ import { HistoryEvent } from "../orchestration/history-event";
2525
import { convertProtoHistoryEvent } from "../utils/history-event-converter";
2626
import { Logger, ConsoleLogger } from "../types/logger.type";
2727

28-
// Re-export MetadataGenerator for backward compatibility
29-
export { MetadataGenerator } from "../utils/grpc-helper.util";
30-
3128
/**
3229
* Options for scheduling a new orchestration instance.
3330
*/

packages/durabletask-js/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
// Licensed under the MIT License.
33

44
// Client and Worker
5-
export { TaskHubGrpcClient, TaskHubGrpcClientOptions, StartOrchestrationOptions, MetadataGenerator } from "./client/client";
5+
export { TaskHubGrpcClient, TaskHubGrpcClientOptions, StartOrchestrationOptions } from "./client/client";
6+
export { MetadataGenerator } from "./utils/grpc-helper.util";
67
export { TaskHubGrpcWorker, TaskHubGrpcWorkerOptions } from "./worker/task-hub-grpc-worker";
78

89
// Contexts

0 commit comments

Comments
 (0)