@forcecalendar/core 1.0.6 → 1.1.0

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.
@@ -736,8 +736,8 @@ export class Calendar {
736
736
  // Clear all listeners
737
737
  this.listeners.clear();
738
738
 
739
- // Clear stores
740
- this.eventStore.clear();
739
+ // Properly destroy EventStore (clears events, caches, and cleanup timers)
740
+ this.eventStore.destroy();
741
741
 
742
742
  // Clear plugins
743
743
  this.plugins.forEach(plugin => {
@@ -747,6 +747,9 @@ export class Calendar {
747
747
  });
748
748
  this.plugins.clear();
749
749
 
750
+ // Clear view instances
751
+ this.views.clear();
752
+
750
753
  this._emit('destroy');
751
754
  }
752
755
  }// Test workflow
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forcecalendar/core",
3
- "version": "1.0.6",
3
+ "version": "1.1.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "A modern, lightweight, framework-agnostic calendar engine optimized for Salesforce",