hive-react-kit 1.12.12 → 1.12.14
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/components/VoteSlider.d.ts +2 -1
- package/dist/config/hiveEndpoint.d.ts +3 -0
- package/dist/index.cjs.js +230 -231
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +29120 -29377
- package/package.json +1 -1
|
@@ -33,7 +33,8 @@ export declare function VoteSlider({ author, permlink, defaultValue, step, onUpv
|
|
|
33
33
|
* <content published via HiveSuite>` before rendering — this
|
|
34
34
|
* component has no opinion on eligibility, it just renders the
|
|
35
35
|
* option when told to (pending a fresh already-submitted check —
|
|
36
|
-
* see `onFetchCurationStatus`
|
|
36
|
+
* see `onFetchCurationStatus` — and the author's KE ratio, checked
|
|
37
|
+
* internally against `MAX_AUTHOR_KE`). */
|
|
37
38
|
curationEligible?: boolean;
|
|
38
39
|
/** Required when `curationEligible` — sizes the curation-weight
|
|
39
40
|
* slider's built-in default range before the server limit resolves. */
|
|
@@ -18,3 +18,6 @@ export declare function subscribeHiveApiEndpoint(cb: (url: string) => void): ()
|
|
|
18
18
|
* the latest node without reconstruction.
|
|
19
19
|
*/
|
|
20
20
|
export declare function getHiveClient(options?: ClientOptions): Client;
|
|
21
|
+
export declare function getGlobalPostFilter(): (post: any) => boolean;
|
|
22
|
+
export declare function setGlobalPostFilter(fn: (post: any) => boolean): void;
|
|
23
|
+
export declare function subscribeGlobalPostFilter(cb: () => void): () => void;
|