natural-time-js 1.0.2 → 1.0.3

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.
Files changed (3) hide show
  1. package/context.js +1 -1
  2. package/index.js +1 -1
  3. package/package.json +2 -2
package/context.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { NaturalDate } from './index.js';
2
- import { Body, Observer, SearchHourAngle, SearchRiseSet, SearchAltitude, MoonPhase, Equator, Horizon } from 'astronomy-engine/astronomy';
2
+ import { Body, Observer, SearchHourAngle, SearchRiseSet, SearchAltitude, MoonPhase, Equator, Horizon } from 'astronomy-engine';
3
3
 
4
4
  // Improve performance with cached astronomical calculations
5
5
  const SUN_CACHE = {};
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Seasons } from 'astronomy-engine/astronomy';
1
+ import { Seasons } from 'astronomy-engine';
2
2
 
3
3
  const NT_CACHE = {};
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "natural-time-js",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Natural time is a fresh, elegant, and coherent way of measuring the movements of time here on the Earth. This new time standard is based on common sense and the observation of natural cycles. Learn more: https://naturaltime.app. This JavaScript Class translates gregorian artificial datetime to natural datetime",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -23,6 +23,6 @@
23
23
  },
24
24
  "homepage": "https://github.com/sylvain441/natural-time-js#readme",
25
25
  "dependencies": {
26
- "astronomy-engine": "^2.1.0"
26
+ "astronomy-engine": "^2.1.19"
27
27
  }
28
28
  }