From 7d785c18c2bc641906e5363979a331938e7bb267 Mon Sep 17 00:00:00 2001 From: Yanzhen Yu Date: Wed, 1 Apr 2026 12:00:00 +0800 Subject: [PATCH] Release 0.7.17 --- package.json | 2 +- typings/types.d.ts | 2 +- typings/utils.d.ts | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 88661cd5..aa8dfd4a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rrweb", - "version": "0.7.16", + "version": "0.7.17", "description": "record and replay the web", "scripts": { "test": "npm run bundle:browser && cross-env TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.test.ts", diff --git a/typings/types.d.ts b/typings/types.d.ts index aaf6b675..c38ced3a 100644 --- a/typings/types.d.ts +++ b/typings/types.d.ts @@ -145,7 +145,7 @@ export declare enum MouseInteractions { Focus = 5, Blur = 6, TouchStart = 7, - TouchMove = 8, + TouchMove_Departed = 8, TouchEnd = 9 } declare type mouseInteractionParam = { diff --git a/typings/utils.d.ts b/typings/utils.d.ts index 282376f5..d0367170 100644 --- a/typings/utils.d.ts +++ b/typings/utils.d.ts @@ -8,3 +8,4 @@ export declare function getWindowHeight(): number; export declare function getWindowWidth(): number; export declare function isBlocked(node: Node | null, blockClass: blockClass): boolean; export declare function isAncestorRemoved(target: INode): boolean; +export declare function isTouchEvent(event: MouseEvent | TouchEvent): event is TouchEvent;