@dnax/core 0.35.0 → 0.36.0

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.
Files changed (2) hide show
  1. package/app/hono.ts +2 -2
  2. package/package.json +1 -1
package/app/hono.ts CHANGED
@@ -566,7 +566,7 @@ function HonoInstance(): typeof app {
566
566
 
567
567
  if (
568
568
  col?.api?.fields?.select?.length &&
569
- Array.isArray(col?.api?.fields?.select?.length)
569
+ Array.isArray(col?.api?.fields?.select)
570
570
  ) {
571
571
  if (body?.withMeta) {
572
572
  try {
@@ -578,7 +578,7 @@ function HonoInstance(): typeof app {
578
578
  }
579
579
  if (
580
580
  col?.api?.fields?.hidden?.length &&
581
- Array.isArray(col?.api?.fields?.hidden?.length)
581
+ Array.isArray(col?.api?.fields?.hidden)
582
582
  ) {
583
583
  let privateFields = col?.api?.fields?.hidden || [];
584
584
  privateFields.push("password");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dnax/core",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "bin": {