Comparing version 2.12.0 to 2.13.0
Changelog | ||
========= | ||
## 2.13.0 (2024-02-05) | ||
### Tax Rate Updates | ||
* **Estonia**: 20% to 22% (1st January 2024) [[@DanielRaouf](https://github.com/DanielRaouf), [#63](https://github.com/valeriansaliou/node-sales-tax/pull/63)]. | ||
## 2.12.0 (2023-08-12) | ||
### New Features | ||
* Return a `currency` attribute in all sales tax response objects [[@mindflowgo](https://github.com/mindflowgo), [#61](https://github.com/valeriansaliou/node-sales-tax/pull/61)]. | ||
### Non-Breaking Changes | ||
* Replace deprecated `request` dependency with `node-fetch` [[@wootra](https://github.com/wootra), [#53](https://github.com/valeriansaliou/node-sales-tax/pull/53)]. | ||
* Return a `currency` attribute in all sales tax response objects [[@mindflowgo](https://github.com/mindflowgo), [#61](https://github.com/valeriansaliou/node-sales-tax/pull/61)]. | ||
### Tax Rate Updates | ||
* Add tax entries for: Bosnia, Ukraine and Eritrea [[@mindflowgo](https://github.com/mindflowgo), [#61](https://github.com/valeriansaliou/node-sales-tax/pull/61)]. | ||
@@ -9,0 +23,0 @@ |
@@ -25,5 +25,2 @@ /* | ||
); | ||
var validate_gb_vat_options = { | ||
timeout : 20000 | ||
}; | ||
@@ -244,4 +241,3 @@ var tax_rates = require("../res/sales_tax_rates.json"); | ||
return fetch( | ||
validate_gb_vat_url + "/" + splitMatch[1], | ||
validate_gb_vat_options | ||
validate_gb_vat_url + "/" + splitMatch[1] | ||
) | ||
@@ -248,0 +244,0 @@ .then(function(response) { |
{ | ||
"name": "sales-tax", | ||
"description": "International sales tax calculator for Node (offline, but provides optional online VAT number fraud check). Tax rates are kept up-to-date.", | ||
"version": "2.12.0", | ||
"version": "2.13.0", | ||
"homepage": "https://github.com/valeriansaliou/node-sales-tax", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -300,3 +300,11 @@ { | ||
"currency": "EUR", | ||
"rate": 0.2 | ||
"rate": 0.22, | ||
"before": { | ||
"2023-12-31T22:00:00.000Z": { | ||
"type": "vat", | ||
"currency": "EUR", | ||
"rate": 0.2 | ||
} | ||
} | ||
}, | ||
@@ -303,0 +311,0 @@ |
72446
1597