@primestyleai/tryon 5.10.13 → 5.10.14

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.
@@ -18068,6 +18068,15 @@ function SectionDetailView({
18068
18068
  const inlineHasLengths = (sectionResult?.availableLengths?.length || 0) > 0;
18069
18069
  const effectiveRecLength = recLength || inlineLengthRec;
18070
18070
  const hasLengthSource = !!(lengthEntry || inlineHasLengths);
18071
+ if (hasLengthSource && !lengthDetails.length) {
18072
+ const userHcm = userMeasurements["height"] || 0;
18073
+ details.push({
18074
+ measurement: "Height",
18075
+ userValue: userHcm ? String(userHcm) : "",
18076
+ chartRange: effectiveRecLength || "",
18077
+ fit: "good"
18078
+ });
18079
+ }
18071
18080
  if (!details.length) return [];
18072
18081
  const isFromLength = new Set(lengthDetails.length > 0 ? lengthDetails.map((m2) => m2.measurement) : hasLengthSource ? ["Height"] : []);
18073
18082
  return details.map((m2) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.10.13",
3
+ "version": "5.10.14",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",