mihrab-methods 1.1.0 → 1.2.1

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 (38) hide show
  1. package/README.md +11 -10
  2. package/certification.json +19 -19
  3. package/data/corrections/diyanet.json +455 -0
  4. package/data/corrections/indonesia.json +370 -667
  5. package/dist/cjs/authorities/indonesia.js +4 -4
  6. package/dist/cjs/data/generated/algeriaCertification.js +1 -1
  7. package/dist/cjs/data/generated/diyanetCertification.js +1 -1
  8. package/dist/cjs/data/generated/diyanetCorrections.js +1 -1
  9. package/dist/cjs/data/generated/diyanetWorldPoints.js +1 -1
  10. package/dist/cjs/data/generated/indonesiaCertification.js +1 -1
  11. package/dist/cjs/data/generated/indonesiaCorrections.js +1 -1
  12. package/dist/cjs/data/generated/kemenagMethodPoints.js +1 -1
  13. package/dist/cjs/data/generated/moroccoCertification.js +1 -1
  14. package/dist/cjs/data/generated/swedenCertification.js +1 -1
  15. package/dist/cjs/methods/indonesia.d.ts +2 -2
  16. package/dist/cjs/methods/indonesia.js +16 -9
  17. package/dist/cjs/methods/revisions.d.ts +1 -1
  18. package/dist/cjs/methods/revisions.js +1 -1
  19. package/dist/cjs/sun/preciseSun.d.ts +6 -1
  20. package/dist/cjs/sun/preciseSun.js +7 -2
  21. package/dist/esm/authorities/indonesia.js +4 -4
  22. package/dist/esm/data/generated/algeriaCertification.js +1 -1
  23. package/dist/esm/data/generated/diyanetCertification.js +1 -1
  24. package/dist/esm/data/generated/diyanetCorrections.js +1 -1
  25. package/dist/esm/data/generated/diyanetWorldPoints.js +1 -1
  26. package/dist/esm/data/generated/indonesiaCertification.js +1 -1
  27. package/dist/esm/data/generated/indonesiaCorrections.js +1 -1
  28. package/dist/esm/data/generated/kemenagMethodPoints.js +1 -1
  29. package/dist/esm/data/generated/moroccoCertification.js +1 -1
  30. package/dist/esm/data/generated/swedenCertification.js +1 -1
  31. package/dist/esm/methods/indonesia.d.ts +2 -2
  32. package/dist/esm/methods/indonesia.js +16 -9
  33. package/dist/esm/methods/revisions.d.ts +1 -1
  34. package/dist/esm/methods/revisions.js +1 -1
  35. package/dist/esm/sun/preciseSun.d.ts +6 -1
  36. package/dist/esm/sun/preciseSun.js +7 -2
  37. package/docs/methods.md +10 -2
  38. package/package.json +10 -2
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.places = exports.indonesia = void 0;
7
7
  exports.indonesiaZone = indonesiaZone;
8
8
  /**
9
- * Indonesia — Kemenag: every regency and city, at the point its table is
10
- * computed at, in the zone it is printed in.
9
+ * Indonesia — Kemenag: every regency and city, at the coordinates the
10
+ * ministry gives for it, in the zone it is printed in.
11
11
  */
12
12
  const kemenagPlaces_js_1 = __importDefault(require("../data/generated/kemenagPlaces.js"));
13
13
  const kemenagMethodPoints_js_1 = __importDefault(require("../data/generated/kemenagMethodPoints.js"));
