@allratestoday/bmu-exchange-rate 1.3.9 → 1.3.14

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 +36 -36
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -42,34 +42,34 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
42
42
  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 text copy below is there 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.
43
43
 
44
44
  <!-- daily-table:start -->
45
- Published **2026-10-12** by Bank of Mauritius — 24 rates. Updated 2026-10-12.
45
+ Published **2026-10-16** by Bank of Mauritius — 24 rates. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
- | AUD | MUR | tt_buy | 33.2144 |
50
- | AUD | MUR | tt_sell | 35.0206 |
51
- | CAD | MUR | tt_buy | 33.0803 |
52
- | CAD | MUR | tt_sell | 34.9804 |
53
- | CHF | MUR | tt_buy | 56.4445 |
54
- | CHF | MUR | tt_sell | 58.1298 |
55
- | CNY | MUR | tt_buy | 7.0678 |
56
- | CNY | MUR | tt_sell | 7.6404 |
57
- | EUR | MUR | tt_buy | 52.526 |
58
- | EUR | MUR | tt_sell | 54.0958 |
59
- | GBP | MUR | tt_buy | 62.0762 |
60
- | GBP | MUR | tt_sell | 63.931 |
61
- | INR | MUR | tt_buy | 0.4974 |
62
- | INR | MUR | tt_sell | 0.5303 |
63
- | JPY | MUR | tt_buy | 0.296119 |
64
- | JPY | MUR | tt_sell | 0.304979 |
65
- | NZD | MUR | tt_buy | 26.4742 |
66
- | NZD | MUR | tt_sell | 27.8579 |
67
- | SGD | MUR | tt_buy | 36.8109 |
68
- | SGD | MUR | tt_sell | 38.6919 |
69
- | USD | MUR | tt_buy | 46.8687 |
70
- | USD | MUR | tt_sell | 48.272 |
71
- | ZAR | MUR | tt_buy | 2.8763 |
72
- | ZAR | MUR | tt_sell | 3.0781 |
49
+ | AUD | MUR | tt_buy | 32.8309 |
50
+ | AUD | MUR | tt_sell | 34.6209 |
51
+ | CAD | MUR | tt_buy | 33.0395 |
52
+ | CAD | MUR | tt_sell | 34.9381 |
53
+ | CHF | MUR | tt_buy | 56.2961 |
54
+ | CHF | MUR | tt_sell | 57.9769 |
55
+ | CNY | MUR | tt_buy | 7.0263 |
56
+ | CNY | MUR | tt_sell | 7.5943 |
57
+ | EUR | MUR | tt_buy | 52.2728 |
58
+ | EUR | MUR | tt_sell | 53.8372 |
59
+ | GBP | MUR | tt_buy | 61.9221 |
60
+ | GBP | MUR | tt_sell | 63.7736 |
61
+ | INR | MUR | tt_buy | 0.4981 |
62
+ | INR | MUR | tt_sell | 0.5318 |
63
+ | JPY | MUR | tt_buy | 0.294981 |
64
+ | JPY | MUR | tt_sell | 0.303797 |
65
+ | NZD | MUR | tt_buy | 26.4666 |
66
+ | NZD | MUR | tt_sell | 27.8513 |
67
+ | SGD | MUR | tt_buy | 36.4875 |
68
+ | SGD | MUR | tt_sell | 38.3558 |
69
+ | USD | MUR | tt_buy | 46.5434 |
70
+ | USD | MUR | tt_sell | 47.9373 |
71
+ | ZAR | MUR | tt_buy | 2.8626 |
72
+ | ZAR | MUR | tt_sell | 3.0648 |
73
73
 
