@hebcal/noaa 0.8.15 → 0.8.16

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/index.cjs CHANGED
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NOAACalculator = exports.GeoLocation = void 0;
4
- const temporal_polyfill_1 = require("temporal-polyfill");
4
+ require("temporal-polyfill/global");
5
5
  /**
6
6
  * java.lang.Math.toRadians
7
7
  * @private
@@ -675,7 +675,7 @@ class NOAACalculator {
675
675
  return cal
676
676
  .toZonedDateTime({
677
677
  timeZone: 'UTC',
678
- plainTime: new temporal_polyfill_1.Temporal.PlainTime(hours, minutes, seconds, Math.trunc(calculatedTime * 1000)),
678
+ plainTime: new Temporal.PlainTime(hours, minutes, seconds, Math.trunc(calculatedTime * 1000)),
679
679
  })
680
680
  .withTimeZone(this.geoLocation.getTimeZone());
681
681
  }
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Temporal } from 'temporal-polyfill';
1
+ import 'temporal-polyfill/global';
2
2
  /**
3
3
  * A class that contains location information such as latitude and longitude required for astronomical calculations. The
4
4
  * elevation field may not be used by some calculation engines and would be ignored if set.
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { Temporal } from 'temporal-polyfill';
1
+ import 'temporal-polyfill/global';
2
2
  /**
3
3
  * java.lang.Math.toRadians
4
4
  * @private
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hebcal/noaa",
3
- "version": "0.8.15",
3
+ "version": "0.8.16",
4
4
  "description": "sunrise and sunset via NOAA algorithm with elevation, based on KosherJava",
5
5
  "author": "Michael J. Radwin (https://github.com/mjradwin)",
6
6
  "contributors": [