@whenessel/seql-js 1.2.0 → 1.3.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/dist/seql-js.d.ts CHANGED
@@ -443,6 +443,14 @@ export declare class CssGenerator {
443
443
  /**
444
444
  * Default generator options
445
445
  * Note: cache is optional and not included in defaults
446
+ *
447
+ * @remarks
448
+ * confidenceThreshold set to 0.0 to ensure generateEID always returns an EID
449
+ * for valid DOM elements. Low confidence is indicated via meta.confidence field,
450
+ * allowing callers to decide whether to use the EID rather than preventing
451
+ * generation entirely. This ensures elements with minimal semantics (e.g., plain
452
+ * div with utility classes) can still be identified using positional information
453
+ * (nthChild).
446
454
  */
447
455
  export declare const DEFAULT_GENERATOR_OPTIONS: Omit<Required<GeneratorOptions>, 'cache'> & Pick<GeneratorOptions, 'cache'>;
448
456
 
package/dist/seql-js.js CHANGED
@@ -7,7 +7,7 @@ const se = "1.0", re = 10, _ = {
7
7
  SEMANTIC_TAG: 0.5,
8
8
  ROLE: 0.3,
9
9
  ARIA_LABEL: 0.1,
10
- STABLE_ID: 0.1,
10
+ STABLE_ID: 0.25,
11
11
  TEST_MARKER: 0.05,
12
12
  DEPTH_PENALTY_THRESHOLD: 5,
13
13
  DEPTH_PENALTY_FACTOR: 0.05,
@@ -177,7 +177,7 @@ const se = "1.0", re = 10, _ = {
177
177
  ]), dt = {
178
178
  maxPathDepth: 10,
179
179
  enableSvgFingerprint: !0,
180
- confidenceThreshold: 0.1,
180
+ confidenceThreshold: 0,
181
181
  fallbackToBody: !0,
182
182
  includeUtilityClasses: !1,
183
183
  source: "dom-dsl"