@autobusal/providers 1.3.5 → 1.3.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,15 @@ All notable changes to `@autobusal/providers` are documented here. This project
4
4
  adheres to [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and
5
5
  [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [1.3.6] - 2026-07-25
8
+
9
+ ### Added
10
+
11
+ - `SettingsData.addons` - whether the WhatsApp/Telegram checkout addon is
12
+ available for this label and what it costs (never credentials), exposed
13
+ by obtapi's `Settings\ViewController::get()` for the checkout SPA to
14
+ render the addon selection at Step5.
15
+
7
16
  ## [1.3.5] - 2026-07-25
8
17
 
9
18
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.3.5",
3
+ "version": "1.3.6",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
package/types/settings.ts CHANGED
@@ -9,6 +9,15 @@ export interface SettingsData {
9
9
  site_key: string | null
10
10
  }
11
11
 
12
+ // Edited: Ferjolt Ozuni - Date: 2026-07-25
13
+ // Whether the checkout addon is available for this label and what it
14
+ // costs - the SPA never sees credentials, only what it needs to render
15
+ // the addon at checkout (see obtapi's Settings\ViewController::addon()).
16
+ addons?: {
17
+ whatsapp: { available: boolean, price: number }
18
+ telegram: { available: boolean, price: number }
19
+ }
20
+
12
21
  preferences: {
13
22
  company: string
14
23