tripstorekrabi-shared 1.7.8 → 1.7.9

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/package.json +1 -1
  2. package/utils.js +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tripstorekrabi-shared",
3
- "version": "1.7.8",
3
+ "version": "1.7.9",
4
4
  "description": "Shared library for Trip Store Krabi",
5
5
  "author": "Stefan Sommer <tonprince@gmail.com>",
6
6
  "repository": {
package/utils.js CHANGED
@@ -527,6 +527,10 @@ export function isAirbnbBooking(referenceNumber) {
527
527
  return referenceNumber.startsWith("Airbnb-");
528
528
  }
529
529
 
530
+ export function isAirAsiaBooking(referenceNumber) {
531
+ return referenceNumber.startsWith("AirAsia-");
532
+ }
533
+
530
534
  export function isKKdayBooking(referenceNumber) {
531
535
  return referenceNumber.startsWith("KKday-");
532
536
  }