@allratestoday/rbm-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 +60 -60
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -42,67 +42,67 @@ 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 Reserve Bank of Malawi — 114 rates, first 60 shown. Updated 2026-10-12.
45
+ Published **2026-10-16** by Reserve Bank of Malawi — 114 rates, first 60 shown. Updated 2026-10-16.
46
46
 
47
47
  | Base | Quote | Type | Rate |
48
48
  | --- | --- | --- | ---: |
49
49
  | AED | MWK | buy | 467.5226 |
50
50
  | AED | MWK | middle | 472.1483 |
51
51
  | AED | MWK | sell | 476.7739 |
52
- | ARS | MWK | buy | 1.1322 |
53
- | ARS | MWK | middle | 1.1434 |
54
- | ARS | MWK | sell | 1.1546 |
55
- | AUD | MWK | buy | 1198.7877 |
56
- | AUD | MWK | middle | 1210.6485 |
57
- | AUD | MWK | sell | 1222.5092 |
58
- | BWP | MWK | buy | 124.4842 |
59
- | BWP | MWK | middle | 125.7159 |
60
- | BWP | MWK | sell | 126.9475 |
61
- | CAD | MWK | buy | 1205.3518 |
62
- | CAD | MWK | middle | 1217.2775 |
63
- | CAD | MWK | sell | 1229.2032 |
64
- | CHF | MWK | buy | 2129.9944 |
65
- | CHF | MWK | middle | 2151.0685 |
66
- | CHF | MWK | sell | 2172.1426 |
52
+ | ARS | MWK | buy | 1.1352 |
53
+ | ARS | MWK | middle | 1.1465 |
54
+ | ARS | MWK | sell | 1.1577 |
55
+ | AUD | MWK | buy | 1192.2947 |
56
+ | AUD | MWK | middle | 1204.0913 |
57
+ | AUD | MWK | sell | 1215.8878 |
58
+ | BWP | MWK | buy | 132.3822 |
59
+ | BWP | MWK | middle | 133.692 |
60
+ | BWP | MWK | sell | 135.0018 |
61
+ | CAD | MWK | buy | 1211.0479 |
62
+ | CAD | MWK | middle | 1223.0299 |
63
+ | CAD | MWK | sell | 1235.012 |
64
+ | CHF | MWK | buy | 2140.3054 |
65
+ | CHF | MWK | middle | 2161.4815 |
66
+ | CHF | MWK | sell | 2182.6576 |
67
67
  | CMD | MWK | buy | 1717.0236 |
68
68
  | CMD | MWK | middle | 1734.0118 |
69
69
  | CMD | MWK | sell | 1751 |
70
- | CNY | MWK | buy | 256.5594 |
71
- | CNY | MWK | middle | 259.0978 |
72
- | CNY | MWK | sell | 261.6362 |
73
- | DKK | MWK | buy | 257.4055 |
74
- | DKK | MWK | middle | 259.9523 |
75
- | DKK | MWK | sell | 262.4991 |
76
- | ETB | MWK | buy | 10.6705 |
77
- | ETB | MWK | middle | 10.7761 |
78
- | ETB | MWK | sell | 10.8816 |
79
- | EUR | MWK | buy | 1981.6427 |
80
- | EUR | MWK | middle | 2001.249 |
81
- | EUR | MWK | sell | 2020.8553 |
82
- | GBP | MWK | buy | 2344.0154 |
83
- | GBP | MWK | middle | 2367.207 |
84
- | GBP | MWK | sell | 2390.3986 |
85
- | HKD | MWK | buy | 218.7988 |
86
- | HKD | MWK | middle | 220.9636 |
87
- | HKD | MWK | sell | 223.1284 |
88
- | IDR | MWK | buy | 0.0959 |
89
- | IDR | MWK | middle | 0.0969 |
90
- | IDR | MWK | sell | 0.0978 |
91
- | IEP | MWK | buy | 1206.9617 |
92
- | IEP | MWK | middle | 1218.9033 |
93
- | IEP | MWK | sell | 1230.8449 |
94
- | INR | MWK | buy | 17.9258 |
95
- | INR | MWK | middle | 18.1032 |
96
- | INR | MWK | sell | 18.2805 |
97
- | JPY | MWK | buy | 10.8466 |
98
- | JPY | MWK | middle | 10.954 |
99
- | JPY | MWK | sell | 11.0613 |
100
- | KES | MWK | buy | 13.2384 |
101
- | KES | MWK | middle | 13.3694 |
102
- | KES | MWK | sell | 13.5004 |
103
- | KRW | MWK | buy | 1.2861 |
104
- | KRW | MWK | middle | 1.2988 |
105
- | KRW | MWK | sell | 1.3115 |
70
+ | CNY | MWK | buy | 256.7128 |
71
+ | CNY | MWK | middle | 259.2527 |
72
+ | CNY | MWK | sell | 261.7926 |
73
+ | DKK | MWK | buy | 258.0051 |
74
+ | DKK | MWK | middle | 260.5577 |
75
+ | DKK | MWK | sell | 263.1104 |
76
+ | ETB | MWK | buy | 10.6383 |
77
+ | ETB | MWK | middle | 10.7436 |
78
+ | ETB | MWK | sell | 10.8488 |
79
+ | EUR | MWK | buy | 1986.2409 |
80
+ | EUR | MWK | middle | 2005.8927 |
81
+ | EUR | MWK | sell | 2025.5445 |
82
+ | GBP | MWK | buy | 2353.2118 |
83
+ | GBP | MWK | middle | 2376.4944 |
84
+ | GBP | MWK | sell | 2399.777 |
85
+ | HKD | MWK | buy | 218.796 |
86
+ | HKD | MWK | middle | 220.9608 |
87
+ | HKD | MWK | sell | 223.1255 |
88
+ | IDR | MWK | buy | 0.0953 |
89
+ | IDR | MWK | middle | 0.0962 |
90
+ | IDR | MWK | sell | 0.0971 |
91
+ | IEP | MWK | buy | 1204.1683 |
92
+ | IEP | MWK | middle | 1216.0823 |
93
+ | IEP | MWK | sell | 1227.9963 |
94
+ | INR | MWK | buy | 18.0716 |
95
+ | INR | MWK | middle | 18.2504 |
96
+ | INR | MWK | sell | 18.4292 |
97
+ | JPY | MWK | buy | 10.8789 |
98
+ | JPY | MWK | middle | 10.9866 |
99
+ | JPY | MWK | sell | 11.0942 |
100
+ | KES | MWK | buy | 13.2333 |
101
+ | KES | MWK | middle | 13.3643 |
102
+ | KES | MWK | sell | 13.4952 |
103
+ | KRW | MWK | buy | 1.2856 |
104
+ | KRW | MWK | middle | 1.2983 |
105
+ | KRW | MWK | sell | 1.311 |
106
106
  | KWD | MWK | buy | 5572.9427 |
