@accounty/bloxs 0.4.5 → 0.4.7
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/CHANGELOG.md +16 -0
- package/package.json +2 -2
- package/src/bloxs.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,20 @@
|
|
|
1
1
|
|
|
2
|
+
## [0.4.7](https://github.com/PalmTreeCoding/Accounty/compare/packages-bloxs-0.4.6...packages-bloxs-0.4.7) (2025-12-19)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **bloxs:** Correct filtering logic for overdue sales invoices ([0494e91](https://github.com/PalmTreeCoding/Accounty/commit/0494e91f437f016009849f08dec9b194df705e2d))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
## [0.4.6](https://github.com/PalmTreeCoding/Accounty/compare/packages-bloxs-0.4.5...packages-bloxs-0.4.6) (2025-12-15)
|
|
12
|
+
|
|
13
|
+
### Dependency Updates
|
|
14
|
+
|
|
15
|
+
* `packages-core` updated to version `1.3.3`
|
|
16
|
+
|
|
17
|
+
|
|
2
18
|
## [0.4.5](https://github.com/PalmTreeCoding/Accounty/compare/packages-bloxs-0.4.4...packages-bloxs-0.4.5) (2025-12-15)
|
|
3
19
|
|
|
4
20
|
### Dependency Updates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@accounty/bloxs",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.7",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"axios": "^1.13.2",
|
|
6
6
|
"bignumber.js": "^9.3.1",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"deepmerge": "^4.3.1",
|
|
10
10
|
"libphonenumber-js": "^1.12.31",
|
|
11
11
|
"validator": "^13.15.23",
|
|
12
|
-
"@accounty/core": "1.3.
|
|
12
|
+
"@accounty/core": "1.3.3",
|
|
13
13
|
"tslib": "2.8.1"
|
|
14
14
|
},
|
|
15
15
|
"packageManager": "yarn@4.10.3",
|
package/src/bloxs.js
CHANGED
|
@@ -87,7 +87,7 @@ class Bloxs extends core_1.default {
|
|
|
87
87
|
data: (await this.get('/SalesInvoices', {
|
|
88
88
|
$filter: [
|
|
89
89
|
options.state === 'open' && 'TotalValueOutstanding gt 0',
|
|
90
|
-
options.state === 'overdue' && `DueDate
|
|
90
|
+
options.state === 'overdue' && `DueDate le DateTime'${(0, format_1.format)(new Date(), 'yyyy-MM-dd')}'`
|
|
91
91
|
// options.version && `LastModified+ge+DateTime'${format(options.version, 'yyyy-MM-dd')}'`
|
|
92
92
|
].filter(Boolean).join(' and ')
|
|
93
93
|
})).map((invoice) => {
|