contentful-management 11.35.1 → 11.36.0-beta.1

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.
@@ -7843,13 +7843,17 @@ function createEnvironmentApi(makeRequest) {
7843
7843
  * ```
7844
7844
  */
7845
7845
  getLocales: function getLocales() {
7846
+ var query = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
7846
7847
  var raw = this.toPlainObject();
7847
7848
  return makeRequest({
7848
7849
  entityType: 'Locale',
7849
7850
  action: 'getMany',
7850
7851
  params: {
7851
7852
  spaceId: raw.sys.space.sys.id,
7852
- environmentId: raw.sys.id
7853
+ environmentId: raw.sys.id,
7854
+ query: (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.createRequestConfig)({
7855
+ query: query
7856
+ }).params
7853
7857
  }
7854
7858
  }).then(function (data) {
7855
7859
  return wrapLocaleCollection(makeRequest, data);
@@ -27733,7 +27737,7 @@ function createClient(params) {
27733
27737
  var opts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
27734
27738
  var sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
27735
27739
  var userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)( // @ts-expect-error
27736
- "".concat(sdkMain, "/").concat("11.35.1"), params.application, params.integration, params.feature);
27740
+ "".concat(sdkMain, "/").concat("11.36.0-beta.1"), params.application, params.integration, params.feature);
27737
27741
  var adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
27738
27742
  userAgent: userAgent
27739
27743
  }));