chore: Update translations
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
kieran 2024-04-11 12:30:12 +00:00
parent 8137317bfe
commit 27a111466a
6 changed files with 162 additions and 165 deletions

View File

@ -20,14 +20,12 @@ const ConnectCashu = () => {
throw new Error("Mint URL is required"); throw new Error("Mint URL is required");
} }
const connection = new CashuWallet( const connection = new CashuWallet({
{
url: config, url: config,
keys: {}, keys: {},
proofs: [], proofs: [],
keysets: [], keysets: [],
}, });
);
await connection.login(); await connection.login();
const info = await connection.getInfo(); const info = await connection.getInfo();
const newWallet = { const newWallet = {

View File

@ -155,7 +155,6 @@ export function useWallet() {
return wallet; return wallet;
} }
/** /**
* Adds a wallet config for WebLN if detected * Adds a wallet config for WebLN if detected
*/ */

View File

@ -104,7 +104,7 @@ export type Sats = number;
export type MilliSats = number; export type MilliSats = number;
export interface WalletEvents { export interface WalletEvents {
change: (data?: string) => void change: (data?: string) => void;
} }
export type LNWallet = EventEmitter<WalletEvents> & { export type LNWallet = EventEmitter<WalletEvents> & {
@ -122,7 +122,7 @@ export type LNWallet = EventEmitter<WalletEvents> & {
canGetBalance: () => boolean; canGetBalance: () => boolean;
canCreateInvoice: () => boolean; canCreateInvoice: () => boolean;
canPayInvoice: () => boolean; canPayInvoice: () => boolean;
} };
/** /**
* Load wallet by kind * Load wallet by kind
@ -152,4 +152,4 @@ export function loadWallet(kind: WalletKind, data: string | undefined) {
} }
} }
export { LNCWallet, WebLNWallet, LNDHubWallet, NostrConnectWallet, AlbyWallet, CashuWallet } export { LNCWallet, WebLNWallet, LNDHubWallet, NostrConnectWallet, AlbyWallet, CashuWallet };