Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@galoymoney/client

Package Overview
Dependencies
Maintainers
4
Versions
112
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@galoymoney/client - npm Package Compare versions

Comparing version 0.0.17 to 0.0.18

src/client/index.ts

2

dist/graphql/fragments/transaction-list-fragment.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc