@galoymoney/client
Advanced tools
Comparing version 0.0.21 to 0.0.22
@@ -8,4 +8,4 @@ "use strict"; | ||
var client_1 = require("@apollo/client"); | ||
var deviceNotificationTokenCreate = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation deviceNotificationTokenCreate($deviceToken: String!) {\n deviceNotificationTokenCreate(input: { deviceToken: $deviceToken }) {\n errors {\n message\n }\n success\n }\n }\n"], ["\n mutation deviceNotificationTokenCreate($deviceToken: String!) {\n deviceNotificationTokenCreate(input: { deviceToken: $deviceToken }) {\n errors {\n message\n }\n success\n }\n }\n"]))); | ||
var deviceNotificationTokenCreate = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation deviceNotificationTokenCreate($input: DeviceNotificationTokenCreateInput!) {\n deviceNotificationTokenCreate(input: $input) {\n errors {\n message\n }\n success\n }\n }\n"], ["\n mutation deviceNotificationTokenCreate($input: DeviceNotificationTokenCreateInput!) {\n deviceNotificationTokenCreate(input: $input) {\n errors {\n message\n }\n success\n }\n }\n"]))); | ||
exports.default = deviceNotificationTokenCreate; | ||
var templateObject_1; |
@@ -8,4 +8,4 @@ "use strict"; | ||
var client_1 = require("@apollo/client"); | ||
var userQuizQuestionUpdateCompleted = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation userQuizQuestionUpdateCompleted(\n $input: UserQuizQuestionUpdateCompletedInput!\n ) {\n userQuizQuestionUpdateCompleted(input: $input) {\n errors {\n message\n }\n\n userQuizQuestion {\n question {\n id\n earnAmount\n }\n\n completed\n }\n }\n }\n"], ["\n mutation userQuizQuestionUpdateCompleted(\n $input: UserQuizQuestionUpdateCompletedInput!\n ) {\n userQuizQuestionUpdateCompleted(input: $input) {\n errors {\n message\n }\n\n userQuizQuestion {\n question {\n id\n earnAmount\n }\n\n completed\n }\n }\n }\n"]))); | ||
var userQuizQuestionUpdateCompleted = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation userQuizQuestionUpdateCompleted(\n $input: UserQuizQuestionUpdateCompletedInput!\n ) {\n userQuizQuestionUpdateCompleted(input: $input) {\n errors {\n message\n }\n\n userQuizQuestion {\n question {\n id\n earnAmount\n }\n completed\n }\n }\n }\n"], ["\n mutation userQuizQuestionUpdateCompleted(\n $input: UserQuizQuestionUpdateCompletedInput!\n ) {\n userQuizQuestionUpdateCompleted(input: $input) {\n errors {\n message\n }\n\n userQuizQuestion {\n question {\n id\n earnAmount\n }\n completed\n }\n }\n }\n"]))); | ||
exports.default = userQuizQuestionUpdateCompleted; | ||
var templateObject_1; |
@@ -8,4 +8,4 @@ "use strict"; | ||
var client_1 = require("@apollo/client"); | ||
var userUpdateLanguage = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation updateLanguage($language: Language!) {\n userUpdateLanguage(input: { language: $language }) {\n errors {\n message\n }\n user {\n id\n language\n }\n }\n }\n"], ["\n mutation updateLanguage($language: Language!) {\n userUpdateLanguage(input: { language: $language }) {\n errors {\n message\n }\n user {\n id\n language\n }\n }\n }\n"]))); | ||
var userUpdateLanguage = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation userUpdateLanguage($input: UserUpdateLanguageInput!) {\n userUpdateLanguage(input: $input) {\n errors {\n message\n }\n user {\n id\n language\n }\n }\n }\n"], ["\n mutation userUpdateLanguage($input: UserUpdateLanguageInput!) {\n userUpdateLanguage(input: $input) {\n errors {\n message\n }\n user {\n id\n language\n }\n }\n }\n"]))); | ||
exports.default = userUpdateLanguage; | ||
var templateObject_1; |
@@ -8,4 +8,4 @@ "use strict"; | ||
var client_1 = require("@apollo/client"); | ||
var userUpdateUsername = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation updateUsername($username: Username!) {\n userUpdateUsername(input: { username: $username }) {\n errors {\n message\n }\n user {\n id\n username\n }\n }\n }\n"], ["\n mutation updateUsername($username: Username!) {\n userUpdateUsername(input: { username: $username }) {\n errors {\n message\n }\n user {\n id\n username\n }\n }\n }\n"]))); | ||
var userUpdateUsername = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n mutation userUpdateUsername($input: UserUpdateUsernameInput!) {\n userUpdateUsername(input: $input) {\n errors {\n message\n }\n user {\n id\n username\n }\n }\n }\n"], ["\n mutation userUpdateUsername($input: UserUpdateUsernameInput!) {\n userUpdateUsername(input: $input) {\n errors {\n message\n }\n user {\n id\n username\n }\n }\n }\n"]))); | ||
exports.default = userUpdateUsername; | ||
var templateObject_1; |
@@ -8,4 +8,4 @@ "use strict"; | ||
var client_1 = require("@apollo/client"); | ||
var getWalletCsvTransactions = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query getWalletCsvTransactions($defaultWalletId: WalletId!) {\n me {\n id\n defaultAccount {\n id\n csvTransactions(walletIds: [$defaultWalletId])\n }\n }\n }\n"], ["\n query getWalletCsvTransactions($defaultWalletId: WalletId!) {\n me {\n id\n defaultAccount {\n id\n csvTransactions(walletIds: [$defaultWalletId])\n }\n }\n }\n"]))); | ||
var getWalletCsvTransactions = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query defaultWalletCsvTransactions($defaultWalletId: WalletId!) {\n me {\n id\n defaultAccount {\n id\n csvTransactions(walletIds: [$defaultWalletId])\n }\n }\n }\n"], ["\n query defaultWalletCsvTransactions($defaultWalletId: WalletId!) {\n me {\n id\n defaultAccount {\n id\n csvTransactions(walletIds: [$defaultWalletId])\n }\n }\n }\n"]))); | ||
exports.default = getWalletCsvTransactions; | ||
var templateObject_1; |
@@ -12,4 +12,4 @@ "use strict"; | ||
var me_fragment_1 = __importDefault(require("../fragments/me-fragment")); | ||
var myUpdates = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n subscription myUpdates($recentTransactions: Int = 5) {\n myUpdates {\n errors {\n message\n }\n me {\n ...Me\n }\n update {\n type: __typename\n ... on Price {\n base\n offset\n currencyUnit\n formattedAmount\n }\n ... on LnUpdate {\n walletId\n paymentHash\n status\n }\n ... on OnChainUpdate {\n walletId\n txNotificationType\n txHash\n amount\n usdPerSat\n }\n ... on IntraLedgerUpdate {\n walletId\n txNotificationType\n amount\n usdPerSat\n }\n }\n }\n }\n ", "\n"], ["\n subscription myUpdates($recentTransactions: Int = 5) {\n myUpdates {\n errors {\n message\n }\n me {\n ...Me\n }\n update {\n type: __typename\n ... on Price {\n base\n offset\n currencyUnit\n formattedAmount\n }\n ... on LnUpdate {\n walletId\n paymentHash\n status\n }\n ... on OnChainUpdate {\n walletId\n txNotificationType\n txHash\n amount\n usdPerSat\n }\n ... on IntraLedgerUpdate {\n walletId\n txNotificationType\n amount\n usdPerSat\n }\n }\n }\n }\n ", "\n"])), me_fragment_1.default); | ||
var myUpdates = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n subscription myUpdates($recentTransactions: Int = 5) {\n myUpdates {\n errors {\n message\n }\n me {\n ...Me\n }\n update {\n type: __typename\n ... on Price {\n base\n offset\n currencyUnit\n formattedAmount\n }\n ... on LnUpdate {\n walletId\n paymentHash\n status\n }\n ... on OnChainUpdate {\n walletId\n txNotificationType\n txHash\n amount\n displayCurrencyPerSat\n }\n ... on IntraLedgerUpdate {\n walletId\n txNotificationType\n amount\n displayCurrencyPerSat\n }\n }\n }\n }\n ", "\n"], ["\n subscription myUpdates($recentTransactions: Int = 5) {\n myUpdates {\n errors {\n message\n }\n me {\n ...Me\n }\n update {\n type: __typename\n ... on Price {\n base\n offset\n currencyUnit\n formattedAmount\n }\n ... on LnUpdate {\n walletId\n paymentHash\n status\n }\n ... on OnChainUpdate {\n walletId\n txNotificationType\n txHash\n amount\n displayCurrencyPerSat\n }\n ... on IntraLedgerUpdate {\n walletId\n txNotificationType\n amount\n displayCurrencyPerSat\n }\n }\n }\n }\n ", "\n"])), me_fragment_1.default); | ||
exports.default = myUpdates; | ||
var templateObject_1; |
@@ -24,81 +24,65 @@ import { MutationFunctionOptions, MutationHookOptions, MutationResult } from "@apollo/client"; | ||
}; | ||
declare type CaptchaCreateChallengeFunction = (options?: MutationFunctionOptions<GaloyGQL.CaptchaCreateChallengeMutation, GaloyGQL.CaptchaCreateChallengeMutationVariables>) => Promise<MutationResult<GaloyGQL.CaptchaCreateChallengeMutation> & MutationHelpers>; | ||
declare type CaptchaRequestAuthCodeFunction = (options?: MutationFunctionOptions<GaloyGQL.CaptchaRequestAuthCodeMutation, GaloyGQL.CaptchaRequestAuthCodeMutationVariables>) => Promise<MutationResult<GaloyGQL.CaptchaRequestAuthCodeMutation> & MutationHelpers>; | ||
declare type OnChainAddressCurrentFunction = (options?: MutationFunctionOptions<GaloyGQL.OnChainAddressCurrentMutation, GaloyGQL.OnChainAddressCurrentMutationVariables>) => Promise<MutationResult<GaloyGQL.OnChainAddressCurrentMutation> & MutationHelpers>; | ||
declare type LnInvoiceCreateFunction = (options?: MutationFunctionOptions<GaloyGQL.LnInvoiceCreateMutation, GaloyGQL.LnInvoiceCreateMutationVariables>) => Promise<MutationResult<GaloyGQL.LnInvoiceCreateMutation> & MutationHelpers>; | ||
declare type LnNoAmountInvoiceCreateFunction = (options?: MutationFunctionOptions<GaloyGQL.LnNoAmountInvoiceCreateMutation, GaloyGQL.LnNoAmountInvoiceCreateMutationVariables>) => Promise<MutationResult<GaloyGQL.LnNoAmountInvoiceCreateMutation> & MutationHelpers>; | ||
declare type IntraLedgerPaymentSendFunction = (options?: MutationFunctionOptions<GaloyGQL.IntraLedgerPaymentSendMutation, GaloyGQL.IntraLedgerPaymentSendMutationVariables>) => Promise<MutationResult<GaloyGQL.IntraLedgerPaymentSendMutation> & MutationHelpers>; | ||
declare type LnInvoicePaymentSendFunction = (options?: MutationFunctionOptions<GaloyGQL.LnInvoicePaymentSendMutation, GaloyGQL.LnInvoicePaymentSendMutationVariables>) => Promise<MutationResult<GaloyGQL.LnInvoicePaymentSendMutation> & MutationHelpers>; | ||
declare type LnInvoiceFeeProbeFunction = (options?: MutationFunctionOptions<GaloyGQL.LnInvoiceFeeProbeMutation, GaloyGQL.LnInvoiceFeeProbeMutationVariables>) => Promise<MutationResult<GaloyGQL.LnInvoiceFeeProbeMutation> & MutationHelpers>; | ||
declare type OnChainPaymentSendFunction = (options?: MutationFunctionOptions<GaloyGQL.OnChainPaymentSendMutation, GaloyGQL.OnChainPaymentSendMutationVariables>) => Promise<MutationResult<GaloyGQL.OnChainPaymentSendMutation> & MutationHelpers>; | ||
declare type LnNoAmountInvoicePaymentSendFunction = (options?: MutationFunctionOptions<GaloyGQL.LnNoAmountInvoicePaymentSendMutation, GaloyGQL.LnNoAmountInvoicePaymentSendMutationVariables>) => Promise<MutationResult<GaloyGQL.LnNoAmountInvoicePaymentSendMutation> & MutationHelpers>; | ||
declare type LnNoAmountInvoiceFeeProbeFunction = (options?: MutationFunctionOptions<GaloyGQL.LnNoAmountInvoiceFeeProbeMutation, GaloyGQL.LnNoAmountInvoiceFeeProbeMutationVariables>) => Promise<MutationResult<GaloyGQL.LnNoAmountInvoiceFeeProbeMutation> & MutationHelpers>; | ||
declare type MutationFunction<TData, TVars> = (options?: MutationFunctionOptions<TData, TVars>) => Promise<MutationResult<TData> & MutationHelpers>; | ||
export declare const useMutation: { | ||
captchaCreateChallenge: (config?: MutationHookOptions<GaloyGQL.CaptchaCreateChallengeMutation, GaloyGQL.Exact<{ | ||
[key: string]: never; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
CaptchaCreateChallengeFunction, | ||
MutationResult<GaloyGQL.CaptchaCreateChallengeMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.CaptchaCreateChallengeMutation, GaloyGQL.Exact<{ | ||
[key: string]: never; | ||
}>>, MutationResult<GaloyGQL.CaptchaCreateChallengeMutation> & MutationHelpers]; | ||
captchaRequestAuthCode: (config?: MutationHookOptions<GaloyGQL.CaptchaRequestAuthCodeMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.CaptchaRequestAuthCodeInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
CaptchaRequestAuthCodeFunction, | ||
MutationResult<GaloyGQL.CaptchaRequestAuthCodeMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.CaptchaRequestAuthCodeMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.CaptchaRequestAuthCodeInput; | ||
}>>, MutationResult<GaloyGQL.CaptchaRequestAuthCodeMutation> & MutationHelpers]; | ||
intraLedgerPaymentSend: (config?: MutationHookOptions<GaloyGQL.IntraLedgerPaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.IntraLedgerPaymentSendInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
IntraLedgerPaymentSendFunction, | ||
MutationResult<GaloyGQL.IntraLedgerPaymentSendMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.IntraLedgerPaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.IntraLedgerPaymentSendInput; | ||
}>>, MutationResult<GaloyGQL.IntraLedgerPaymentSendMutation> & MutationHelpers]; | ||
lnInvoiceCreate: (config?: MutationHookOptions<GaloyGQL.LnInvoiceCreateMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnInvoiceCreateInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
LnInvoiceCreateFunction, | ||
MutationResult<GaloyGQL.LnInvoiceCreateMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.LnInvoiceCreateMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnInvoiceCreateInput; | ||
}>>, MutationResult<GaloyGQL.LnInvoiceCreateMutation> & MutationHelpers]; | ||
lnInvoiceFeeProbe: (config?: MutationHookOptions<GaloyGQL.LnInvoiceFeeProbeMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnInvoiceFeeProbeInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
LnInvoiceFeeProbeFunction, | ||
MutationResult<GaloyGQL.LnInvoiceFeeProbeMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.LnInvoiceFeeProbeMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnInvoiceFeeProbeInput; | ||
}>>, MutationResult<GaloyGQL.LnInvoiceFeeProbeMutation> & MutationHelpers]; | ||
lnInvoicePaymentSend: (config?: MutationHookOptions<GaloyGQL.LnInvoicePaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnInvoicePaymentInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
LnInvoicePaymentSendFunction, | ||
MutationResult<GaloyGQL.LnInvoicePaymentSendMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.LnInvoicePaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnInvoicePaymentInput; | ||
}>>, MutationResult<GaloyGQL.LnInvoicePaymentSendMutation> & MutationHelpers]; | ||
lnNoAmountInvoiceCreate: (config?: MutationHookOptions<GaloyGQL.LnNoAmountInvoiceCreateMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnNoAmountInvoiceCreateInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
LnNoAmountInvoiceCreateFunction, | ||
MutationResult<GaloyGQL.LnNoAmountInvoiceCreateMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.LnNoAmountInvoiceCreateMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnNoAmountInvoiceCreateInput; | ||
}>>, MutationResult<GaloyGQL.LnNoAmountInvoiceCreateMutation> & MutationHelpers]; | ||
userUpdateLanguage: (config?: MutationHookOptions<GaloyGQL.UserUpdateLanguageMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.UserUpdateLanguageInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.UserUpdateLanguageMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.UserUpdateLanguageInput; | ||
}>>, MutationResult<GaloyGQL.UserUpdateLanguageMutation> & MutationHelpers]; | ||
lnNoAmountInvoiceFeeProbe: (config?: MutationHookOptions<GaloyGQL.LnNoAmountInvoiceFeeProbeMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnNoAmountInvoiceFeeProbeInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
LnNoAmountInvoiceFeeProbeFunction, | ||
MutationResult<GaloyGQL.LnNoAmountInvoiceFeeProbeMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.LnNoAmountInvoiceFeeProbeMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnNoAmountInvoiceFeeProbeInput; | ||
}>>, MutationResult<GaloyGQL.LnNoAmountInvoiceFeeProbeMutation> & MutationHelpers]; | ||
lnNoAmountInvoicePaymentSend: (config?: MutationHookOptions<GaloyGQL.LnNoAmountInvoicePaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnNoAmountInvoicePaymentInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
LnNoAmountInvoicePaymentSendFunction, | ||
MutationResult<GaloyGQL.LnNoAmountInvoicePaymentSendMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.LnNoAmountInvoicePaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.LnNoAmountInvoicePaymentInput; | ||
}>>, MutationResult<GaloyGQL.LnNoAmountInvoicePaymentSendMutation> & MutationHelpers]; | ||
onChainAddressCurrent: (config?: MutationHookOptions<GaloyGQL.OnChainAddressCurrentMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.OnChainAddressCurrentInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
OnChainAddressCurrentFunction, | ||
MutationResult<GaloyGQL.OnChainAddressCurrentMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.OnChainAddressCurrentMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.OnChainAddressCurrentInput; | ||
}>>, MutationResult<GaloyGQL.OnChainAddressCurrentMutation> & MutationHelpers]; | ||
onChainPaymentSend: (config?: MutationHookOptions<GaloyGQL.OnChainPaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.OnChainPaymentSendInput; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [ | ||
OnChainPaymentSendFunction, | ||
MutationResult<GaloyGQL.OnChainPaymentSendMutation> & MutationHelpers | ||
]; | ||
}>, import("@apollo/client").DefaultContext, import("@apollo/client").ApolloCache<any>> | undefined) => [MutationFunction<GaloyGQL.OnChainPaymentSendMutation, GaloyGQL.Exact<{ | ||
input: GaloyGQL.OnChainPaymentSendInput; | ||
}>>, MutationResult<GaloyGQL.OnChainPaymentSendMutation> & MutationHelpers]; | ||
}; | ||
export {}; |
@@ -118,35 +118,19 @@ "use strict"; | ||
}; | ||
var captchaCreateChallengeMutation = function (config) { | ||
return useMutationWrapper("captchaCreateChallenge", config); | ||
var defineMutation = function (name) { | ||
return function (config) { | ||
return useMutationWrapper(name, config); | ||
}; | ||
}; | ||
var captchaRequestAuthCodeMutation = function (config) { | ||
return useMutationWrapper("captchaRequestAuthCode", config); | ||
}; | ||
var onChainAddressCurrentMutation = function (config) { | ||
return useMutationWrapper("onChainAddressCurrent", config); | ||
}; | ||
var lnInvoiceCreateMutation = function (config) { | ||
return useMutationWrapper("lnInvoiceCreate", config); | ||
}; | ||
var lnNoAmountInvoiceCreateMutation = function (config) { | ||
return useMutationWrapper("lnNoAmountInvoiceCreate", config); | ||
}; | ||
var intraLedgerPaymentSendMutation = function (config) { | ||
return useMutationWrapper("intraLedgerPaymentSend", config); | ||
}; | ||
var lnInvoicePaymentSendMutation = function (config) { | ||
return useMutationWrapper("lnInvoicePaymentSend", config); | ||
}; | ||
var lnInvoiceFeeProbeMutation = function (config) { | ||
return useMutationWrapper("lnInvoiceFeeProbe", config); | ||
}; | ||
var onChainPaymentSendMutation = function (config) { | ||
return useMutationWrapper("onChainPaymentSend", config); | ||
}; | ||
var lnNoAmountInvoicePaymentSendMutation = function (config) { | ||
return useMutationWrapper("lnNoAmountInvoicePaymentSend", config); | ||
}; | ||
var lnNoAmountInvoiceFeeProbeMutation = function (config) { | ||
return useMutationWrapper("lnNoAmountInvoiceFeeProbe", config); | ||
}; | ||
var captchaCreateChallengeMutation = defineMutation("captchaCreateChallenge"); | ||
var captchaRequestAuthCodeMutation = defineMutation("captchaRequestAuthCode"); | ||
var onChainAddressCurrentMutation = defineMutation("onChainAddressCurrent"); | ||
var lnInvoiceCreateMutation = defineMutation("lnInvoiceCreate"); | ||
var lnNoAmountInvoiceCreateMutation = defineMutation("lnNoAmountInvoiceCreate"); | ||
var intraLedgerPaymentSendMutation = defineMutation("intraLedgerPaymentSend"); | ||
var lnInvoicePaymentSendMutation = defineMutation("lnInvoicePaymentSend"); | ||
var lnInvoiceFeeProbeMutation = defineMutation("lnInvoiceFeeProbe"); | ||
var onChainPaymentSendMutation = defineMutation("onChainPaymentSend"); | ||
var lnNoAmountInvoicePaymentSendMutation = defineMutation("lnNoAmountInvoicePaymentSend"); | ||
var lnNoAmountInvoiceFeeProbeMutation = defineMutation("lnNoAmountInvoiceFeeProbe"); | ||
var userUpdateLanguageMutation = defineMutation("userUpdateLanguage"); | ||
exports.useMutation = { | ||
@@ -160,2 +144,3 @@ captchaCreateChallenge: captchaCreateChallengeMutation, | ||
lnNoAmountInvoiceCreate: lnNoAmountInvoiceCreateMutation, | ||
userUpdateLanguage: userUpdateLanguageMutation, | ||
lnNoAmountInvoiceFeeProbe: lnNoAmountInvoiceFeeProbeMutation, | ||
@@ -162,0 +147,0 @@ lnNoAmountInvoicePaymentSend: lnNoAmountInvoicePaymentSendMutation, |
@@ -6,6 +6,10 @@ declare const ES: { | ||
readonly Close: "Cerrar"; | ||
readonly "Color Theme": undefined; | ||
readonly Contacts: "Contactos"; | ||
readonly "Current Balance": "Saldo actual"; | ||
readonly "Dark mode": undefined; | ||
readonly "Default (OS)": "Predeterminado (OS)"; | ||
readonly Description: "Descripción"; | ||
readonly "Email Support": "Soporte de contacto"; | ||
readonly English: "Inglés"; | ||
readonly "Enter amount and destination": "Ingrese cantidad y dirección"; | ||
@@ -24,3 +28,6 @@ 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 "Invoice value is now %{value}": undefined; | ||
readonly Language: "Idioma"; | ||
readonly "Light mode": undefined; | ||
readonly Lightning: undefined; | ||
readonly "Load more transactions": "Obtener más transacciones"; | ||
readonly "Login to send": undefined; | ||
@@ -51,10 +58,12 @@ readonly Login: "Iniciar sesión"; | ||
readonly "Set value to send in %{currency}": undefined; | ||
readonly Settings: "Configuración"; | ||
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 Spanish: "Español"; | ||
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: "Nombre de usuario"; | ||
readonly "Verify you are human": undefined; | ||
@@ -61,0 +70,0 @@ readonly "Waiting for payment confirmation...": undefined; |
@@ -9,6 +9,10 @@ "use strict"; | ||
"Close": "Cerrar", | ||
"Color Theme": undefined, | ||
"Contacts": "Contactos", | ||
"Current Balance": "Saldo actual", | ||
"Dark mode": undefined, | ||
"Default (OS)": "Predeterminado (OS)", | ||
"Description": "Descripción", | ||
"Email Support": "Soporte de contacto", | ||
"English": "Inglés", | ||
"Enter amount and destination": "Ingrese cantidad y dirección", | ||
@@ -27,3 +31,6 @@ "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", | ||
"Invoice value is now %{value}": undefined, | ||
"Language": "Idioma", | ||
"Light mode": undefined, | ||
"Lightning": undefined, | ||
"Load more transactions": "Obtener más transacciones", | ||
"Login to send": undefined, | ||
@@ -54,10 +61,12 @@ "Login": "Iniciar sesión", | ||
"Set value to send in %{currency}": undefined, | ||
"Settings": "Configuración", | ||
"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, | ||
"Spanish": "Español", | ||
"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": "Nombre de usuario", | ||
"Verify you are human": undefined, | ||
@@ -64,0 +73,0 @@ "Waiting for payment confirmation...": undefined, |
{ | ||
"name": "@galoymoney/client", | ||
"main": "dist/index.js", | ||
"version": "0.0.21", | ||
"version": "0.0.22", | ||
"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 too big to display
194371
104
3496