@whitesev/utils 2.2.3 → 2.2.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.
@@ -1035,7 +1035,7 @@ declare class Utils {
1035
1035
  * @param callback 触发的回调
1036
1036
  * @param options 观察器配置
1037
1037
  */
1038
- mutatuinVisible(target: Element | Element[], callback: (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => void, options?: IntersectionObserverInit): void;
1038
+ mutationVisible(target: Element | Element[], callback: (entries: IntersectionObserverEntry[], observer: IntersectionObserver) => void, options?: IntersectionObserverInit): void;
1039
1039
  /**
1040
1040
  * 去除全局window下的Utils,返回控制权
1041
1041
  * @example
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@whitesev/utils",
3
- "version": "2.2.3",
3
+ "version": "2.2.4",
4
4
  "description": "一个常用的工具库",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.esm.js",
package/src/Utils.ts CHANGED
@@ -2525,7 +2525,7 @@ class Utils {
2525
2525
  * @param callback 触发的回调
2526
2526
  * @param options 观察器配置
2527
2527
  */
2528
- mutatuinVisible(
2528
+ mutationVisible(
2529
2529
  target: Element | Element[],
2530
2530
  callback: (
2531
2531
  entries: IntersectionObserverEntry[],