@prose-reader/enhancer-hammer-gesture
Advanced tools
Comparing version 1.51.0 to 1.52.0
import "hammerjs"; | ||
import { switchMap, Observable, map, distinctUntilChanged, NEVER, filter, BehaviorSubject, of, share, merge, ignoreElements, fromEvent, withLatestFrom, throttle, interval, takeUntil } from "rxjs"; | ||
import { switchMap, Observable, map, distinctUntilChanged, NEVER, filter, BehaviorSubject, of, share, ignoreElements, merge, fromEvent, withLatestFrom, throttle, interval, takeUntil } from "rxjs"; | ||
import { isDefined } from "reactjrx"; | ||
@@ -122,2 +122,3 @@ import { isShallowEqual } from "@prose-reader/core"; | ||
const tapListenerEvents$ = hammerManager$.pipe( | ||
ignoreElements(), | ||
filter(isDefined), | ||
@@ -127,6 +128,3 @@ switchMap((manager) => merge(createPanMoveListener(reader, manager), createTapListener(reader, manager))) | ||
const changes$ = merge( | ||
tapListenerEvents$.pipe( | ||
// disabled for now | ||
ignoreElements() | ||
), | ||
tapListenerEvents$, | ||
hammerManager$.pipe( | ||
@@ -133,0 +131,0 @@ isNotNullOrUndefined, |
{ | ||
"name": "@prose-reader/enhancer-hammer-gesture", | ||
"version": "1.51.0", | ||
"version": "1.52.0", | ||
"type": "module", | ||
@@ -25,3 +25,3 @@ "main": "./dist/prose-reader-enhancer-hammer.gesture.cjs", | ||
"dependencies": { | ||
"@prose-reader/core": "^1.51.0" | ||
"@prose-reader/core": "^1.52.0" | ||
}, | ||
@@ -37,3 +37,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "046f12d8bbcc3b6e02aa806faaee9f52a8afd1ca" | ||
"gitHead": "c8d6d2aae05e02c4e1ee6c023102f7249d0955ca" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
623936
13586
Updated@prose-reader/core@^1.52.0