From: Chris Duncan Date: Wed, 9 Jul 2025 22:23:43 +0000 (-0700) Subject: Use new type and alphabetize getters. X-Git-Tag: v0.10.5~73 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=e5ae8dbfae7b717ff455144ab88c8fb080918bb9;p=libnemo.git Use new type and alphabetize getters. --- diff --git a/src/lib/wallets/ledger-wallet.ts b/src/lib/wallets/ledger-wallet.ts index ebb16fd..bfe5eca 100644 --- a/src/lib/wallets/ledger-wallet.ts +++ b/src/lib/wallets/ledger-wallet.ts @@ -48,10 +48,12 @@ interface LedgerSignResponse extends LedgerResponse { export class LedgerWallet extends Wallet { static #isInternal: boolean = false - #status: 'DISCONNECTED' | 'LOCKED' | 'BUSY' | 'CONNECTED' = 'DISCONNECTED' - get status () { return this.#status } - get openTimeout (): 3000 { return 3000 } + #status: DeviceStatus = 'DISCONNECTED' + get listenTimeout (): 30000 { return 30000 } + get openTimeout (): 3000 { return 3000 } + get status (): DeviceStatus { return this.#status } + DynamicTransport: typeof TransportBLE | typeof TransportUSB | typeof TransportHID = TransportHID constructor (id: Entropy) {