mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-26 01:24:22 +01:00
feat: Add payjoin sends
This commit is contained in:
@@ -6,7 +6,9 @@ import { Result } from "~/utils";
|
||||
await initWaila();
|
||||
|
||||
export type ParsedParams = {
|
||||
original: string;
|
||||
address?: string;
|
||||
payjoin_enabled?: boolean;
|
||||
invoice?: string;
|
||||
amount_sats?: bigint;
|
||||
network?: string;
|
||||
@@ -53,7 +55,9 @@ export function toParsedParams(
|
||||
return {
|
||||
ok: true,
|
||||
value: {
|
||||
original: str,
|
||||
address: params.address,
|
||||
payjoin_enabled: params.payjoin_supported,
|
||||
invoice: params.invoice,
|
||||
amount_sats: params.amount_sats,
|
||||
network,
|
||||
|
||||
Reference in New Issue
Block a user