@hazem3500/komo 0.9.32 → 0.9.34

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/setup.js CHANGED
@@ -1 +1 @@
1
- import{a as o,c as n}from"./chunk-MU3NFN44.js";import"./chunk-ILX63XAJ.js";import"./chunk-DH22G2S5.js";import"./chunk-53M6AOAX.js";import"./chunk-WGISPOJV.js";import"./chunk-PLSWBSSX.js";function r(r){return(s={})=>n(o({...r,...s}))}export{r as defineKomo};
1
+ import{a as o,c as n}from"./chunk-GC5MILHC.js";import"./chunk-ILX63XAJ.js";import"./chunk-DH22G2S5.js";import"./chunk-53M6AOAX.js";import"./chunk-WGISPOJV.js";import"./chunk-PLSWBSSX.js";function r(r){return(s={})=>n(o({...r,...s}))}export{r as defineKomo};
package/dist/types.d.ts CHANGED
@@ -172,9 +172,10 @@ export interface CommentsOptions {
172
172
  page?: () => string;
173
173
  /**
174
174
  * Client-side router navigation for opening a comment on another page, e.g.
175
- * (url) => router.navigate({ href: url.pathname + url.search }). komo opens
176
- * the thread once its anchor renders. Defaults to a full page load; a
177
- * rejection falls back to one.
175
+ * (url) => router.navigate({ href: url.pathname + url.search + url.hash }).
176
+ * Defaults to a full page load. With a hook, rejected/redirected navigation
177
+ * keeps the requested thread open with destination context; it never forces
178
+ * a reload or retries the router automatically.
178
179
  */
179
180
  navigate?: (url: URL) => void | Promise<void>;
180
181
  pollInterval?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hazem3500/komo",
3
- "version": "0.9.32",
3
+ "version": "0.9.34",
4
4
  "description": "Point, area, and threaded comments for website branches.",
5
5
  "type": "module",
6
6
  "license": "MIT",