idmission-web-sdk 1.0.233 → 1.0.234

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.
@@ -49,7 +49,7 @@ var LanguageDetector__default = /*#__PURE__*/_interopDefaultLegacy(LanguageDetec
49
49
  var i18n__default = /*#__PURE__*/_interopDefaultLegacy(i18n);
50
50
  var SignatureCanvas__default = /*#__PURE__*/_interopDefaultLegacy(SignatureCanvas);
51
51
 
52
- var webSdkVersion = '1.0.233';
52
+ var webSdkVersion = '1.0.234';
53
53
 
54
54
  function getPlatform() {
55
55
  if (typeof window === 'undefined') return;
@@ -16798,6 +16798,11 @@ var SignatureKYC = function SignatureKYC(_a) {
16798
16798
  var _e = React.useState(0),
16799
16799
  attempt = _e[0],
16800
16800
  setAttempt = _e[1];
16801
+ var onRetryClicked = React.useCallback(function () {
16802
+ setAttempt(function (n) {
16803
+ return n + 1;
16804
+ });
16805
+ }, []);
16801
16806
  return /*#__PURE__*/React__default['default'].createElement(AuthProvider, {
16802
16807
  sessionId: sessionId,
16803
16808
  authUrl: authUrl
@@ -16829,11 +16834,7 @@ var SignatureKYC = function SignatureKYC(_a) {
16829
16834
  debugMode: debugMode,
16830
16835
  verbiage: verbiage,
16831
16836
  onUserCancel: onUserCancel,
16832
- onRetryClicked: function onRetryClicked() {
16833
- setAttempt(function (n) {
16834
- return n + 1;
16835
- });
16836
- }
16837
+ onRetryClicked: onRetryClicked
16837
16838
  })))));
16838
16839
  };
16839
16840