edatalia-websign 3.2.2 → 3.2.8

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,6 +3,55 @@
3
3
  All significant updates to this project will be documented here.
4
4
  This changelog is public.
5
5
 
6
+ ## [3.2.8] - 2025-01-15
7
+
8
+ ### Fixed
9
+
10
+ - Signotec EBP coordinate mapping now dynamically scales based on canvas size
11
+ - Fixed signature drawing offset when using custom `signatureContainerWidth` and `signatureContainerHeight` values
12
+ - Added support for percentage-based container sizes using `getBoundingClientRect()`
13
+
14
+ ## [3.2.7] - 2025-01-14
15
+
16
+ ### Changed
17
+
18
+ - Removed `authenticationUrl` parameter from configuration
19
+ - Authentication URL is now automatically determined based on `signatureEnvironment` value
20
+ - Added support for DEV, PRE, SANDBOX, and PRO environments with corresponding authentication URLs
21
+
22
+ ### Added
23
+
24
+ - Error callback when `enableBridge` is true but Bridge is not running
25
+ - Error callback when sign with certificate has any error or is canceled
26
+
27
+ ## [3.2.6] - 2025-12-03
28
+
29
+ ### Fix
30
+
31
+ - Fixes DTH Monitors under citrix environment (ICBC).
32
+
33
+
34
+ ## [3.2.5] - 2025-12-03
35
+
36
+ ### Fix
37
+
38
+ - Minor fixes in signature timeout callbacks
39
+ - Close DTU window when signature has any error
40
+
41
+ ## [3.2.4] - 2025-11-28
42
+
43
+ ### Fix
44
+
45
+ - Continue the signature flow from the DTU when the minimum number of points is not reached and sign button is pressed
46
+
47
+
48
+ ## [3.2.3] - 2025-11-26
49
+
50
+ ### Changed
51
+
52
+ - DTU mode now respects the `viewPDF` parameter
53
+ - When `viewPDF: false`, DTU no longer forces PDF viewer initialization
54
+ - Signature canvas is displayed on main screen when PDF viewer is disabled
6
55
 
7
56
  ## [3.2.2] - 2025-11-10
8
57
 
package/README.md CHANGED
@@ -55,8 +55,8 @@ WebSign comes with default parameter values, but it's recommended to set them to
55
55
  <link rel="icon" type="image/svg+xml" href="/vite.svg" />
56
56
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
57
57
  <title>websign-npm</title>
58
- <!-- Descomment next line if use with CDN-->
59
- <!-- <script src="https://cdn.jsdelivr.net/npm/edatalia-websign@latest/web-sign-core.min.js"></script> -->
58
+ <!-- Uncomment next line if use with CDN, can replace @latest with any version-->
59
+ <!-- <script src="https://cdn.jsdelivr.net/npm/edatalia-websign@latest/"></script> -->
60
60
  </head>
61
61
  <body>
62
62
 
@@ -79,6 +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
83
  width: 160,
83
84
  height: 100,
84
85
  x: 100,
@@ -194,7 +195,6 @@ All parameters below are part of the `config` object:
194
195
  | `edataliaBaseUrl` | `string` | Specifies base url to edatalia scripts, needed for viewer |
195
196
  | `wacom` | `Object` | Specifies parameter for the wacom devices |
196
197
  | `properties` | `Object` | Specifies pdf signature properties like author, reason, contact and location |
197
- | `authenticationUrl` | `string` | Defines the authentication service endpoint for validating tokens. |
198
198
  | `displayCanvasSignatureButtonsInDTU` | `boolean` | When set to true, this parameter enables display of signature action buttons directly within the DTU device canvas interface, allowing users to perform signature-related operations from the DTU screen itself |
199
199
  | `enableBridge` | `boolean` | When set to true, this parameter tries to communicate with WebSign Bridge, see more in the [corresponding section](#-websign-bridge-desktop-helper) |
200
200
  ---
@@ -351,7 +351,8 @@ WebSign Bridge is a lightweight desktop companion that enhances WebSign with nat
351
351
  - At the moment, when bridge is active, the viewPDF must be set to false.
352
352
 
353
353
 
354
- ### Required for Bridge Signing
354
+ ### Required for Bridge Signing (BELOW 3.2.7 version)
355
+
355
356
 
356
357
  To sign documents using the WebSign Bridge, it is essential to configure the following parameter:
357
358
  `authenticationUrl`