@dotcms/uve 1.2.1-next.14 → 1.2.1-next.15

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dotcms/uve",
3
- "version": "1.2.1-next.14",
3
+ "version": "1.2.1-next.15",
4
4
  "description": "Official JavaScript library for interacting with Universal Visual Editor (UVE)",
5
5
  "repository": {
6
6
  "type": "git",
package/public.cjs.js CHANGED
@@ -273,6 +273,8 @@ const getContainersData = (dotCMSPageAsset, columContainer) => {
273
273
  container
274
274
  } = dotContainer;
275
275
  const acceptTypes = containerStructures?.map(structure => structure.contentTypeVar).join(',') ?? '';
276
+ // TODO: Check if the variantId is needed and we need to find another way to get it.
277
+ // Since the parentPermissionable is not available after: https://github.com/dotCMS/core/pull/32890
276
278
  const variantId = container?.parentPermissionable?.variantId;
277
279
  const maxContentlets = container?.maxContentlets ?? 0;
278
280
  const path = container?.path;
package/public.esm.js CHANGED
@@ -271,6 +271,8 @@ const getContainersData = (dotCMSPageAsset, columContainer) => {
271
271
  container
272
272
  } = dotContainer;
273
273
  const acceptTypes = containerStructures?.map(structure => structure.contentTypeVar).join(',') ?? '';
274
+ // TODO: Check if the variantId is needed and we need to find another way to get it.
275
+ // Since the parentPermissionable is not available after: https://github.com/dotCMS/core/pull/32890
274
276
  const variantId = container?.parentPermissionable?.variantId;
275
277
  const maxContentlets = container?.maxContentlets ?? 0;
276
278
  const path = container?.path;