@condorinst/mobile-bridge 0.9.0 → 0.10.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 +20 -0
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.10.0] — 2026-07-14
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- `systemStatus` payload now includes `missingOptionalPermissions: string[]` —
|
|
15
|
+
optional permissions not yet granted (`AppPermission` names, e.g.
|
|
16
|
+
`["notification", "backgroundLocation"]`), so White Label web content can
|
|
17
|
+
render its own optional-permissions nudge. Additive and backward-compatible
|
|
18
|
+
(older clients ignore the extra field); battery is intentionally excluded
|
|
19
|
+
(covered by the app's native OEM guidance).
|
|
20
|
+
|
|
21
|
+
## [0.9.1] — 2026-07-01
|
|
22
|
+
|
|
23
|
+
### Docs
|
|
24
|
+
|
|
25
|
+
- Added `examples/client_demo` — a complete White Label Home example (device
|
|
26
|
+
list + summary, daily light-exposure gauge, `systemStatus` alerts, device
|
|
27
|
+
detail with real-time spectrum/melanopic charts) with a self-contained
|
|
28
|
+
browser mock. No runtime changes (examples are excluded from the npm tarball).
|
|
29
|
+
|
|
10
30
|
## [0.9.0] — 2026-07-01
|
|
11
31
|
|
|
12
32
|
### Added
|
package/dist/index.d.cts
CHANGED
|
@@ -259,6 +259,14 @@ 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[];
|
|
262
270
|
deviceSyncError: Record<number, string>;
|
|
263
271
|
}
|
|
264
272
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -259,6 +259,14 @@ 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[];
|
|
262
270
|
deviceSyncError: Record<number, string>;
|
|
263
271
|
}
|
|
264
272
|
/**
|
package/package.json
CHANGED