@sockethub/platform-metadata 1.0.1-alpha.19 → 1.0.1-alpha.20

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/index.d.ts CHANGED
@@ -160,6 +160,12 @@ export default class Metadata implements PlatformInterface {
160
160
  private userAgent;
161
161
  private compatUserAgent;
162
162
  fetch(job: ActivityStream, cb: PlatformCallback): void;
163
+ /**
164
+ * Verify likely direct-image links when possible. Origins commonly block
165
+ * server-side preview agents, so a strong file extension remains a useful
166
+ * fallback: the client can still request the original resource itself.
167
+ */
168
+ private fetchDirectImage;
163
169
  /** Fetch and validate YouTube's official preview metadata. */
164
170
  private fetchYouTubeEmbed;
165
171
  private fetchTweet;