snb-exchange-rate 1.3.16 โ†’ 1.3.18

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 +37 -2
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,7 +37,7 @@ const r = await fetch('https://allratestoday.com/api/open/central-bank/snb').the
37
37
  console.log(r.rate_date, r.rates.length); // the central bank's latest published table, no key
38
38
  ```
39
39
 
40
- The open endpoint serves the *latest* table only (JSON by default; add `?format=csv`, `xml` or `xlsx` for a file) and asks for a visible attribution link. The client below uses the keyed API, which adds point-in-time tables and history.
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
41
 
42
42
  ## ๐Ÿ“ˆ Latest published table
43
43
 
@@ -46,7 +46,41 @@ The open endpoint serves the *latest* table only (JSON by default; add `?format=
46
46
  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 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 central bank publishes a new table; on npm it is as of the package's publish date.
47
47
 
48
48
  <!-- daily-table:start -->
49
- _The table is filled in by the daily workflow._
49
+ <details>
50
+ <summary>Table as text: published 2026-09-30 by Swiss National Bank โ€” 26 rates. Updated 2026-10-26.</summary>
51
+
52
+ | Base | Quote | Type | Rate |
53
+ | --- | --- | --- | ---: |
54
+ | ARS | CHF | monthly_average | 0.00054 |
55
+ | AUD | CHF | monthly_average | 0.58343 |
56
+ | BRL | CHF | monthly_average | 0.1593254 |
57
+ | CAD | CHF | monthly_average | 0.58688 |
58
+ | CNY | CHF | monthly_average | 0.1221011 |
59
+ | CZK | CHF | monthly_average | 0.0388224 |
60
+ | DKK | CHF | monthly_average | 0.1261671 |
61
+ | EUR | CHF | monthly_average | 0.94312 |
62
+ | GBP | CHF | monthly_average | 1.0993 |
63
+ | HKD | CHF | monthly_average | 0.1044552 |
64
+ | HUF | CHF | monthly_average | 0.0025839 |
65
+ | JPY | CHF | monthly_average | 0.0052383 |
66
+ | KRW | CHF | monthly_average | 0.0006029 |
67
+ | MXN | CHF | monthly_average | 0.0475407 |
68
+ | MYR | CHF | monthly_average | 0.2013008 |
69
+ | NOK | CHF | monthly_average | 0.0873072 |
70
+ | NZD | CHF | monthly_average | 0.47256 |
71
+ | PLN | CHF | monthly_average | 0.2170834 |
72
+ | RUB | CHF | monthly_average | 0.00964 |
73
+ | SEK | CHF | monthly_average | 0.0839625 |
74
+ | SGD | CHF | monthly_average | 0.64366 |
75
+ | THB | CHF | monthly_average | 0.0246599 |
76
+ | TRY | CHF | monthly_average | 0.0168369 |
77
+ | USD | CHF | monthly_average | 0.81926 |
78
+ | XDR | CHF | monthly_average | 1.11928 |
79
+ | ZAR | CHF | monthly_average | 0.05052 |
80
+
81
+ </details>
82
+
83
+ Source: [Official rates published by SNB, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/snb/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
50
84
  <!-- daily-table:end -->
51
85
 
52
86
  ## ๐Ÿ“ฆ Installation
@@ -315,6 +349,7 @@ Need the whole archive rather than an API call? The same published tables are mi
315
349
  - [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
316
350
  - [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
317
351
  - [Status](https://allratestoday.com/status)
352
+ - [Postman collection](https://allratestoday.com/postman/)
318
353
  - [GitHub](https://github.com/AllRates-Today/snb-exchange-rate)
319
354
 
320
355
  ## ๐Ÿ“œ License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "snb-exchange-rate",
3
- "version": "1.3.16",
3
+ "version": "1.3.18",
4
4
  "description": "Official Swiss National Bank (Switzerland) monthly exchange rates โ€” 26 currencies vs CHF, history since 1914. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "snb",