cotomy 0.1.65 → 0.1.66

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.
@@ -2785,6 +2785,12 @@ class CotomyUrl {
2785
2785
  redirect() {
2786
2786
  window.location.href = this.url;
2787
2787
  }
2788
+ replace() {
2789
+ window.location.replace(this.url);
2790
+ }
2791
+ replaceState(state = null, title = "") {
2792
+ window.history.replaceState(state, title, this.url);
2793
+ }
2788
2794
  }
2789
2795
  class CotomyPageController {
2790
2796
  constructor() {