@primestyleai/tryon 5.10.183 → 5.10.185

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.
@@ -28252,7 +28252,7 @@ function MySizingProfilesView({
28252
28252
  let latestId = null;
28253
28253
  if (typeof window !== "undefined") {
28254
28254
  try {
28255
- const raw = localStorage.getItem("primestyle_profiles");
28255
+ const raw = localStorage.getItem("profiles");
28256
28256
  if (raw) {
28257
28257
  const list = JSON.parse(raw);
28258
28258
  if (list.length > 0) latestId = list[0].id ?? null;
@@ -34858,7 +34858,7 @@ function PrimeStyleTryonInner({
34858
34858
  tryOnProcessing,
34859
34859
  tryOnStartedAt,
34860
34860
  tryOnAvailable: usedAiPhotoSizing && sizingResult?.found !== false,
34861
- showProfileCompletionCta: measurementType !== "foot" && !!sizingResult && sizingResult.found !== false && (!profileSession || profiles.length === 0),
34861
+ showProfileCompletionCta: measurementType === "body" && !!sizingResult && sizingResult.found !== false && (!profileSession || profiles.length === 0),
34862
34862
  onProfileCompletionCta: handleCompleteProfileFromResult,
34863
34863
  bodyLandmarks,
34864
34864
  faceLandmarks,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.10.183",
3
+ "version": "5.10.185",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",