@galoymoney/client
Advanced tools
Comparing version 0.0.17 to 0.0.18
@@ -8,4 +8,4 @@ "use strict"; | ||
var client_1 = require("@apollo/client"); | ||
var transactionListFragment = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment TransactionList on TransactionConnection {\n pageInfo {\n hasNextPage\n }\n edges {\n cursor\n node {\n __typename\n id\n status\n direction\n memo\n createdAt\n\n settlementAmount\n settlementFee\n settlementPrice {\n base\n offset\n currencyUnit\n formattedAmount\n }\n\n initiationVia {\n __typename\n ... on InitiationViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on InitiationViaLn {\n paymentHash\n }\n ... on InitiationViaOnChain {\n address\n }\n }\n settlementVia {\n __typename\n ... on SettlementViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on SettlementViaLn {\n paymentSecret\n }\n ... on SettlementViaOnChain {\n transactionHash\n }\n }\n }\n }\n }\n"], ["\n fragment TransactionList on TransactionConnection {\n pageInfo {\n hasNextPage\n }\n edges {\n cursor\n node {\n __typename\n id\n status\n direction\n memo\n createdAt\n\n settlementAmount\n settlementFee\n settlementPrice {\n base\n offset\n currencyUnit\n formattedAmount\n }\n\n initiationVia {\n __typename\n ... on InitiationViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on InitiationViaLn {\n paymentHash\n }\n ... on InitiationViaOnChain {\n address\n }\n }\n settlementVia {\n __typename\n ... on SettlementViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on SettlementViaLn {\n paymentSecret\n }\n ... on SettlementViaOnChain {\n transactionHash\n }\n }\n }\n }\n }\n"]))); | ||
var transactionListFragment = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment TransactionList on TransactionConnection {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n cursor\n node {\n __typename\n id\n status\n direction\n memo\n createdAt\n\n settlementAmount\n settlementFee\n settlementPrice {\n base\n offset\n currencyUnit\n formattedAmount\n }\n\n initiationVia {\n __typename\n ... on InitiationViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on InitiationViaLn {\n paymentHash\n }\n ... on InitiationViaOnChain {\n address\n }\n }\n settlementVia {\n __typename\n ... on SettlementViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on SettlementViaLn {\n paymentSecret\n }\n ... on SettlementViaOnChain {\n transactionHash\n }\n }\n }\n }\n }\n"], ["\n fragment TransactionList on TransactionConnection {\n pageInfo {\n hasNextPage\n hasPreviousPage\n startCursor\n endCursor\n }\n edges {\n cursor\n node {\n __typename\n id\n status\n direction\n memo\n createdAt\n\n settlementAmount\n settlementFee\n settlementPrice {\n base\n offset\n currencyUnit\n formattedAmount\n }\n\n initiationVia {\n __typename\n ... on InitiationViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on InitiationViaLn {\n paymentHash\n }\n ... on InitiationViaOnChain {\n address\n }\n }\n settlementVia {\n __typename\n ... on SettlementViaIntraLedger {\n counterPartyWalletId\n counterPartyUsername\n }\n ... on SettlementViaLn {\n paymentSecret\n }\n ... on SettlementViaOnChain {\n transactionHash\n }\n }\n }\n }\n }\n"]))); | ||
exports.default = transactionListFragment; | ||
var templateObject_1; |
@@ -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($username: Username!, $first: Int, $after: String) {\n me {\n id\n contactByUsername(username: $username) {\n transactions(first: $first, after: $after) {\n ...TransactionList\n }\n }\n }\n }\n ", "\n"], ["\n query transactionsListForContact($username: Username!, $first: Int, $after: String) {\n me {\n id\n contactByUsername(username: $username) {\n transactions(first: $first, after: $after) {\n ...TransactionList\n }\n }\n }\n }\n ", "\n"])), transaction_list_fragment_1.default); | ||
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 templateObject_1; |
@@ -12,4 +12,4 @@ "use strict"; | ||
var transaction_list_fragment_1 = __importDefault(require("../fragments/transaction-list-fragment")); | ||
var transactionList = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query transactionList($first: Int, $after: String) {\n me {\n id\n defaultAccount {\n id\n wallets {\n id\n transactions(first: $first, after: $after) {\n ...TransactionList\n }\n }\n }\n }\n }\n ", "\n"], ["\n query transactionList($first: Int, $after: String) {\n me {\n id\n defaultAccount {\n id\n wallets {\n id\n transactions(first: $first, after: $after) {\n ...TransactionList\n }\n }\n }\n }\n }\n ", "\n"])), transaction_list_fragment_1.default); | ||
var transactionList = (0, client_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n query transactionList($first: Int, $after: String, $last: Int, $before: String) {\n me {\n id\n defaultAccount {\n id\n wallets {\n id\n transactions(first: $first, after: $after, last: $last, before: $before) {\n ...TransactionList\n }\n }\n }\n }\n }\n ", "\n"], ["\n query transactionList($first: Int, $after: String, $last: Int, $before: String) {\n me {\n id\n defaultAccount {\n id\n wallets {\n id\n transactions(first: $first, after: $after, last: $last, before: $before) {\n ...TransactionList\n }\n }\n }\n }\n }\n ", "\n"])), transaction_list_fragment_1.default); | ||
exports.default = transactionList; | ||
var templateObject_1; |
@@ -33,2 +33,4 @@ import { QueryResult, QueryHookOptions } from "@apollo/client"; | ||
after?: GaloyGQL.InputMaybe<string> | undefined; | ||
last?: GaloyGQL.InputMaybe<number> | undefined; | ||
before?: GaloyGQL.InputMaybe<string> | undefined; | ||
}>> | undefined) => QueryResult<GaloyGQL.TransactionListQuery> & QueryHelpers; | ||
@@ -42,3 +44,11 @@ }; | ||
}]; | ||
transactionList: () => [(variables?: GaloyGQL.Exact<{ | ||
first?: GaloyGQL.InputMaybe<number> | undefined; | ||
after?: GaloyGQL.InputMaybe<string> | undefined; | ||
last?: GaloyGQL.InputMaybe<number> | undefined; | ||
before?: GaloyGQL.InputMaybe<string> | undefined; | ||
}> | undefined) => QueryResult<GaloyGQL.TransactionListQuery, import("@apollo/client").OperationVariables> & QueryHelpers, { | ||
loading: boolean; | ||
}]; | ||
}; | ||
export {}; |
@@ -147,7 +147,11 @@ "use strict"; | ||
}; | ||
var userDefaultWalletIdQuery = function () { | ||
var userDefaultWalletIdDelayedQuery = function () { | ||
return useDelayedQueryWrapper("userDefaultWalletId"); | ||
}; | ||
var transactionListDelayedQuery = function () { | ||
return useDelayedQueryWrapper("transactionList"); | ||
}; | ||
exports.useDelayedQuery = { | ||
userDefaultWalletId: userDefaultWalletIdQuery, | ||
userDefaultWalletId: userDefaultWalletIdDelayedQuery, | ||
transactionList: transactionListDelayedQuery, | ||
}; |
{ | ||
"name": "@galoymoney/client", | ||
"main": "dist/index.js", | ||
"version": "0.0.17", | ||
"main": "src/index.ts", | ||
"version": "0.0.18", | ||
"license": "MIT", | ||
@@ -26,4 +26,4 @@ "repository": "https://github.com/galoymoney/galoy-client", | ||
"i18n-js": "^3.8.0", | ||
"react": "^18.0.0-rc.0-next-2ed58eb88-20220126", | ||
"react-dom": "^18.0.0-rc.0-next-2ed58eb88-20220126", | ||
"react": "18.0.0-rc.0-next-2ed58eb88-20220126", | ||
"react-dom": "18.0.0-rc.0-next-2ed58eb88-20220126", | ||
"url": "^0.11.0" | ||
@@ -30,0 +30,0 @@ }, |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
300520
139
6937
+ Addedreact@18.0.0-rc.0-next-2ed58eb88-20220126(transitive)
+ Addedreact-dom@18.0.0-rc.0-next-2ed58eb88-20220126(transitive)
+ Addedscheduler@0.21.0-rc.0-next-2ed58eb88-20220126(transitive)
- Removedreact@18.3.1(transitive)
- Removedreact-dom@18.3.1(transitive)
- Removedscheduler@0.23.2(transitive)