tripstorekrabi-shared 1.21.2 → 1.21.3
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/package.json +2 -2
- package/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tripstorekrabi-shared",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.3",
|
|
4
4
|
"description": "Shared library for Trip Store Krabi",
|
|
5
5
|
"author": "Stefan Sommer <tonprince@gmail.com>",
|
|
6
6
|
"repository": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"dayjs": "^1.11.13",
|
|
20
|
-
"libphonenumber-js": "^1.12.
|
|
20
|
+
"libphonenumber-js": "^1.12.13",
|
|
21
21
|
"nanoid": "^5.1.5"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
package/utils.js
CHANGED
|
@@ -727,7 +727,7 @@ export function isCuriosidad(otaPartnerRef) {
|
|
|
727
727
|
}
|
|
728
728
|
|
|
729
729
|
export function isTSKBooking(otaPartnerRef) {
|
|
730
|
-
return otaPartnerRef.id === TRIPSTORE_AGENCY_ID;
|
|
730
|
+
return !otaPartnerRef || otaPartnerRef.id === TRIPSTORE_AGENCY_ID;
|
|
731
731
|
}
|
|
732
732
|
|
|
733
733
|
export function getBookingType(referenceNumber) {
|