@budibase/backend-core 3.2.37 → 3.2.39

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/index.js CHANGED
@@ -11598,11 +11598,9 @@ var TenantResolutionStrategy = /* @__PURE__ */ ((TenantResolutionStrategy2) => {
11598
11598
 
11599
11599
  // ../types/src/sdk/featureFlag.ts
11600
11600
  var FeatureFlagDefaults = {
11601
- ["DEFAULT_VALUES" /* DEFAULT_VALUES */]: true,
11602
- ["AUTOMATION_BRANCHING" /* AUTOMATION_BRANCHING */]: true,
11603
- ["AI_CUSTOM_CONFIGS" /* AI_CUSTOM_CONFIGS */]: true,
11604
- ["BUDIBASE_AI" /* BUDIBASE_AI */]: true,
11605
- ["USE_ZOD_VALIDATOR" /* USE_ZOD_VALIDATOR */]: false
11601
+ ["USE_ZOD_VALIDATOR" /* USE_ZOD_VALIDATOR */]: false,
11602
+ // Account-portal
11603
+ ["DIRECT_LOGIN_TO_ACCOUNT_PORTAL" /* DIRECT_LOGIN_TO_ACCOUNT_PORTAL */]: false
11606
11604
  };
11607
11605
 
11608
11606
  // ../types/src/sdk/cli/constants.ts
@@ -17086,7 +17084,7 @@ function sort(docs, sort2, sortOrder, sortType = "string" /* STRING */) {
17086
17084
  });
17087
17085
  }
17088
17086
  function limit(docs, limit2) {
17089
- const numLimit = parseFloat(limit2);
17087
+ const numLimit = typeof limit2 === "number" ? limit2 : parseFloat(limit2);
17090
17088
  if (isNaN(numLimit)) {
17091
17089
  return docs;
17092
17090
  }