From e0e0cec01208f9da3952edbedad74200d14aa55f Mon Sep 17 00:00:00 2001 From: Sam Noel Date: Wed, 26 Jun 2024 17:14:09 -0400 Subject: [PATCH] export JobUpdate type --- package.json | 4 ++-- src/index.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index e14eda2..ac2732d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@oada/jobs", - "version": "4.5.1", + "version": "4.5.2", "description": "A library for oada job based microservices", "source": "src/index.ts", "main": "dist/index.js", @@ -144,4 +144,4 @@ "resolutions": { "xksuid": "https://github.com/g12i/xksuid.git#fix-crypto-polyfill" } -} +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index 1560f8a..ab5d67b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -28,7 +28,7 @@ export { type FinishReporter, } from './Service.js'; export { JobError } from './Runner.js'; -export { Job } from './Job.js'; +export { type JobUpdate, Job } from './Job.js'; export { Logger } from './Logger.js'; export { parseAttachment, reportOnItem, type ReportConfig } from './Report.js'; export { postJob, postUpdate } from './utils.js';