@galoymoney/client
Advanced tools
Comparing version 0.0.19 to 0.0.20
@@ -1,2 +0,2 @@ | ||
declare const transactionsListForContact: import("@apollo/client").DocumentNode; | ||
export default transactionsListForContact; | ||
declare const transactionListForContact: import("@apollo/client").DocumentNode; | ||
export default transactionListForContact; |
@@ -12,4 +12,4 @@ "use strict"; | ||
var transaction_list_fragment_1 = __importDefault(require("../fragments/transaction-list-fragment")); | ||
var transactionsListForContact = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query transactionsListForContact(\n $username: Username!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n me {\n id\n contactByUsername(username: $username) {\n transactions(first: $first, after: $after, last: $last, before: $before) {\n ...TransactionList\n }\n }\n }\n }\n ", "\n"], ["\n query transactionsListForContact(\n $username: Username!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n me {\n id\n contactByUsername(username: $username) {\n transactions(first: $first, after: $after, last: $last, before: $before) {\n ...TransactionList\n }\n }\n }\n }\n ", "\n"])), transaction_list_fragment_1.default); | ||
exports.default = transactionsListForContact; | ||
var transactionListForContact = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query transactionListForContact(\n $username: Username!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n me {\n id\n contactByUsername(username: $username) {\n transactions(first: $first, after: $after, last: $last, before: $before) {\n ...TransactionList\n }\n }\n }\n }\n ", "\n"], ["\n query transactionListForContact(\n $username: Username!\n $first: Int\n $after: String\n $last: Int\n $before: String\n ) {\n me {\n id\n contactByUsername(username: $username) {\n transactions(first: $first, after: $after, last: $last, before: $before) {\n ...TransactionList\n }\n }\n }\n }\n ", "\n"])), transaction_list_fragment_1.default); | ||
exports.default = transactionListForContact; | ||
var templateObject_1; |
@@ -36,2 +36,12 @@ import { QueryResult, QueryHookOptions } from "@apollo/client"; | ||
}>> | undefined) => QueryResult<GaloyGQL.TransactionListQuery> & QueryHelpers; | ||
contacts: (config?: QueryHookOptions<GaloyGQL.ContactsQuery, GaloyGQL.Exact<{ | ||
[key: string]: never; | ||
}>> | undefined) => QueryResult<GaloyGQL.ContactsQuery> & QueryHelpers; | ||
transactionListForContact: (config?: QueryHookOptions<GaloyGQL.TransactionListForContactQuery, GaloyGQL.Exact<{ | ||
username: string; | ||
first?: GaloyGQL.InputMaybe<number> | undefined; | ||
after?: GaloyGQL.InputMaybe<string> | undefined; | ||
last?: GaloyGQL.InputMaybe<number> | undefined; | ||
before?: GaloyGQL.InputMaybe<string> | undefined; | ||
}>> | undefined) => QueryResult<GaloyGQL.TransactionListForContactQuery> & QueryHelpers; | ||
}; | ||
@@ -52,3 +62,12 @@ export declare const useDelayedQuery: { | ||
}]; | ||
transactionListForContact: () => [(variables?: GaloyGQL.Exact<{ | ||
username: string; | ||
first?: GaloyGQL.InputMaybe<number> | undefined; | ||
after?: GaloyGQL.InputMaybe<string> | undefined; | ||
last?: GaloyGQL.InputMaybe<number> | undefined; | ||
before?: GaloyGQL.InputMaybe<string> | undefined; | ||
}> | undefined) => QueryResult<GaloyGQL.TransactionListForContactQuery, import("@apollo/client").OperationVariables> & QueryHelpers, { | ||
loading: boolean; | ||
}]; | ||
}; | ||
export {}; |
@@ -98,2 +98,8 @@ "use strict"; | ||
}; | ||
var contactsQuery = function (config) { | ||
return useQueryWrapper("contacts", config); | ||
}; | ||
var transactionListForContactQuery = function (config) { | ||
return useQueryWrapper("transactionListForContact", config); | ||
}; | ||
exports.useQuery = { | ||
@@ -103,2 +109,4 @@ main: mainQuery, | ||
transactionList: transactionListQuery, | ||
contacts: contactsQuery, | ||
transactionListForContact: transactionListForContactQuery, | ||
}; | ||
@@ -155,5 +163,9 @@ // ********** DELAYED QUERIES ********** // | ||
}; | ||
var transactionListForContactDelayedQuery = function () { | ||
return useDelayedQueryWrapper("transactionListForContact"); | ||
}; | ||
exports.useDelayedQuery = { | ||
userDefaultWalletId: userDefaultWalletIdDelayedQuery, | ||
transactionList: transactionListDelayedQuery, | ||
transactionListForContact: transactionListForContactDelayedQuery, | ||
}; |
declare const ES: { | ||
readonly "Address has been copied to the clipboard": undefined; | ||
readonly "Activate Wallet": undefined; | ||
readonly Address: undefined; | ||
readonly "Amount is required": undefined; | ||
readonly Back: undefined; | ||
readonly Bank: undefined; | ||
readonly "Bitcoin Price": undefined; | ||
readonly Bitcoin: undefined; | ||
readonly Cancel: undefined; | ||
readonly "Cash Account": undefined; | ||
readonly "Click QR code to copy": undefined; | ||
readonly Close: undefined; | ||
readonly "Coming soon!": undefined; | ||
readonly Confirm: undefined; | ||
readonly "Current Balance": undefined; | ||
readonly Date: undefined; | ||
readonly Description: undefined; | ||
readonly Domain: undefined; | ||
readonly "Email Support": undefined; | ||
readonly Email: undefined; | ||
readonly "Enter amount and destination": undefined; | ||
readonly "Enter your phone number and we'll text you an access code": undefined; | ||
readonly "Error loading transactions": undefined; | ||
readonly Error: undefined; | ||
readonly "Export transactions as CSV": undefined; | ||
readonly Fatal: undefined; | ||
readonly fee: undefined; | ||
readonly Fee: undefined; | ||
readonly "Fees (sats)": undefined; | ||
readonly "Fees (USD)": undefined; | ||
readonly Fees: undefined; | ||
readonly "First Name": undefined; | ||
readonly "Generate new invoice for %{amount}": undefined; | ||
readonly "Generate New Invoice": undefined; | ||
readonly Home: undefined; | ||
readonly hour: undefined; | ||
readonly "Address has been copied to the clipboard": "La dirección se ha copiado al portapapeles"; | ||
readonly Cancel: "Cancelar"; | ||
readonly "Click QR code to copy": "Toque el código QR para copiar"; | ||
readonly Close: "Cerrar"; | ||
readonly Contacts: "Contactos"; | ||
readonly "Current Balance": "Saldo actual"; | ||
readonly Description: "Descripción"; | ||
readonly "Email Support": "Soporte de contacto"; | ||
readonly "Enter amount and destination": "Ingrese cantidad y dirección"; | ||
readonly "Enter your phone number and we'll text you an access code": "Ingrese su número de teléfono y le enviaremos un mensaje de texto con un código de acceso"; | ||
readonly Fee: "Tarifa"; | ||
readonly "Generate new invoice for %{amount}": "Generar una factura nueva por %{amount}"; | ||
readonly "Generate New Invoice": "Generar una factura nueva"; | ||
readonly Hash: undefined; | ||
readonly hours: undefined; | ||
readonly "Invaild country code": undefined; | ||
readonly Home: "Inicio"; | ||
readonly "Invaild verification. Please try again": undefined; | ||
readonly "Invalid phone number": undefined; | ||
readonly "Invalid QR Code": undefined; | ||
@@ -48,74 +23,41 @@ readonly "Invoice Expired...": undefined; | ||
readonly "Invoice value is now %{value}": undefined; | ||
readonly Invoice: undefined; | ||
readonly "Language preference": undefined; | ||
readonly Language: undefined; | ||
readonly "Last Name": undefined; | ||
readonly Later: undefined; | ||
readonly Lightning: undefined; | ||
readonly "Log Out": undefined; | ||
readonly "Login to send": undefined; | ||
readonly Login: undefined; | ||
readonly Logout: undefined; | ||
readonly minutes: undefined; | ||
readonly Next: undefined; | ||
readonly "No connection": undefined; | ||
readonly "No transactions": undefined; | ||
readonly "Not able to generate invoice.": undefined; | ||
readonly Note: undefined; | ||
readonly Notification: undefined; | ||
readonly OK: undefined; | ||
readonly Login: "Iniciar sesión"; | ||
readonly Logout: "Cerrar sesion"; | ||
readonly "No transactions": "No transacciones"; | ||
readonly OnChain: undefined; | ||
readonly "Open Wallet": undefined; | ||
readonly "Payment amount exceeds balance of %{balance} sats": undefined; | ||
readonly "Payment amount exceeds balance of %{balance} sats": "Cantidad excede su saldo de por %{balance}"; | ||
readonly "Payment failed": undefined; | ||
readonly "Phone number is too long": undefined; | ||
readonly "Phone number is too short": undefined; | ||
readonly "Phone Number": undefined; | ||
readonly "Please try again later.": undefined; | ||
readonly "Powered By": undefined; | ||
readonly "Receive another payment": undefined; | ||
readonly "Receive Bitcoin": undefined; | ||
readonly "Recent Transactions": undefined; | ||
readonly "Receive Bitcoin": "Recibir Bitcoin"; | ||
readonly "Received from": undefined; | ||
readonly "Recent Transactions": "Las transacciones"; | ||
readonly "Reload Application": undefined; | ||
readonly Restart: undefined; | ||
readonly sats: undefined; | ||
readonly "Scan QR code": undefined; | ||
readonly Search: undefined; | ||
readonly Security: undefined; | ||
readonly "Scan QR code": "Escanear QR"; | ||
readonly "Send another payment": undefined; | ||
readonly "Send Bitcoin": undefined; | ||
readonly "Send Payment": undefined; | ||
readonly Send: undefined; | ||
readonly "Send Bitcoin": "Enviar Bitcoin"; | ||
readonly "Send Payment": "Enviar Pago"; | ||
readonly "Sent to": undefined; | ||
readonly "Set a note for the receiver here (optional)": undefined; | ||
readonly "Set a note for the sender here (optional)": undefined; | ||
readonly "set an amount": undefined; | ||
readonly "Set invoice value in %{currency}": undefined; | ||
readonly "Set value to send in %{currency}": undefined; | ||
readonly "Share Bitcoin Address": undefined; | ||
readonly "Share Lightning Invoice": undefined; | ||
readonly Share: undefined; | ||
readonly "Share Bitcoin Address": "Compartir la dirección de Bitcoin"; | ||
readonly "Share Lightning Address": "Compartir la dirección de Lightning"; | ||
readonly "Sorry, we appear to be having issues loading the application data. If the problem persists, please contact support.": undefined; | ||
readonly "Success!": undefined; | ||
readonly "To confirm your phone number, enter the code we just sent you on %{phoneNumber}": undefined; | ||
readonly To: undefined; | ||
readonly Total: undefined; | ||
readonly "Transaction Details": undefined; | ||
readonly Transactions: undefined; | ||
readonly "Try Again": undefined; | ||
readonly Type: undefined; | ||
readonly "Username is required": undefined; | ||
readonly "To confirm your phone number, enter the code we just sent you on %{phoneNumber}": "Ingrese su número de teléfono, y le enviaremos un mensaje de texto con un código de acceso."; | ||
readonly "Transaction List": undefined; | ||
readonly "Load more transactions": "Obtener más transacciones"; | ||
readonly "Transactions with %{contactUsername}": "Las transacciones con %{contactUsername}"; | ||
readonly "username or invoice": undefined; | ||
readonly Username: undefined; | ||
readonly "Validate your phone to open your wallet": undefined; | ||
readonly "Verify you are human": undefined; | ||
readonly "Waiting for payment confirmation...": undefined; | ||
readonly "You can't send to yourself": undefined; | ||
readonly "You have been logged out.": undefined; | ||
readonly "You received": undefined; | ||
readonly "You spent": undefined; | ||
readonly "Your session has expired. Please log in again.": undefined; | ||
readonly "Received from": undefined; | ||
readonly "Sent to": undefined; | ||
}; | ||
export declare type VALID_KEYS = keyof typeof ES; | ||
export default ES; |
@@ -5,43 +5,18 @@ "use strict"; | ||
var ES = { | ||
"Address has been copied to the clipboard": undefined, | ||
"Activate Wallet": undefined, | ||
"Address": undefined, | ||
"Amount is required": undefined, | ||
"Back": undefined, | ||
"Bank": undefined, | ||
"Bitcoin Price": undefined, | ||
"Bitcoin": undefined, | ||
"Cancel": undefined, | ||
"Cash Account": undefined, | ||
"Click QR code to copy": undefined, | ||
"Close": undefined, | ||
"Coming soon!": undefined, | ||
"Confirm": undefined, | ||
"Current Balance": undefined, | ||
"Date": undefined, | ||
"Description": undefined, | ||
"Domain": undefined, | ||
"Email Support": undefined, | ||
"Email": undefined, | ||
"Enter amount and destination": undefined, | ||
"Enter your phone number and we'll text you an access code": undefined, | ||
"Error loading transactions": undefined, | ||
"Error": undefined, | ||
"Export transactions as CSV": undefined, | ||
"Fatal": undefined, | ||
"fee": undefined, | ||
"Fee": undefined, | ||
"Fees (sats)": undefined, | ||
"Fees (USD)": undefined, | ||
"Fees": undefined, | ||
"First Name": undefined, | ||
"Generate new invoice for %{amount}": undefined, | ||
"Generate New Invoice": undefined, | ||
"Home": undefined, | ||
"hour": undefined, | ||
"Address has been copied to the clipboard": "La dirección se ha copiado al portapapeles", | ||
"Cancel": "Cancelar", | ||
"Click QR code to copy": "Toque el código QR para copiar", | ||
"Close": "Cerrar", | ||
"Contacts": "Contactos", | ||
"Current Balance": "Saldo actual", | ||
"Description": "Descripción", | ||
"Email Support": "Soporte de contacto", | ||
"Enter amount and destination": "Ingrese cantidad y dirección", | ||
"Enter your phone number and we'll text you an access code": "Ingrese su número de teléfono y le enviaremos un mensaje de texto con un código de acceso", | ||
"Fee": "Tarifa", | ||
"Generate new invoice for %{amount}": "Generar una factura nueva por %{amount}", | ||
"Generate New Invoice": "Generar una factura nueva", | ||
"Hash": undefined, | ||
"hours": undefined, | ||
"Invaild country code": undefined, | ||
"Home": "Inicio", | ||
"Invaild verification. Please try again": undefined, | ||
"Invalid phone number": undefined, | ||
"Invalid QR Code": undefined, | ||
@@ -52,73 +27,40 @@ "Invoice Expired...": undefined, | ||
"Invoice value is now %{value}": undefined, | ||
"Invoice": undefined, | ||
"Language preference": undefined, | ||
"Language": undefined, | ||
"Last Name": undefined, | ||
"Later": undefined, | ||
"Lightning": undefined, | ||
"Log Out": undefined, | ||
"Login to send": undefined, | ||
"Login": undefined, | ||
"Logout": undefined, | ||
"minutes": undefined, | ||
"Next": undefined, | ||
"No connection": undefined, | ||
"No transactions": undefined, | ||
"Not able to generate invoice.": undefined, | ||
"Note": undefined, | ||
"Notification": undefined, | ||
"OK": undefined, | ||
"Login": "Iniciar sesión", | ||
"Logout": "Cerrar sesion", | ||
"No transactions": "No transacciones", | ||
"OnChain": undefined, | ||
"Open Wallet": undefined, | ||
"Payment amount exceeds balance of %{balance} sats": undefined, | ||
"Payment amount exceeds balance of %{balance} sats": "Cantidad excede su saldo de por %{balance}", | ||
"Payment failed": undefined, | ||
"Phone number is too long": undefined, | ||
"Phone number is too short": undefined, | ||
"Phone Number": undefined, | ||
"Please try again later.": undefined, | ||
"Powered By": undefined, | ||
"Receive another payment": undefined, | ||
"Receive Bitcoin": undefined, | ||
"Recent Transactions": undefined, | ||
"Receive Bitcoin": "Recibir Bitcoin", | ||
"Received from": undefined, | ||
"Recent Transactions": "Las transacciones", | ||
"Reload Application": undefined, | ||
"Restart": undefined, | ||
"sats": undefined, | ||
"Scan QR code": undefined, | ||
"Search": undefined, | ||
"Security": undefined, | ||
"Scan QR code": "Escanear QR", | ||
"Send another payment": undefined, | ||
"Send Bitcoin": undefined, | ||
"Send Payment": undefined, | ||
"Send": undefined, | ||
"Send Bitcoin": "Enviar Bitcoin", | ||
"Send Payment": "Enviar Pago", | ||
"Sent to": undefined, | ||
"Set a note for the receiver here (optional)": undefined, | ||
"Set a note for the sender here (optional)": undefined, | ||
"set an amount": undefined, | ||
"Set invoice value in %{currency}": undefined, | ||
"Set value to send in %{currency}": undefined, | ||
"Share Bitcoin Address": undefined, | ||
"Share Lightning Invoice": undefined, | ||
"Share": undefined, | ||
"Share Bitcoin Address": "Compartir la dirección de Bitcoin", | ||
"Share Lightning Address": "Compartir la dirección de Lightning", | ||
"Sorry, we appear to be having issues loading the application data. If the problem persists, please contact support.": undefined, | ||
"Success!": undefined, | ||
"To confirm your phone number, enter the code we just sent you on %{phoneNumber}": undefined, | ||
"To": undefined, | ||
"Total": undefined, | ||
"Transaction Details": undefined, | ||
"Transactions": undefined, | ||
"Try Again": undefined, | ||
"Type": undefined, | ||
"Username is required": undefined, | ||
"To confirm your phone number, enter the code we just sent you on %{phoneNumber}": "Ingrese su número de teléfono, y le enviaremos un mensaje de texto con un código de acceso.", | ||
"Transaction List": undefined, | ||
"Load more transactions": "Obtener más transacciones", | ||
"Transactions with %{contactUsername}": "Las transacciones con %{contactUsername}", | ||
"username or invoice": undefined, | ||
"Username": undefined, | ||
"Validate your phone to open your wallet": undefined, | ||
"Verify you are human": undefined, | ||
"Waiting for payment confirmation...": undefined, | ||
"You can't send to yourself": undefined, | ||
"You have been logged out.": undefined, | ||
"You received": undefined, | ||
"You spent": undefined, | ||
"Your session has expired. Please log in again.": undefined, | ||
"Received from": undefined, | ||
"Sent to": undefined, | ||
}; | ||
exports.default = ES; |
{ | ||
"name": "@galoymoney/client", | ||
"main": "dist/index.js", | ||
"version": "0.0.19", | ||
"version": "0.0.20", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "repository": "https://github.com/galoymoney/galoy-client", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
184447
3507