@hazem3500/palette 0.9.115 → 0.9.116

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/src/types.ts CHANGED
@@ -281,6 +281,8 @@ export interface CommentsOptions {
281
281
  */
282
282
  defaultMode?: "iframe" | "transform";
283
283
  iframeUrl?(location: Location): string;
284
+ /** Resolve a comment destination before same-origin iframe navigation. Null cancels; current is the live framed page, not the shell. */
285
+ resolveUrl?(destination: URL, current: Location): URL | null;
284
286
  /**
285
287
  * Single-copy simulated viewport (with mode "iframe"): turning it on reloads this page as a
286
288
  * shell for Palette, so the app runs once, in the frame. Requires the app's entry