@dbos-inc/koa-serve 3.0.23-preview → 3.0.26-preview
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.
package/package.json
CHANGED
package/src/dboshttp.ts
CHANGED
|
@@ -88,7 +88,7 @@ export function isClientRequestError(e: Error) {
|
|
|
88
88
|
return DBOSErrors.isDataValidationError(e);
|
|
89
89
|
}
|
|
90
90
|
|
|
91
|
-
export class DBOSHTTPBase
|
|
91
|
+
export class DBOSHTTPBase implements DBOSLifecycleCallback {
|
|
92
92
|
static HTTP_OPERATION_TYPE: string = 'http';
|
|
93
93
|
|
|
94
94
|
static get httpRequest(): DBOSHTTPRequest {
|
|
@@ -171,7 +171,7 @@ export class DBOSHTTPBase extends DBOSLifecycleCallback {
|
|
|
171
171
|
return arginfo?.argSource ?? ArgSources.AUTO;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
|
|
174
|
+
logRegisteredEndpoints(): void {
|
|
175
175
|
DBOS.logger.info('HTTP endpoints supported:');
|
|
176
176
|
const eps = DBOS.getAssociatedInfo(this);
|
|
177
177
|
|