Compare commits

..

4 Commits

Author SHA1 Message Date
Elijah Duffy
a73105586b v0.1.2 2025-12-24 22:07:36 -08:00
Elijah Duffy
c6ff80655b node: fix readiness waiting for next result instead of using latest 2025-12-24 22:07:17 -08:00
Elijah Duffy
0956271e29 v0.1.1 2025-12-24 19:08:28 -08:00
Elijah Duffy
620be9ccda fix exports 2025-12-24 19:04:55 -08:00
3 changed files with 3 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
"publishConfig": { "publishConfig": {
"registry": "https://gitea.auvem.com/api/packages/end/npm/" "registry": "https://gitea.auvem.com/api/packages/end/npm/"
}, },
"version": "0.1.0", "version": "0.1.2",
"license": "MIT", "license": "MIT",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",

View File

@@ -1,2 +1,3 @@
export * from './liveness'; export * from './liveness';
export * from './readiness'; export * from './readiness';
export * from './checks';

View File

@@ -196,7 +196,7 @@ export class ScheduledReadiness {
*/ */
createHandler(): () => Promise<Response> { createHandler(): () => Promise<Response> {
return async () => { return async () => {
const result = await this.getNextResult(); const result = this.getResult();
if (!result) { if (!result) {
return new Response( return new Response(
JSON.stringify({ JSON.stringify({