Skip to content

Commit

Permalink
fix: remove jobs imports to remove lib-prom import/bug
Browse files Browse the repository at this point in the history
  • Loading branch information
sanoel committed Nov 19, 2024
1 parent b1e80af commit 212be05
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion lib/jobs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import debug from 'debug';
import { deserializeError } from 'serialize-error';

import type Job from '@oada/types/oada/service/job.js';
import { postUpdate } from '@oada/jobs';
//import { postUpdate } from '@oada/jobs';

import type { Change, Json, OADAClient } from './index.js';
import type { ChangeBody, Result } from './utils.js';
Expand Down Expand Up @@ -78,9 +78,11 @@ export class JobsRequest<J extends Job> {
return { _id, key };
}

/*
async postUpdate(update: string | Json, status: string): Promise<void> {
return postUpdate(this.oada, this.oadaId!, update, status || 'in-progress');
}
*/

#wrapListener<E extends JobEvent<J>>(
type: string,
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oada/client",
"version": "5.2.3",
"version": "5.2.4",
"description": "A lightweight client tool to interact with an OADA-compliant server",
"repository": "https://github.com/OADA/client",
"main": "./dist/index.js",
Expand Down Expand Up @@ -195,4 +195,4 @@
"deep-clone@^4.0.0": "patch:deep-clone@npm%3A4.0.0#./.yarn/patches/deep-clone-npm-4.0.0-eee1a48c85.patch",
"xksuid": "https://github.com/aultac/xksuid.git#commit=22a21eb01331191feb62ea0a4e67d96d2e80f396"
}
}
}

0 comments on commit 212be05

Please sign in to comment.