@ecency/sdk 2.2.20 → 2.2.21

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.
@@ -1280,7 +1280,7 @@ declare const QueryKeys: {
1280
1280
  readonly results: (q: string, sort: string, hideLow: boolean | string, since?: string, scrollId?: string, votes?: number) => readonly ["search", string, string, boolean, string | undefined, string | undefined, number | undefined];
1281
1281
  readonly controversialRising: (what: string, tag: string) => string[];
1282
1282
  readonly similarEntries: (author: string, permlink: string, query: string) => string[];
1283
- readonly api: (q: string, sort: string, hideLow: boolean, since?: string, votes?: number) => (string | number | boolean | undefined)[];
1283
+ readonly api: (q: string, sort: string, hideLow: boolean, since?: string, votes?: number, includeNsfw?: boolean) => unknown[];
1284
1284
  };
1285
1285
  readonly witnesses: {
1286
1286
  readonly list: (limit: number) => (string | number)[];
@@ -7704,10 +7704,10 @@ declare function getSearchTopicsQueryOptions(q: string, limit?: number): _tansta
7704
7704
  };
7705
7705
  };
7706
7706
 
7707
- declare function getSearchApiInfiniteQueryOptions(q: string, sort: string, hideLow: boolean, since?: string, votes?: number): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<SearchResponse, Error, _tanstack_react_query.InfiniteData<SearchResponse, unknown>, (string | number | boolean | undefined)[], string | undefined>, "queryFn"> & {
7708
- queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, (string | number | boolean | undefined)[], string | undefined> | undefined;
7707
+ declare function getSearchApiInfiniteQueryOptions(q: string, sort: string, hideLow: boolean, since?: string, votes?: number, includeNsfw?: boolean): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<SearchResponse, Error, _tanstack_react_query.InfiniteData<SearchResponse, unknown>, unknown[], string | undefined>, "queryFn"> & {
7708
+ queryFn?: _tanstack_react_query.QueryFunction<SearchResponse, unknown[], string | undefined> | undefined;
7709
7709
  } & {
7710
- queryKey: (string | number | boolean | undefined)[] & {
7710
+ queryKey: unknown[] & {
7711
7711
  [dataTagSymbol]: _tanstack_react_query.InfiniteData<SearchResponse, unknown>;
7712
7712
  [dataTagErrorSymbol]: Error;
7713
7713
  };