bna-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 National Bank of Angola 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 National Bank of Angola table](https://allratestoday.com/api/open/central-bank/bna/table.svg)](https://allratestoday.com/central-bank-rates-api/bna/)
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 National Bank of Angola โ€” 209 rates, first 60 shown. Updated 2026-10-12.
45
+ Published **2026-10-14** by National Bank of Angola โ€” 210 rates, first 60 shown. Updated 2026-10-14.
44
46
 
45
47
  | Base | Quote | Type | Rate |
46
48
  | --- | --- | --- | ---: |
47
49
  | AED | AOA | buy | 248.57065 |
48
50
  | AED | AOA | reference | 248.57065 |
49
51
  | AED | AOA | sell | 248.57065 |
50
- | ALL | AOA | buy | 11.2052 |
51
- | ALL | AOA | reference | 11.2052 |
52
- | ALL | AOA | sell | 11.2052 |
53
- | ARS | AOA | buy | 0.60223 |
54
- | ARS | AOA | reference | 0.60223 |
55
- | ARS | AOA | sell | 0.60223 |
56
- | AUD | AOA | buy | 636.72502 |
57
- | AUD | AOA | reference | 636.72502 |
58
- | AUD | AOA | sell | 636.72502 |
59
- | BGN | AOA | buy | 522.04243 |
60
- | BGN | AOA | reference | 522.04243 |
61
- | BGN | AOA | sell | 522.04243 |
52
+ | ALL | AOA | buy | 11.248 |
53
+ | ALL | AOA | reference | 11.248 |
54
+ | ALL | AOA | sell | 11.248 |
55
+ | ARS | AOA | buy | 0.60351 |
56
+ | ARS | AOA | reference | 0.60351 |
57
+ | ARS | AOA | sell | 0.60351 |
58
+ | AUD | AOA | buy | 640.11779 |
59
+ | AUD | AOA | reference | 640.11779 |
60
+ | AUD | AOA | sell | 640.11779 |
61
+ | BGN | AOA | buy | 522.67003 |
62
+ | BGN | AOA | reference | 522.67003 |
63
+ | BGN | AOA | sell | 522.67003 |
62
64
  | BMD | AOA | buy | 913 |
63
65
  | BMD | AOA | reference | 913 |
64
66
  | BMD | AOA | sell | 913 |
65
- | BOB | AOA | buy | 77.83461 |
66
- | BOB | AOA | reference | 77.83461 |
67
- | BOB | AOA | sell | 77.83461 |
68
- | BRL | AOA | buy | 183.09803 |
69
- | BRL | AOA | reference | 183.09803 |
70
- | BRL | AOA | sell | 183.09803 |
67
+ | BOB | AOA | buy | 78.03419 |
68
+ | BOB | AOA | reference | 78.03419 |
69
+ | BOB | AOA | sell | 78.03419 |
70
+ | BRL | AOA | buy | 181.64094 |
71
+ | BRL | AOA | reference | 181.64094 |
72
+ | BRL | AOA | sell | 181.64094 |
71
73
  | BSD | AOA | buy | 913 |
72
74
  | BSD | AOA | reference | 913 |
73
75
  | BSD | AOA | sell | 913 |
74
- | BWP | AOA | buy | 67.927 |
75
- | BWP | AOA | reference | 67.927 |
76
- | BWP | AOA | sell | 67.927 |
77
- | CAD | AOA | buy | 640.25245 |
78
- | CAD | AOA | reference | 640.25245 |
79
- | CAD | AOA | sell | 640.25245 |
80
- | CDF | AOA | buy | 0.39541 |
81
- | CDF | AOA | reference | 0.39541 |
82
- | CDF | AOA | sell | 0.39541 |
83
- | CHF | AOA | buy | 1096.43329 |
84
- | CHF | AOA | reference | 1096.43329 |
85
- | CHF | AOA | sell | 1096.43329 |
86
- | CNY | AOA | buy | 136.4071 |
87
- | CNY | AOA | reference | 136.4071 |
88
- | CNY | AOA | sell | 136.4071 |
89
- | CRC | AOA | buy | 2.02327 |
90
- | CRC | AOA | reference | 2.02327 |
91
- | CRC | AOA | sell | 2.02327 |
76
+ | BWP | AOA | buy | 67.01409 |
77
+ | BWP | AOA | reference | 67.01409 |
78
+ | BWP | AOA | sell | 67.01409 |
79
+ | CAD | AOA | buy | 642.41486 |
80
+ | CAD | AOA | reference | 642.41486 |
81
+ | CAD | AOA | sell | 642.41486 |
82
+ | CDF | AOA | buy | 0.39569 |
83
+ | CDF | AOA | reference | 0.39569 |
84
+ | CDF | AOA | sell | 0.39569 |
85
+ | CHF | AOA | buy | 1095.64383 |
86
+ | CHF | AOA | reference | 1095.64383 |
87
+ | CHF | AOA | sell | 1095.64383 |
88
+ | CNY | AOA | buy | 136.42544 |
89
+ | CNY | AOA | reference | 136.42544 |
90
+ | CNY | AOA | sell | 136.42544 |
91
+ | CRC | AOA | buy | 2.03182 |
92
+ | CRC | AOA | reference | 2.03182 |
93
+ | CRC | AOA | sell | 2.03182 |
92
94
  | CUP | AOA | buy | 38.04167 |
93
95
  | CUP | AOA | reference | 38.04167 |
94
96
  | CUP | AOA | sell | 38.04167 |
95
- | CVE | AOA | buy | 9.31217 |
96
- | CVE | AOA | reference | 9.31217 |
97
- | CVE | AOA | sell | 9.31217 |
98
- | CZK | AOA | buy | 41.86441 |
99
- | CZK | AOA | reference | 41.86441 |
100
- | CZK | AOA | sell | 41.86441 |
101
- | DKK | AOA | buy | 136.59281 |
102
- | DKK | AOA | reference | 136.59281 |
103
- | DKK | AOA | sell | 136.59281 |
104
- | EEK | AOA | buy | 65.25437 |
105
- | EEK | AOA | reference | 65.25437 |
106
- | EEK | AOA | sell | 65.25437 |
97
+ | CVE | AOA | buy | 9.3193 |
98
+ | CVE | AOA | reference | 9.3193 |
99
+ | CVE | AOA | sell | 9.3193 |
100
+ | CZK | AOA | buy | 41.97296 |
101
+ | CZK | AOA | reference | 41.97296 |
102
+ | CZK | AOA | sell | 41.97296 |
103
+ | DKK | AOA | buy | 136.7483 |
104
+ | DKK | AOA | reference | 136.7483 |
105
+ | DKK | AOA | sell | 136.7483 |
106
+ | EEK | AOA | buy | 65.33235 |
107
+ | EEK | AOA | reference | 65.33235 |
108
+ | EEK | AOA | sell | 65.33235 |
107
109
 
108
110
  [Full table on the National Bank of Angola rates page](https://allratestoday.com/central-bank-rates-api/bna/) ยท Source: [Official rates published by BNA, served by AllRatesToday](https://allratestoday.com/central-bank-rates-api/bna/). 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', 'AOA', { apiKey: 'art_live_...' });
160
162
  {
161
163
  bank: 'bna',
162
164
  name: 'National Bank of Angola',
163
- rate_date: '2026-10-12', // National Bank of Angola's own publication date
165
+ rate_date: '2026-10-13', // National Bank of Angola's own publication date
164
166
  source: 'USD',
165
167
  target: 'AOA',
166
168
  rate: 913,
@@ -188,7 +190,7 @@ console.log(table.rate_date, table.rates.length);
188
190
  {
189
191
  bank: 'bna',
190
192
  name: 'National Bank of Angola',
191
- rate_date: '2026-10-12',
193
+ rate_date: '2026-10-13',
192
194
  rates: [
193
195
  { "base": "USD", "quote": "AOA", "type": "reference", "value": 913 },
194
196
  { "base": "USD", "quote": "AOA", "type": "sell", "value": 913 },
@@ -232,7 +234,7 @@ Paid plans. One resolved rate per publication date โ€” ready for charting, reval
232
234
  import { getHistory } from 'bna-exchange-rate';
233
235
 
234
236
  const series = await getHistory(
235
- { source: 'USD', target: 'AOA', from: '2026-01-01', to: '2026-10-12' },
237
+ { source: 'USD', target: 'AOA', from: '2026-01-01', to: '2026-10-13' },
236
238
  { apiKey: 'art_live_...' }
237
239
  );
238
240
  ```
@@ -245,11 +247,11 @@ const series = await getHistory(
245
247
  source: 'USD',
246
248
  target: 'AOA',
247
249
  from: '2026-01-01',
248
- to: '2026-10-12',
250
+ to: '2026-10-13',
249
251
  count: 152,
250
252
  rates: [
251
253
  // one entry per publication date
252
- { date: '2026-10-12', rate: 913, rate_type: 'reference', derived: false, method: 'published' },
254
+ { date: '2026-10-13', rate: 913, rate_type: 'reference', derived: false, method: 'published' },
253
255
  // โ€ฆ
254
256
  ],
255
257
  disclaimer: 'โ€ฆ'
@@ -369,9 +371,9 @@ getRate('USD', 'AOA', { apiKey: 'art_live_...' }).then((pair) => console.log(pai
369
371
 
370
372
  Need the whole archive rather than an API call? The same published tables are mirrored daily as open data:
371
373
 
372
- - Hugging Face: [AllRates/central-bank-exchange-rates](https://huggingface.co/datasets/AllRates/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bna.csv`)
374
+ - Hugging Face: [AllRatesToday/central-bank-exchange-rates](https://huggingface.co/datasets/AllRatesToday/central-bank-exchange-rates) โ€” one CSV per institution (`rates/bna.csv`)
373
375
  - Kaggle: [allratestoday/central-bank-exchange-rates](https://www.kaggle.com/datasets/allratestoday/central-bank-exchange-rates)
374
- - CDN JSON: `https://cdn.jsdelivr.net/gh/AllRates-Today/central-bank-exchange-rates@main/data/bna/latest.json`
376
+ - Raw JSON on GitHub: `https://raw.githubusercontent.com/AllRates-Today/central-bank-exchange-rates/main/data/bna/latest.json`
375
377
 
376
378
  ## ๐Ÿ”— Links
377
379
 
package/package.json CHANGED
@@ -1,22 +1,30 @@
1
1
  {
2
2
  "name": "bna-exchange-rate",
3
- "version": "1.3.8",
3
+ "version": "1.3.13",
4
4
  "description": "Official National Bank of Angola (Angola) daily exchange rates โ€” 70 currencies vs AOA, history since 1999. Zero-dependency Node.js/TypeScript client.",
5
5
  "keywords": [
6
6
  "bna",
7
+ "national-bank-of-angola",
7
8
  "national",
8
9
  "bank",
9
- "of",
10
10
  "angola",
11
11
  "exchange-rate",
12
12
  "exchange-rates",
13
+ "exchangerate",
14
+ "exchange rate",
15
+ "aoa-exchange-rate",
13
16
  "currency",
14
17
  "forex",
15
18
  "fx",
16
19
  "aoa",
20
+ "currency-api",
21
+ "currency-exchange-rates",
22
+ "forex-api",
23
+ "currency-conversion",
24
+ "currency-exchange",
25
+ "currency-rates",
17
26
  "central-bank",
18
27
  "official-rates",
19
- "angola",
20
28
  "api",
21
29
  "typescript"
22
30
  ],