@ecency/sdk 2.3.56 → 2.3.57
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.
package/dist/browser/index.d.ts
CHANGED
|
@@ -1323,7 +1323,7 @@ declare const QueryKeys: {
|
|
|
1323
1323
|
readonly favorites: (activeUsername?: string) => (string | undefined)[];
|
|
1324
1324
|
readonly favoritesInfinite: (activeUsername?: string, limit?: number) => unknown[];
|
|
1325
1325
|
readonly checkFavorite: (activeUsername: string, targetUsername: string) => string[];
|
|
1326
|
-
readonly relations: (reference: string, target: string) => string[];
|
|
1326
|
+
readonly relations: (reference: string | undefined, target: string | undefined) => (string | undefined)[];
|
|
1327
1327
|
readonly bots: () => string[];
|
|
1328
1328
|
readonly voteHistory: (username: string, limit: number) => (string | number)[];
|
|
1329
1329
|
readonly reputations: (query: string, limit: number) => (string | number)[];
|
|
@@ -1741,6 +1741,8 @@ interface ReturnVestingDelegation extends BaseTransaction {
|
|
|
1741
1741
|
interface ProposalPay extends BaseTransaction {
|
|
1742
1742
|
type: "proposal_pay";
|
|
1743
1743
|
payment: string;
|
|
1744
|
+
receiver: string;
|
|
1745
|
+
proposal_id: number;
|
|
1744
1746
|
}
|
|
1745
1747
|
interface UpdateProposalVotes extends BaseTransaction {
|
|
1746
1748
|
type: "update_proposal_votes";
|
|
@@ -3220,10 +3222,10 @@ declare function checkUsernameWalletsPendingQueryOptions(username: string, code:
|
|
|
3220
3222
|
};
|
|
3221
3223
|
};
|
|
3222
3224
|
|
|
3223
|
-
declare function getRelationshipBetweenAccountsQueryOptions(reference: string, target: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AccountRelationship, Error, AccountRelationship, string[]>, "queryFn"> & {
|
|
3224
|
-
queryFn?: _tanstack_react_query.QueryFunction<AccountRelationship, string[], never> | undefined;
|
|
3225
|
+
declare function getRelationshipBetweenAccountsQueryOptions(reference: string | undefined, target: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<AccountRelationship, Error, AccountRelationship, (string | undefined)[]>, "queryFn"> & {
|
|
3226
|
+
queryFn?: _tanstack_react_query.QueryFunction<AccountRelationship, (string | undefined)[], never> | undefined;
|
|
3225
3227
|
} & {
|
|
3226
|
-
queryKey: string[] & {
|
|
3228
|
+
queryKey: (string | undefined)[] & {
|
|
3227
3229
|
[dataTagSymbol]: AccountRelationship;
|
|
3228
3230
|
[dataTagErrorSymbol]: Error;
|
|
3229
3231
|
};
|
|
@@ -8139,12 +8141,17 @@ declare function useClaimPoints(username: string | undefined, accessToken: strin
|
|
|
8139
8141
|
interface SearchResult {
|
|
8140
8142
|
id: number;
|
|
8141
8143
|
title: string;
|
|
8144
|
+
title_marked?: string | null;
|
|
8142
8145
|
body: string;
|
|
8146
|
+
body_marked?: string | null;
|
|
8143
8147
|
category: string;
|
|
8144
8148
|
author: string;
|
|
8145
8149
|
permlink: string;
|
|
8146
8150
|
author_rep: number;
|
|
8147
8151
|
total_payout: number;
|
|
8152
|
+
payout: number;
|
|
8153
|
+
total_votes: number;
|
|
8154
|
+
up_votes: number;
|
|
8148
8155
|
img_url: string;
|
|
8149
8156
|
created_at: string;
|
|
8150
8157
|
children: number;
|