@allratestoday/sama-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 +35 -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/sama').th
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,39 @@ 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-07-31 by Saudi Central Bank (SAMA) (the API currently flags this table as stale) โ€” 24 rates. Updated 2026-10-26.</summary>
51
+
52
+ | Base | Quote | Type | Rate |
53
+ | --- | --- | --- | ---: |
54
+ | AUD | SAR | close | 2.6305805 |
55
+ | AUD | SAR | monthly_average | 2.6118306 |
56
+ | BRL | SAR | close | 0.73916558 |
57
+ | BRL | SAR | monthly_average | 0.73401057 |
58
+ | CHF | SAR | close | 4.6253694 |
59
+ | CHF | SAR | monthly_average | 4.6229663 |
60
+ | CNY | SAR | close | 0.55461841 |
61
+ | CNY | SAR | monthly_average | 0.55337878 |
62
+ | EUR | SAR | close | 4.2976014 |
63
+ | EUR | SAR | monthly_average | 4.2804897 |
64
+ | GBP | SAR | close | 5.030462 |
65
+ | GBP | SAR | monthly_average | 5.0133182 |
66
+ | INR | SAR | close | 0.039235708 |
67
+ | INR | SAR | monthly_average | 0.039136208 |
68
+ | JPY | SAR | close | 0.023293968 |
69
+ | JPY | SAR | monthly_average | 0.023059174 |
70
+ | KRW | SAR | close | 0.0025965805 |
71
+ | KRW | SAR | monthly_average | 0.0025093839 |
72
+ | THB | SAR | close | 0.11198406 |
73
+ | THB | SAR | monthly_average | 0.11192007 |
74
+ | TRY | SAR | close | 0.078847735 |
75
+ | TRY | SAR | monthly_average | 0.079760374 |
76
+ | USD | SAR | close | 3.75 |
77
+ | USD | SAR | monthly_average | 3.75 |
78
+
79
+ </details>
80
+
81
+ Source: [Official rates published by SAMA, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/sama/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
50
82
  <!-- daily-table:end -->
51
83
 
52
84
  ## ๐Ÿ“ฆ Installation
@@ -316,6 +348,7 @@ Need the whole archive rather than an API call? The same published tables are mi
316
348
  - [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
317
349
  - [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
318
350
  - [Status](https://allratestoday.com/status)
351
+ - [Postman collection](https://allratestoday.com/postman/)
319
352
  - [GitHub](https://github.com/AllRates-Today/sama-exchange-rate)
320
353
 
321
354
  ## ๐Ÿ“œ License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/sama-exchange-rate",
3
- "version": "1.3.16",
3
+ "version": "1.3.18",
4
4
  "description": "Official Saudi Central Bank (SAMA) (Saudi Arabia) monthly exchange rates โ€” 12 currencies vs SAR, history since 2009. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "sama",