hive-react-kit 1.12.4 → 1.12.6

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.
@@ -11,11 +11,17 @@ export declare function hasCurationVoterVoted(votes?: ActiveVote[] | null): bool
11
11
  * slider won't reopen for content the user already voted on, curation
12
12
  * needs a separate, vote-free entry point for that scenario. */
13
13
  export declare function hasUserVoted(votes: ActiveVote[] | null | undefined, username: string | null | undefined): boolean;
14
- /** True when the content was published via the HiveSuite app — either
15
- * `json_metadata.app` names it (e.g. `"hivesuite/1.2.3"`) or
16
- * `json_metadata.developer` is the HiveSuite dev account. The curate
17
- * button (and the curation backend) only ever considers this content —
18
- * curation isn't offered for posts/snaps/comments from other apps. */
14
+ /** True when the content was published via the HiveSuite app. Checks,
15
+ * in order:
16
+ * - `json_metadata.app` names it (e.g. `"hivesuite/1.2.3"`)
17
+ * - `json_metadata.developer` is the HiveSuite dev account
18
+ * - `json_metadata.tags` includes `"hivesuite"` video posts made via
19
+ * the 3Speak encoder carry `app: "3speak/x.y.z"` (that's the actual
20
+ * uploader), so the `hivesuite` tag is the only signal that the post
21
+ * itself was authored through HiveSuite.
22
+ * The curate button (and the curation backend) only ever considers this
23
+ * content — curation isn't offered for posts/snaps/comments from other
24
+ * apps. */
19
25
  export declare function isHiveSuiteContent(jsonMetadata: unknown): boolean;
20
26
  /** True when the post has received at least one downvote / flag.
21
27
  * Prefer `stats.flag_weight` when available — Hive's canonical
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hive-react-kit",
3
3
  "private": false,
4
- "version": "1.12.4",
4
+ "version": "1.12.6",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs.js",
7
7
  "module": "./dist/index.esm.js",