mts-booking-library 1.3.12 → 1.3.13
Sign up to get free protection for your applications and to get access to all the features.
@@ -15,9 +15,11 @@ export type Tariff = {
|
|
15
15
|
};
|
16
16
|
/**
|
17
17
|
* This represents a tariff matrix, returned when searching Journeys or Services.
|
18
|
-
* It is a 2D array of {@link Tariff} objects. On the rows, there are the terms types,
|
18
|
+
* It is a 2D array of {@link Tariff} objects. On the rows, there are the terms types,
|
19
|
+
* while on the columns there are the tariff types. Please note that elements can
|
20
|
+
* be undefined, as tariffs may not be present for every combination of terms type and tariff type.
|
19
21
|
*/
|
20
|
-
export type TariffsMatrix = Tariff[][];
|
22
|
+
export type TariffsMatrix = (Tariff | undefined)[][];
|
21
23
|
/**
|
22
24
|
* This represents a tariff type (e.g. "Adult", "Child", "Over65", ...).
|
23
25
|
* @param {number} id - The id of the tariff type in the db.
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "mts-booking-library",
|
3
|
-
"version": "1.3.
|
3
|
+
"version": "1.3.13",
|
4
4
|
"description": "Library for using MyTicketSolution Booking API",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -18,9 +18,9 @@
|
|
18
18
|
"devDependencies": {
|
19
19
|
"@types/jest": "^29.5.12",
|
20
20
|
"jest": "^29.7.0",
|
21
|
-
"prettier": "^3.3.
|
22
|
-
"ts-jest": "^29.
|
23
|
-
"typescript": "^5.5.
|
21
|
+
"prettier": "^3.3.3",
|
22
|
+
"ts-jest": "^29.2.2",
|
23
|
+
"typescript": "^5.5.3"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"lib/**/*"
|
@@ -35,6 +35,6 @@
|
|
35
35
|
"axios": "^1.7.2",
|
36
36
|
"dotenv": "^16.4.5",
|
37
37
|
"node-localstorage": "^3.0.5",
|
38
|
-
"zustand": "^4.5.
|
38
|
+
"zustand": "^4.5.4"
|
39
39
|
}
|
40
40
|
}
|