@razorpay/blade 5.1.4 → 5.1.5

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.
@@ -9704,7 +9704,8 @@ var OTPInput = function OTPInput(_ref) {
9704
9704
  placeholder = _ref.placeholder,
9705
9705
  successText = _ref.successText,
9706
9706
  validationState = _ref.validationState,
9707
- inputValue = _ref.value;
9707
+ inputValue = _ref.value,
9708
+ isMasked = _ref.isMasked;
9708
9709
  var inputRefs = [];
9709
9710
 
9710
9711
  var _useState = useState(otpToArray(inputValue)),
@@ -9924,7 +9925,8 @@ var OTPInput = function OTPInput(_ref) {
9924
9925
  successText: successText,
9925
9926
  errorText: errorText,
9926
9927
  helpText: helpText,
9927
- hideFormHint: true
9928
+ hideFormHint: true,
9929
+ type: isMasked ? 'password' : undefined
9928
9930
  })
9929
9931
  }, "".concat(inputId, "-").concat(index)));
9930
9932
  };