hive-react-kit 1.8.6 → 1.8.8

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.
@@ -44,8 +44,12 @@ export type Attachment = {
44
44
  } | {
45
45
  kind: 'spotify';
46
46
  url: string;
47
+ } | {
48
+ kind: 'odysee';
49
+ url: string;
47
50
  };
48
51
  export declare const SPOTIFY_REGEX: RegExp;
52
+ export declare const ODYSEE_REGEX: RegExp;
49
53
  export declare const TWITTER_REGEX: RegExp;
50
54
  export declare const YOUTUBE_REGEX: RegExp;
51
55
  export declare const THREE_SPEAK_REGEX: RegExp;
@@ -71,6 +75,9 @@ export declare const ThreeSpeakPlayer: FC<{
71
75
  permlink: string;
72
76
  }>;
73
77
  export declare const attachmentLabel: (a: Attachment) => string;
78
+ /** Convert an Odysee watch URL to its embeddable `/$/embed/…` form.
79
+ * Returns null if the URL doesn't match the expected path structure. */
80
+ export declare function buildOdyseeEmbedUrl(url: string): string | null;
74
81
  export declare const TwitterEmbed: FC<{
75
82
  id: string;
76
83
  }>;