@tap-payments/auth-jsconnect 2.10.7-beta → 2.10.8-beta

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.
@@ -163,6 +163,7 @@ export default function FlowsButtons(_a) {
163
163
  var isAr = useLanguage().isAr;
164
164
  var t = useTranslation().t;
165
165
  var onRedirect = function (item) {
166
+ var _a;
166
167
  if (!item.href)
167
168
  return;
168
169
  var name = item.name === FlowsTypes.BANK ? 'Wallet' : capitalize(item.name);
@@ -180,7 +181,7 @@ export default function FlowsButtons(_a) {
180
181
  return;
181
182
  }
182
183
  if (typeof settingsData.appConfig.onBoardButtonClick === 'function') {
183
- settingsData.appConfig.onBoardButtonClick({ name: item.name, token: item.token });
184
+ settingsData.appConfig.onBoardButtonClick({ name: item.name, token: item.token, countryCode: (_a = settingsData.businessCountry) === null || _a === void 0 ? void 0 : _a.iso2 });
184
185
  return;
185
186
  }
186
187
  dispatch(handleOpen(false));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.10.7-beta",
3
+ "version": "2.10.8-beta",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",