@condorinst/mobile-bridge 0.13.0 → 0.13.2
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 +32 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.13.2] — 2026-08-26
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- **Examples declare the `theme-color` meta.** The native White Label app reads
|
|
15
|
+
`<meta name="theme-color">` from the client bundle as Layer A of its
|
|
16
|
+
status-bar color precedence (`setStatusBarColor` command > bundle meta >
|
|
17
|
+
native default). Neither example declared it, so bundles copied from them
|
|
18
|
+
silently depended on the command/default agreeing by coincidence.
|
|
19
|
+
`client_demo` now declares `#0E3866` (matching its solid `.app-hero` navy)
|
|
20
|
+
and `minimal-home` declares `#0d9488` (matching the top of its `.hero`
|
|
21
|
+
gradient), each with a comment telling the client to keep the value in sync
|
|
22
|
+
with their header. Companion to a native fix where the app now paints the
|
|
23
|
+
status-bar strip itself (Android 15+ ignores `Window.setStatusBarColor`
|
|
24
|
+
under targetSdk ≥ 35, and iOS never had one). Example-only change — the SDK
|
|
25
|
+
contract and `dist/` are unchanged.
|
|
26
|
+
|
|
27
|
+
## [0.13.1] — 2026-07-17
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- **`client_demo`: real-time charts disappearing on the device page.** Turning
|
|
32
|
+
real-time on mounted the spectrum/melanopic canvases, but the `systemStatus`
|
|
33
|
+
handler did a full page re-render on every native re-emission — and native
|
|
34
|
+
re-emits `systemStatus` on any BLE/internet/permission/sync change — rebuilding
|
|
35
|
+
the page `innerHTML` and wiping the live canvases (they never came back until
|
|
36
|
+
leaving and re-opening the device). `handleSystemStatus` now skips the full
|
|
37
|
+
re-render while charts are mounted on the device view (same guard already used
|
|
38
|
+
by the `userDevice` and `deviceConnection` handlers), so the charts persist
|
|
39
|
+
across status updates. Example-only change — the SDK contract and `dist/` are
|
|
40
|
+
unchanged; clients copying the example inherit the fix.
|
|
41
|
+
|
|
10
42
|
## [0.13.0] — 2026-07-17
|
|
11
43
|
|
|
12
44
|
### Added
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@condorinst/mobile-bridge",
|
|
3
|
-
"version": "0.13.
|
|
4
|
-
"description": "TypeScript SDK for the JS
|
|
3
|
+
"version": "0.13.2",
|
|
4
|
+
"description": "TypeScript SDK for the JS\u2194Native bridge of the Condor white-label mobile app.",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE",
|
|
6
6
|
"private": false,
|
|
7
7
|
"publishConfig": {
|