idmission-web-sdk 2.3.35 → 2.3.36
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 +6 -5
- 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 +6 -5
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +6 -5
- 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 +3 -3
package/dist/sdk2.esm.js
CHANGED
|
@@ -204,7 +204,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
204
204
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
var webSdkVersion = '2.3.
|
|
207
|
+
var webSdkVersion = '2.3.36';
|
|
208
208
|
|
|
209
209
|
function getPlatform() {
|
|
210
210
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -8031,6 +8031,7 @@ function IdCardBorderSvg(_a) {
|
|
|
8031
8031
|
totalLength = _f[0],
|
|
8032
8032
|
setTotalLength = _f[1];
|
|
8033
8033
|
var resolvedProgress = progress * totalLength;
|
|
8034
|
+
var scaledBorderRadius = borderRadius * (typeof props.height === 'number' ? props.height / 500 : 1);
|
|
8034
8035
|
var rectRef = function rectRef(r) {
|
|
8035
8036
|
try {
|
|
8036
8037
|
if (isProgressBar && r) setTotalLength(r.getTotalLength());
|
|
@@ -8049,16 +8050,16 @@ function IdCardBorderSvg(_a) {
|
|
|
8049
8050
|
y: "0",
|
|
8050
8051
|
width: props.width || '100%',
|
|
8051
8052
|
height: props.height || '100%',
|
|
8052
|
-
rx:
|
|
8053
|
-
ry:
|
|
8053
|
+
rx: scaledBorderRadius,
|
|
8054
|
+
ry: scaledBorderRadius
|
|
8054
8055
|
}))), /*#__PURE__*/React__default.createElement(IdCardBorderRect, {
|
|
8055
8056
|
ref: rectRef,
|
|
8056
8057
|
x: "0",
|
|
8057
8058
|
y: "0",
|
|
8058
8059
|
width: props.width || '100%',
|
|
8059
8060
|
height: props.height || '100%',
|
|
8060
|
-
rx:
|
|
8061
|
-
ry:
|
|
8061
|
+
rx: scaledBorderRadius,
|
|
8062
|
+
ry: scaledBorderRadius,
|
|
8062
8063
|
clipPath: "url(#round-corner)",
|
|
8063
8064
|
stroke: borderColor,
|
|
8064
8065
|
strokeWidth: borderWidth,
|