touchcontroller
Advanced tools
Comparing version 4.0.0 to 4.1.0
@@ -1,4 +0,3 @@ | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { MultitouchController } from '../multitouch/MultitouchController'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
export declare class MultitouchControllerDebugLayer extends Destroyable implements IDestroyable { | ||
@@ -5,0 +4,0 @@ constructor(multitouchController: MultitouchController<any>); |
@@ -1,4 +0,3 @@ | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { TouchController } from '../touch/TouchController'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
export declare class TouchControllerDebugLayer extends Destroyable implements IDestroyable { | ||
@@ -5,0 +4,0 @@ constructor(touchController: TouchController); |
@@ -0,4 +1,3 @@ | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { Vector } from 'xyzt'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
import { IParticleOptions } from './Particle'; | ||
@@ -5,0 +4,0 @@ export declare class DrawController extends Destroyable implements IDestroyable { |
@@ -0,4 +1,3 @@ | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { Vector } from 'xyzt'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
export interface IParticleOptions { | ||
@@ -5,0 +4,0 @@ shapeSrc: string; |
@@ -0,4 +1,3 @@ | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { Vector } from 'xyzt'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
import { Particle } from './Particle'; | ||
@@ -5,0 +4,0 @@ export declare class Scene extends Destroyable implements IDestroyable { |
@@ -0,4 +1,4 @@ | ||
import { IAwaitable } from 'destroyable'; | ||
import { Touch } from '../touch/Touch'; | ||
import { TouchFrame } from '../touch/TouchFrame'; | ||
import { IAwaitable } from './IAwaitable'; | ||
import { IElement } from './IElement'; | ||
@@ -5,0 +5,0 @@ export interface IListener<TEvent extends Event> { |
@@ -0,5 +1,5 @@ | ||
import { IDestroyable } from 'destroyable'; | ||
import { Observable } from 'rxjs/internal/Observable'; | ||
import { Touch } from '../touch/Touch'; | ||
import { TouchFrame } from '../touch/TouchFrame'; | ||
import { IDestroyable } from './IDestroyable'; | ||
export interface ITouchController extends IDestroyable { | ||
@@ -6,0 +6,0 @@ touches: Observable<Touch>; |
@@ -8,4 +8,2 @@ import { MultitouchControllerDebugLayer } from './debug/MultiTouchControllerDebugLayer'; | ||
import { IEmulateTouchOptions, IEmulateTouchOptionsAdvanced } from './emulate/IEmulateTouchOptions'; | ||
import { IAwaitable } from './interfaces/IAwaitable'; | ||
import { IDestroyable } from './interfaces/IDestroyable'; | ||
import { IElement, IElementListeners } from './interfaces/IElement'; | ||
@@ -33,2 +31,2 @@ import { IListener } from './interfaces/IListener'; | ||
import { WithOptional } from './utils/WithOptional'; | ||
export { Omit, sign, Touch, Scene, average, padArray, IElement, Particle, IListener, TouchFrame, Multitouch, IAwaitable, SourceCache, WithOptional, EventManager, IDestroyable, emulateTouch, VectorAverage, TAverageItems, TouchListener, MouseListener, DrawController, CanvasRectangle, TouchController, ITouchController, IParticleOptions, IElementListeners, createImageFromSrc, createCanvasFromSrc, multitouchTransforms, MultitouchController, IEmulateTouchOptions, particleOptionsAverage, IParticleOptionsExternals, TouchControllerDebugLayer, createColoredCanvasFromSrc, IMultitouchTransformsOptions, IEmulateTouchOptionsAdvanced, getBoundingClientRectEnhanced, multitouchTransformsOnElement, MultitouchControllerDebugLayer }; | ||
export { Omit, sign, Touch, Scene, average, padArray, IElement, Particle, IListener, TouchFrame, Multitouch, SourceCache, WithOptional, EventManager, emulateTouch, VectorAverage, TAverageItems, TouchListener, MouseListener, DrawController, CanvasRectangle, TouchController, ITouchController, IParticleOptions, IElementListeners, createImageFromSrc, createCanvasFromSrc, multitouchTransforms, MultitouchController, IEmulateTouchOptions, particleOptionsAverage, IParticleOptionsExternals, TouchControllerDebugLayer, createColoredCanvasFromSrc, IMultitouchTransformsOptions, IEmulateTouchOptionsAdvanced, getBoundingClientRectEnhanced, multitouchTransformsOnElement, MultitouchControllerDebugLayer }; |
@@ -0,6 +1,5 @@ | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { Observable } from 'rxjs/internal/Observable'; | ||
import { Subject } from 'rxjs/internal/Subject'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Touch } from '../touch/Touch'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
export declare class Multitouch<TElement> extends Destroyable implements IDestroyable { | ||
@@ -7,0 +6,0 @@ element?: TElement | undefined; |
@@ -0,9 +1,7 @@ | ||
import { Destroyable, IAwaitable, IDestroyable } from 'destroyable'; | ||
import { Observable } from 'rxjs/internal/Observable'; | ||
import { Subject } from 'rxjs/internal/Subject'; | ||
import { BoundingBox } from 'xyzt'; | ||
import { IAwaitable } from '../interfaces/IAwaitable'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { ITouchController } from '../interfaces/ITouchController'; | ||
import { TouchFrame } from '../touch/TouchFrame'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
import { WithOptional } from '../utils/WithOptional'; | ||
@@ -10,0 +8,0 @@ import { Multitouch } from './Multitouch'; |
@@ -0,6 +1,5 @@ | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject'; | ||
import { Subject } from 'rxjs/internal/Subject'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { IElement } from '../interfaces/IElement'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
import { WithOptional } from '../utils/WithOptional'; | ||
@@ -7,0 +6,0 @@ import { TouchFrame } from './TouchFrame'; |
@@ -0,8 +1,6 @@ | ||
import { Destroyable, IAwaitable, IDestroyable } from 'destroyable'; | ||
import { Subject } from 'rxjs/internal/Subject'; | ||
import { IAwaitable } from '../interfaces/IAwaitable'; | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { IElement } from '../interfaces/IElement'; | ||
import { IListener } from '../interfaces/IListener'; | ||
import { ITouchController } from '../interfaces/ITouchController'; | ||
import { Destroyable } from '../utils/Destroyable'; | ||
import { EventManager } from '../utils/EventManager'; | ||
@@ -9,0 +7,0 @@ import { WithOptional } from '../utils/WithOptional'; |
@@ -1,4 +0,3 @@ | ||
import { IDestroyable } from '../interfaces/IDestroyable'; | ||
import { Destroyable, IDestroyable } from 'destroyable'; | ||
import { IElementListeners } from './../interfaces/IElement'; | ||
import { Destroyable } from './Destroyable'; | ||
export declare class EventManager extends Destroyable implements IDestroyable { | ||
@@ -5,0 +4,0 @@ private listeners; |
{ | ||
"name": "touchcontroller", | ||
"version": "4.0.0", | ||
"version": "4.1.0", | ||
"author": "Pavol Hejný <me@pavolhejny.com> (https://pavolhejny.com)", | ||
@@ -44,3 +44,5 @@ "description": "Touch and mouse controller for web apps and games", | ||
"homepage": "https://github.com/hejny/touchcontroller", | ||
"dependencies": {}, | ||
"dependencies": { | ||
"destroyable": "^0.5.0" | ||
}, | ||
"devDependencies": { | ||
@@ -47,0 +49,0 @@ "@types/jest": "^26.0.15", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1650017
7989
0
1
43
+ Addeddestroyable@^0.5.0
+ Addeddestroyable@0.5.0(transitive)
+ Addedrxjs@6.6.7(transitive)
+ Addedtslib@1.14.1(transitive)
+ Addedtypescript@4.9.5(transitive)