@treely/strapi-slices 8.2.7 → 8.3.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.
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { setupCache } from "axios-cache-interceptor";
7
7
 
8
8
  // src/constants/strapi.ts
9
9
  var STRAPI_URI = process.env.NEXT_PUBLIC_STRAPI_URI || "http://127.0.0.1:1337";
10
- var STRAPI_DEFAULT_PAGE_SIZE = "100";
10
+ var STRAPI_DEFAULT_PAGE_SIZE = "1000";
11
11
  var STRAPI_DEFAULT_POPULATE_DEPTH = "6";
12
12
  var STRAPI_FALLBACK_LOCALE = "en";
13
13
 
@@ -128,7 +128,7 @@ var getStrapiProjects_default = getStrapiProjects;
128
128
  var getPortfolioProjects = async (locale = "en", preview = false) => {
129
129
  const cache2 = preview ? false : void 0;
130
130
  const [{ data: fpmProjects }, strapiProjects] = await Promise.all([
131
- fpmClient_default.get("/public/projects", { cache: cache2 }),
131
+ fpmClient_default.get("/public/projects?limit=1000", { cache: cache2 }),
132
132
  getStrapiProjects_default(locale, STRAPI_DEFAULT_POPULATE_DEPTH, preview)
133
133
  ]);
134
134
  return fpmProjects.map((fpmProject) => {