ugcinc-render 1.8.202 → 1.8.203

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/dist/index.js CHANGED
@@ -5409,7 +5409,7 @@ function validatePublicInput(input) {
5409
5409
  }
5410
5410
  if (input.messages && input.messages.length > 0) {
5411
5411
  input.messages.forEach((msg, index) => {
5412
- if (!msg.text?.trim()) {
5412
+ if (msg.text === void 0 || msg.text === null) {
5413
5413
  errors.push({
5414
5414
  field: `messages[${index}].text`,
5415
5415
  message: `Message ${index + 1}: text is required`
package/dist/index.mjs CHANGED
@@ -4455,7 +4455,7 @@ function validatePublicInput(input) {
4455
4455
  }
4456
4456
  if (input.messages && input.messages.length > 0) {
4457
4457
  input.messages.forEach((msg, index) => {
4458
- if (!msg.text?.trim()) {
4458
+ if (msg.text === void 0 || msg.text === null) {
4459
4459
  errors.push({
4460
4460
  field: `messages[${index}].text`,
4461
4461
  message: `Message ${index + 1}: text is required`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ugcinc-render",
3
- "version": "1.8.202",
3
+ "version": "1.8.203",
4
4
  "description": "Unified rendering package for UGC Inc - shared types, components, and compositions for pixel-perfect client/server rendering",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",