@reconcrap/boss-recommend-mcp 1.3.2 → 1.3.3
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/package.json
CHANGED
|
@@ -629,6 +629,7 @@ function browserActivateCandidate(options = {}) {
|
|
|
629
629
|
|
|
630
630
|
function browserScrollCustomerList(options = {}) {
|
|
631
631
|
const ratio = Number(options.ratio || 0.72);
|
|
632
|
+
const clamp = (value, low, high) => Math.max(low, Math.min(high, value));
|
|
632
633
|
const isScrollable = (el) =>
|
|
633
634
|
el instanceof HTMLElement &&
|
|
634
635
|
Number(el.scrollHeight || 0) > Number(el.clientHeight || 0) + 16 &&
|