@akinon/pz-masterpass 2.0.0-beta.13 → 2.0.0-beta.15
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/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/views/otp-modal/index.tsx +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @akinon/pz-masterpass
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.15
|
|
4
|
+
|
|
5
|
+
## 2.0.0-beta.14
|
|
6
|
+
|
|
7
|
+
### Minor Changes
|
|
8
|
+
|
|
9
|
+
- 6ad72e8d: ZERO-4032: Add loading state management for payment submissions across multiple components and add safe guarding
|
|
10
|
+
|
|
3
11
|
## 2.0.0-beta.13
|
|
4
12
|
|
|
5
13
|
## 1.118.0
|
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ export const MasterpassOtpModal = ({
|
|
|
47
47
|
|
|
48
48
|
const onFormSubmit = useCallback(
|
|
49
49
|
(data: { otp_code: string }) => {
|
|
50
|
-
if (!token || !language) {
|
|
50
|
+
if (!token || !language || isBusy) {
|
|
51
51
|
return;
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -92,7 +92,7 @@ export const MasterpassOtpModal = ({
|
|
|
92
92
|
const resendSms = () => {
|
|
93
93
|
const token = window.MFS.getLastToken();
|
|
94
94
|
|
|
95
|
-
if (!token
|
|
95
|
+
if (!token || isBusy) {
|
|
96
96
|
return;
|
|
97
97
|
}
|
|
98
98
|
|