@ekwo-ai/invoice-pdf 0.12.0 → 0.12.1

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 +4 -0
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -157,6 +157,10 @@ on — and the hook for a theme read from one later.
157
157
  A colour that is not `#rrggbb` or a side that is neither is refused,
158
158
  `invalid_value`. Nothing in the theme changes what is printed, only how.
159
159
 
160
+ Ekwo OS keeps the accent and the side per company, in
161
+ `companies.invoice_accent_color` and `companies.invoice_logo_position`;
162
+ `ekwo doc pdf` and the MCP tool `render_invoice_pdf` pass them as the theme.
163
+
160
164
  ## The layout
161
165
 
162
166
  The order of the page, top to bottom: the seller and the document's title,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekwo-ai/invoice-pdf",
3
- "version": "0.12.0",
3
+ "version": "0.12.1",
4
4
  "description": "The visual PDF of an invoice or a credit note, in TypeScript, from the rows a set of books publishes: A4 or Letter, multi-page, any language Intl knows, Noto Sans embedded. Ready to carry a Factur-X XML.",
5
5
  "keywords": [
6
6
  "invoice",
@@ -59,10 +59,10 @@
59
59
  "pdf-lib": "^1.17.1"
60
60
  },
61
61
  "devDependencies": {
62
- "@ekwo-ai/factur-x": "^0.12.0",
62
+ "@ekwo-ai/factur-x": "^0.12.1",
63
63
  "@types/node": "^24.0.0",
64
64
  "tsx": "^4.20.0",
65
65
  "typescript": "^5.9.0",
66
- "vitest": "^3.2.0"
66
+ "vitest": "^5.0.3"
67
67
  }
68
68
  }