@allratestoday/hmrc-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 +7 -4
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -37,10 +37,12 @@ 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 HM Revenue & Customs table, straight from the tax authority'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 tax authority publishes a new table; the copy on npm is as of the package's publish date.
40
+ [![Latest HM Revenue & Customs table](https://allratestoday.com/api/open/central-bank/hmrc/table.svg)](https://allratestoday.com/tax-authority-rates-api/hmrc/)
41
+
42
+ The image is rendered live from the keyless endpoint above, so it follows the tax authority'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 tax authority 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-01** by HM Revenue & Customs โ€” 141 rates, first 60 shown. Updated 2026-10-08.
45
+ Published **2026-10-01** by HM Revenue & Customs โ€” 141 rates, first 60 shown. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
@@ -297,6 +299,7 @@ curl "https://allratestoday.com/api/v1/central-bank/hmrc/latest?format=xml&api_k
297
299
  - 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
298
300
  - 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('hmrc')` 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
299
301
  - 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 hmrc ...` command
302
+ - 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`
300
303
  - Machine-readable site guide: [llms.txt](https://allratestoday.com/llms.txt) ยท [for-ai-agents](https://allratestoday.com/for-ai-agents/)
301
304
 
302
305
  ## โš–๏ธ Published vs derived rates
@@ -365,9 +368,9 @@ getRate('GBP', 'USD', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
365
368
 
366
369
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
367
370
 
368
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/hmrc.csv`)
371
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/hmrc.csv`)
369
372
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
370
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/hmrc/latest.json`
373
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/hmrc/latest.json`
371
374
 
372
375
  ## ๐Ÿ”— Links
373
376
 
package/package.json CHANGED
@@ -1,20 +1,28 @@
1
1
  {
2
2
  "name": "@allratestoday/hmrc-exchange-rate",
3
- "version": "1.3.7",
3
+ "version": "1.3.13",
4
4
  "description": "Official HM Revenue & Customs (United Kingdom) monthly exchange rates โ€” 141 currencies vs GBP, history since 2021. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "hmrc",
7
- "hm",
7
+ "hm-revenue-customs",
8
8
  "revenue",
9
- "&",
10
9
  "customs",
11
10
  "exchange-rate",
12
11
  "exchange-rates",
12
+ "exchangerate",
13
+ "exchange rate",
14
+ "gbp-exchange-rate",
13
15
  "currency",
14
16
  "forex",
15
17
  "fx",
16
18
  "gbp",
17
- "central-bank",
19
+ "currency-api",
20
+ "currency-exchange-rates",
21
+ "forex-api",
22
+ "currency-conversion",
23
+ "currency-exchange",
24
+ "currency-rates",
25
+ "tax-authority",
18
26
  "official-rates",
19
27
  "united-kingdom",
20
28
  "api",