diff --git a/package.json b/package.json index 3896082..1e2eba1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hebcal/noaa", - "version": "0.8.15", + "version": "0.8.16", "description": "sunrise and sunset via NOAA algorithm with elevation, based on KosherJava", "author": "Michael J. Radwin (https://github.com/mjradwin)", "contributors": [ diff --git a/src/index.ts b/src/index.ts index b0666ac..8ed28f5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,4 @@ -import { Temporal } from 'temporal-polyfill'; +import 'temporal-polyfill/global'; /** * java.lang.Math.toRadians @@ -248,13 +248,13 @@ export class NOAACalculator { * The Java Calendar encapsulated by this class to track the current date used by the class * @private */ - private date!: Temporal.PlainDate; + private date: Temporal.PlainDate; /** * the {@link GeoLocation} used for calculations. * @private */ - private geoLocation!: GeoLocation; + private geoLocation: GeoLocation; /** * The getSunrise method Returns a `Date` representing the * {@link getElevationAdjustment elevation adjusted} sunrise time. The zenith used