@allratestoday/sbp-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 +46 -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/sbp').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,50 @@ 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-10-26 by State Bank of Pakistan โ€” 35 rates. Updated 2026-10-26.</summary>
51
+
52
+ | Base | Quote | Type | Rate |
53
+ | --- | --- | --- | ---: |
54
+ | AED | PKR | reference | 75.3701 |
55
+ | ARS | PKR | reference | 0.181 |
56
+ | AUD | PKR | reference | 194.571 |
57
+ | BDT | PKR | reference | 2.2342 |
58
+ | BHD | PKR | reference | 733.8595 |
59
+ | BRL | PKR | reference | 55.7448 |
60
+ | CAD | PKR | reference | 197.4759 |
61
+ | CHF | PKR | reference | 335.2856 |
62
+ | CNH | PKR | reference | 41.516 |
63
+ | CNY | PKR | reference | 41.5128 |
64
+ | DKK | PKR | reference | 41.5019 |
65
+ | EUR | PKR | reference | 310.2091 |
66
+ | GBP | PKR | reference | 369.4745 |
67
+ | HKD | PKR | reference | 35.286 |
68
+ | IDR | PKR | reference | 0.0153 |
69
+ | INR | PKR | reference | 2.9062 |
70
+ | JPY | PKR | reference | 1.7611 |
71
+ | KRW | PKR | reference | 0.2091 |
72
+ | KWD | PKR | reference | 898.7396 |
73
+ | KZT | PKR | reference | 0.6109 |
74
+ | LKR | PKR | reference | 0.8336 |
75
+ | MXN | PKR | reference | 14.7978 |
76
+ | MYR | PKR | reference | 67.7464 |
77
+ | NOK | PKR | reference | 29.6379 |
78
+ | NZD | PKR | reference | 157.409 |
79
+ | OMR | PKR | reference | 718.9636 |
80
+ | QAR | PKR | reference | 75.9429 |
81
+ | RUB | PKR | reference | 3.4301 |
82
+ | SAR | PKR | reference | 73.7555 |
83
+ | SEK | PKR | reference | 27.8626 |
84
+ | SGD | PKR | reference | 216.3437 |
85
+ | THB | PKR | reference | 8.1897 |
86
+ | TRY | PKR | reference | 5.5627 |
87
+ | USD | PKR | reference | 276.8118 |
88
+ | ZAR | PKR | reference | 16.6946 |
89
+
90
+ </details>
91
+
92
+ Source: [Official rates published by SBP, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/sbp/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
50
93
  <!-- daily-table:end -->
51
94
 
52
95
  ## ๐Ÿ“ฆ Installation
@@ -315,6 +358,7 @@ Need the whole archive rather than an API call? The same published tables are mi
315
358
  - [API documentation](https://allratestoday.com/docs/#central-bank) ยท [Interactive reference](https://allratestoday.com/api-reference/) ยท [Methodology](https://allratestoday.com/official-rates-methodology/)
316
359
  - [Register (Free)](https://allratestoday.com/register) ยท [Dashboard](https://allratestoday.com/profile) ยท [Pricing](https://allratestoday.com/pricing/)
317
360
  - [Status](https://allratestoday.com/status)
361
+ - [Postman collection](https://allratestoday.com/postman/)
318
362
  - [GitHub](https://github.com/AllRates-Today/sbp-exchange-rate)
319
363
 
320
364
  ## ๐Ÿ“œ License
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/sbp-exchange-rate",
3
- "version": "1.3.16",
3
+ "version": "1.3.18",
4
4
  "description": "Official State Bank of Pakistan (Pakistan) daily exchange rates โ€” 35 currencies vs PKR, history since 2017. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "sbp",