@dnax/core 0.45.1 → 0.45.2

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/app/hono.ts CHANGED
@@ -813,6 +813,12 @@ function HonoInstance(): typeof app {
813
813
  });
814
814
  }
815
815
 
816
+ app.onError((err, c) => {
817
+ console.error(err?.message);
818
+ c.status(500);
819
+ return c.json({ message: err?.message });
820
+ });
821
+
816
822
  return app;
817
823
  }
818
824
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.45.1",
3
+ "version": "0.45.2",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {
package/types/index.ts CHANGED
@@ -56,6 +56,8 @@ export type Actions =
56
56
  | "aggregate"
57
57
  | "upload";
58
58
 
59
+ type omitWhenType = "insertOne" | "insertMany" | "updateOne" | "updateMany";
60
+
59
61
  export type Field = {
60
62
  name: string;
61
63
  type: