@allratestoday/bazg-exchange-rate 1.1.0 → 1.1.2
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 +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Swiss Federal Office for Customs and Border Security Exchange Rate API client
|
|
2
2
|
|
|
3
|
-
Official **Swiss Federal Office for Customs and Border Security** (Switzerland) daily exchange rates in Node.js / TypeScript —
|
|
3
|
+
Official **Swiss Federal Office for Customs and Border Security** (Switzerland) daily exchange rates in Node.js / TypeScript — 73 currencies against the CHF, with history back to 2000. Zero dependencies, works in Node 18+, Bun, Deno, and edge runtimes (uses global `fetch`).
|
|
4
4
|
|
|
5
5
|
These are the *published tax authority rates* required for tax filings, customs valuations, audits, and compliant invoicing — not moving market rates. Every response carries the publisher's own publication date.
|
|
6
6
|
|
|
@@ -44,9 +44,9 @@ const series = await getHistory(
|
|
|
44
44
|
|
|
45
45
|
## Currencies covered
|
|
46
46
|
|
|
47
|
-
Swiss Federal Office for Customs and Border Security currently publishes rates covering **
|
|
47
|
+
Swiss Federal Office for Customs and Border Security currently publishes rates covering **74 currencies** (as of the latest table):
|
|
48
48
|
|
|
49
|
-
`AED` · `ALL` · `ARS` · `AUD` · `AZN` · `BAM` · `BDT` · `BHD` · `BRL` · `CAD` · `CHF` · `CLP` · `CNY` · `COP` · `CRC` · `CZK` · `DKK` · `DOP` · `DZD` · `EGP` · `ETB` · `EUR` · `GBP` · `GEL` · `GTQ` · `HKD` · `HNL` · `HUF` · `IDR` · `ILS` · `INR` · `ISK` · `JPY` · `KES` · `KHR` · `KRW` · `KWD` · `KYD` · `KZT` · `LBP` · `LKR` · `LYD` · `MAD` · `MUR` · `MXN` · `MYR` · `NGN` · `NOK` · `NZD` · `OMR` · `PAB` · `PEN` · `PHP` · `PKR` · `PLN` · `QAR` · `RON` · `RSD` · `RUB` · `SAR` · `SEK` · `SGD` · `THB` · `TND` · `TRY` · `TWD` · `TZS` · `UAH` · `USD` · `UYU` · `VES` · `VND` · `ZAR`
|
|
49
|
+
`AED` · `ALL` · `ARS` · `AUD` · `AZN` · `BAM` · `BDT` · `BGN` · `BHD` · `BRL` · `CAD` · `CHF` · `CLP` · `CNY` · `COP` · `CRC` · `CZK` · `DKK` · `DOP` · `DZD` · `EGP` · `ETB` · `EUR` · `GBP` · `GEL` · `GTQ` · `HKD` · `HNL` · `HUF` · `IDR` · `ILS` · `INR` · `ISK` · `JPY` · `KES` · `KHR` · `KRW` · `KWD` · `KYD` · `KZT` · `LBP` · `LKR` · `LYD` · `MAD` · `MUR` · `MXN` · `MYR` · `NGN` · `NOK` · `NZD` · `OMR` · `PAB` · `PEN` · `PHP` · `PKR` · `PLN` · `QAR` · `RON` · `RSD` · `RUB` · `SAR` · `SEK` · `SGD` · `THB` · `TND` · `TRY` · `TWD` · `TZS` · `UAH` · `USD` · `UYU` · `VES` · `VND` · `ZAR`
|
|
50
50
|
|
|
51
51
|
Pairs the tax authority does not print directly are resolved from this table (see below).
|
|
52
52
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@allratestoday/bazg-exchange-rate",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "Official Swiss Federal Office for Customs and Border Security (Switzerland) daily exchange rates —
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "Official Swiss Federal Office for Customs and Border Security (Switzerland) daily exchange rates — 73 currencies vs CHF, history since 2000. Zero-dependency Node.js/TypeScript client.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bazg",
|
|
7
7
|
"swiss",
|