@condorinst/mobile-bridge 0.10.0 → 0.11.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/CHANGELOG.md CHANGED
@@ -7,6 +7,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.11.0] — 2026-07-15
11
+
12
+ ### Added
13
+
14
+ - `systemStatus` payload now includes `missingEssentialPermissions: string[]` —
15
+ essential permissions not yet granted (`AppPermission` names, e.g.
16
+ `["bluetoothScan", "bluetoothConnect"]`). These are REQUIRED for the app to
17
+ work (background collection stays off without them), so White Label web
18
+ content can render a blocking "Required permissions" card, complementing the
19
+ `missingOptionalPermissions` nudge from 0.10.0. Additive and
20
+ backward-compatible (older clients ignore the extra field). The bridge does
21
+ not expose a grant command — point users to `openSettings`.
22
+
10
23
  ## [0.10.0] — 2026-07-14
11
24
 
12
25
  ### Added
package/dist/index.d.cts CHANGED
@@ -267,6 +267,14 @@ interface SystemStatusPayload {
267
267
  * (covered by the app's native OEM guidance, not this channel).
268
268
  */
269
269
  missingOptionalPermissions: string[];
270
+ /**
271
+ * Essential permissions not yet granted, as `AppPermission` names
272
+ * (e.g. `["bluetoothScan", "bluetoothConnect"]`). These are REQUIRED for the
273
+ * app to work — background collection stays off without them. Render your own
274
+ * blocking "required permissions" card from it. Additive and
275
+ * backward-compatible. Empty array when all essentials are granted.
276
+ */
277
+ missingEssentialPermissions: string[];
270
278
  deviceSyncError: Record<number, string>;
271
279
  }
272
280
  /**
package/dist/index.d.ts CHANGED
@@ -267,6 +267,14 @@ interface SystemStatusPayload {
267
267
  * (covered by the app's native OEM guidance, not this channel).
268
268
  */
269
269
  missingOptionalPermissions: string[];
270
+ /**
271
+ * Essential permissions not yet granted, as `AppPermission` names
272
+ * (e.g. `["bluetoothScan", "bluetoothConnect"]`). These are REQUIRED for the
273
+ * app to work — background collection stays off without them. Render your own
274
+ * blocking "required permissions" card from it. Additive and
275
+ * backward-compatible. Empty array when all essentials are granted.
276
+ */
277
+ missingEssentialPermissions: string[];
270
278
  deviceSyncError: Record<number, string>;
271
279
  }
272
280
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@condorinst/mobile-bridge",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "TypeScript SDK for the JS↔Native bridge of the Condor white-label mobile app.",
5
5
  "license": "SEE LICENSE IN LICENSE",
6
6
  "private": false,