edatalia-websign 3.4.10 → 3.5.0

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 CHANGED
@@ -3,12 +3,36 @@
3
3
  All significant updates to this project will be documented here.
4
4
  This changelog is public.
5
5
 
6
- ## [3.4.10] - 2026-03-26
6
+ ## [3.5.0] - 2026-04-15
7
7
 
8
- ### Changed
8
+ ### Added
9
9
 
10
+ - Integrated full mode into core version, unifying both builds into a single widget
11
+ - Full mode manager class for handling full mode logic within core
12
+ - WebHID and USB availability checks to prevent errors in Firefox
13
+ - Vitest setup
10
14
  - Allow page 0 (sign all pages) with bridge client
11
15
 
16
+ ### Changed
17
+
18
+ - Unified signature widget class across full and core modes
19
+ - Redesigned widget buttons and improved overall UI appearance
20
+ - Increased button and text sizes for better usability
21
+ - Embedded necessary SVGs and CSS directly in JS, removing external viewer.css
22
+ - Removed local PDF.js files and connected API toolbar with buttons
23
+ - Removed references to the full build
24
+ - DTU: increased signature area and improved point conversion
25
+ - DTU: added translations
26
+ - Improved pen stroke rendering in Firefox
27
+ - `useFullMode` defaults to `false`
28
+ - Moved `archiver` from `dependencies` to `devDependencies` to avoid transitive vulnerability (CVE-2026-25547 in `brace-expansion`)
29
+
30
+ ### Fixed
31
+
32
+ - Fixed overlapping buttons with EBP in full widget
33
+ - Stop signature if captured points are less than minimum when bridge closes DTU (consistent behavior)
34
+ - Refactored style code in DTU for better maintainability
35
+
12
36
  ## [3.4.9] - 2026-03-18
13
37
 
14
38
  ### Fixed
package/README.md CHANGED
@@ -79,7 +79,7 @@ WebSign comes with default parameter values, but it's recommended to set them to
79
79
  mainContainerHeight: "800px",
80
80
  widget: {
81
81
  type: "fixed",
82
- page: 0,
82
+ page: 0.
83
83
  width: 160,
84
84
  height: 100,
85
85
  x: 100,
@@ -202,7 +202,7 @@ widget: {
202
202
  height: 100, // height of the signature area
203
203
  x: 0, // X position on the PDF page (used if type is 'fixed')
204
204
  y: 0, // Y position on the PDF page (used if type is 'fixed')
205
- page: 0, // PDF page number where the signature will appear, 0 = sign all pages
205
+ page: 0, // PDF page number where the signature will appear
206
206
  customText: [ // text displayed on the PDF after signing
207
207
  {
208
208
  text: "Documento firmado digitalmente",