@@ -58,7 +58,7 @@ exports.indonesia = (0, registry_js_1.registerAuthority)({
58
58
  certification: indonesiaCertification_js_1.default,
59
59
  description: {
60
60
  name: 'Indonesia — Kemenag (Ministry of Religious Affairs)',
61
- method: 'The precise apparent sun (VSOP87, as JPL’s to a tenth of a second) taken at each prayer’s own moment; Fajr 20°, Isha 18°; sunrise and Maghrib at −1° (−2° in the highland class); Asr when the shadow is its length plus the noon shadow, the noon shadow from the declination at 00:00 UT; every time rounded up after a margin of two minutes (three for Dhuhr, minus three for sunrise).',
61
+ method: 'The precise apparent sun (VSOP87, as JPL’s to a tenth of a second) taken at each prayer’s own moment, without ΔT; each regency at the ministry’s own coordinates; Fajr 20°, Isha 18°; sunrise and Maghrib at −1° (−2° in the highland class); Asr when the shadow is its length plus the noon shadow, the noon shadow from the declination at 00:00 UT; every time rounded up after a margin of two minutes (three for Dhuhr, minus three for sunrise).',
62
62
  countries: ['ID'],
63
63
  parameters: {
64
64
  fajrAngle: 20,
@@ -73,7 +73,7 @@ exports.indonesia = (0, registry_js_1.registerAuthority)({
73
73
  'margin.maghrib': 2,
74
74
  'margin.isha': 2,
75
75
  rounding: 'up to the minute, after the margin',
76
- sun: 'VSOP87 apparent sun (src/sun/preciseSun.ts), iterated at each prayer',
76
+ sun: 'VSOP87 apparent sun (src/sun/preciseSun.ts), iterated at each prayer, Universal Time taken for the ephemeris’ time (no ΔT)',
77
77
  },
78
78
  sources: [{ title: 'Kemenag — Jadwal Shalat', url: 'https://bimasislam.kemenag.go.id/jadwalshalat' }],
79
79
  spec: 'docs/methods.md#indonesia',
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const data = { "certified": true, "checkedAt": "2026-11-04", "places": 68, "checks": [{ "tables": "Algeria — Ministry of Religious Affairs", "places": 68, "times": 101184, "off": 0, "offWithoutCorrections": 642, "from": "2026-10-01", "to": "2027-06-05" }], "corrections": { "from": "2026-10-01", "to": "2027-06-05", "entries": 642, "sha256": "f8d227cdd88aabe5bcd1775ec0324abfdae07a8a3986fdd19816337c2d4ab3ca" }, "revision": 1 };
3
+ const data = { "certified": true, "checkedAt": "2026-11-09", "places": 68, "checks": [{ "tables": "Algeria — Ministry of Religious Affairs", "places": 68, "times": 101184, "off": 0, "offWithoutCorrections": 642, "from": "2026-10-01", "to": "2027-06-05" }], "corrections": { "from": "2026-10-01", "to": "2027-06-05", "entries": 642, "sha256": "f8d227cdd88aabe5bcd1775ec0324abfdae07a8a3986fdd19816337c2d4ab3ca" }, "revision": 1 };
4
4
  exports.default = data;
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const data = { "certified": true, "checkedAt": "2026-11-04", "places": 8132, "checks": [{ "tables": "Diyanet — its tables worldwide", "places": 8132, "times": 69999603, "off": 0, "offWithoutCorrections": 9129, "from": "2024-01-01", "to": "2027-12-31" }], "corrections": { "from": "2024-01-01", "to": "2027-12-31", "entries": 9118, "sha256": "47997767e178ce48babd80f0e4a53460c5d379eb098bff1e7ebbba1e6afdf605" }, "revision": 1 };
3
+ const data = { "certified": true, "checkedAt": "2026-11-11", "places": 8318, "checks": [{ "tables": "Diyanet — its tables worldwide", "places": 8318, "times": 71630078, "off": 0, "offWithoutCorrections": 9368, "from": "2024-01-01", "to": "2027-12-31" }], "corrections": { "from": "2024-01-01", "to": "2027-12-31", "entries": 9357, "sha256": "a8c6a7305611f8dcedc04a64efb8dd150d9a588c2b3ac3391bfb776d70a2ec83" }, "revision": 1 };
4
4
  exports.default = data;