Files
pezkuwi-apps/packages/react-api
Satoshi Qazi MuhammedandClaude Opus 5.5 f72ba84aac Drop the isElectron flag from the API context
Only the Electron renderer ever set isElectron to true; the web entry passed
false. With that package gone the flag is constant, so remove it from
ApiCtxRoot, the context types and its consumers, together with the
pezkuwi.js.org link base it selected. In-browser account storage and the
WebUSB ledger option now follow the settings alone, as they already did on
the web.

Runtime environment detection (getEnvironment, ExternalWarning) reads the
user agent and is left as is.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-04 04:33:58 +04:00
..

@pezkuwi/react-api

WARNING: This is not deemed stable yet for external use in React-based apps and still included in the pezkuwichain/pezkuwi-apps repo. Since these are generic HOC components for React, they will move to the pezkuwichain/pezkuwi-ui repo once deemed stable and usable by external projects.

For the existing sharable components usable in external React-based projects, take a look at the pezkuwichain/pezkuwi-ui documentation