@jasy/vue 1.0.0-alpha.4 → 1.0.0-alpha.5

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 +3 -0
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -115,6 +115,9 @@ const props = defineProps<{ font: Uint8Array; logo: Uint8Array }>();
115
115
 
116
116
  - `renderToPdf(root, props?, options?) => Promise<Uint8Array>` - the PDF bytes. Browser or Node.
117
117
  - `renderToPdfString(root, props?, options?) => Promise<string>` - the raw PDF string.
118
+ - `options` are the `@jasy/pdf` `RenderOptions` and flow straight through - e.g.
119
+ `renderToPdf(Doc, props, { encrypt: { userPassword: "secret" } })` for AES-256 password protection (also
120
+ `fonts`, `compress`, `onOverflow`, …).
118
121
  - `toDocumentDescriptor(root, props?)` - the framework-agnostic descriptor (the seam a Node service can
119
122
  receive from the browser).
120
123
  - `jasyVue` - the global-registration plugin (`{ prefix }`).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jasy/vue",
3
- "version": "1.0.0-alpha.4",
3
+ "version": "1.0.0-alpha.5",
4
4
  "description": "Author PDFs as Vue components - a thin Vue custom renderer over @jasy/pdf.",
5
5
  "keywords": [
6
6
  "declarative",
@@ -31,7 +31,7 @@
31
31
  }
32
32
  },
33
33
  "dependencies": {
34
- "@jasy/pdf": "1.0.0-alpha.4"
34
+ "@jasy/pdf": "1.0.0-alpha.5"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@types/node": "^25.9.3",