mts-booking-library 1.4.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- package/lib/SubscriptionBooking.d.ts +0 -0
- package/lib/SubscriptionBooking.js +148 -0
- package/lib/booking/booking.d.ts +12 -9
- package/lib/booking/booking.js +44 -9
- package/lib/booking/journeyBooking.d.ts +8 -21
- package/lib/booking/journeyBooking.js +21 -58
- package/lib/booking/serviceBooking.d.ts +9 -22
- package/lib/booking/serviceBooking.js +23 -58
- package/lib/booking/subscriptionBooking.d.ts +8 -21
- package/lib/booking/subscriptionBooking.js +20 -55
- package/lib/booking/tplBooking.d.ts +13 -31
- package/lib/booking/tplBooking.js +29 -68
- package/lib/index.d.ts +9 -8
- package/lib/index.js +3 -3
- package/lib/mtsStorage.d.ts +1 -14
- package/lib/mtsStorage.js +7 -8
- package/lib/types/common/Cart.d.ts +0 -5
- package/lib/types/common/Payment.d.ts +3 -3
- package/lib/types/common/Payment.js +1 -1
- package/lib/types/common/Person.d.ts +8 -8
- package/lib/types/common/Person.js +3 -3
- package/lib/types/journeys/JourneyCart.d.ts +14 -9
- package/lib/types/journeys/JourneyCart.js +1 -1
- package/lib/types/services/ServiceCart.d.ts +4 -0
- package/lib/types/tpl/SuperArea.d.ts +6 -0
- package/lib/types/tpl/TplCart.d.ts +19 -0
- package/lib/utils/apiCall.js +2 -2
- package/lib/utils/testUtils.d.ts +8 -0
- package/lib/utils/testUtils.js +19 -0
- package/package.json +6 -6
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "mts-booking-library",
|
3
|
-
"version": "
|
3
|
+
"version": "2.0.1",
|
4
4
|
"description": "Library for using MyTicketSolution Booking API",
|
5
5
|
"main": "lib/index.js",
|
6
6
|
"types": "lib/index.d.ts",
|
@@ -16,11 +16,11 @@
|
|
16
16
|
},
|
17
17
|
"license": "ISC",
|
18
18
|
"devDependencies": {
|
19
|
-
"@types/jest": "^29.5.
|
19
|
+
"@types/jest": "^29.5.13",
|
20
20
|
"jest": "^29.7.0",
|
21
21
|
"prettier": "^3.3.3",
|
22
|
-
"ts-jest": "^29.2.
|
23
|
-
"typescript": "^5.
|
22
|
+
"ts-jest": "^29.2.5",
|
23
|
+
"typescript": "^5.6.3"
|
24
24
|
},
|
25
25
|
"files": [
|
26
26
|
"lib/**/*"
|
@@ -31,8 +31,8 @@
|
|
31
31
|
],
|
32
32
|
"author": "Infoservice s.r.l.",
|
33
33
|
"dependencies": {
|
34
|
-
"@react-native-async-storage/async-storage": "^
|
35
|
-
"axios": "^1.7.
|
34
|
+
"@react-native-async-storage/async-storage": "^2.0.0",
|
35
|
+
"axios": "^1.7.7",
|
36
36
|
"dotenv": "^16.4.5",
|
37
37
|
"node-localstorage": "^3.0.5",
|
38
38
|
"zustand": "^4.5.5"
|