tripstorekrabi-shared 1.15.1 → 1.15.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.
Files changed (2) hide show
  1. package/booking.js +8 -1
  2. package/package.json +2 -2
package/booking.js CHANGED
@@ -279,7 +279,14 @@ export function getStartingPointMessage(booking, product) {
279
279
  text += ' on the ' + date;
280
280
  }
281
281
 
282
- text += '. Please watch out for the staff of ' + booking.operator + '.';
282
+ text += ". ";
283
+
284
+ let transferTo = "with transfer to";
285
+ if (booking.productDescription.includes(transferTo)) {
286
+ text += "Your booking includes a " + booking.productDescription.substring(booking.productDescription.indexOf(transferTo)).replace(transferTo, "transfer to") + '. ';
287
+ }
288
+
289
+ text += 'Please watch out for the staff of ' + booking.operator + '.';
283
290
 
284
291
  if (booking.googleMapLocation?.length > 0) {
285
292
  text += `\n\n${isHotelPickup(booking.startingPointDescription)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.15.1",
3
+ "version": "1.15.3",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {
@@ -16,7 +16,7 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "dayjs": "^1.11.10",
19
- "nanoid": "^5.0.4"
19
+ "nanoid": "^5.0.6"
20
20
  },
21
21
  "scripts": {
22
22
  "deploy": "npm publish"