@primestyleai/tryon 5.8.49 → 5.8.50

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.
@@ -13660,7 +13660,7 @@ function PrimeStyleTryonInner({
13660
13660
  category: measurementType,
13661
13661
  ...Object.keys(faceMm).length > 0 && { faceMeasurementsMm: faceMm, irisConfidence: 1 }
13662
13662
  };
13663
- const minVisible = new Promise((r) => setTimeout(r, 3200));
13663
+ const minVisible = new Promise((r) => setTimeout(r, 4500));
13664
13664
  try {
13665
13665
  const resp = await fetch(`${baseUrl}/api/v1/sizing/face-recommend`, {
13666
13666
  method: "POST",
@@ -13877,7 +13877,7 @@ function PrimeStyleTryonInner({
13877
13877
  const measurementType = detectMeasurementType(productTitle);
13878
13878
  if (measurementType === "face" || measurementType === "head") {
13879
13879
  setFaceLandmarks(null);
13880
- const minVisible = new Promise((r) => setTimeout(r, 3200));
13880
+ const minVisible = new Promise((r) => setTimeout(r, 4500));
13881
13881
  try {
13882
13882
  const faceResult = await detectFaceMeasurements(objUrl);
13883
13883
  if (faceResult) setFaceLandmarks(faceResult.landmarks);
@@ -23084,7 +23084,7 @@ function PrimeStyleTryonInner({
23084
23084
  category: measurementType,
23085
23085
  ...Object.keys(faceMm).length > 0 && { faceMeasurementsMm: faceMm, irisConfidence: 1 }
23086
23086
  };
23087
- const minVisible = new Promise((r2) => setTimeout(r2, 3200));
23087
+ const minVisible = new Promise((r2) => setTimeout(r2, 4500));
23088
23088
  try {
23089
23089
  const resp = await fetch(`${baseUrl}/api/v1/sizing/face-recommend`, {
23090
23090
  method: "POST",
@@ -23301,7 +23301,7 @@ function PrimeStyleTryonInner({
23301
23301
  const measurementType = detectMeasurementType(productTitle);
23302
23302
  if (measurementType === "face" || measurementType === "head") {
23303
23303
  setFaceLandmarks(null);
23304
- const minVisible = new Promise((r2) => setTimeout(r2, 3200));
23304
+ const minVisible = new Promise((r2) => setTimeout(r2, 4500));
23305
23305
  try {
23306
23306
  const faceResult = await detectFaceMeasurements(objUrl);
23307
23307
  if (faceResult) setFaceLandmarks(faceResult.landmarks);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primestyleai/tryon",
3
- "version": "5.8.49",
3
+ "version": "5.8.50",
4
4
  "description": "PrimeStyle Virtual Try-On SDK — React component & Web Component",
5
5
  "type": "module",
6
6
  "main": "dist/primestyle-tryon.js",