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

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 +34 -34
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,40 +37,39 @@ 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-09** by Central Bank of West African States (BCEAO) โ€” 24 rates. Updated 2026-10-12.
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
+ | AUD | XOF | reference | 408.65 |
50
+ | BRL | XOF | reference | 116.96 |
51
+ | CAD | XOF | reference | 411.46 |
52
+ | CHF | XOF | reference | 704.35 |
53
+ | CNY | XOF | reference | 87.47 |
54
+ | CZK | XOF | reference | 26.92 |
55
+ | DKK | XOF | reference | 87.75 |
55
56
  | 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 |
57
+ | GBP | XOF | reference | 773.87 |
58
+ | HKD | XOF | reference | 74.59 |
59
+ | HUF | XOF | reference | 1.8 |
60
+ | ILS | XOF | reference | 191.46 |
61
+ | INR | XOF | reference | 6.05 |
62
+ | JPY | XOF | reference | 3.6989 |
62
63
  | 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 |
64
+ | NOK | XOF | reference | 61.22 |
65
+ | NZD | XOF | reference | 328.62 |
66
+ | PLN | XOF | reference | 149.64 |
67
+ | SEK | XOF | reference | 58.74 |
68
+ | SGD | XOF | reference | 457.18 |
69
+ | THB | XOF | reference | 17.46 |
70
+ | TRY | XOF | reference | 11.9 |
71
+ | USD | XOF | reference | 585.36 |
72
+ | ZAR | XOF | reference | 35.405 |
74
73
 
75
74
  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
75
  <!-- daily-table:end -->
@@ -127,10 +126,10 @@ const pair = await getRate('USD', 'XOF', { apiKey: 'art_live_...' });
127
126
  {
128
127
  bank: 'bceao',
129
128
  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
129
+ rate_date: '2026-10-09', // Central Bank of West African States (BCEAO)'s own publication date
131
130
  source: 'USD',
132
131
  target: 'XOF',
133
- rate: 586.41,
132
+ rate: 585.36,
134
133
  rate_type: 'reference',
135
134
  derived: false,
136
135
  method: 'published',
@@ -155,9 +154,9 @@ console.log(table.rate_date, table.rates.length);
155
154
  {
156
155
  bank: 'bceao',
157
156
  name: 'Central Bank of West African States (BCEAO)',
158
- rate_date: '2026-10-08',
157
+ rate_date: '2026-10-09',
159
158
  rates: [
160
- { "base": "USD", "quote": "XOF", "type": "reference", "value": 586.41 },
159
+ { "base": "USD", "quote": "XOF", "type": "reference", "value": 585.36 },
161
160
  // โ€ฆ the rest of the published table (27 currencies vs XOF)
162
161
  ],
163
162
  disclaimer: 'โ€ฆ'
@@ -197,7 +196,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
197
196
  import { getHistory } from '@allratestoday/bceao-exchange-rate';
198
197
 
199
198
  const series = await getHistory(
200
- { source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-08' },
199
+ { source: 'USD', target: 'XOF', from: '2026-01-01', to: '2026-10-09' },
201
200
  { apiKey: 'art_live_...' }
202
201
  );
203
202
  ```
@@ -210,11 +209,11 @@ const series = await getHistory(
210
209
  source: 'USD',
211
210
  target: 'XOF',
212
211
  from: '2026-01-01',
213
- to: '2026-10-08',
212
+ to: '2026-10-09',
214
213
  count: 152,
215
214
  rates: [
216
215
  // one entry per publication date
217
- { date: '2026-10-08', rate: 586.41, rate_type: 'reference', derived: false, method: 'published' },
216
+ { date: '2026-10-09', rate: 585.36, rate_type: 'reference', derived: false, method: 'published' },
218
217
  // โ€ฆ
219
218
  ],
220
219
  disclaimer: 'โ€ฆ'
@@ -264,6 +263,7 @@ curl "https://allratestoday.com/api/v1/central-bank/bceao/latest?format=xml&api_
264
263
  - 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
264
  - 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
265
  - 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
266
+ - 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
267
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
268
268
 
269
269
  ## โš–๏ธ Published vs derived rates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/bceao-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
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",