mihrab-methods 1.1.0 → 1.2.0

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 (33) hide show
  1. package/README.md +9 -9
  2. package/certification.json +13 -13
  3. package/data/corrections/indonesia.json +370 -667
  4. package/dist/cjs/authorities/indonesia.js +4 -4
  5. package/dist/cjs/data/generated/algeriaCertification.js +1 -1
  6. package/dist/cjs/data/generated/diyanetCertification.js +1 -1
  7. package/dist/cjs/data/generated/indonesiaCertification.js +1 -1
  8. package/dist/cjs/data/generated/indonesiaCorrections.js +1 -1
  9. package/dist/cjs/data/generated/kemenagMethodPoints.js +1 -1
  10. package/dist/cjs/data/generated/moroccoCertification.js +1 -1
  11. package/dist/cjs/data/generated/swedenCertification.js +1 -1
  12. package/dist/cjs/methods/indonesia.d.ts +2 -2
  13. package/dist/cjs/methods/indonesia.js +16 -9
  14. package/dist/cjs/methods/revisions.d.ts +1 -1
  15. package/dist/cjs/methods/revisions.js +1 -1
  16. package/dist/cjs/sun/preciseSun.d.ts +6 -1
  17. package/dist/cjs/sun/preciseSun.js +7 -2
  18. package/dist/esm/authorities/indonesia.js +4 -4
  19. package/dist/esm/data/generated/algeriaCertification.js +1 -1
  20. package/dist/esm/data/generated/diyanetCertification.js +1 -1
  21. package/dist/esm/data/generated/indonesiaCertification.js +1 -1
  22. package/dist/esm/data/generated/indonesiaCorrections.js +1 -1
  23. package/dist/esm/data/generated/kemenagMethodPoints.js +1 -1
  24. package/dist/esm/data/generated/moroccoCertification.js +1 -1
  25. package/dist/esm/data/generated/swedenCertification.js +1 -1
  26. package/dist/esm/methods/indonesia.d.ts +2 -2
  27. package/dist/esm/methods/indonesia.js +16 -9
  28. package/dist/esm/methods/revisions.d.ts +1 -1
  29. package/dist/esm/methods/revisions.js +1 -1
  30. package/dist/esm/sun/preciseSun.d.ts +6 -1
  31. package/dist/esm/sun/preciseSun.js +7 -2
  32. package/docs/methods.md +10 -2
  33. package/package.json +9 -2
package/README.md CHANGED
@@ -9,9 +9,11 @@
9
9
  **Prayer times that match the published timetable to the printed minute.**
10
10
  Each national authority's own calculation method, worked out again from its
11
11
  published times and checked day by day against its timetables: <!--fig:total.off-->0<!--/fig--> of
12
- <!--fig:total.times-->72,013,209<!--/fig--> times off the printed minute. Free for any app, site or
12
+ <!--fig:total.times-->72,014,979<!--/fig--> times off the printed minute. Free for any app, site or
13
13
  mosque to use.
14
14
 
