@dbos-inc/koa-serve 3.0.16-preview → 3.0.19-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/dist/src/dboshttp.js +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/dboshttp.ts +2 -2
package/package.json
CHANGED
package/src/dboshttp.ts
CHANGED
|
@@ -108,7 +108,7 @@ export class DBOSHTTPBase extends DBOSLifecycleCallback {
|
|
|
108
108
|
descriptor: TypedPropertyDescriptor<(this: This, ...args: Args) => Promise<Return>>,
|
|
109
109
|
) {
|
|
110
110
|
const { registration, regInfo } = DBOS.associateFunctionWithInfo(er, descriptor.value!, {
|
|
111
|
-
|
|
111
|
+
ctorOrProto: target,
|
|
112
112
|
name: propertyKey,
|
|
113
113
|
});
|
|
114
114
|
const handlerRegistration = regInfo as DBOSHTTPMethodInfo;
|
|
@@ -156,7 +156,7 @@ export class DBOSHTTPBase extends DBOSLifecycleCallback {
|
|
|
156
156
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument
|
|
157
157
|
Object.getOwnPropertyDescriptor(target, propertyKey)!.value,
|
|
158
158
|
{
|
|
159
|
-
|
|
159
|
+
ctorOrProto: target,
|
|
160
160
|
name: propertyKey.toString(),
|
|
161
161
|
param: parameterIndex,
|
|
162
162
|
},
|