@swan-admin/swan-ai-measurements 1.1.71 → 1.1.72

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/esm/tryOn.js CHANGED
@@ -40,7 +40,7 @@ class TryOn {
40
40
  __classPrivateFieldSet(this, _TryOn_timerWaitingRef, setTimeout(() => {
41
41
  __classPrivateFieldGet(this, _TryOn_handleGetTryOnResult, "f").call(this, { onSuccess, onError, tryonId });
42
42
  __classPrivateFieldGet(this, _TryOn_disconnectSocket, "f").call(this);
43
- }, 150000), "f");
43
+ }, 300000), "f");
44
44
  });
45
45
  this.handleTryOnWebSocket = ({ tryonId, onError, onSuccess, onClose, onOpen }) => {
46
46
  if (checkParameters(tryonId) === false) {
package/dist/tryOn.js CHANGED
@@ -107,7 +107,7 @@ class TryOn {
107
107
  this.#timerWaitingRef = setTimeout(() => {
108
108
  this.#handleGetTryOnResult({ onSuccess, onError, tryonId });
109
109
  this.#disconnectSocket();
110
- }, 150000);
110
+ }, 300000);
111
111
  };
112
112
  handleTryOnWebSocket = ({ tryonId, onError, onSuccess, onClose, onOpen }) => {
113
113
  if ((0, utils_js_1.checkParameters)(tryonId) === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-admin/swan-ai-measurements",
3
- "version": "1.1.71",
3
+ "version": "1.1.72",
4
4
  "description": "provides ai measurement suggestion",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
package/src/tryOn.ts CHANGED
@@ -163,7 +163,7 @@ class TryOn {
163
163
  this.#timerWaitingRef = setTimeout(() => {
164
164
  this.#handleGetTryOnResult({ onSuccess, onError,tryonId });
165
165
  this.#disconnectSocket();
166
- }, 150000);
166
+ }, 300000);
167
167
  };
168
168
 
169
169
  handleTryOnWebSocket = ({ tryonId, onError, onSuccess, onClose, onOpen }: HandleTryOnWebSocketParams): void => {