diff --git a/.changeset/little-peaches-happen.md b/.changeset/little-peaches-happen.md new file mode 100644 index 0000000..1a4b201 --- /dev/null +++ b/.changeset/little-peaches-happen.md @@ -0,0 +1,5 @@ +--- +'@fedimint/core-web': patch +--- + +Fix PayType diff --git a/packages/core-web/src/types/wallet.ts b/packages/core-web/src/types/wallet.ts index cf5fbb1..a6d2b41 100644 --- a/packages/core-web/src/types/wallet.ts +++ b/packages/core-web/src/types/wallet.ts @@ -30,10 +30,7 @@ type OutgoingLightningPayment = { fee: MSats } -type PayType = { - type: 'Internal' | 'Lightning' - operation_id: string -} +type PayType = { lightning: string } | { internal: string } type LnPayState = | 'created'