@hebcal/core 5.3.13 → 5.4.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.
package/dist/event.d.ts CHANGED
@@ -141,4 +141,4 @@ export class Event {
141
141
  */
142
142
  getCategories(): string[];
143
143
  }
144
- import { HDate } from './hdate.js';
144
+ import { HDate } from '@hebcal/hdate';
package/dist/hebcal.d.ts CHANGED
@@ -207,6 +207,13 @@ export class HebrewCalendar {
207
207
  * @return {Event[]}
208
208
  */
209
209
  static getHolidaysOnDate(date: HDate | Date | number, il?: boolean | undefined): Event[];
210
+ /**
211
+ * Eruv Tavshilin
212
+ * @param {Date | HDate} date
213
+ * @param {boolean} il
214
+ * @return {boolean}
215
+ */
216
+ static eruvTavshilin(date: Date | HDate, il: boolean): boolean;
210
217
  /**
211
218
  * Helper function to format a 23-hour (00:00-23:59) time in US format ("8:13pm") or
212
219
  * keep as "20:13" for any other locale/country. Uses {@link CalOptions} to determine
@@ -440,5 +447,5 @@ export type TachanunResult = {
440
447
  allCongs: boolean;
441
448
  };
442
449
  export type Event = import('./event').Event;
443
- import { HDate } from './hdate.js';
450
+ import { HDate } from '@hebcal/hdate';
444
451
  import { Location } from './location.js';
@@ -62,4 +62,4 @@ export class YomKippurKatanEvent extends HolidayEvent {
62
62
  memo: string;
63
63
  }
64
64
  import { Event } from './event.js';
65
- import { HDate } from './hdate.js';
65
+ import { HDate } from '@hebcal/hdate';