edatalia-websign 3.4.3 → 3.4.4

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,17 @@
3
3
  All significant updates to this project will be documented here.
4
4
  This changelog is public.
5
5
 
6
+ ## [3.4.4] - 2026-02-17
7
+
8
+ ### Added
9
+
10
+ - New `enforceBridge` configuration parameter: when `true`, the signature process stops with an error if Bridge is not detected (no fallback to browser mode)
11
+ - Cancel button on "Waiting for signer" overlay in bridge mode
12
+
13
+ ### Changed
14
+
15
+ - General improvements in Bridge communication and connection stability
16
+
6
17
  ## [3.4.3] - 2026-02-16
7
18
 
8
19
  ### Changed
package/README.md CHANGED
@@ -197,6 +197,7 @@ All parameters below are part of the `config` object:
197
197
  | `properties` | `Object` | Specifies pdf signature properties like author, reason, contact and location |
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
+ | `enforceBridge` | `boolean` | When set to true and `enableBridge` is also true, the signature process will stop with an error if Bridge is not detected (no fallback to browser mode). Default: `false` |
200
201
  | `useMiddleware` | `boolean` | Routes signature data through an external middleware via callback before completing the flow |
201
202
  | `offlineMode` | `boolean` | Enables offline signature capture using Service Worker |
202
203
  | `offlineModeAutoFetch` | `boolean` | Auto-syncs pending requests in background without prompting the user |
@@ -400,6 +401,8 @@ Specifies the endpoint used to authenticate the bearer token before enabling sig
400
401
 
401
402
  - If Bridge is not installed or the service is stopped, WebSign falls back to standard browser behavior — no changes required in your code.
402
403
 
404
+ - If you want to prevent fallback and force Bridge usage, set `enforceBridge: true`. The signature process will emit an error and stop if Bridge is not available.
405
+
403
406
  ### Troubleshooting
404
407
 
405
408
  - The app doesn’t use Bridge