@veloceapps/sdk 7.0.2-80 → 7.0.2-82

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.
@@ -1835,7 +1835,7 @@ const metadataToElement = (metadata, recursive = true) => {
1835
1835
  };
1836
1836
  const normalizedElMetadata = normalizeElementMetadata(elMetadata);
1837
1837
  if (!metadata.script || !EXPORTED_CLASS_REGEX.test(metadata.script)) {
1838
- throw new UiBuildError(`'${metadata.name}' component script is missing an exported class`, metadata);
1838
+ throw new UiBuildError(`'${metadata.path}' component script is missing an exported class`, metadata);
1839
1839
  }
1840
1840
  const script = btoaSafe(metadata.script?.replace(EXPORTED_CLASS_REGEX, `@ElementDefinition(${stringifyElementMetadata(normalizedElMetadata)})\nexport class Script`));
1841
1841
  const template = btoaSafe(metadata.template);