contentful-management 11.55.0-canary.7 → 11.55.0-canary.8

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.
@@ -2215,6 +2215,9 @@ const unarchive = (http, params) => {
2215
2215
  return _raw__WEBPACK_IMPORTED_MODULE_1__.del(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/entries/${params.entryId}/archived`);
2216
2216
  };
2217
2217
  const create = (http, params, rawData) => {
2218
+ if (params.releaseId) {
2219
+ return _release_entry__WEBPACK_IMPORTED_MODULE_2__.create(http, params, rawData, {});
2220
+ }
2218
2221
  const data = (0,fast_copy__WEBPACK_IMPORTED_MODULE_0__["default"])(rawData);
2219
2222
  return _raw__WEBPACK_IMPORTED_MODULE_1__.post(http, `/spaces/${params.spaceId}/environments/${params.environmentId}/entries`, data, {
2220
2223
  headers: {
@@ -32823,7 +32826,7 @@ function createClient(params, opts = {}) {
32823
32826
  const sdkMain = opts.type === 'plain' ? 'contentful-management-plain.js' : 'contentful-management.js';
32824
32827
  const userAgent = (0,contentful_sdk_core__WEBPACK_IMPORTED_MODULE_0__.getUserAgentHeader)(
32825
32828
  // @ts-expect-error
32826
- `${sdkMain}/${"11.55.0-canary.7"}`, params.application, params.integration, params.feature);
32829
+ `${sdkMain}/${"11.55.0-canary.8"}`, params.application, params.integration, params.feature);
32827
32830
  const adapter = (0,_create_adapter__WEBPACK_IMPORTED_MODULE_1__.createAdapter)(_objectSpread(_objectSpread({}, params), {}, {
32828
32831
  userAgent
32829
32832
  }));