Commit Graph

13 Commits

Author SHA1 Message Date
ekzyis 1bae891594 Fix extremely slow page load for LNC import
I noticed that the combination of

```
import { Form, PasswordInput, SubmitButton } from '@/components/form'
```

in components/wallet/lnc.js and the dynamic import via `await import` in components/wallet/index.js caused extremely slow page loads.
2024-07-07 18:31:40 +02:00
ekzyis 7b6602e386 wip: Add LNC 2024-07-07 18:31:40 +02:00
ekzyis 7639390a16 Pass config with spread operator 2024-07-07 18:31:40 +02:00
ekzyis 29646eb956 Use INFO level for 'wallet disabled' message 2024-07-07 18:31:40 +02:00
ekzyis dd47f2c02b Run validation during save 2024-07-07 18:31:40 +02:00
ekzyis a5ea53dc39 Fix enableWallet
* wrong storage key was used
* broke if wallets with no configs existed
2024-07-07 18:31:40 +02:00
ekzyis 034cb4e8b2 Add NWC wallet 2024-07-07 18:31:40 +02:00
ekzyis 0957cb5b83 Add logging to attach & detach 2024-07-07 18:31:40 +02:00
ekzyis 71c753810c Don't pass logger to sendPayment 2024-07-07 18:31:40 +02:00
ekzyis 1a2be99027 Set canPay, canReceive in useWallet 2024-07-07 18:31:40 +02:00
ekzyis 6ac8785c51 Update wallet logging + other stuff
* add canPay and canSend to wallet definition
* rename 'default payment method' to 'enabled' and add enable + disable method
2024-07-07 18:31:40 +02:00
ekzyis a1b343ac89 Fix import error 2024-07-07 18:31:40 +02:00
ekzyis 5f047cbfc9 wip: Use uniform interface for wallets 2024-07-07 18:31:40 +02:00