mts-booking-library 3.0.4 → 3.0.6

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.
@@ -74,7 +74,7 @@ export type TariffType = {
74
74
  * A message to be shown to the user during the booking process that describes the tariff type,
75
75
  * including info on the rules that apply to it
76
76
  */
77
- bookingProcessDescription: string;
77
+ bookingProcessDescription: string | null;
78
78
  };
79
79
  /**
80
80
  * This represents a terms type (e.g. "Standard", "Business", ...).
@@ -96,7 +96,7 @@ export type TermsType = {
96
96
  * A message to be shown to the user during the booking process that describes the terms type,
97
97
  * including info on the rules that apply to it
98
98
  */
99
- bookingProcessDescription: string;
99
+ bookingProcessDescription: string | null;
100
100
  /** Whether these terms are the default ones */
101
101
  isDefault: boolean;
102
102
  /** Whether the terms are for a subscription */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mts-booking-library",
3
- "version": "3.0.4",
3
+ "version": "3.0.6",
4
4
  "description": "Library for using MyTicketSolution Booking API",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",
@@ -10,7 +10,7 @@
10
10
  "test": "jest --config jestconfig.json",
11
11
  "prepare": "npm audit --audit-level=moderate && npm run build",
12
12
  "prepublishOnly": "npm run test --runInBand",
13
- "version": "git add -A src",
13
+ "version": "npm audit --audit-level=moderate && git add -A src",
14
14
  "postversion": "git push && git push --tags",
15
15
  "lint": "eslint src",
16
16
  "lint:quiet": "npm run lint -- --quiet",