@protacon/muster-booking-frontend 2.0.0 → 2.1.0
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.
- package/README.md +4 -4
- package/dist/index.bundle.js +1 -1
- package/dist/styles.bundle.css +45 -89
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -20,7 +20,7 @@ render() {
|
|
|
20
20
|
return (
|
|
21
21
|
<BookingComponent
|
|
22
22
|
locale="sv"
|
|
23
|
-
apiEndpoint="https://.../booking.api/
|
|
23
|
+
apiEndpoint="https://.../booking.api/v3"
|
|
24
24
|
chainId={2}
|
|
25
25
|
googleApiKey="..."
|
|
26
26
|
mapId="..."
|
|
@@ -41,13 +41,13 @@ render() {
|
|
|
41
41
|
}
|
|
42
42
|
```
|
|
43
43
|
|
|
44
|
-
To start component
|
|
44
|
+
To start the component in existing reservation payment flow, navigate to a page with the component using:
|
|
45
45
|
|
|
46
46
|
```
|
|
47
47
|
?continuePaymentGroupId={groupId}&stationId={stationId}
|
|
48
48
|
```
|
|
49
49
|
|
|
50
|
-
To start component
|
|
50
|
+
To start the component in existing reservation edit flow, navigate to a page with the component using:
|
|
51
51
|
|
|
52
52
|
```
|
|
53
53
|
?groupId={groupId}&stationId={stationId}
|
|
@@ -68,6 +68,6 @@ Build manually
|
|
|
68
68
|
|
|
69
69
|
Run docker image
|
|
70
70
|
|
|
71
|
-
`docker run -p 8080:80 --rm --name smusterbooking -e FRONTEND_apiurl='http://localhost:5001/
|
|
71
|
+
`docker run -p 8080:80 --rm --name smusterbooking -e FRONTEND_apiurl='http://localhost:5001/v3' -e FRONTEND_chainId=6 -e FRONTEND_pbInspection=1 smusterbooking`
|
|
72
72
|
|
|
73
73
|
Check needed environment variables from `src/public/env.docker.js`
|