boe-exchange-rate 1.3.7 → 1.3.8

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 +32 -31
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -40,33 +40,33 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
40
40
  Today's full Bank of England 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.
41
41
 
42
42
  <!-- daily-table:start -->
43
- Published **2026-10-07** by Bank of England — 23 rates. Updated 2026-10-08.
43
+ Published **2026-10-08** by Bank of England — 23 rates. Updated 2026-10-12.
44
44
 
45
45
  | Base | Quote | Type | Rate |
46
46
  | --- | --- | --- | ---: |
47
- | GBP | AUD | reference | 1.8985 |
48
- | GBP | CAD | reference | 1.8835 |
49
- | GBP | CHF | reference | 1.1006 |
50
- | GBP | CNY | reference | 8.8633 |
51
- | GBP | DKK | reference | 8.8267 |
52
- | GBP | EUR | reference | 1.1809 |
53
- | GBP | HKD | reference | 10.375 |
54
- | GBP | ILS | reference | 4.0608 |
55
- | GBP | INR | reference | 127.9177 |
56
- | GBP | JPY | reference | 208.9937 |
57
- | GBP | KRW | reference | 1769.9589 |
58
- | GBP | MYR | reference | 5.4041 |
59
- | GBP | NOK | reference | 12.6504 |
60
- | GBP | NZD | reference | 2.3619 |
61
- | GBP | PLN | reference | 5.1721 |
62
- | GBP | SAR | reference | 4.9629 |
63
- | GBP | SEK | reference | 13.2401 |
64
- | GBP | SGD | reference | 1.6918 |
65
- | GBP | THB | reference | 44.5101 |
66
- | GBP | TRY | reference | 65.0364 |
67
- | GBP | TWD | reference | 42.1279 |
68
- | GBP | USD | reference | 1.322 |
69
- | GBP | ZAR | reference | 22.0093 |
47
+ | GBP | AUD | reference | 1.8995 |
48
+ | GBP | CAD | reference | 1.8819 |
49
+ | GBP | CHF | reference | 1.1016 |
50
+ | GBP | CNY | reference | 8.8672 |
51
+ | GBP | DKK | reference | 8.8205 |
52
+ | GBP | EUR | reference | 1.18 |
53
+ | GBP | HKD | reference | 10.38 |
54
+ | GBP | ILS | reference | 4.051 |
55
+ | GBP | INR | reference | 128.003 |
56
+ | GBP | JPY | reference | 209.234 |
57
+ | GBP | KRW | reference | 1774.6637 |
58
+ | GBP | MYR | reference | 5.4112 |
59
+ | GBP | NOK | reference | 12.6469 |
60
+ | GBP | NZD | reference | 2.3606 |
61
+ | GBP | PLN | reference | 5.1685 |
62
+ | GBP | SAR | reference | 4.9654 |
63
+ | GBP | SEK | reference | 13.2058 |
64
+ | GBP | SGD | reference | 1.6941 |
65
+ | GBP | THB | reference | 44.5369 |
66
+ | GBP | TRY | reference | 65.0892 |
67
+ | GBP | TWD | reference | 42.2462 |
68
+ | GBP | USD | reference | 1.3226 |
69
+ | GBP | ZAR | reference | 21.9891 |
70
70
 
71
71
  Source: [Official rates published by BOE, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/boe/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
72
72
  <!-- daily-table:end -->
@@ -123,10 +123,10 @@ const pair = await getRate('GBP', 'USD', { apiKey: 'art_live_...' });
123
123
  {
124
124
  bank: 'boe',
125
125
  name: 'Bank of England',
126
- rate_date: '2026-10-07', // Bank of England's own publication date
126
+ rate_date: '2026-10-08', // Bank of England's own publication date
127
127
  source: 'GBP',
128
128
  target: 'USD',
129
- rate: 1.322,
129
+ rate: 1.3226,
130
130
  rate_type: 'reference',
131
131
  derived: false,
132
132
  method: 'published',
@@ -151,9 +151,9 @@ console.log(table.rate_date, table.rates.length);
151
151
  {
152
152
  bank: 'boe',
153
153
  name: 'Bank of England',
154
- rate_date: '2026-10-07',
154
+ rate_date: '2026-10-08',
155
155
  rates: [
156
- { "base": "GBP", "quote": "USD", "type": "reference", "value": 1.322 },
156
+ { "base": "GBP", "quote": "USD", "type": "reference", "value": 1.3226 },
157
157
  // … the rest of the published table (23 currencies vs GBP)
158
158
  ],
159
159
  disclaimer: '…'
@@ -193,7 +193,7 @@ Paid plans. One resolved rate per publication date — ready for charting, reval
193
193
  import { getHistory } from 'boe-exchange-rate';
194
194
 
195
195
  const series = await getHistory(
196
- { source: 'GBP', target: 'USD', from: '2026-01-01', to: '2026-10-07' },
196
+ { source: 'GBP', target: 'USD', from: '2026-01-01', to: '2026-10-08' },
197
197
  { apiKey: 'art_live_...' }
198
198
  );
199
199
  ```
@@ -206,11 +206,11 @@ const series = await getHistory(
206
206
  source: 'GBP',
207
207
  target: 'USD',
208
208
  from: '2026-01-01',
209
- to: '2026-10-07',
209
+ to: '2026-10-08',
210
210
  count: 152,
211
211
  rates: [
212
212
  // one entry per publication date
213
- { date: '2026-10-07', rate: 1.322, rate_type: 'reference', derived: false, method: 'published' },
213
+ { date: '2026-10-08', rate: 1.3226, rate_type: 'reference', derived: false, method: 'published' },
214
214
  // …
215
215
  ],
216
216
  disclaimer: '…'
@@ -260,6 +260,7 @@ curl "https://allratestoday.com/api/v1/central-bank/boe/latest?format=xml&api_ke
260
260
  - 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
261
261
  - 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('boe')` 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
262
262
  - 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 boe ...` command
263
+ - 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`
263
264
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) · [for-ai-agents](https://allratestoday.com/for-ai-agents/)
264
265
 
265
266
  ## ⚖️ Published vs derived rates
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boe-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.8",
4
4
  "description": "Official Bank of England (United Kingdom) daily exchange rates — 23 currencies vs GBP, history since 2016. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "boe",