@ecency/sdk 1.5.12 → 1.5.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2340,8 +2340,8 @@ function toEntryArray(x) {
2340
2340
  return Array.isArray(x) ? x : [];
2341
2341
  }
2342
2342
  async function getVisibleFirstLevelThreadItems(container) {
2343
- const queryOptions86 = getDiscussionsQueryOptions(container, "created" /* created */, true);
2344
- const discussionItemsRaw = await CONFIG.queryClient.fetchQuery(queryOptions86);
2343
+ const queryOptions87 = getDiscussionsQueryOptions(container, "created" /* created */, true);
2344
+ const discussionItemsRaw = await CONFIG.queryClient.fetchQuery(queryOptions87);
2345
2345
  const discussionItems = toEntryArray(discussionItemsRaw);
2346
2346
  if (discussionItems.length <= 1) {
2347
2347
  return [];
@@ -4292,6 +4292,15 @@ function getReceivedVestingSharesQueryOptions(username) {
4292
4292
  }
4293
4293
  });
4294
4294
  }
4295
+ function getRecurrentTransfersQueryOptions(username) {
4296
+ return reactQuery.queryOptions({
4297
+ queryKey: ["wallet", "recurrent-transfers", username],
4298
+ queryFn: () => CONFIG.hiveClient.call("condenser_api", "find_recurrent_transfers", [
4299
+ username
4300
+ ]),
4301
+ enabled: !!username
4302
+ });
4303
+ }
4295
4304
  function getWitnessesInfiniteQueryOptions(limit) {
4296
4305
  return reactQuery.infiniteQueryOptions({
4297
4306
  queryKey: ["witnesses", "list", limit],
@@ -5590,6 +5599,7 @@ exports.getQueryClient = getQueryClient;
5590
5599
  exports.getRcStatsQueryOptions = getRcStatsQueryOptions;
5591
5600
  exports.getReblogsQueryOptions = getReblogsQueryOptions;
5592
5601
  exports.getReceivedVestingSharesQueryOptions = getReceivedVestingSharesQueryOptions;
5602
+ exports.getRecurrentTransfersQueryOptions = getRecurrentTransfersQueryOptions;
5593
5603
  exports.getReferralsInfiniteQueryOptions = getReferralsInfiniteQueryOptions;
5594
5604
  exports.getReferralsStatsQueryOptions = getReferralsStatsQueryOptions;
5595
5605
  exports.getRelationshipBetweenAccounts = getRelationshipBetweenAccounts;