@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.
@@ -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
- if (e?.status === 429) {
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.623";
8320
+ const packageVersion = "0.14.624";
8317
8321
 
8318
8322
  exports.Blocks = Blocks;
8319
8323
  exports.ContentPage = ContentPage;