@forcecalendar/core 2.1.46 → 2.1.47

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.
@@ -605,6 +605,11 @@ export class Event {
605
605
  throw new Error('Attendee must have an email');
606
606
  }
607
607
 
608
+ // Validate email format (matches constructor validation)
609
+ if (!this._isValidEmail(attendee.email)) {
610
+ throw new Error(`Invalid email for attendee: ${attendee.email}`);
611
+ }
612
+
608
613
  // Check if attendee already exists
609
614
  if (this.hasAttendee(attendee.email)) {
610
615
  return false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forcecalendar/core",
3
- "version": "2.1.46",
3
+ "version": "2.1.47",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "description": "A modern, lightweight, framework-agnostic calendar engine optimized for Salesforce",