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.
- package/dist/helpers/index.js +1 -0
- package/dist/helpers/index.mjs +1 -0
- package/package.json +1 -1
package/dist/helpers/index.js
CHANGED
|
@@ -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) {
|
package/dist/helpers/index.mjs
CHANGED
|
@@ -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) {
|