@allratestoday/bmu-exchange-rate 1.3.19 → 1.3.24

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 (2) hide show
  1. package/README.md +27 -41
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,57 +24,42 @@
24
24
 
25
25
  Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) — no credit card required. Latest rates are on every plan, including free.
26
26
 
27
- ## ⚡ Try it without a key
28
-
29
- The latest Bank of Mauritius table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
30
-
31
- ```bash
32
- curl "https://allratestoday.com/api/open/central-bank/bmu?source=USD&target=MUR"
33
- ```
34
-
35
- ```js
36
- const r = await fetch('https://allratestoday.com/api/open/central-bank/bmu').then((x) => x.json());
37
- console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
38
- ```
39
-
40
- The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
41
-
42
27
  ## 📈 Latest published table
43
28
 
44
29
  [![Latest Bank of Mauritius table](https://allratestoday.com/api/open/central-bank/bmu/table.svg)](https://allratestoday.com/central-bank-rates-api/bmu/)
45
30
 
46
- The image is rendered live from the keyless endpoint above, so it follows the central bank's publications on npm and on GitHub alike without a new release. The same table as text is folded below for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
31
+ The image is rendered live from the keyless endpoint, so it follows the central bank's publications on npm and on GitHub alike without a new release. The same table as text is folded below for search and copy-paste: on GitHub [a daily Action](.github/workflows/daily-table.yml) refreshes it whenever the central bank publishes a new table; on npm it is as of the package's publish date.
47
32
 
48
33
  <!-- daily-table:start -->
49
34
  <details>
50
- <summary>Table as text: published 2026-10-22 by Bank of Mauritius (the API currently flags this table as stale) — 24 rates. Updated 2026-10-27.</summary>
35
+ <summary>Table as text: published 2026-10-29 by Bank of Mauritius — 24 rates. Updated 2026-10-30.</summary>
51
36
 
52
37
  | Base | Quote | Type | Rate |
53
38
  | --- | --- | --- | ---: |
54
- | AUD | MUR | tt_buy | 33.1274 |
55
- | AUD | MUR | tt_sell | 34.9769 |
56
- | CAD | MUR | tt_buy | 33.388 |
57
- | CAD | MUR | tt_sell | 35.3596 |
58
- | CHF | MUR | tt_buy | 56.5679 |
59
- | CHF | MUR | tt_sell | 58.256 |
60
- | CNY | MUR | tt_buy | 7.0402 |
61
- | CNY | MUR | tt_sell | 7.6106 |
62
- | EUR | MUR | tt_buy | 52.3427 |
63
- | EUR | MUR | tt_sell | 53.9078 |
64
- | GBP | MUR | tt_buy | 62.3718 |
65
- | GBP | MUR | tt_sell | 64.2347 |
66
- | INR | MUR | tt_buy | 0.4993 |
67
- | INR | MUR | tt_sell | 0.5347 |
68
- | JPY | MUR | tt_buy | 0.295213 |
69
- | JPY | MUR | tt_sell | 0.304052 |
70
- | NZD | MUR | tt_buy | 26.6426 |
71
- | NZD | MUR | tt_sell | 28.0333 |
72
- | SGD | MUR | tt_buy | 36.6464 |
73
- | SGD | MUR | tt_sell | 38.5641 |
74
- | USD | MUR | tt_buy | 46.5519 |
75
- | USD | MUR | tt_sell | 47.9493 |
76
- | ZAR | MUR | tt_buy | 2.8669 |
77
- | ZAR | MUR | tt_sell | 3.0693 |
39
+ | AUD | MUR | tt_buy | 33.495 |
40
+ | AUD | MUR | tt_sell | 35.3126 |
41
+ | CAD | MUR | tt_buy | 33.6665 |
42
+ | CAD | MUR | tt_sell | 35.593 |
43
+ | CHF | MUR | tt_buy | 56.4537 |
44
+ | CHF | MUR | tt_sell | 58.1401 |
45
+ | CNY | MUR | tt_buy | 7.0893 |
46
+ | CNY | MUR | tt_sell | 7.6578 |
47
+ | EUR | MUR | tt_buy | 52.1259 |
48
+ | EUR | MUR | tt_sell | 53.6866 |
49
+ | GBP | MUR | tt_buy | 62.3137 |
50
+ | GBP | MUR | tt_sell | 64.178 |
51
+ | INR | MUR | tt_buy | 0.4988 |
52
+ | INR | MUR | tt_sell | 0.5324 |
53
+ | JPY | MUR | tt_buy | 0.296478 |
54
+ | JPY | MUR | tt_sell | 0.305368 |
55
+ | NZD | MUR | tt_buy | 26.5109 |
56
+ | NZD | MUR | tt_sell | 27.8974 |
57
+ | SGD | MUR | tt_buy | 36.7194 |
58
+ | SGD | MUR | tt_sell | 38.596 |
59
+ | USD | MUR | tt_buy | 46.7675 |
60
+ | USD | MUR | tt_sell | 48.1765 |
61
+ | ZAR | MUR | tt_buy | 2.8493 |
62
+ | ZAR | MUR | tt_sell | 3.0463 |
78
63
 
79
64
  </details>
80
65
 
@@ -240,6 +225,7 @@ The Bank of Mauritius publishes consolidated indicative exchange rates — TT bu
240
225
 
241
226
  - Publisher's own page: [Consolidated indicative exchange rates](https://www.bom.mu/markets/foreign-exchange/consolidated-indicative-exchange-rates) · [www.bom.mu](https://www.bom.mu)
242
227
  - Publication: every business day; the exact schedule, freshness status and any current delay are on the [Bank of Mauritius rates page](https://allratestoday.com/central-bank-rates-api/bmu/)
228
+ - In the API: usually by **15:20 UTC** (measured over the last 8 publications). Schedule a sync at or after that time and retry hourly until `rate_date` moves; every response carries the same figure as `available_by_utc` — see [when to poll](https://allratestoday.com/docs/#when-to-poll)
243
229
  - Values are stored unmodified, with the publisher's own `rate_date` on every row — see the [methodology](https://allratestoday.com/official-rates-methodology/)
244
230
 
245
231
  ## 🧭 Reading the numbers
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/bmu-exchange-rate",
3
- "version": "1.3.19",
3
+ "version": "1.3.24",
4
4
  "description": "Official Bank of Mauritius (Mauritius) daily exchange rates — 12 currencies vs MUR, current table, archive from 2026. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "bmu",