@allratestoday/hmrc-exchange-rate 1.3.22 → 1.3.24

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 +2 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -24,30 +24,15 @@
24
24
 
25
25
  Get a free API key at [allratestoday.com/register](https://allratestoday.com/register) — no credit card required. Latest rates are on every plan, including free.
26
26
 
27
- ## ⚡ Try it without a key
28
-
29
- The latest HM Revenue & Customs table is also served keyless, CORS-open and edge-cached, for evaluation, embeds and AI agents:
30
-
31
- ```bash
32
- curl "https://allratestoday.com/api/open/central-bank/hmrc?source=GBP&target=USD"
33
- ```
34
-
35
- ```js
36
- const r = await fetch('https://allratestoday.com/api/open/central-bank/hmrc').then((x) => x.json());
37
- console.log(r.rate_date, r.rates.length); // the tax authority's latest published table, no key
38
- ```
39
-
40
- The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and is free to use with a visible, followable link where the rates are shown: `<a href="https://allratestoday.com">Exchange rates by AllRatesToday</a>` (terms: <https://allratestoday.com/terms/#attribution>). The client below uses the keyed API, which adds point-in-time tables and history; with a key the link is appreciated, not required.
41
-
42
27
  ## 📈 Latest published table
43
28
 
44
29
  [![Latest HM Revenue & Customs table](https://allratestoday.com/api/open/central-bank/hmrc/table.svg)](https://allratestoday.com/tax-authority-rates-api/hmrc/)
45
30
 
46
- 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 same table as text is folded below 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.
31
+ The image is rendered live from the keyless endpoint, so it follows the tax authority's publications on npm and on GitHub alike without a new release. The same table as text is folded below 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.
47
32
 
48
33
  <!-- daily-table:start -->
49
34
  <details>
50
- <summary>Table as text: published 2026-10-01 by HM Revenue & Customs — 141 rates, first 60 shown. Updated 2026-10-29.</summary>
35
+ <summary>Table as text: published 2026-10-01 by HM Revenue & Customs — 141 rates, first 60 shown. Updated 2026-10-30.</summary>
51
36
 
52
37
  | Base | Quote | Type | Rate |
53
38
  | --- | --- | --- | ---: |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/hmrc-exchange-rate",
3
- "version": "1.3.22",
3
+ "version": "1.3.24",
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",