idmission-web-sdk 2.3.63 → 2.3.64

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.
@@ -1 +1 @@
1
- {"version":3,"file":"cropping.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/cropping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAA;AAG9C,wBAAgB,eAAe,CAC7B,SAAS,EAAE,iBAAiB,GAAG,IAAI,EACnC,UAAU,EAAE,iBAAiB,GAAG,IAAI,EACpC,YAAY,EAAE,iBAAiB,GAAG,IAAI,EACtC,KAAK,EAAE,SAAS,EAChB,IAAI,CAAC,EAAE,IAAI,EACX,OAAO,SAAO,EACd,SAAS,CAAC,EAAE,MAAM,GACjB,MAAM,CA2DR;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,iBAAiB,EACtB,MAAM,CAAC,EAAE,iBAAiB,GACzB,iBAAiB,CAUnB"}
1
+ {"version":3,"file":"cropping.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/cropping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,sBAAsB,CAAA;AAE5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAA;AAG9C,wBAAgB,eAAe,CAC7B,SAAS,EAAE,iBAAiB,GAAG,IAAI,EACnC,UAAU,EAAE,iBAAiB,GAAG,IAAI,EACpC,YAAY,EAAE,iBAAiB,GAAG,IAAI,EACtC,KAAK,EAAE,SAAS,EAChB,IAAI,CAAC,EAAE,IAAI,EACX,OAAO,SAAO,EACd,SAAS,CAAC,EAAE,MAAM,GACjB,MAAM,CA0DR;AAED,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,KAAK,EACZ,GAAG,EAAE,iBAAiB,EACtB,MAAM,CAAC,EAAE,iBAAiB,GACzB,iBAAiB,CAUnB"}
@@ -236,7 +236,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
236
236
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
237
237
  };
238
238
 
239
- var webSdkVersion = '2.3.63';
239
+ var webSdkVersion = '2.3.64';
240
240
 
241
241
  function getPlatform() {
242
242
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -2263,7 +2263,6 @@ function cropToShoulders(rawCanvas, cropCanvas, resizeCanvas, frame, face, quali
2263
2263
  xMin = _b.xMin,
2264
2264
  width = _b.width;
2265
2265
  var desiredWidth = frame.height * 0.6;
2266
- alert("this side! ".concat(desiredWidth, "x").concat(frame.height));
2267
2266
  var faceCenterX = xMin + width / 2;
2268
2267
  var xPos = Math.max(0, faceCenterX - desiredWidth / 2);
2269
2268
  cropCanvas.width = desiredWidth;