@allratestoday/sdk 1.4.15 → 1.4.17

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 CHANGED
@@ -15,7 +15,7 @@
15
15
  - 📡 **Real-Time Data** — Rates updated every 60 seconds
16
16
  - 💹 **Mid-Market Rates** — No retail spread or markup baked in
17
17
  - 🌍 **160+ Currencies** — Major, minor, and exotic currency pairs
18
- - 🏛️ **Official Rates Too** — latest tables from [122 central banks and 4 tax authorities](https://allratestoday.com/central-bank-rates-api/institutions/) via `officialRates()`, no key needed
18
+ - 🏛️ **Official Rates Too** — latest tables from [130+ central banks and tax authorities](https://allratestoday.com/central-bank-rates-api/institutions/) via `officialRates()`, no key needed
19
19
  - 🔷 **Type-Safe** — Full TypeScript support with intelligent autocomplete
20
20
  - 🌐 **Universal** — Works seamlessly in Node.js 18+ and modern browsers
21
21
  - 🧑‍💻 **Developer-Friendly** — Simple API, extensive documentation, and great DX
@@ -264,7 +264,7 @@ console.log(`$500 = €${rate.to.amount}`);
264
264
 
265
265
  The methods above return live mid-market rates. For the **official rate an
266
266
  institution published** — what invoices, VAT returns, customs declarations and
267
- audits require — use `officialRates()`. It covers [122 central banks](https://allratestoday.com/central-bank-rates-api/institutions/) plus HMRC,
267
+ audits require — use `officialRates()`. It covers [120+ central banks](https://allratestoday.com/central-bank-rates-api/institutions/) plus HMRC,
268
268
  the US Treasury, Swiss BAZG and India's CBIC, and the latest table needs **no API key**:
269
269
 
270
270
  ```typescript
@@ -551,6 +551,7 @@ The same rates are available to coding agents and LLM tools without a second int
551
551
  - [Status](https://allratestoday.com/status)
552
552
  - [Postman collection](https://allratestoday.com/postman/)
553
553
  - [ChatGPT app](https://chatgpt.com/plugins/plugin_asdk_app_6ae1e76098f48191a285ac3f5ab7a83b) — ask ChatGPT for live and official central bank rates
554
+ - [OpenAPI reference on Bump.sh](https://bump.sh/allratestoday/doc/allratestoday-api) — also on [SwaggerHub](https://app.swaggerhub.com/apis-docs/allratestoday/allratestoday-exchange-rate-central-bank-rates-api/2.2.0)
554
555
  - [GitHub](https://github.com/AllRates-Today/exchange-rates-api)
555
556
 
556
557
  ## 📜 License
package/dist/index.d.mts CHANGED
@@ -233,7 +233,7 @@ declare class AllRatesToday {
233
233
  symbols(options?: RequestOptions): Promise<SymbolsResponse>;
234
234
  /**
235
235
  * Latest table of OFFICIAL rates published by a central bank or tax
236
- * authority (121 central banks + HMRC, US Treasury, Swiss BAZG). These are
236
+ * authority (120+ central banks + HMRC, US Treasury, Swiss BAZG). These are
237
237
  * the fixed, citable rates for invoicing, tax, customs and accounting — not
238
238
  * live market rates. **No API key needed.**
239
239
  *
package/dist/index.d.ts CHANGED
@@ -233,7 +233,7 @@ declare class AllRatesToday {
233
233
  symbols(options?: RequestOptions): Promise<SymbolsResponse>;
234
234
  /**
235
235
  * Latest table of OFFICIAL rates published by a central bank or tax
236
- * authority (121 central banks + HMRC, US Treasury, Swiss BAZG). These are
236
+ * authority (120+ central banks + HMRC, US Treasury, Swiss BAZG). These are
237
237
  * the fixed, citable rates for invoicing, tax, customs and accounting — not
238
238
  * live market rates. **No API key needed.**
239
239
  *
package/dist/index.js CHANGED
@@ -242,7 +242,7 @@ var AllRatesToday = class {
242
242
  }
243
243
  /**
244
244
  * Latest table of OFFICIAL rates published by a central bank or tax
245
- * authority (121 central banks + HMRC, US Treasury, Swiss BAZG). These are
245
+ * authority (120+ central banks + HMRC, US Treasury, Swiss BAZG). These are
246
246
  * the fixed, citable rates for invoicing, tax, customs and accounting — not
247
247
  * live market rates. **No API key needed.**
248
248
  *
package/dist/index.mjs CHANGED
@@ -216,7 +216,7 @@ var AllRatesToday = class {
216
216
  }
217
217
  /**
218
218
  * Latest table of OFFICIAL rates published by a central bank or tax
219
- * authority (121 central banks + HMRC, US Treasury, Swiss BAZG). These are
219
+ * authority (120+ central banks + HMRC, US Treasury, Swiss BAZG). These are
220
220
  * the fixed, citable rates for invoicing, tax, customs and accounting — not
221
221
  * live market rates. **No API key needed.**
222
222
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@allratestoday/sdk",
3
- "version": "1.4.15",
3
+ "version": "1.4.17",
4
4
  "description": "Exchange Rate API — Real-time mid-market currency exchange rates for Node.js and browsers. 160+ currencies, zero dependencies, free tier.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",