@redneckz/wildless-cms-uni-blocks 0.14.624 → 0.14.625
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/bundle/bundle.umd.js +8 -4
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/VerifyPhoneDialog/handleSendCode.js +7 -3
- package/dist/ui-kit/VerifyPhoneDialog/handleSendCode.js.map +1 -1
- package/lib/ui-kit/VerifyPhoneDialog/handleSendCode.js +7 -3
- package/lib/ui-kit/VerifyPhoneDialog/handleSendCode.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +8 -4
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/VerifyPhoneDialog/handleSendCode.js +7 -3
- package/mobile/dist/ui-kit/VerifyPhoneDialog/handleSendCode.js.map +1 -1
- package/mobile/lib/ui-kit/VerifyPhoneDialog/handleSendCode.js +7 -3
- package/mobile/lib/ui-kit/VerifyPhoneDialog/handleSendCode.js.map +1 -1
- package/mobile/src/ui-kit/VerifyPhoneDialog/handleSendCode.ts +9 -3
- package/package.json +1 -1
- package/src/ui-kit/VerifyPhoneDialog/handleSendCode.ts +9 -3
package/bundle/bundle.umd.js
CHANGED
|
@@ -3639,15 +3639,19 @@
|
|
|
3639
3639
|
await sendCode({
|
|
3640
3640
|
phoneNumber: phoneNumber,
|
|
3641
3641
|
smsCodesSetName: { key: 'AUTHENTICATION' },
|
|
3642
|
+
}).then((res) => {
|
|
3643
|
+
if (typeof res !== 'string' &&
|
|
3644
|
+
res.errorMessage &&
|
|
3645
|
+
res.errorMessage.startsWith(`Too many request for phoneNumber [${phoneNumber}]`)) {
|
|
3646
|
+
throw res;
|
|
3647
|
+
}
|
|
3642
3648
|
});
|
|
3643
3649
|
setAttemps(0);
|
|
3644
3650
|
setTimeNextReq(180);
|
|
3645
3651
|
setIsTimerStarted(true);
|
|
3646
3652
|
}
|
|
3647
3653
|
catch (e) {
|
|
3648
|
-
|
|
3649
|
-
captchaDialog.open();
|
|
3650
|
-
}
|
|
3654
|
+
captchaDialog.open();
|
|
3651
3655
|
}
|
|
3652
3656
|
};
|
|
3653
3657
|
|
|
@@ -8313,7 +8317,7 @@
|
|
|
8313
8317
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
8314
8318
|
});
|
|
8315
8319
|
|
|
8316
|
-
const packageVersion = "0.14.
|
|
8320
|
+
const packageVersion = "0.14.624";
|
|
8317
8321
|
|
|
8318
8322
|
exports.Blocks = Blocks;
|
|
8319
8323
|
exports.ContentPage = ContentPage;
|