cbk-exchange-rate 1.2.0 → 1.2.3
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.
- package/README.md +5 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
- 🔷 **Type-safe** — full TypeScript definitions shipped with the package
|
|
17
17
|
- 🧾 **Compliance-grade metadata** — `rate_type`, publication date, and source disclaimer on every response
|
|
18
18
|
|
|
19
|
+
> **Official rate, not mid-market:** every value here is a number Central Bank of Kuwait itself published, fixed once printed and carrying the central bank's own `rate_date` — what filings and audits require. Need the live interbank midpoint for pricing or display instead? Use the [mid-market API](https://allratestoday.com/docs/) or [`@allratestoday/sdk`](https://www.npmjs.com/package/@allratestoday/sdk). The two can diverge by several percent.
|
|
20
|
+
|
|
19
21
|
## 🔑 Get your API key
|
|
20
22
|
|
|
21
23
|
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.
|
|
@@ -99,7 +101,7 @@ console.log(table.rate_date, table.rates.length);
|
|
|
99
101
|
rate_date: '2026-08-11',
|
|
100
102
|
rates: [
|
|
101
103
|
{ "base": "USD", "quote": "KWD", "type": "reference", "value": 0.3071 },
|
|
102
|
-
// … the rest of the published table (
|
|
104
|
+
// … the rest of the published table (134 currencies vs KWD)
|
|
103
105
|
],
|
|
104
106
|
disclaimer: '…'
|
|
105
107
|
}
|
|
@@ -168,9 +170,9 @@ Pass `{ symbol: 'USD' }` instead of `source`/`target` to get the raw published r
|
|
|
168
170
|
|
|
169
171
|
## 🗺️ Currencies covered
|
|
170
172
|
|
|
171
|
-
Central Bank of Kuwait currently publishes rates covering **
|
|
173
|
+
Central Bank of Kuwait currently publishes rates covering **135 currencies** (as of the latest table):
|
|
172
174
|
|
|
173
|
-
`AED` · `BHD` · `CHF` · `EUR` · `GBP` · `JPY` · `KWD` · `OMR` · `QAR` · `SAR` · `USD`
|
|
175
|
+
`AED` · `AFN` · `ALL` · `AMD` · `AOA` · `ARS` · `AUD` · `AZN` · `BAM` · `BBD` · `BDT` · `BGN` · `BHD` · `BIF` · `BMD` · `BND` · `BOB` · `BRL` · `BSD` · `BTN` · `BWP` · `BZD` · `CAD` · `CDF` · `CHF` · `CLP` · `CNY` · `COP` · `CRC` · `CUP` · `CVE` · `CZK` · `DJF` · `DKK` · `DOP` · `DZD` · `ECS` · `EGP` · `ERN` · `ETB` · `EUR` · `FJD` · `GBP` · `GEL` · `GHS` · `GMD` · `GNF` · `GTQ` · `GYD` · `HKD` · `HNL` · `HTG` · `HUF` · `IDR` · `INR` · `IQD` · `IRR` · `ISK` · `JMD` · `JOD` · `JPY` · `KES` · `KGS` · `KHR` · `KMF` · `KPW` · `KRW` · `KWD` · `KZT` · `LAK` · `LBP` · `LKR` · `LRD` · `LSL` · `LYD` · `MAD` · `MDL` · `MGA` · `MMK` · `MNT` · `MOP` · `MRU` · `MUR` · `MVR` · `MWK` · `MXN` · `MYR` · `MZN` · `NAD` · `NGN` · `NIO` · `NOK` · `NPR` · `NZD` · `OMR` · `PAB` · `PEN` · `PGK` · `PHP` · `PKR` · `PLN` · `PYG` · `QAR` · `RON` · `RSD` · `RUB` · `RWF` · `SAR` · `SBD` · `SCR` · `SDG` · `SEK` · `SGD` · `SLL` · `SOS` · `SRD` · `SVC` · `SYP` · `SZL` · `THB` · `TND` · `TRY` · `TWD` · `TZS` · `UAH` · `UGX` · `USD` · `UYU` · `UZS` · `VEF` · `VND` · `WST` · `YER` · `ZAR` · `ZMW`
|
|
174
176
|
|
|
175
177
|
## ⚖️ Published vs derived rates
|
|
176
178
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cbk-exchange-rate",
|
|
3
|
-
"version": "1.2.
|
|
4
|
-
"description": "Official Central Bank of Kuwait (Kuwait) daily exchange rates —
|
|
3
|
+
"version": "1.2.3",
|
|
4
|
+
"description": "Official Central Bank of Kuwait (Kuwait) daily exchange rates — 134 currencies vs KWD, history since 2008. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cbk",
|
|
7
7
|
"central",
|