@dbos-inc/koa-serve 3.0.11-preview.gc9233b8190 → 3.0.16-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.11-preview.gc9233b8190",
3
+ "version": "3.0.16-preview",
4
4
  "description": "DBOS HTTP Package for serving workflows with Koa",
5
5
  "license": "MIT",
6
6
  "repository": {
package/src/index.ts CHANGED
@@ -15,6 +15,11 @@ export {
15
15
 
16
16
  export { DBOSKoa, DBOSKoaAuthContext, DBOSKoaClassReg, DBOSKoaAuthMiddleware, DBOSKoaConfig } from './dboskoa';
17
17
 
18
+ // Export these as unbound functions. We know this is safe,
19
+ // and it more closely matches the existing library syntax.
20
+ // (Using the static function as a decorator, for some reason,
21
+ // is erroneously getting considered as unbound by some lint versions,
22
+ // as there are no parens following it?)
18
23
  export const DefaultArgOptional = DBOSKoa.defaultArgOptional;
19
24
  export const DefaultArgRequired = DBOSKoa.defaultArgRequired;
20
25
  export const DefaultArgValidate = DBOSKoa.defaultArgValidate;