@tap-payments/auth-jsconnect 2.9.3-development → 2.9.4-development

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.
@@ -140,8 +140,8 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
140
140
  var filteredCountries = countries.filter(function (country) {
141
141
  return country.idd_prefix.toString().toLowerCase().startsWith(value.replace('+', '').toLowerCase()) ||
142
142
  country.capital.toLowerCase().startsWith(value.toLowerCase()) ||
143
- country.name.arabic.toLowerCase().startsWith(value.toLowerCase()) ||
144
- country.name.english.toLowerCase().startsWith(value.toLowerCase());
143
+ country.name.arabic.toLowerCase().includes(value.toLowerCase()) ||
144
+ country.name.english.toLowerCase().includes(value.toLowerCase());
145
145
  });
146
146
  setCountries(filteredCountries);
147
147
  };
@@ -142,8 +142,8 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
142
142
  var filteredCountries = countries.filter(function (country) {
143
143
  return country.idd_prefix.toString().toLowerCase().startsWith(value.replace('+', '').toLowerCase()) ||
144
144
  country.capital.toLowerCase().startsWith(value.toLowerCase()) ||
145
- country.name.arabic.toLowerCase().startsWith(value.toLowerCase()) ||
146
- country.name.english.toLowerCase().startsWith(value.toLowerCase());
145
+ country.name.arabic.toLowerCase().includes(value.toLowerCase()) ||
146
+ country.name.english.toLowerCase().includes(value.toLowerCase());
147
147
  });
148
148
  setCountries(filteredCountries);
149
149
  };
@@ -150,8 +150,8 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
150
150
  var filteredCountries = countries.filter(function (country) {
151
151
  return country.idd_prefix.toString().toLowerCase().startsWith(value.replace('+', '').toLowerCase()) ||
152
152
  country.capital.toLowerCase().startsWith(value.toLowerCase()) ||
153
- country.name.arabic.toLowerCase().startsWith(value.toLowerCase()) ||
154
- country.name.english.toLowerCase().startsWith(value.toLowerCase());
153
+ country.name.arabic.toLowerCase().includes(value.toLowerCase()) ||
154
+ country.name.english.toLowerCase().includes(value.toLowerCase());
155
155
  });
156
156
  setCountries(filteredCountries);
157
157
  };
@@ -138,8 +138,8 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
138
138
  var filteredCountries = countries.filter(function (country) {
139
139
  return country.idd_prefix.toString().toLowerCase().startsWith(value.replace('+', '').toLowerCase()) ||
140
140
  country.capital.toLowerCase().startsWith(value.toLowerCase()) ||
141
- country.name.arabic.toLowerCase().startsWith(value.toLowerCase()) ||
142
- country.name.english.toLowerCase().startsWith(value.toLowerCase());
141
+ country.name.arabic.toLowerCase().includes(value.toLowerCase()) ||
142
+ country.name.english.toLowerCase().includes(value.toLowerCase());
143
143
  });
144
144
  setCountries(filteredCountries);
145
145
  };
@@ -143,8 +143,8 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
143
143
  var filteredCountries = countries.filter(function (country) {
144
144
  return country.idd_prefix.toString().toLowerCase().startsWith(value.replace('+', '').toLowerCase()) ||
145
145
  country.capital.toLowerCase().startsWith(value.toLowerCase()) ||
146
- country.name.arabic.toLowerCase().startsWith(value.toLowerCase()) ||
147
- country.name.english.toLowerCase().startsWith(value.toLowerCase());
146
+ country.name.arabic.toLowerCase().includes(value.toLowerCase()) ||
147
+ country.name.english.toLowerCase().includes(value.toLowerCase());
148
148
  });
149
149
  setCountries(filteredCountries);
150
150
  };
@@ -140,8 +140,8 @@ var MobileNumber = React.forwardRef(function (_a, ref) {
140
140
  var filteredCountries = countries.filter(function (country) {
141
141
  return country.idd_prefix.toString().toLowerCase().startsWith(value.replace('+', '').toLowerCase()) ||
142
142
  country.capital.toLowerCase().startsWith(value.toLowerCase()) ||
143
- country.name.arabic.toLowerCase().startsWith(value.toLowerCase()) ||
144
- country.name.english.toLowerCase().startsWith(value.toLowerCase());
143
+ country.name.arabic.toLowerCase().includes(value.toLowerCase()) ||
144
+ country.name.english.toLowerCase().includes(value.toLowerCase());
145
145
  });
146
146
  setCountries(filteredCountries);
147
147
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.9.3-development",
3
+ "version": "2.9.4-development",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",