@galoymoney/client
Advanced tools
Comparing version 0.1.39 to 0.1.40
@@ -7,3 +7,3 @@ import bolt11 from "bolt11"; | ||
export declare type PaymentType = "lightning" | "onchain" | "intraledger" | "lnurl"; | ||
export interface ValidPaymentReponse { | ||
export interface ValidPaymentResponse { | ||
valid: boolean; | ||
@@ -26,3 +26,3 @@ errorMessage?: string | undefined; | ||
}; | ||
export declare const parsePaymentDestination: ({ destination, network, pubKey, }: ParsePaymentDestinationArgs) => ValidPaymentReponse; | ||
export declare const parsePaymentDestination: ({ destination, network, pubKey, }: ParsePaymentDestinationArgs) => ValidPaymentResponse; | ||
export {}; |
@@ -23,2 +23,14 @@ declare const _default: { | ||
}; | ||
ConversionDetailsScreen: { | ||
title: string; | ||
percentageToConvert: string; | ||
}; | ||
ConversionConfirmationScreen: { | ||
title: string; | ||
youreConverting: string; | ||
receivingAccount: string; | ||
}; | ||
ConversionSuccessScreen: { | ||
message: string; | ||
}; | ||
EarnScreen: { | ||
@@ -260,5 +272,7 @@ earnSats: { | ||
common: { | ||
account: string; | ||
activateWallet: string; | ||
amountRequired: string; | ||
back: string; | ||
backHome: string; | ||
bank: string; | ||
@@ -268,5 +282,7 @@ bankAccount: string; | ||
bitcoinPrice: string; | ||
btcAccount: string; | ||
cancel: string; | ||
close: string; | ||
confirm: string; | ||
convert: string; | ||
csvExport: string; | ||
@@ -304,2 +320,3 @@ date: string; | ||
phoneNumber: string; | ||
rate: string; | ||
reauth: string; | ||
@@ -323,4 +340,6 @@ restart: string; | ||
type: string; | ||
usdAccount: string; | ||
username: string; | ||
usernameRequired: string; | ||
viewTransaction: string; | ||
yes: string; | ||
@@ -327,0 +346,0 @@ pending: string; |
@@ -28,2 +28,14 @@ "use strict"; | ||
}, | ||
ConversionDetailsScreen: { | ||
title: "Convert", | ||
percentageToConvert: "% to convert", | ||
}, | ||
ConversionConfirmationScreen: { | ||
title: "Review conversion", | ||
youreConverting: "You're converting", | ||
receivingAccount: "Receiving account" | ||
}, | ||
ConversionSuccessScreen: { | ||
message: "Conversion successful" | ||
}, | ||
EarnScreen: { | ||
@@ -658,5 +670,7 @@ earnSats: { | ||
common: { | ||
account: "Account", | ||
activateWallet: "Activate Wallet", | ||
amountRequired: "Amount is required", | ||
back: "Back", | ||
backHome: "Back home", | ||
bank: "Bank", | ||
@@ -666,5 +680,7 @@ bankAccount: "Cash Account", | ||
bitcoinPrice: "Bitcoin Price", | ||
btcAccount: "BTC Account", | ||
cancel: "Cancel", | ||
close: "Close", | ||
confirm: "Confirm", | ||
convert: "Convert", | ||
csvExport: "Export transactions as CSV", | ||
@@ -702,2 +718,3 @@ date: "Date", | ||
phoneNumber: "Phone Number", | ||
rate: "Rate", | ||
reauth: "Your session has expired. Please log in again.", | ||
@@ -721,4 +738,6 @@ restart: "Restart", | ||
type: "Type", | ||
usdAccount: "USD Account", | ||
username: "Username", | ||
usernameRequired: "Username is required", | ||
viewTransaction: "View transaction", | ||
yes: "Yes", | ||
@@ -725,0 +744,0 @@ pending: "pending", |
@@ -23,2 +23,14 @@ declare const _default: { | ||
}; | ||
ConversionDetailsScreen: { | ||
title: string; | ||
percentageToConvert: string; | ||
}; | ||
ConversionConfirmationScreen: { | ||
title: string; | ||
youreConverting: string; | ||
receivingAccount: string; | ||
}; | ||
ConversionSuccessScreen: { | ||
message: string; | ||
}; | ||
EarnScreen: { | ||
@@ -260,2 +272,3 @@ earnSats: { | ||
common: { | ||
account: string; | ||
activateWallet: string; | ||
@@ -265,8 +278,11 @@ amountRequired: string; | ||
bank: string; | ||
backHome: string; | ||
bankAccount: string; | ||
bitcoin: string; | ||
bitcoinPrice: string; | ||
btcAccount: string; | ||
cancel: string; | ||
close: string; | ||
confirm: string; | ||
convert: string; | ||
csvExport: string; | ||
@@ -304,2 +320,3 @@ date: string; | ||
phoneNumber: string; | ||
rate: string; | ||
reauth: string; | ||
@@ -323,4 +340,6 @@ restart: string; | ||
type: string; | ||
usdAccount: string; | ||
username: string; | ||
usernameRequired: string; | ||
viewTransaction: string; | ||
yes: string; | ||
@@ -327,0 +346,0 @@ pending: string; |
@@ -28,2 +28,14 @@ "use strict"; | ||
}, | ||
ConversionDetailsScreen: { | ||
title: "Convertir", | ||
percentageToConvert: "% a convertir", | ||
}, | ||
ConversionConfirmationScreen: { | ||
title: "Confirmar conversión", | ||
youreConverting: "Está convirtiendo", | ||
receivingAccount: "Cuenta destino" | ||
}, | ||
ConversionSuccessScreen: { | ||
message: "Conversión exitosa" | ||
}, | ||
EarnScreen: { | ||
@@ -641,2 +653,3 @@ earnSats: { | ||
common: { | ||
account: "Cuenta", | ||
activateWallet: "Activar billetera", | ||
@@ -646,8 +659,11 @@ amountRequired: "Se requiere una cantidad", | ||
bank: "Banco", | ||
backHome: "Inicio", | ||
bankAccount: "Cuenta de efectivo", | ||
bitcoin: "Bitcoin", | ||
bitcoinPrice: "Precio de Bitcoin", | ||
btcAccount: "Cuenta BTC", | ||
cancel: "Cancelar", | ||
close: "Cerrar ", | ||
confirm: "Confirmar", | ||
convert: "Convertir", | ||
csvExport: "Exportar transacciones (CSV)", | ||
@@ -685,2 +701,3 @@ date: "Fecha ", | ||
phoneNumber: "Número de teléfono", | ||
rate: "Tasa", | ||
reauth: "Su sesión ha expirado. Inicie sesión de nuevo.", | ||
@@ -704,4 +721,6 @@ restart: "Reiniciar", | ||
type: "tipo", | ||
usdAccount: "Cuenta USD", | ||
username: "Nombre de usuario", | ||
usernameRequired: "El nombre de usuario es requerido", | ||
viewTransaction: "Ver transacción", | ||
yes: "Sí", | ||
@@ -708,0 +727,0 @@ pending: "pendiente", |
@@ -7,5 +7,5 @@ import i18n from "i18n-js"; | ||
export declare const translateUnknown: GaloyTranslateUnknown; | ||
export declare const setLocale: (langauge: string | undefined) => void; | ||
export declare const setLocale: (language: string | undefined) => void; | ||
export declare const getLocale: () => string; | ||
export { toNumber as toLocaleNumber } from "i18n-js"; | ||
export * from "./es-main"; |
@@ -50,5 +50,5 @@ "use strict"; | ||
exports.translateUnknown = translateUnknown; | ||
var setLocale = function (langauge) { | ||
if (langauge && langauge !== "DEFAULT" && i18n_js_1.default.locale !== langauge) { | ||
i18n_js_1.default.locale = langauge; | ||
var setLocale = function (language) { | ||
if (language && language !== "DEFAULT" && i18n_js_1.default.locale !== language) { | ||
i18n_js_1.default.locale = language; | ||
} | ||
@@ -55,0 +55,0 @@ }; |
{ | ||
"name": "@galoymoney/client", | ||
"main": "dist/index.js", | ||
"version": "0.1.39", | ||
"version": "0.1.40", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/galoymoney/galoy-client", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
536181
177
9524