74
74
  Source: [Official rates published by BMU, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bmu/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
75
75
  <!-- daily-table:end -->
@@ -126,10 +126,10 @@ const pair = await getRate('USD', 'MUR', { apiKey: 'art_live_...' });
126
126
  {
127
127
  bank: 'bmu',
128
128
  name: 'Bank of Mauritius',
129
- rate_date: '2026-10-12', // Bank of Mauritius's own publication date
129
+ rate_date: '2026-10-14', // Bank of Mauritius's own publication date
130
130
  source: 'USD',
131
131
  target: 'MUR',
132
- rate: 46.8687,
132
+ rate: 46.9053,
133
133
  rate_type: 'tt_buy',
134
134
  derived: false,
135
135
  method: 'published',
@@ -154,10 +154,10 @@ console.log(table.rate_date, table.rates.length);
154
154
  {
155
155
  bank: 'bmu',
156
156
  name: 'Bank of Mauritius',
157
- rate_date: '2026-10-12',
157
+ rate_date: '2026-10-14',
158
158
  rates: [
159
- { "base": "USD", "quote": "MUR", "type": "tt_buy", "value": 46.8687 },
160
- { "base": "USD", "quote": "MUR", "type": "tt_sell", "value": 48.272 },
159
+ { "base": "USD", "quote": "MUR", "type": "tt_buy", "value": 46.9053 },
160
+ { "base": "USD", "quote": "MUR", "type": "tt_sell", "value": 48.3088 },
161
161
  // … the rest of the published table (12 currencies vs MUR)
162
162
  ],
163
163
  disclaimer: '…'
@@ -197,7 +197,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
197
197
  import { getHistory } from '@allratestoday/bmu-exchange-rate';
198
198
 
199
199
  const series = await getHistory(
200
- { source: 'USD', target: 'MUR', from: '2026-01-01', to: '2026-10-12' },
200
+ { source: 'USD', target: 'MUR', from: '2026-01-01', to: '2026-10-14' },
201
201
  { apiKey: 'art_live_...' }
202
202
  );
203
203
  ```
@@ -210,11 +210,11 @@ const series = await getHistory(
210
210
  source: 'USD',
211
211
  target: 'MUR',
212
212
  from: '2026-01-01',
213
- to: '2026-10-12',
213
+ to: '2026-10-14',
214
214
  count: 152,
215
215
  rates: [
216
216
  // one entry per publication date
217
- { date: '2026-10-12', rate: 46.8687, rate_type: 'tt_buy', derived: false, method: 'published' },
217
+ { date: '2026-10-14', rate: 46.9053, rate_type: 'tt_buy', derived: false, method: 'published' },
218
218
  // …
219
219
  ],
220
220
  disclaimer: '…'
@@ -264,7 +264,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bmu/latest?format=xml&api_ke
264
264
  - MCP server: `npx -y @allratestoday/central-bank-mcp` (stdio) or the hosted endpoint `https://allratestoday.com/api/mcp` — tools for official rates, history, cross-bank comparison and publication calendars
265
265
  - Already using the general SDK or MCP server? Since 2026-10-01 [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk) 1.4+ has `officialRates('bmu')` and [`@allratestoday/mcp-server`](https://www.npmjs.com/package/@allratestoday/mcp-server) 0.6+ has a `get_official_rates` tool — both return this source's latest table with no key, so you can add it without a second dependency
266
266
  - Claude Code plugin (no key): `/plugin marketplace add AllRates-Today/claude-code-plugin` then `/plugin install allratestoday@allratestoday` — bundles both MCP servers plus an `/official-rate bmu ...` command
267
- - Need dated tables or history for an evaluation? Agents can self-issue a trial key with no signup: `POST https://allratestoday.com/api/agent/keys` (send `Content-Type: application/json`) returns a 100-call key valid 7 days; the MCP servers expose it as `request_trial_key`
267
+ - Evaluating? Agents can self-issue a trial key with no signup: `POST https://allratestoday.com/api/agent/keys` (send `Content-Type: application/json`) returns a 100-call key valid 7 days that covers the free-plan methods (latest table, pairs); dated tables and history need a [paid plan](https://allratestoday.com/pricing/). The MCP servers expose it as `request_trial_key`
268
268
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
269
269
 
270
270
  ## ⚖️ Published vs derived rates
@@ -333,9 +333,9 @@ getRate('USD', 'MUR', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
333
333
 
334
334
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
335
335
 
336
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/bmu.csv`)
336
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/bmu.csv`)
337
337
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
338
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bmu/latest.json`
338
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bmu/latest.json`
339
339
 
340
340
  ## 🔗 Links
341
341
 
package/package.json CHANGED
@@ -1,21 +1,29 @@
1
1
  {
2
2
  "name": "@allratestoday/bmu-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.14",
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",
7
+ "bank-of-mauritius",
7
8
  "bank",
8
- "of",
9
9
  "mauritius",
10
10
  "exchange-rate",
11
11
  "exchange-rates",
12
+ "exchangerate",
13
+ "exchange rate",
14
+ "mur-exchange-rate",
12
15
  "currency",
13
16
  "forex",
14
17
  "fx",
15
18
  "mur",
19
+ "currency-api",
20
+ "currency-exchange-rates",
21
+ "forex-api",
22
+ "currency-conversion",
23
+ "currency-exchange",
24
+ "currency-rates",
16
25
  "central-bank",
17
26
  "official-rates",
18
- "mauritius",
19
27
  "api",
20
28
  "typescript"
21
29
  ],