astraeus-data-uranus 0.9.3 → 0.9.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "astraeus-data-uranus",
3
- "version": "0.9.3",
3
+ "version": "0.9.5",
4
4
  "description": "Uranus's moon positions for the Astraeus engine: piecewise Chebyshev fits of JPL Horizons state vectors, 2010 to 2030, the main moons and the planet from 1950.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/chunks.js CHANGED
@@ -1,4 +1,3 @@
1
- // Generated by tools/build-packages.mjs: 940 chunk files.
2
1
  export const chunkUrls = Object.freeze({
3
2
  "2023u1/2010.bin": new URL("../data/uranus-moons/2023u1/2010.bin?no-inline", import.meta.url).href,
4
3
  "2023u1/2011.bin": new URL("../data/uranus-moons/2023u1/2011.bin?no-inline", import.meta.url).href,
package/src/index.js CHANGED
@@ -1,11 +1,9 @@
1
1
  import { chunkUrls } from "./chunks.js";
2
- /** Reads Uranus's index (the moons, their fits and the measured errors). A dynamic import, so a bundler keeps it as its own file. */
3
2
  export const loadIndex = async () => {
4
3
  const loaded = (await import("../data/uranus-moons/index.json", { with: { type: "json" } }));
5
- return loaded.default ?? loaded; // Parcel hands back the JSON itself, Vite and webpack a module with a default
4
+ return loaded.default ?? loaded;
6
5
  };
7
6
  export { chunkUrls };
8
- /** Hand this to `mount(element, scene, { data: [dataSource] })` to give Uranus's moons their positions. */
9
7
  export const dataSource = Object.freeze({
10
8
  name: "astraeus-data-uranus",
11
9
  provides: [],