@autobusal/order-confirm 1.1.0 → 1.1.2

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/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this package are documented here. This project follows
4
4
  [Keep a Changelog](https://keepachangelog.com/) and [Semantic Versioning](https://semver.org/).
5
5
 
6
+ ## [1.1.2] - 2026-07-30
7
+
8
+ ### Fixed
9
+
10
+ - **`noIndex` never used on the order confirmation page (`OrderConfirm.tsx`).**
11
+ Reserved/purchased/cancelled order confirmations are reachable by anyone
12
+ with the emailed link, no login required, and each is single-use - there is
13
+ no canonical indexable version. `<Meta>`'s `noIndex` prop existed but was
14
+ never passed anywhere in the app; it now is here.
15
+
16
+ ## [1.1.1] - 2026-07-25
17
+
18
+ ### Fixed
19
+
20
+ - The "Connect Telegram" addon widget now also renders on `reserved` order
21
+ confirmations, not just `purchased` ones - a reserve-then-pay-later
22
+ booking has no other page offering the binding link, so it was a dead
23
+ end for the Telegram addon on that path.
24
+
6
25
  ## [1.1.0] - 2026-07-25
7
26
 
8
27
  ### Added
package/OrderConfirm.tsx CHANGED
@@ -51,7 +51,7 @@ const OrderConfirm = ({ t }: Props): (JSX.Element | null) => {
51
51
  };
52
52
 
53
53
  return (
54
- <Meta title={ t(`order_confirm.title.${ type }`) } description={ t('order_confirm.meta.description') }>
54
+ <Meta title={ t(`order_confirm.title.${ type }`) } description={ t('order_confirm.meta.description') } noIndex={ true }>
55
55
  <Title>
56
56
  { type === 'cancelled' ? <BiErrorAlt /> : <AiOutlineCheck /> }
57
57
  { t(`order_confirm.title.${ type }`) }
@@ -63,7 +63,7 @@ const OrderConfirm = ({ t }: Props): (JSX.Element | null) => {
63
63
 
64
64
  <>
65
65
  { (type === 'cancelled' && message !== '') && <Reason message={ message } t={ t } /> }
66
- { (type === 'purchased' && hash) && <Telegram hash={ hash } t={ t } /> }
66
+ { ((type === 'purchased' || type === 'reserved') && hash) && <Telegram hash={ hash } t={ t } /> }
67
67
  </>
68
68
 
69
69
  <Actions>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/order-confirm",
3
- "version": "1.1.0",
3
+ "version": "1.1.2",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"