feat: release passwordless hierarchical APT v1.2.5
APT build checks / build-checks (push) Successful in 37s
APT build checks / build-checks (pull_request) Successful in 37s

This commit is contained in:
2026-08-22 16:20:12 +00:00
parent c08d2ad381
commit ace4568f81
27 changed files with 209 additions and 145 deletions
+10 -1
View File
@@ -1,6 +1,15 @@
'use strict';
(function exposeRendererController(globalScope) {
function shouldShowPairingOnboarding({
paired = false,
secretVisible = false,
connected = false,
manuallyOpen = false,
} = {}) {
return manuallyOpen || !paired || (secretVisible && !connected);
}
function createRendererController({
disconnect,
renderConnectionState,
@@ -35,7 +44,7 @@
});
}
const api = Object.freeze({ createRendererController });
const api = Object.freeze({ createRendererController, shouldShowPairingOnboarding });
if (typeof module !== 'undefined' && module.exports) module.exports = api;
if (globalScope) globalScope.AptRendererController = api;
}(typeof window !== 'undefined' ? window : undefined));