@mxenabled/connect-widget 2.12.2 → 2.12.4

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/dist/index.es.js CHANGED
@@ -70273,10 +70273,10 @@ const SearchedInstitutionsList = (props) => {
70273
70273
  return isSupportEnabled && isInAggMode;
70274
70274
  });
70275
70275
  const isMicrodepositsEnabled = useSelector((state) => {
70276
- const { isVerifyMode } = selectCurrentMode(state);
70276
+ const { isInVerifyMode } = selectCurrentMode(state);
70277
70277
  const clientProfile = state.profiles.clientProfile || {};
70278
70278
  const widgetProfile = state.profiles.widgetProfile || {};
70279
- return isVerifyMode && // Widget is in Verify Mode
70279
+ return isInVerifyMode && // Widget is in Verify Mode
70280
70280
  clientProfile.account_verification_is_enabled && // Client supports verification
70281
70281
  clientProfile.is_microdeposits_enabled && // Client supports MDV
70282
70282
  widgetProfile.show_microdeposits_in_connect;
@@ -70432,10 +70432,10 @@ const SearchNoResult = (props) => {
70432
70432
  return isSupportEnabled && isInAggMode;
70433
70433
  });
70434
70434
  const isMicrodepositsEnabled = useSelector((state) => {
70435
- const { isVerifyMode } = selectCurrentMode(state);
70435
+ const { isInVerifyMode } = selectCurrentMode(state);
70436
70436
  const clientProfile = state.profiles.clientProfile || {};
70437
70437
  const widgetProfile = state.profiles.widgetProfile || {};
70438
- return isVerifyMode && // Widget is in Verify Mode
70438
+ return isInVerifyMode && // Widget is in Verify Mode
70439
70439
  clientProfile.account_verification_is_enabled && // Client supports verification
70440
70440
  clientProfile.is_microdeposits_enabled && // Client supports MDV
70441
70441
  widgetProfile.show_microdeposits_in_connect;
@@ -76288,7 +76288,7 @@ function pollMember(memberGuid, api, clientLocale, clientGuid = null) {
76288
76288
  function handlePollingResponse(pollingState) {
76289
76289
  const polledMember = pollingState.currentResponse?.member || {};
76290
76290
  const previousMember = pollingState.previousResponse?.member || {};
76291
- const polledJob = pollingState.currentResponse?.job || {};
76291
+ const initialDataReady = pollingState.initialDataReady;
76292
76292
  const justFinishedAggregating = previousMember.is_being_aggregated === true && polledMember.is_being_aggregated === false;
76293
76293
  const isNotAggregatingAtAll = previousMember.is_being_aggregated === false && polledMember.is_being_aggregated === false;
76294
76294
  if (polledMember.connection_status === ReadableStatuses$1.CHALLENGED) {
@@ -76297,7 +76297,7 @@ function handlePollingResponse(pollingState) {
76297
76297
  if (ProcessingStatuses.indexOf(polledMember.connection_status) !== -1) {
76298
76298
  return [false, CONNECTING_MESSAGES.VERIFYING];
76299
76299
  }
76300
- if (polledJob.async_account_data_ready) {
76300
+ if (initialDataReady) {
76301
76301
  return [true, CONNECTING_MESSAGES.FINISHING];
76302
76302
  }
76303
76303
  if (polledMember.connection_status === ReadableStatuses$1.CONNECTED) {