@zodic/shared 0.0.227 → 0.0.228

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.
@@ -438,8 +438,8 @@ export class ConceptService {
438
438
 
439
439
  if (
440
440
  !override &&
441
- conceptEN?.content!.length > 0 &&
442
- conceptPT?.content!.length > 0
441
+ Array.isArray(conceptEN?.content) && conceptEN.content.length > 0 &&
442
+ Array.isArray(conceptPT?.content) && conceptPT.content.length > 0
443
443
  ) {
444
444
  console.log(`⚡ Content already exists for ${conceptSlug}, skipping.`);
445
445
  return; // ✅ Skip regeneration
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zodic/shared",
3
- "version": "0.0.227",
3
+ "version": "0.0.228",
4
4
  "module": "index.ts",
5
5
  "type": "module",
6
6
  "publishConfig": {