@mxenabled/connect-widget 0.20.4 → 0.20.6

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
@@ -5087,23 +5087,39 @@ function baseFindIndex$2(array, predicate, fromIndex, fromRight) {
5087
5087
  }
5088
5088
  var _baseFindIndex = baseFindIndex$2;
5089
5089
 
5090
- var reWhitespace = /\s/;
5091
- function trimmedEndIndex$1(string) {
5092
- var index = string.length;
5093
- while (index-- && reWhitespace.test(string.charAt(index))) {
5094
- }
5095
- return index;
5090
+ var _trimmedEndIndex;
5091
+ var hasRequired_trimmedEndIndex;
5092
+
5093
+ function require_trimmedEndIndex () {
5094
+ if (hasRequired_trimmedEndIndex) return _trimmedEndIndex;
5095
+ hasRequired_trimmedEndIndex = 1;
5096
+ var reWhitespace = /\s/;
5097
+ function trimmedEndIndex(string) {
5098
+ var index = string.length;
5099
+ while (index-- && reWhitespace.test(string.charAt(index))) {
5100
+ }
5101
+ return index;
5102
+ }
5103
+ _trimmedEndIndex = trimmedEndIndex;
5104
+ return _trimmedEndIndex;
5096
5105
  }
5097
- var _trimmedEndIndex = trimmedEndIndex$1;
5098
5106
 
5099
- var trimmedEndIndex = _trimmedEndIndex;
5100
- var reTrimStart = /^\s+/;
5101
- function baseTrim$1(string) {
5102
- return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
5107
+ var _baseTrim;
5108
+ var hasRequired_baseTrim;
5109
+
5110
+ function require_baseTrim () {
5111
+ if (hasRequired_baseTrim) return _baseTrim;
5112
+ hasRequired_baseTrim = 1;
5113
+ var trimmedEndIndex = require_trimmedEndIndex();
5114
+ var reTrimStart = /^\s+/;
5115
+ function baseTrim(string) {
5116
+ return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
5117
+ }
5118
+ _baseTrim = baseTrim;
5119
+ return _baseTrim;
5103
5120
  }
5104
- var _baseTrim = baseTrim$1;
5105
5121
 
5106
- var baseTrim = _baseTrim, isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
5122
+ var baseTrim = require_baseTrim(), isObject$7 = isObject_1, isSymbol$1 = isSymbol_1;
5107
5123
  var NAN = 0 / 0;
5108
5124
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
5109
5125
  var reIsBinary = /^0b[01]+$/i;
@@ -8559,7 +8575,7 @@ var hasRequiredTrim;
8559
8575
  function requireTrim () {
8560
8576
  if (hasRequiredTrim) return trim_1;
8561
8577
  hasRequiredTrim = 1;
8562
- var baseToString = _baseToString, baseTrim = _baseTrim, castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
8578
+ var baseToString = _baseToString, baseTrim = require_baseTrim(), castSlice = require_castSlice(), charsEndIndex = require_charsEndIndex(), charsStartIndex = require_charsStartIndex(), stringToArray = require_stringToArray(), toString = toString_1;
8563
8579
  function trim(string, chars, guard) {
8564
8580
  string = toString(string);
8565
8581
  if (string && (guard || chars === void 0)) {
@@ -9589,12 +9605,12 @@ const connect = createReducer(defaultState$1, {
9589
9605
  [ActionTypes$2.ACCEPT_DISCLOSURE]: acceptDisclosure,
9590
9606
  [ActionTypes$2.CREATE_MEMBER_SUCCESS]: createMemberSuccess,
9591
9607
  [ActionTypes$2.CONNECT_COMPLETE]: connectComplete,
9592
- [ActionTypes$2.GO_BACK_CREDENTIALS]: goBackSearchOrVerify,
9608
+ [ActionTypes$2.GO_BACK_CREDENTIALS]: connectGoBack,
9593
9609
  [ActionTypes$2.GO_BACK_CONSENT]: goBackSearchOrVerify,
9594
9610
  [ActionTypes$2.GO_BACK_POST_MESSAGE]: goBackSearchOrVerify,
9595
9611
  [ActionTypes$2.EXIT_MICRODEPOSITS]: exitMicrodeposits,
9596
9612
  [ActionTypes$2.FINISH_MICRODEPOSITS]: finishMicrodeposits,
9597
- [ActionTypes$2.GO_BACK_OAUTH]: goBackSearchOrVerify,
9613
+ [ActionTypes$2.GO_BACK_OAUTH]: connectGoBack,
9598
9614
  [ActionTypes$2.DELETE_MEMBER_SUCCESS]: deleteMemberSuccess,
9599
9615
  [ActionTypes$2.STEP_TO_DELETE_MEMBER_SUCCESS]: stepToDeleteMemberSuccess,
9600
9616
  [ActionTypes$2.DELETE_MEMBER_SUCCESS_RESET]: deleteMemberSuccessReset,
@@ -76804,18 +76820,18 @@ const AdditionalProductStep = React__default.forwardRef(
76804
76820
  const addAggregationText = {
76805
76821
  title: __("Add financial management?"),
76806
76822
  body: __(
76807
- "You are connecting this account for payments and transfers. Would you also like to connect it for financial management to track income and spending?"
76823
+ "You're connecting this account for payments and transfers. Would you like to also enable financial management so you can track your income and spending?"
76808
76824
  ),
76809
76825
  acceptButtonText: __("Yes, add financial management"),
76810
- rejectButtonText: __("No, just transfers and payments")
76826
+ rejectButtonText: __("No, only add transfers and payments")
76811
76827
  };
76812
76828
  const addVerificationText = {
76813
76829
  title: __("Add transfers and payments?"),
76814
76830
  body: __(
76815
- "You are connecting this account for financial management. Would you also like to connect it for transfers and payments to quickly move money to and from this institution?"
76831
+ "You're connecting this account for financial management. Would you like to also enable transfers and payments so you can quickly move money to and from this institution?"
76816
76832
  ),
76817
76833
  acceptButtonText: __("Yes, add transfers and payments"),
76818
- rejectButtonText: __("No, just financial management")
76834
+ rejectButtonText: __("No, only add financial management")
76819
76835
  };
76820
76836
  const componentText = additionalProductName === COMBO_JOB_DATA_TYPES.TRANSACTIONS ? addAggregationText : addVerificationText;
76821
76837
  return /* @__PURE__ */ jsxRuntimeExports.jsxs(SlideDown, { delay: getNextDelay(), children: [
@@ -79738,7 +79754,7 @@ const Connect$2 = ({
79738
79754
  dispatch(handleGoBackWithSideEffects());
79739
79755
  } else {
79740
79756
  postMessageFunctions.onPostMessage(POST_MESSAGES.BACK_TO_SEARCH, {});
79741
- dispatch({ type: ActionTypes$2.GO_BACK_CREDENTIALS, payload: initialConfig });
79757
+ dispatch({ type: ActionTypes$2.GO_BACK_CREDENTIALS });
79742
79758
  }
79743
79759
  };
79744
79760
  const _handleOAuthGoBack = () => {
@@ -79749,7 +79765,7 @@ const Connect$2 = ({
79749
79765
  dispatch(handleGoBackWithSideEffects());
79750
79766
  } else {
79751
79767
  postMessageFunctions.onPostMessage(POST_MESSAGES.BACK_TO_SEARCH, {});
79752
- dispatch({ type: ActionTypes$2.GO_BACK_OAUTH, payload: initialConfig });
79768
+ dispatch({ type: ActionTypes$2.GO_BACK_OAUTH });
79753
79769
  }
79754
79770
  };
79755
79771
  const _handleStepDOMChange = useCallback((ref) => {
@@ -80315,14 +80331,15 @@ const frCa = {
80315
80331
  "Only checking or savings accounts can be used for transfers. If you have one at %1, make sure to select it when connecting. Otherwise, try connecting a different institution.": "Seuls les comptes chèques ou d’épargne peuvent être utilisés pour les transferts. Si vous en avez un à %1, assurez-vous de le sélectionner lors de la connexion. Sinon, essayez de connecter une autre institution.",
80316
80332
  Required: Required$1,
80317
80333
  "Add financial management?": "Ajouter la gestion financière ?",
80318
- "You are connecting this account for payments and transfers. Would you also like to connect it for financial management to track income and spending?": "Vous connectez ce compte pour les paiements et les virements. Souhaitez-vous également le connecter pour la gestion financière afin de suivre vos revenus et vos dépenses ?",
80319
80334
  "Yes, add financial management": "Oui, ajoutez la gestion financière",
80320
80335
  "No, just transfers and payment": "Non, juste des virements et des paiements",
80321
80336
  "Add transfers and payments?": "Ajouter des transferts et des paiements ?",
80322
- "You are connecting this account for financial management. Would you also like to connect it for transfers and payments to quickly move money to and from this institution?": "Vous connectez ce compte pour la gestion financière. Souhaitez-vous également le connecter pour effectuer des virements et des paiements afin de transférer rapidement des fonds vers et depuis cette institution ?",
80323
80337
  "Yes, add transfers and payments": "Oui, ajouter des transferts et des paiements",
80324
- "No, just financial management": "Non, juste la gestion financière",
80325
80338
  "Select an account to connect": "Sélectionnez un compte pour vous connecter",
80339
+ "You're connecting this account for payments and transfers. Would you like to also enable financial management so you can track your income and spending?": "Vous connectez ce compte pour les paiements et les virements. Souhaitez-vous également activer la gestion financière afin de suivre vos revenus et vos dépenses ?",
80340
+ "No, only add transfers and payments": "Non, ajoutez uniquement les virements et les paiements",
80341
+ "You're connecting this account for financial management. Would you like to also enable transfers and payments so you can quickly move money to and from this institution?": "Vous connectez ce compte à des fins de gestion financière. Souhaitez-vous également activer les virements et les paiements afin de transférer rapidement de l'argent vers et depuis cette institution ?",
80342
+ "No, only add financial management": "Non, ajoutez uniquement la gestion financière",
80326
80343
  "connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "En cliquant sur Continuer, vous acceptez la ",
80327
80344
  "connect/disclosure/policy/link\u0004MX Privacy Policy.": "Politique de confidentialité de MX.",
80328
80345
  "connect/disclosure/policy/link\u0004MX Privacy Policy": "Politique de confidentialité de MX.",
@@ -80811,14 +80828,14 @@ const es = {
80811
80828
  "Only checking or savings accounts can be used for transfers. If you have one at %1, make sure to select it when connecting. Otherwise, try connecting a different institution.": "Solo se pueden usar cuentas de control o ahorro para transferencias. Si tiene uno en %1, asegúrese de seleccionarlo al conectarlo. De lo contrario, intente conectar una institución diferente.",
80812
80829
  Required: Required,
80813
80830
  "Add financial management?": "¿Añadir gestión financiera?",
80814
- "You are connecting this account for payments and transfers. Would you also like to connect it for financial management to track income and spending?": "Estás conectando esta cuenta para pagos y transferencias. ¿Te gustaría conectarla también para la gestión financiera y el seguimiento de ingresos y gastos?",
80815
80831
  "Yes, add financial management": "Sí, añadir gestión financiera",
80816
- "No, just transfers and payments": "No, solo transferencias y pagos",
80817
80832
  "Add transfers and payments?": "¿Añadir transferencias y pagos?",
80818
- "You are connecting this account for financial management. Would you also like to connect it for transfers and payments to quickly move money to and from this institution?": "Estás conectando esta cuenta para la gestión financiera. ¿Te gustaría conectarla también para transferencias y pagos para transferir dinero rápidamente desde y hacia esta institución?",
80819
80833
  "Yes, add transfers and payments": "Sí, añadir transferencias y pagos",
80820
- "No, just financial management": "No, sólo gestión financiera",
80821
80834
  "Select an account to connect": "Seleccione una cuenta para conectarse",
80835
+ "You're connecting this account for payments and transfers. Would you like to also enable financial management so you can track your income and spending?": "Estás conectando esta cuenta para pagos y transferencias. ¿Quieres habilitar también la gestión financiera para controlar tus ingresos y gastos?",
80836
+ "No, only add transfers and payments": "No, solo agrega transferencias y pagos",
80837
+ "You're connecting this account for financial management. Would you like to also enable transfers and payments so you can quickly move money to and from this institution?": "Estás conectando esta cuenta para la gestión financiera. ¿Te gustaría habilitar también transferencias y pagos para poder transferir dinero rápidamente desde y hacia esta institución?",
80838
+ "No, only add financial management": "No, solo añadir gestión financiera",
80822
80839
  "connect/disclosure/button\u0004Continue": "Continuar",
80823
80840
  "connect/disclosure/policy/text\u0004By clicking Continue, you agree to the ": "Al hacer clic en Continuar, tu aceptas la ",
80824
80841
  "connect/disclosure/policy/link\u0004MX Privacy Policy.": "Política de privacidad de Money Experience.",