akeyless-client-commons 1.0.150 → 1.0.151

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.
@@ -593,6 +593,7 @@ var international_israel_phone_format = function(phone) {
593
593
  return "+972".concat(validNumber);
594
594
  };
595
595
  var get_international_phone_number = function(phone) {
596
+ if (!phone) return "+972";
596
597
  return isInternational(phone) ? phone : international_israel_phone_format(phone);
597
598
  };
598
599
  var displayFormatPhoneNumber = function(phoneNumber) {
@@ -261,6 +261,7 @@ var international_israel_phone_format = function(phone) {
261
261
  return "+972".concat(validNumber);
262
262
  };
263
263
  var get_international_phone_number = function(phone) {
264
+ if (!phone) return "+972";
264
265
  return isInternational(phone) ? phone : international_israel_phone_format(phone);
265
266
  };
266
267
  var displayFormatPhoneNumber = function(phoneNumber) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "akeyless-client-commons",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "scripts": {
5
5
  "build": "tsup",
6
6
  "deploy": "npm run build && npm version patch --no-git-tag-version && npm publish",