15
+ [![Usage, a day: npm downloads and API requests](docs/stats.svg)](#usage)
16
+
15
17
  ```sh
16
18
  npm install mihrab-methods
17
19
  ```
@@ -35,14 +37,14 @@ The full API, the HTTP server and the per-authority imports are in
35
37
  <!-- certification-table:start -->
36
38
  | Authority | Tables matched | Places | Times checked | Off the printed minute | By the method alone | Correction entries | Checked over |
37
39
  |---|---|---:|---:|---:|---:|---:|---|
38
- | **Sweden** | Islamiska Förbundet’s tables | 107 | 61,344 | **0** | 99.967 % | 270 | 11 Oct 2026 → 7 Dec 2027 |
40
+ | **Sweden** | Islamiska Förbundet’s tables | 107 | 63,114 | **0** | 99.968 % | 270 | 11 Oct 2026 → 14 Dec 2027 |
39
41
  | | Diyanet’s own tables | 159 | 1,393,794 | **0** | 99.981 % | | 1 Jan 2024 → 31 Dec 2027 |
40
42
  | **Diyanet** | its tables worldwide | 8,132 | 69,999,603 | **0** | 99.986 % | 9,118 | 1 Jan 2024 → 31 Dec 2027 |
41
43
  | **Morocco** | Habous | 164 | 94,350 | **0** | 99.879 % | 114 | 27 Aug 2026 → 30 Nov 2026 |
42
44
  | **Algeria** | Ministry of Religious Affairs | 68 | 101,184 | **0** | 99.365 % | 642 | 1 Oct 2026 → 5 Jun 2027 |
43
- | **Indonesia** | Kemenag | 517 | 362,934 | **0** | 99.888 % | 405 | 7 Oct 2026 → 31 Jan 2027 |
45
+ | **Indonesia** | Kemenag | 517 | 362,934 | **0** | 99.935 % | 234 | 7 Oct 2026 → 31 Jan 2027 |
44
46
 
45
- 5 of 5 methods certified; 0 of 72,013,209 times off the printed minute. Last checked 4 November 2026. Generated from [`certification.json`](certification.json) by `scripts/readme.mjs`.
47
+ 5 of 5 methods certified; 0 of 72,014,979 times off the printed minute. Last checked 9 November 2026. Generated from [`certification.json`](certification.json) by `scripts/readme.mjs`.
46
48
  <!-- certification-table:end -->
47
49
 
48
50
  "By the method alone" is the formula without its correction list. The list
@@ -97,14 +99,12 @@ as fixed addresses and the details: [docs/feed.md](docs/feed.md).
97
99
  ## Usage
98
100
 
99
101
  <!-- usage:start -->
100
- ![Usage: npm downloads and API requests a week](docs/stats.svg)
101
-
102
102
  | | Last 7 days | Last 30 days | Since the first release |
103
103
  |---|---:|---:|---:|
104
- | npm downloads | 66 | 735 | 735 |
105
- | API requests | — | — | not deployed yet |
104
+ | npm downloads | 264 | 977 | 977 |
105
+ | API requests | 1,900 | 1,900 | 1,900 (since 2026-11-04) |
106
106
 
107
- Counts only, to 2026-11-03, updated weekly (`scripts/stats.mjs`, history in [docs/stats.json](docs/stats.json)): npm's public download counts — every install counts, CI and mirrors included — and Cloudflare's request counts for the API. No addresses, queries or places are recorded anywhere.
107
+ Counts only, to 2026-11-08, updated weekly (`scripts/stats.mjs`, history in [docs/stats.json](docs/stats.json)): npm's public download counts — every install counts, CI and mirrors included — and Cloudflare's request counts for the API. No addresses, queries or places are recorded anywhere.
108
108
  <!-- usage:end -->
109
109
 
110
110
  ## More
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "sweden": {
3
3
  "certified": true,
4
- "checkedAt": "2026-11-04",
4
+ "checkedAt": "2026-11-09",
5
5
  "places": 108,
6
6
  "checks": [
7
7
  {
8
8
  "tables": "Sweden — Islamiska Förbundet’s tables",
9
9
  "places": 107,
10
- "times": 61344,
10
+ "times": 63114,
11
11
  "off": 0,
12
12
  "offWithoutCorrections": 20,
13
13
  "from": "2026-10-11",
14
- "to": "2027-12-07",
14
+ "to": "2027-12-14",
15
15
  "setAside": {
16
16
  "misplaced": [],
17
- "sourceFaults": 35037,
18
- "copiedRows": 682
17
+ "sourceFaults": 35491,
18
+ "copiedRows": 696
19
19
  }
20
20
  },
21
21
  {
@@ -38,7 +38,7 @@
38
38
  },
39
39
  "diyanet": {
40
40
  "certified": true,
41
- "checkedAt": "2026-11-04",
41
+ "checkedAt": "2026-11-09",
42
42
  "places": 8132,
43
43
  "checks": [
44
44
  {
@@ -61,7 +61,7 @@
61
61
  },
62
62
  "morocco": {
63
63
  "certified": true,
64
- "checkedAt": "2026-11-04",
64
+ "checkedAt": "2026-11-11",
65
65
  "places": 164,
66
66
  "checks": [
67
67
  {
@@ -84,7 +84,7 @@
84
84
  },
85
85
  "algeria": {
86
86
  "certified": true,
87
- "checkedAt": "2026-11-04",
87
+ "checkedAt": "2026-11-09",
88
88
  "places": 68,
89
89
  "checks": [
90
90
  {
@@ -107,7 +107,7 @@
107
107
  },
108
108
  "indonesia": {
109
109
  "certified": true,
110
- "checkedAt": "2026-11-04",
110
+ "checkedAt": "2026-11-11",
111
111
  "places": 517,
112
112
  "checks": [
113
113
  {
@@ -115,7 +115,7 @@
115
115
  "places": 517,
116
116
  "times": 362934,
117
117
  "off": 0,
118
- "offWithoutCorrections": 405,
118
+ "offWithoutCorrections": 234,
119
119
  "from": "2026-10-07",
120
120
  "to": "2027-01-31"
121
121
  }
@@ -123,9 +123,9 @@
123
123
  "corrections": {
124
124
  "from": "2026-10-07",
125
125
  "to": "2027-01-31",
126
- "entries": 405,
127
- "sha256": "5d9dc4703832e0ae850aff0af79a6d2436e013f5e1e2203ace41c6e05b36978d"
126
+ "entries": 234,
127
+ "sha256": "a3f1c30576ddddbfda6cadabe442e1bcf3fb476b018b269d7d4783edd4e39d03"
128
128
  },
129
- "revision": 1
129
+ "revision": 2
130
130
  }
131
131
  }