@autobusal/providers 1.41.2 → 1.41.3

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
@@ -1,3 +1,7 @@
1
+ ## 1.41.3 - 2026-08-29
2
+
3
+ - UserData gains shipping_enabled (published by Auth\Export for operator/employee accounts) so menus can hide the Shipments module honestly (audit A1-37).
4
+
1
5
  # Changelog
2
6
 
3
7
  ## 1.41.0 (2026-08-29)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/providers",
3
- "version": "1.41.2",
3
+ "version": "1.41.3",
4
4
  "author": "Ferjolt Ozuni",
5
5
  "type": "module",
6
6
  "main": "index.ts"
package/types/users.ts CHANGED
@@ -15,6 +15,10 @@ export interface UserData {
15
15
  status: number
16
16
  funds: string
17
17
  documents: boolean
18
+ // Claude - 2026-08-29 (audit A1-37): published by Auth\Export for
19
+ // operator/employee accounts - whether the company's Shipments module is
20
+ // on, so menus can hide the link instead of advertising a 403.
21
+ shipping_enabled?: boolean | null
18
22
  comissions: ComissionData
19
23
  subscription: SubscribedData
20
24
  api: ApiData