hive-react-kit 1.0.12 → 1.0.15
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/build.css +15 -0
- package/dist/components/BlogPostList.d.ts +4 -0
- package/dist/components/HiveDetailPost.d.ts +6 -1
- package/dist/components/VoteSlider.d.ts +8 -1
- package/dist/components/actionButtons/PostActionButton.d.ts +11 -1
- package/dist/components/comments/CommentsModal.d.ts +5 -1
- package/dist/components/community/CommunityDetail.d.ts +5 -1
- package/dist/components/community/CommunitySnapsTab.d.ts +4 -0
- package/dist/components/feed/SnapsFeedCard.d.ts +4 -0
- package/dist/components/feed/SnapsFeedView.d.ts +5 -1
- package/dist/components/inlineComments/InlineCommentItem.d.ts +5 -1
- package/dist/components/inlineComments/InlineCommentSection.d.ts +5 -1
- package/dist/components/user/ProfileSnapsTab.d.ts +3 -0
- package/dist/components/user/UserDetailProfile.d.ts +5 -0
- package/dist/index.cjs.js +231 -230
- package/dist/index.esm.js +28790 -28437
- package/dist/services/apiService.d.ts +1 -1
- package/dist/services/userService.d.ts +2 -2
- package/package.json +1 -1
|
@@ -46,7 +46,7 @@ declare class ApiService {
|
|
|
46
46
|
getCommentsList(author: string, permlink: string, observer?: string): Promise<Discussion[]>;
|
|
47
47
|
getMyVideos(authToken: string): Promise<ThreeSpeakVideo[]>;
|
|
48
48
|
getRankedPosts(sort?: PostSort, tag?: string, observer?: string, limit?: number, start_author?: string, start_permlink?: string): Promise<Post[]>;
|
|
49
|
-
getPostContent(author: string, permlink: string): Promise<Post | null>;
|
|
49
|
+
getPostContent(author: string, permlink: string, observer?: string): Promise<Post | null>;
|
|
50
50
|
}
|
|
51
51
|
export declare const apiService: ApiService;
|
|
52
52
|
export { server };
|
|
@@ -212,8 +212,8 @@ export interface KERatioResult {
|
|
|
212
212
|
}
|
|
213
213
|
/**
|
|
214
214
|
* KE ratio for a Hive account — lifetime rewards divided by own staked HP.
|
|
215
|
-
*
|
|
216
|
-
*
|
|
215
|
+
* Mirrors the server-side calculator at
|
|
216
|
+
* curation-marketing/Server/utils/ke-ratio-of-account.js.
|
|
217
217
|
*
|
|
218
218
|
* ke = (posting_rewards + curation_rewards in HP) / own_HP
|
|
219
219
|
*
|