cbuae-exchange-rate 1.3.8 โ†’ 1.3.13

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 +59 -57
  2. package/package.json +11 -3
package/README.md CHANGED
@@ -37,73 +37,75 @@ The open endpoint serves the *latest* table only and asks for a visible attribut
37
37
 
38
38
  ## ๐Ÿ“ˆ Latest published table
39
39
 
40
- Today's full Central Bank of the UAE table, straight from the central bank's latest publication. On GitHub it is refreshed by [a daily Action](.github/workflows/daily-table.yml) that reads the keyless endpoint above and commits only when the central bank publishes a new table; the copy on npm is as of the package's publish date.
40
+ [![Latest Central Bank of the UAE table](https://allratestoday.com/api/open/central-bank/cbuae/table.svg)](https://allratestoday.com/central-bank-rates-api/cbuae/)
41
+
42
+ 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 text copy below is there 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.
41
43
 
42
44
  <!-- daily-table:start -->
43
- Published **2026-10-12** by Central Bank of the UAE โ€” 75 rates, first 60 shown. Updated 2026-10-12.
45
+ Published **2026-10-13** by Central Bank of the UAE โ€” 75 rates, first 60 shown. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
- | ARS | AED | reference | 0.002421 |
48
- | AUD | AED | reference | 2.558699 |
49
+ | ARS | AED | reference | 0.002417 |
50
+ | AUD | AED | reference | 2.561911 |
49
51
  | AZN | AED | reference | 2.160294 |
50
- | BDT | AED | reference | 0.029833 |
52
+ | BDT | AED | reference | 0.029821 |
51
53
  | BGN | AED | reference | 2.205706 |
52
- | BHD | AED | reference | 9.7259 |
53
- | BND | AED | reference | 2.86802 |
54
- | BRL | AED | reference | 0.7364 |
54
+ | BHD | AED | reference | 9.724613 |
55
+ | BND | AED | reference | 2.868244 |
56
+ | BRL | AED | reference | 0.73242 |
55
57
  | BWP | AED | reference | 0.267122 |
56
- | BYN | AED | reference | 1.217753 |
57
- | CAD | AED | reference | 2.574663 |
58
- | CHF | AED | reference | 4.406647 |
59
- | CLP | AED | reference | 0.003759 |
60
- | CNH | AED | reference | 0.548585 |
61
- | CNY | AED | reference | 0.548724 |
62
- | COP | AED | reference | 0.001149 |
63
- | CZK | AED | reference | 0.168332 |
64
- | DKK | AED | reference | 0.54906 |
65
- | DZD | AED | reference | 0.027282 |
66
- | EGP | AED | reference | 0.069753 |
67
- | ETB | AED | reference | 0.022601 |
68
- | EUR | AED | reference | 4.104269 |
69
- | GBP | AED | reference | 4.85853 |
70
- | HKD | AED | reference | 0.467977 |
71
- | HUF | AED | reference | 0.011254 |
58
+ | BYN | AED | reference | 1.219938 |
59
+ | CAD | AED | reference | 2.580815 |
60
+ | CHF | AED | reference | 4.408764 |
61
+ | CLP | AED | reference | 0.003741 |
62
+ | CNH | AED | reference | 0.548675 |
63
+ | CNY | AED | reference | 0.548642 |
64
+ | COP | AED | reference | 0.001156 |
65
+ | CZK | AED | reference | 0.168649 |
66
+ | DKK | AED | reference | 0.549718 |
67
+ | DZD | AED | reference | 0.027272 |
68
+ | EGP | AED | reference | 0.069489 |
69
+ | ETB | AED | reference | 0.022741 |
70
+ | EUR | AED | reference | 4.108861 |
71
+ | GBP | AED | reference | 4.863491 |
72
+ | HKD | AED | reference | 0.467954 |
73
+ | HUF | AED | reference | 0.011284 |
72
74
  | IDR | AED | reference | 0.000205 |
73
- | ILS | AED | reference | 1.195047 |
74
- | INR | AED | reference | 0.038345 |
75
+ | ILS | AED | reference | 1.196176 |
76
+ | INR | AED | reference | 0.038542 |
75
77
  | IQD | AED | reference | 0.002422 |
76
78
  | ISK | AED | reference | 0.030174 |
77
79
  | JOD | AED | reference | 5.179831 |
78
- | JPY | AED | reference | 0.023148 |
80
+ | JPY | AED | reference | 0.023182 |
79
81
  | KES | AED | reference | 0.028315 |
80
- | KRW | AED | reference | 0.002751 |
81
- | KWD | AED | reference | 11.917897 |
82
- | KZT | AED | reference | 0.00814 |
83
- | LKR | AED | reference | 0.011096 |
84
- | LYD | AED | reference | 0.571551 |
85
- | MAD | AED | reference | 0.378273 |
86
- | MKD | AED | reference | 0.0667 |
87
- | MUR | AED | reference | 0.077267 |
88
- | MXN | AED | reference | 0.200875 |
89
- | MYR | AED | reference | 0.897702 |
90
- | NGN | AED | reference | 0.002759 |
91
- | NOK | AED | reference | 0.384245 |
92
- | NPR | AED | reference | 0.023966 |
93
- | NZD | AED | reference | 2.054545 |
94
- | OMR | AED | reference | 9.538218 |
95
- | PEN | AED | reference | 1.067867 |
96
- | PHP | AED | reference | 0.058506 |
82
+ | KRW | AED | reference | 0.002735 |
83
+ | KWD | AED | reference | 11.912099 |
84
+ | KZT | AED | reference | 0.008166 |
85
+ | LKR | AED | reference | 0.011093 |
86
+ | LYD | AED | reference | 0.571089 |
87
+ | MAD | AED | reference | 0.375109 |
88
+ | MKD | AED | reference | 0.066724 |
89
+ | MUR | AED | reference | 0.076927 |
90
+ | MXN | AED | reference | 0.200421 |
91
+ | MYR | AED | reference | 0.898801 |
92
+ | NGN | AED | reference | 0.002758 |
93
+ | NOK | AED | reference | 0.385451 |
94
+ | NPR | AED | reference | 0.024088 |
95
+ | NZD | AED | reference | 2.060309 |
96
+ | OMR | AED | reference | 9.538713 |
97
+ | PEN | AED | reference | 1.066967 |
98
+ | PHP | AED | reference | 0.058492 |
97
99
  | PKR | AED | reference | 0.013264 |
98
- | PLN | AED | reference | 0.935788 |
100
+ | PLN | AED | reference | 0.939402 |
99
101
  | QAR | AED | reference | 1.007489 |
100
- | RON | AED | reference | 0.768772 |
101
- | RSD | AED | reference | 0.03496 |
102
- | RUB | AED | reference | 0.043728 |
102
+ | RON | AED | reference | 0.769755 |
103
+ | RSD | AED | reference | 0.035003 |
104
+ | RUB | AED | reference | 0.043898 |
103
105
  | SAR | AED | reference | 0.977847 |
104
106
  | SDG | AED | reference | 0.006119 |
105
- | SEK | AED | reference | 0.36651 |
106
- | SGD | AED | reference | 2.867572 |
107
+ | SEK | AED | reference | 0.36782 |
108
+ | SGD | AED | reference | 2.868468 |
107
109
 
108
110
  [Full table on the Central Bank of the UAE rates page](https://allratestoday.com/central-bank-rates-api/cbuae/) ยท Source: [Official rates published by CBUAE, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/cbuae/). Rates are as printed by the central bank; AllRatesToday is not affiliated with it.
109
111
  <!-- daily-table:end -->
@@ -160,7 +162,7 @@ const pair = await getRate('USD', 'AED', { apiKey: 'art_live_...' });
160
162
  {
161
163
  bank: 'cbuae',
162
164
  name: 'Central Bank of the UAE',
163
- rate_date: '2026-10-12', // Central Bank of the UAE's own publication date
165
+ rate_date: '2026-10-13', // Central Bank of the UAE's own publication date
164
166
  source: 'USD',
165
167
  target: 'AED',
166
168
  rate: 3.6725,
@@ -188,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
188
190
  {
189
191
  bank: 'cbuae',
190
192
  name: 'Central Bank of the UAE',
191
- rate_date: '2026-10-12',
193
+ rate_date: '2026-10-13',
192
194
  rates: [
193
195
  { "base": "USD", "quote": "AED", "type": "reference", "value": 3.6725 },
194
196
  // โ€ฆ the rest of the published table (75 currencies vs AED)
@@ -230,7 +232,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
230
232
  import { getHistory } from 'cbuae-exchange-rate';
231
233
 
232
234
  const series = await getHistory(
233
- { source: 'USD', target: 'AED', from: '2026-01-01', to: '2026-10-12' },
235
+ { source: 'USD', target: 'AED', from: '2026-01-01', to: '2026-10-13' },
234
236
  { apiKey: 'art_live_...' }
235
237
  );
236
238
  ```
@@ -243,11 +245,11 @@ const series = await getHistory(
243
245
  source: 'USD',
244
246
  target: 'AED',
245
247
  from: '2026-01-01',
246
- to: '2026-10-12',
248
+ to: '2026-10-13',
247
249
  count: 152,
248
250
  rates: [
249
251
  // one entry per publication date
250
- { date: '2026-10-12', rate: 3.6725, rate_type: 'reference', derived: false, method: 'published' },
252
+ { date: '2026-10-13', rate: 3.6725, rate_type: 'reference', derived: false, method: 'published' },
251
253
  // โ€ฆ
252
254
  ],
253
255
  disclaimer: 'โ€ฆ'
@@ -366,9 +368,9 @@ getRate('USD', 'AED', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
366
368
 
367
369
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
368
370
 
369
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/cbuae.csv`)
371
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/cbuae.csv`)
370
372
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
371
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/cbuae/latest.json`
373
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/cbuae/latest.json`
372
374
 
373
375
  ## ๐Ÿ”— Links
374
376
 
package/package.json CHANGED
@@ -1,20 +1,28 @@
1
1
  {
2
2
  "name": "cbuae-exchange-rate",
3
- "version": "1.3.8",
3
+ "version": "1.3.13",
4
4
  "description": "Official Central Bank of the UAE (United Arab Emirates) daily exchange rates โ€” 75 currencies vs AED, history since 2019. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "cbuae",
7
+ "central-bank-of-the-uae",
7
8
  "central",
8
9
  "bank",
9
- "of",
10
- "the",
11
10
  "uae",
12
11
  "exchange-rate",
13
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "aed-exchange-rate",
14
16
  "currency",
15
17
  "forex",
16
18
  "fx",
17
19
  "aed",
20
+ "currency-api",
21
+ "currency-exchange-rates",
22
+ "forex-api",
23
+ "currency-conversion",
24
+ "currency-exchange",
25
+ "currency-rates",
18
26
  "central-bank",
19
27
  "official-rates",
20
28
  "united-arab-emirates",