@allratestoday/bceao-exchange-rate 1.3.7 โ†’ 1.3.13

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 +39 -36
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -37,40 +37,42 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
37
37
 
38
38
  ## ๐Ÿ“ˆ Latest published table
39
39
 
40
- Today's full Central Bank of West African States (BCEAO) table, straight from the central bank's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the central bank publishes a new table; the copy on npm is as of the package's publish date.
40
+ [![Latest Central Bank of West African States (BCEAO) table](https://allratestoday.com/api/open/central-bank/bceao/table.svg)](https://allratestoday.com/central-bank-rates-api/bceao/)
41
+
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.
41
43
 
42
44
  <!-- daily-table:start -->
43
- Published **2026-10-08** by Central Bank of West African States (BCEAO) โ€” 27 rates. Updated 2026-10-08.
45
+ Published **2026-10-13** by Central Bank of West African States (BCEAO) โ€” 27 rates. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | AED | XOF | reference | 159.676 |
48
- | AUD | XOF | reference | 407.17 |
49
- | BRL | XOF | reference | 116.89 |
50
- | CAD | XOF | reference | 411.18 |
51
- | CHF | XOF | reference | 703.36 |
52
- | CNY | XOF | reference | 87.49 |
53
- | CZK | XOF | reference | 26.88 |
54
- | DKK | XOF | reference | 87.77 |
49
+ | AED | XOF | reference | 159.647 |
50
+ | AUD | XOF | reference | 409.13 |
51
+ | BRL | XOF | reference | 116.87 |
52
+ | CAD | XOF | reference | 411.7 |
53
+ | CHF | XOF | reference | 704.42 |
54
+ | CNY | XOF | reference | 87.59 |
55
+ | CZK | XOF | reference | 26.92 |
56
+ | DKK | XOF | reference | 87.75 |
55
57
  | EUR | XOF | reference | 655.957 |
56
- | GBP | XOF | reference | 774.47 |
57
- | HKD | XOF | reference | 74.72 |
58
- | HUF | XOF | reference | 1.79 |
59
- | ILS | XOF | reference | 190.56 |
60
- | INR | XOF | reference | 6.06 |
61
- | JPY | XOF | reference | 3.7049 |
58
+ | GBP | XOF | reference | 776.65 |
59
+ | HKD | XOF | reference | 74.71 |
60
+ | HUF | XOF | reference | 1.8 |
61
+ | ILS | XOF | reference | 190.66 |
62
+ | INR | XOF | reference | 6.15 |
63
+ | JPY | XOF | reference | 3.7079 |
62
64
  | KRW | XOF | reference | 0.44 |
63
- | KWD | XOF | reference | 1902.998 |
64
- | NOK | XOF | reference | 61.21 |
65
- | NZD | XOF | reference | 327.75 |
66
- | PLN | XOF | reference | 149.92 |
67
- | SAR | XOF | reference | 156.375 |
68
- | SEK | XOF | reference | 58.6 |
69
- | SGD | XOF | reference | 457.43 |
70
- | THB | XOF | reference | 17.41 |
71
- | TRY | XOF | reference | 11.92 |
72
- | USD | XOF | reference | 586.41 |
73
- | ZAR | XOF | reference | 35.219 |
65
+ | KWD | XOF | reference | 1901.735 |
66
+ | NOK | XOF | reference | 61.49 |
67
+ | NZD | XOF | reference | 329.11 |
68
+ | PLN | XOF | reference | 149.87 |
69
+ | SAR | XOF | reference | 156.348 |
70
+ | SEK | XOF | reference | 58.73 |
71
+ | SGD | XOF | reference | 458.1 |
72
+ | THB | XOF | reference | 17.45 |
73
+ | TRY | XOF | reference | 11.88 |
74
+ | USD | XOF | reference | 586.3 |
75
+ | ZAR | XOF | reference | 35.541 |
74
76
 
75
77
  Source: [Official rates published by BCEAO, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bceao/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
76
78
  <!-- daily-table:end -->
@@ -127,10 +129,10 @@ const pair = await getRate('USD', 'XOF', { apiKey: 'art_live_...' });
127
129
  {
128
130
  bank: 'bceao',
129
131
  name: 'Central Bank of West African States (BCEAO)',
130
- rate_date: '2026-10-08', // Central Bank of West African States (BCEAO)'s own publication date
132
+ rate_date: '2026-10-13', // Central Bank of West African States (BCEAO)'s own publication date
131
133
  source: 'USD',
132
134
  target: 'XOF',
133
- rate: 586.41,
135
+ rate: 586.3,
134
136
  rate_type: 'reference',
135
137
  derived: false,
136
138
  method: 'published',
@@ -155,9 +157,9 @@ console.log(table.rate_date, table.rates.length);
155
157
  {
156
158
  bank: 'bceao',
157
159
  name: 'Central Bank of West African States (BCEAO)',
158
- rate_date: '2026-10-08',
160
+ rate_date: '2026-10-13',
159
161
  rates: [
160
- { "base": "USD", "quote": "XOF", "type": "reference", "value": 586.41 },
162
+ { "base": "USD", "quote": "XOF", "type": "reference", "value": 586.3 },
161
163
  // โ€ฆ the rest of the published table (27 currencies vs XOF)
162
164
  ],
163
165
  disclaimer: 'โ€ฆ'
@@ -197,7 +199,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
197
199
  import { getHistory } from '@allratestoday/bceao-exchange-rate';
198
200
 
199
201
  const series = await getHistory(
200
- { source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-08' },
202
+ { source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-13' },
201
203
  { apiKey: 'art_live_...' }
202
204
  );
203
205
  ```
@@ -210,11 +212,11 @@ const series = await getHistory(
210
212
  source: 'USD',
211
213
  target: 'XOF',
212
214
  from: '2026-01-01',
213
- to: '2026-10-08',
215
+ to: '2026-10-13',
214
216
  count: 152,
215
217
  rates: [
216
218
  // one entry per publication date
217
- { date: '2026-10-08', rate: 586.41, rate_type: 'reference', derived: false, method: 'published' },
219
+ { date: '2026-10-13', rate: 586.3, rate_type: 'reference', derived: false, method: 'published' },
218
220
  // โ€ฆ
219
221
  ],
220
222
  disclaimer: 'โ€ฆ'
@@ -264,6 +266,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bceao/latest?format=xml&api_
264
266
  - 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
267
  - 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('bceao')` 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
268
  - 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 bceao ...` command
269
+ - 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
270
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
268
271
 
269
272
  ## โš–๏ธ Published vs derived rates
@@ -332,9 +335,9 @@ getRate('USD', 'XOF', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
332
335
 
333
336
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
334
337
 
335
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bceao.csv`)
338
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bceao.csv`)
336
339
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
337
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bceao/latest.json`
340
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bceao/latest.json`
338
341
 
339
342
  ## ๐Ÿ”— Links
340
343
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "@allratestoday/bceao-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.13",
4
4
  "description": "Official Central Bank of West African States (BCEAO) (eight WAEMU countries) daily exchange rates โ€” 27 currencies vs XOF, history since 2014. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "bceao",
7
+ "central-bank-of-west-african-states-bceao",
7
8
  "central",
8
9
  "bank",
9
- "of",
10
10
  "west",
11
11
  "african",
12
12
  "states",
13
- "(bceao)",
14
13
  "exchange-rate",
15
14
  "exchange-rates",
15
+ "exchangerate",
16
+ "exchange rate",
17
+ "xof-exchange-rate",
16
18
  "currency",
17
19
  "forex",
18
20
  "fx",
19
21
  "xof",
22
+ "currency-api",
23
+ "currency-exchange-rates",
24
+ "forex-api",
25
+ "currency-conversion",
26
+ "currency-exchange",
27
+ "currency-rates",
20
28
  "central-bank",
21
29
  "official-rates",
22
30
  "eight-waemu-countries",