@page-speed/agent-everywhere 1.1.1 → 1.1.2

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.cts CHANGED
@@ -270,7 +270,11 @@ interface LinkInputData {
270
270
  defaultValue?: LinkPreview | null;
271
271
  defaultExpanded?: boolean;
272
272
  disabled?: boolean;
273
- /** OpenGraph endpoint (`?url=` appended). Host-supplied; no origin embedded. */
273
+ /**
274
+ * OpenGraph extraction endpoint (`?url=` appended). Defaults to a public
275
+ * service so the component works with zero host setup; override to use a
276
+ * different one.
277
+ */
274
278
  endpoint?: string;
275
279
  }
276
280
  type MediaCheckboxMediaType = 'image' | 'video';
@@ -2332,7 +2336,7 @@ interface AudioPlayerProps extends AudioPlayerData {
2332
2336
  }
2333
2337
  declare function AudioPlayer({ title, src, durationSeconds, currentTimeSeconds, isPlaying, waveform, chapters, accentColor, inactiveColor, activeChapterBg, mutedTextColor, className, onTogglePlay, onSeek, }: AudioPlayerProps): react.JSX.Element;
2334
2338
 
2335
- declare const DEFAULT_OPEN_GRAPH_ENDPOINT = "/api/opengraph";
2339
+ declare const DEFAULT_OPEN_GRAPH_ENDPOINT = "https://octane.cdn.ing/api/v1/extract/open-graph";
2336
2340
  type Maybe<T> = T | null | undefined;
2337
2341
  type OpenGraphImage = {
2338
2342
  url?: Maybe<string>;
package/dist/index.d.ts CHANGED
@@ -270,7 +270,11 @@ interface LinkInputData {
270
270
  defaultValue?: LinkPreview | null;
271
271
  defaultExpanded?: boolean;
272
272
  disabled?: boolean;
273
- /** OpenGraph endpoint (`?url=` appended). Host-supplied; no origin embedded. */
273
+ /**
274
+ * OpenGraph extraction endpoint (`?url=` appended). Defaults to a public
275
+ * service so the component works with zero host setup; override to use a
276
+ * different one.
277
+ */
274
278
  endpoint?: string;
275
279
  }
276
280
  type MediaCheckboxMediaType = 'image' | 'video';
@@ -2332,7 +2336,7 @@ interface AudioPlayerProps extends AudioPlayerData {
2332
2336
  }
2333
2337
  declare function AudioPlayer({ title, src, durationSeconds, currentTimeSeconds, isPlaying, waveform, chapters, accentColor, inactiveColor, activeChapterBg, mutedTextColor, className, onTogglePlay, onSeek, }: AudioPlayerProps): react.JSX.Element;
2334
2338
 
2335
- declare const DEFAULT_OPEN_GRAPH_ENDPOINT = "/api/opengraph";
2339
+ declare const DEFAULT_OPEN_GRAPH_ENDPOINT = "https://octane.cdn.ing/api/v1/extract/open-graph";
2336
2340
  type Maybe<T> = T | null | undefined;
2337
2341
  type OpenGraphImage = {
2338
2342
  url?: Maybe<string>;
package/dist/index.js CHANGED
@@ -9980,7 +9980,7 @@ function resolveIconName(name, className = "size-5 shrink-0") {
9980
9980
  const render = ICON_MAP[name.trim().toLowerCase()];
9981
9981
  return render ? render(className) : null;
9982
9982
  }
9983
- var DEFAULT_OPEN_GRAPH_ENDPOINT = "/api/opengraph";
9983
+ var DEFAULT_OPEN_GRAPH_ENDPOINT = "https://octane.cdn.ing/api/v1/extract/open-graph";
9984
9984
  function firstString(...values) {
9985
9985
  for (const value of values) {
9986
9986
  if (typeof value === "string" && value.trim()) {