idmission-web-sdk 2.1.58 → 2.1.60
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/sdk2.cjs.development.js +8 -4
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +8 -4
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +8 -4
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -234,7 +234,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
234
234
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
235
235
|
};
|
|
236
236
|
|
|
237
|
-
var webSdkVersion = '2.1.
|
|
237
|
+
var webSdkVersion = '2.1.60';
|
|
238
238
|
|
|
239
239
|
function getPlatform() {
|
|
240
240
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -8373,9 +8373,13 @@ function IdCardBorderSvg(_a) {
|
|
|
8373
8373
|
setResolvedProgress = _g[1];
|
|
8374
8374
|
React.useLayoutEffect(function () {
|
|
8375
8375
|
var _a, _b;
|
|
8376
|
-
|
|
8377
|
-
|
|
8378
|
-
|
|
8376
|
+
try {
|
|
8377
|
+
var totalLength_1 = (_b = (_a = rectRef.current) === null || _a === void 0 ? void 0 : _a.getTotalLength()) !== null && _b !== void 0 ? _b : 0;
|
|
8378
|
+
setTotalLength(totalLength_1);
|
|
8379
|
+
setResolvedProgress(progress * totalLength_1);
|
|
8380
|
+
} catch (e) {
|
|
8381
|
+
warn('failed to measure SVG length', e);
|
|
8382
|
+
}
|
|
8379
8383
|
}, [progress]);
|
|
8380
8384
|
return /*#__PURE__*/React__namespace.default.createElement(SvgOverlay, _assign({
|
|
8381
8385
|
height: "100%",
|