@ecency/sdk 2.3.23 → 2.3.24

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.
@@ -1238,7 +1238,10 @@ declare const QueryKeys: {
1238
1238
  containers?: string[];
1239
1239
  tag?: string;
1240
1240
  following?: string;
1241
- }) => string[];
1241
+ author?: string;
1242
+ observer?: string;
1243
+ limit?: number;
1244
+ }) => (string | number)[];
1242
1245
  readonly wavesByHost: (host: string) => string[];
1243
1246
  readonly wavesByTag: (host: string, tag: string) => string[];
1244
1247
  readonly wavesFollowing: (host: string, username: string) => string[];
@@ -4010,6 +4013,10 @@ interface WavesFeedParams {
4010
4013
  tag?: string;
4011
4014
  /** Only waves from accounts this user follows (across all containers). */
4012
4015
  following?: string;
4016
+ /** Only this author's waves (across all containers); the per-author feed. */
4017
+ author?: string;
4018
+ /** The viewing user; exclude authors they currently mute. */
4019
+ observer?: string;
4013
4020
  /** Page size (default 20). */
4014
4021
  limit?: number;
4015
4022
  }
@@ -4022,10 +4029,10 @@ interface WavesFeedParams {
4022
4029
  * replacing the per-container chain-RPC scan. The optional `tag` / `following`
4023
4030
  * filters narrow the same stream without changing the cursor.
4024
4031
  */
4025
- declare function getWavesFeedQueryOptions(params?: WavesFeedParams): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WavesFeedEntry[], Error, _tanstack_react_query.InfiniteData<WavesFeedEntry[], unknown>, string[], string | undefined>, "queryFn"> & {
4026
- queryFn?: _tanstack_react_query.QueryFunction<WavesFeedEntry[], string[], string | undefined> | undefined;
4032
+ declare function getWavesFeedQueryOptions(params?: WavesFeedParams): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseInfiniteQueryOptions<WavesFeedEntry[], Error, _tanstack_react_query.InfiniteData<WavesFeedEntry[], unknown>, (string | number)[], string | undefined>, "queryFn"> & {
4033
+ queryFn?: _tanstack_react_query.QueryFunction<WavesFeedEntry[], (string | number)[], string | undefined> | undefined;
4027
4034
  } & {
4028
- queryKey: string[] & {
4035
+ queryKey: (string | number)[] & {
4029
4036
  [dataTagSymbol]: _tanstack_react_query.InfiniteData<WavesFeedEntry[], unknown>;
4030
4037
  [dataTagErrorSymbol]: Error;
4031
4038
  };
@@ -4035,10 +4042,10 @@ declare function getWavesFeedQueryOptions(params?: WavesFeedParams): _tanstack_r
4035
4042
  * key, for the "new waves" poll. Separate from {@link getWavesFeedQueryOptions}
4036
4043
  * so refreshing it never truncates the infinite feed's loaded pages.
4037
4044
  */
4038
- declare function getWavesLatestFeedQueryOptions(params?: WavesFeedParams): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<WavesFeedEntry[], Error, WavesFeedEntry[], string[]>, "queryFn"> & {
4039
- queryFn?: _tanstack_react_query.QueryFunction<WavesFeedEntry[], string[], never> | undefined;
4045
+ declare function getWavesLatestFeedQueryOptions(params?: WavesFeedParams): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<WavesFeedEntry[], Error, WavesFeedEntry[], (string | number)[]>, "queryFn"> & {
4046
+ queryFn?: _tanstack_react_query.QueryFunction<WavesFeedEntry[], (string | number)[], never> | undefined;
4040
4047
  } & {
4041
- queryKey: string[] & {
4048
+ queryKey: (string | number)[] & {
4042
4049
  [dataTagSymbol]: WavesFeedEntry[];
4043
4050
  [dataTagErrorSymbol]: Error;
4044
4051
  };