@idscan/idvc2 3.12.0 → 3.13.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/README.md CHANGED
@@ -80,6 +80,21 @@ import IDVC from '@idscan/idvc2'
80
80
 
81
81
  ## Version history
82
82
 
83
+ - **3.13.0**
84
+ - feat: new loader animation on the 3D cubes (a grid of 3x3) with three scenes:
85
+ `check` (default, processing: the submit), `prepare` (starting: warm-up, steps, camera, mode change, reset; a wave over the cubes)
86
+ and `send` (sending: the manual upload); `prefers-reduced-motion` stops the animation
87
+ - feat: `showLoader` takes the scene as the 4th argument, the old calls keep working:
88
+ `showLoader(val: boolean, bottomText?: string, topText?: string, options?: { scene?: 'check' | 'send' | 'prepare' })`,
89
+ e.g. `showLoader(true, 'Please wait', 'Sending form data', { scene: 'send' })`;
90
+ each `showLoader(false)` still hides the last shown loader
91
+ - changed: `showSpinner` shows the `prepare` scene
92
+ - changed: loader texts are #1C1C1C (top) and #5A5B62 (bottom) and no longer follow `--color-primary-dark-2`
93
+ and `--color-primary`; they can be recolored with `--color-loader-text` and `--color-loader-text-secondary`
94
+
95
+ - **3.12.1**
96
+ - changed: onnxruntime (model loading and inference) now runs in a separate worker, off the main thread
97
+
83
98
  - **3.12.0**
84
99
  - feat: added `splitTrackString` helper (named export and static `VideoCapturing.splitTrackString`) — splits the captured track string into `data` and `barcodeParams`, e.g. for the `trackString` object of Dive API v5
85
100
  - fix: removed broken `Inter` font references — the library uses the `--font-family` stack