@condorinst/mobile-bridge 0.9.1 → 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,30 @@ 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
+
23
+ ## [0.10.0] — 2026-07-14
24
+
25
+ ### Added
26
+
27
+ - `systemStatus` payload now includes `missingOptionalPermissions: string[]` —
28
+ optional permissions not yet granted (`AppPermission` names, e.g.
29
+ `["notification", "backgroundLocation"]`), so White Label web content can
30
+ render its own optional-permissions nudge. Additive and backward-compatible
31
+ (older clients ignore the extra field); battery is intentionally excluded
32
+ (covered by the app's native OEM guidance).
33
+
10
34
  ## [0.9.1] — 2026-07-01
11
35
 
12
36
  ### Docs
package/dist/index.d.cts CHANGED
@@ -259,6 +259,22 @@ interface SystemStatusPayload {
259
259
  internet: boolean;
260
260
  permission: boolean;
261
261
  hasDevices: boolean;
262
+ /**
263
+ * Optional permissions not yet granted, as `AppPermission` names
264
+ * (e.g. `["notification", "backgroundLocation"]`). Additive and
265
+ * backward-compatible; render your own optional-permissions nudge from it.
266
+ * Empty array when nothing is missing. Battery is intentionally excluded
267
+ * (covered by the app's native OEM guidance, not this channel).
268
+ */
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[];
262
278
  deviceSyncError: Record<number, string>;
263
279
  }
264
280
  /**
package/dist/index.d.ts CHANGED
@@ -259,6 +259,22 @@ interface SystemStatusPayload {
259
259
  internet: boolean;
260
260
  permission: boolean;
261
261
  hasDevices: boolean;
262
+ /**
263
+ * Optional permissions not yet granted, as `AppPermission` names
264
+ * (e.g. `["notification", "backgroundLocation"]`). Additive and
265
+ * backward-compatible; render your own optional-permissions nudge from it.
266
+ * Empty array when nothing is missing. Battery is intentionally excluded
267
+ * (covered by the app's native OEM guidance, not this channel).
268
+ */
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[];
262
278
  deviceSyncError: Record<number, string>;
263
279
  }
264
280
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@condorinst/mobile-bridge",
3
- "version": "0.9.1",
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,