@contentful/field-editor-reference 5.1.6 → 5.1.7

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.
@@ -2271,11 +2271,11 @@ var _constate = /*#__PURE__*/constate(function useInitServices(props) {
2271
2271
  };
2272
2272
  }, [onEntityChanged, queryCache, isSameSpaceEntityQueryKey, queryClient]);
2273
2273
  return {
2274
+ ids: props.sdk.ids,
2274
2275
  cmaClient: cmaClient,
2275
2276
  fetch: fetch,
2276
2277
  getResource: getResource,
2277
2278
  getEntity: getEntity,
2278
- ids: props.sdk.ids,
2279
2279
  getEntityScheduledActions: getEntityScheduledActions
2280
2280
  };
2281
2281
  }, function (_ref5) {
@@ -2291,8 +2291,13 @@ var _constate = /*#__PURE__*/constate(function useInitServices(props) {
2291
2291
  getEntityScheduledActions: getEntityScheduledActions
2292
2292
  };
2293
2293
  }, function (_ref7) {
2294
+ var _ids$environmentAlias;
2295
+
2294
2296
  var ids = _ref7.ids;
2295
- return ids;
2297
+ return {
2298
+ environment: (_ids$environmentAlias = ids.environmentAlias) != null ? _ids$environmentAlias : ids.environment,
2299
+ space: ids.space
2300
+ };
2296
2301
  }),
2297
2302
  InternalServiceProvider = _constate[0],
2298
2303
  useEntityLoader = _constate[2],