@dbos-inc/koa-serve 3.0.17-preview → 3.0.20-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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dbos-inc/koa-serve",
3
- "version": "3.0.17-preview",
3
+ "version": "3.0.20-preview",
4
4
  "description": "DBOS HTTP Package for serving workflows with Koa",
5
5
  "license": "MIT",
6
6
  "repository": {
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
- classOrInst: target,
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
- classOrInst: target,
159
+ ctorOrProto: target,
160
160
  name: propertyKey.toString(),
161
161
  param: parameterIndex,
162
162
  },