@dotcms/uve 1.2.3-next.2 → 1.2.3-next.4

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.3-next.2",
3
+ "version": "1.2.3-next.4",
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,14 +273,10 @@ 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
278
- const variantId = container?.parentPermissionable?.variantId;
279
276
  const maxContentlets = container?.maxContentlets ?? 0;
280
277
  const path = container?.path;
281
278
  return {
282
279
  uuid,
283
- variantId,
284
280
  acceptTypes,
285
281
  maxContentlets,
286
282
  identifier: path ?? identifier
package/public.esm.js CHANGED
@@ -271,14 +271,10 @@ 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
276
- const variantId = container?.parentPermissionable?.variantId;
277
274
  const maxContentlets = container?.maxContentlets ?? 0;
278
275
  const path = container?.path;
279
276
  return {
280
277
  uuid,
281
- variantId,
282
278
  acceptTypes,
283
279
  maxContentlets,
284
280
  identifier: path ?? identifier