@ecency/sdk 2.1.1 → 2.1.3
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
|
@@ -7510,11 +7510,11 @@ interface BoostPlusPayload {
|
|
|
7510
7510
|
declare function useBoostPlus(username: string | undefined, auth?: AuthContextV2): _tanstack_react_query.UseMutationResult<unknown, Error, BoostPlusPayload, unknown>;
|
|
7511
7511
|
|
|
7512
7512
|
type BridgeParams = Record<string, unknown> | unknown[];
|
|
7513
|
-
declare function bridgeApiCall<T>(endpoint: string, params: BridgeParams): Promise<T>;
|
|
7514
|
-
declare function resolvePost(post: Entry$1, observer: string, num?: number): Promise<Entry$1>;
|
|
7515
|
-
declare function getPostsRanked(sort: string, start_author?: string, start_permlink?: string, limit?: number, tag?: string, observer?: string): Promise<Entry$1[] | null>;
|
|
7516
|
-
declare function getAccountPosts(sort: string, account: string, start_author?: string, start_permlink?: string, limit?: number, observer?: string): Promise<Entry$1[] | null>;
|
|
7517
|
-
declare function getPost(author?: string, permlink?: string, observer?: string, num?: number): Promise<Entry$1 | undefined>;
|
|
7513
|
+
declare function bridgeApiCall<T>(endpoint: string, params: BridgeParams, signal?: AbortSignal): Promise<T>;
|
|
7514
|
+
declare function resolvePost(post: Entry$1, observer: string, num?: number, signal?: AbortSignal): Promise<Entry$1>;
|
|
7515
|
+
declare function getPostsRanked(sort: string, start_author?: string, start_permlink?: string, limit?: number, tag?: string, observer?: string, signal?: AbortSignal): Promise<Entry$1[] | null>;
|
|
7516
|
+
declare function getAccountPosts(sort: string, account: string, start_author?: string, start_permlink?: string, limit?: number, observer?: string, signal?: AbortSignal): Promise<Entry$1[] | null>;
|
|
7517
|
+
declare function getPost(author?: string, permlink?: string, observer?: string, num?: number, signal?: AbortSignal): Promise<Entry$1 | undefined>;
|
|
7518
7518
|
declare function getPostHeader(author?: string, permlink?: string): Promise<Entry$1 | null>;
|
|
7519
7519
|
declare function getDiscussion(author: string, permlink: string, observer?: string): Promise<Record<string, Entry$1> | null>;
|
|
7520
7520
|
declare function getCommunity(name: string, observer?: string | undefined): Promise<Community | null>;
|