@primestyleai/tryon 5.10.183 → 5.10.184
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("
|
|
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
|
|
34861
|
+
showProfileCompletionCta: measurementType === "body" && !!sizingResult && sizingResult.found !== false,
|
|
34862
34862
|
onProfileCompletionCta: handleCompleteProfileFromResult,
|
|
34863
34863
|
bodyLandmarks,
|
|
34864
34864
|
faceLandmarks,
|