@contentful/field-editor-reference 6.13.5 → 6.13.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.
@@ -556,7 +556,9 @@ function useEntity(entityType, entityId, options) {
556
556
  entityId,
557
557
  options?.spaceId ?? space,
558
558
  options?.environmentId ?? environment,
559
- releaseId
559
+ ...releaseId ? [
560
+ releaseId
561
+ ] : []
560
562
  ], ()=>getEntity(entityType, entityId, releaseId, options), {
561
563
  enabled: options?.enabled
562
564
  });
@@ -468,7 +468,9 @@ export function useEntity(entityType, entityId, options) {
468
468
  entityId,
469
469
  options?.spaceId ?? space,
470
470
  options?.environmentId ?? environment,
471
- releaseId
471
+ ...releaseId ? [
472
+ releaseId
473
+ ] : []
472
474
  ], ()=>getEntity(entityType, entityId, releaseId, options), {
473
475
  enabled: options?.enabled
474
476
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contentful/field-editor-reference",
3
- "version": "6.13.5",
3
+ "version": "6.13.7",
4
4
  "main": "dist/cjs/index.js",
5
5
  "module": "dist/esm/index.js",
6
6
  "types": "dist/types/index.d.ts",
@@ -39,7 +39,7 @@
39
39
  "@contentful/f36-components": "^5.4.1",
40
40
  "@contentful/f36-icons": "^5.4.1",
41
41
  "@contentful/f36-tokens": "^5.1.0",
42
- "@contentful/field-editor-shared": "^2.13.5",
42
+ "@contentful/field-editor-shared": "^2.13.6",
43
43
  "@contentful/mimetype": "^2.2.29",
44
44
  "@dnd-kit/core": "^6.0.8",
45
45
  "@dnd-kit/modifiers": "^7.0.0",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "registry": "https://npm.pkg.github.com/"
69
69
  },
70
- "gitHead": "0534746626483359387c34f48952d76f90be6e1f"
70
+ "gitHead": "f679be8ac8868788ca52d88939ae63d3ea046775"
71
71
  }