@vendit-dev/thirdparty-adapters 0.7.22 → 0.7.23
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.
|
@@ -179,7 +179,7 @@ var formattedPaxCountText = function (roomInformation, genderDivision) {
|
|
|
179
179
|
};
|
|
180
180
|
exports.formattedPaxCountText = formattedPaxCountText;
|
|
181
181
|
function formatPhoneNumber(text) {
|
|
182
|
-
var onlyNumberText = text === null || text === void 0 ? void 0 : text.replace(/[^0-9]/g, '');
|
|
182
|
+
var onlyNumberText = text === null || text === void 0 ? void 0 : text.replace(/[^0-9+]/g, '');
|
|
183
183
|
var safeNumberRegex = /^0?50[0-9]{8,9}$/;
|
|
184
184
|
// +로 시작하는 경우 처리
|
|
185
185
|
if (text === null || text === void 0 ? void 0 : text.startsWith('+')) {
|
|
@@ -196,7 +196,7 @@ function formatPhoneNumber(text) {
|
|
|
196
196
|
}
|
|
197
197
|
return onlyNumberText;
|
|
198
198
|
}
|
|
199
|
-
return onlyNumberText
|
|
199
|
+
return onlyNumberText;
|
|
200
200
|
}
|
|
201
201
|
var makePaymentInfo = function (_a) {
|
|
202
202
|
var datas = _a.datas, basicRateInformation = _a.basicRateInformation, basicInformation = _a.basicInformation, reservationType = _a.reservationType, OptionList = _a.OptionList;
|