107
107
  | KWD | MWK | middle | 5628.0812 |
108
108
  | KWD | MWK | sell | 5683.2197 |
@@ -162,7 +162,7 @@ const pair = await getRate('USD', 'MWK', { apiKey: 'art_live_...' });
162
162
  {
163
163
  bank: 'rbm',
164
164
  name: 'Reserve Bank of Malawi',
165
- rate_date: '2026-10-12', // Reserve Bank of Malawi's own publication date
165
+ rate_date: '2026-10-14', // Reserve Bank of Malawi's own publication date
166
166
  source: 'USD',
167
167
  target: 'MWK',
168
168
  rate: 1734.0118,
@@ -190,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
190
190
  {
191
191
  bank: 'rbm',
192
192
  name: 'Reserve Bank of Malawi',
193
- rate_date: '2026-10-12',
193
+ rate_date: '2026-10-14',
194
194
  rates: [
195
195
  { "base": "USD", "quote": "MWK", "type": "middle", "value": 1734.0118 },
196
196
  { "base": "USD", "quote": "MWK", "type": "sell", "value": 1751 },
@@ -234,7 +234,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
234
234
  import { getHistory } from '@allratestoday/rbm-exchange-rate';
235
235
 
236
236
  const series = await getHistory(
237
- { source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-12' },
237
+ { source: 'USD', target: 'MWK', from: '2026-01-01', to: '2026-10-14' },
238
238
  { apiKey: 'art_live_...' }
239
239
  );
240
240
  ```
@@ -247,11 +247,11 @@ const series = await getHistory(
247
247
  source: 'USD',
248
248
  target: 'MWK',
249
249
  from: '2026-01-01',
250
- to: '2026-10-12',
250
+ to: '2026-10-14',
251
251
  count: 152,
252
252
  rates: [
253
253
  // one entry per publication date
254
- { date: '2026-10-12', rate: 1734.0118, rate_type: 'middle', derived: false, method: 'published' },
254
+ { date: '2026-10-14', rate: 1734.0118, rate_type: 'middle', derived: false, method: 'published' },
255
255
  // …
256
256
  ],
257
257
  disclaimer: '…'
@@ -301,7 +301,7 @@ curl "https://allratestoday.com/api/v1/central-bank/rbm/latest?format=xml&api_ke
301
301
  - 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
302
302
  - 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('rbm')` 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
303
303
  - 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 rbm ...` command
304
- - 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`
304
+ - 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`
305
305
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
306
306
 
307
307
  ## ⚖️ Published vs derived rates
@@ -370,9 +370,9 @@ getRate('USD', 'MWK', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
370
370
 
371
371
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
372
372
 
373
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) — one CSV per institution (`rates/rbm.csv`)
373
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) — one CSV per institution (`rates/rbm.csv`)
374
374
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
375
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/rbm/latest.json`
375
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/rbm/latest.json`
376
376
 
377
377
  ## 🔗 Links
378
378
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/rbm-exchange-rate",
3
- "version": "1.3.9",
3
+ "version": "1.3.14",
4
4
  "description": "Official Reserve Bank of Malawi (Malawi) daily exchange rates — 37 currencies vs MWK, history since 2016. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "rbm",
7
+ "reserve-bank-of-malawi",
7
8
  "reserve",
8
9
  "bank",
9
- "of",
10
10
  "malawi",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "mwk-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "mwk",
20
+ "currency-api",
21
+ "currency-exchange-rates",
22
+ "forex-api",
23
+ "currency-conversion",
24
+ "currency-exchange",
25
+ "currency-rates",
17
26
  "central-bank",
18
27
  "official-rates",
19
- "malawi",
20
28
  "api",
21
29
  "typescript"
22
30
  ],