@treely/strapi-slices 7.6.1 → 7.6.3

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.
@@ -1,4 +1,4 @@
1
1
  export declare const STRAPI_URI: string;
2
2
  export declare const STRAPI_DEFAULT_PAGE_SIZE = "100";
3
- export declare const STRAPI_DEFAULT_POPULATE_DEPTH = "5";
3
+ export declare const STRAPI_DEFAULT_POPULATE_DEPTH = "6";
4
4
  export declare const STRAPI_FALLBACK_LOCALE = "en";
@@ -390,7 +390,7 @@ function _taggedTemplateLiteralLoose(e, t) {
390
390
 
391
391
  var STRAPI_URI = process.env.NEXT_PUBLIC_STRAPI_URI || 'http://127.0.0.1:1337';
392
392
  var STRAPI_DEFAULT_PAGE_SIZE = '100';
393
- var STRAPI_DEFAULT_POPULATE_DEPTH = '5';
393
+ var STRAPI_DEFAULT_POPULATE_DEPTH = '6';
394
394
  var STRAPI_FALLBACK_LOCALE = 'en';
395
395
 
396
396
  var strapiClient = /*#__PURE__*/axiosCacheInterceptor.setupCache(/*#__PURE__*/axios__default.default.create({
@@ -6188,7 +6188,7 @@ var Events = function Events(_ref) {
6188
6188
  var now = new Date().toISOString();
6189
6189
  var buildEventsUrl = function buildEventsUrl(index, batchSize, startFilter) {
6190
6190
  var url = new URL("/treely-events", STRAPI_URI);
6191
- url.searchParams.append('pagination[startDate]', (index * batchSize).toString());
6191
+ url.searchParams.append('pagination[start]', (index * batchSize).toString());
6192
6192
  url.searchParams.append('pagination[limit]', batchSize.toString());
6193
6193
  url.searchParams.append(startFilter, now);
6194
6194
  url.searchParams.append('locale', locale);