contentful-management 11.35.1 → 11.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.
@@ -7714,14 +7714,17 @@ function createEnvironmentApi(makeRequest) {
7714
7714
  * .catch(console.error)
7715
7715
  * ```
7716
7716
  */
7717
- getLocales() {
7717
+ getLocales(query = {}) {
7718
7718
  const raw = this.toPlainObject();
7719
7719
  return makeRequest({
7720
7720
  entityType: 'Locale',
7721
7721
  action: 'getMany',
7722
7722
  params: {
7723
7723
  spaceId: raw.sys.space.sys.id,
7724
- environmentId: raw.sys.id
7724
+ environmentId: raw.sys.id,
7725
+ query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
7726
+ query
7727
+ }).params
7725
7728
  }
7726
7729
  }).then(data => wrapLocaleCollection(makeRequest, data));
7727
7730
  },
@@ -31053,7 +31056,7 @@ function createClient(params, opts = {}) {
31053
31056
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
31054
31057
  const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
31055
31058
  // @ts-expect-error
31056
- `${sdkMain}/${"11.35.1"}`, params.application, params.integration, params.feature);
31059
+ `${sdkMain}/${"11.36.0"}`, params.application, params.integration, params.feature);
31057
31060
  const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
31058
31061
  userAgent
31059
31062
  }));