superfly-timeline
Advanced tools
Comparing version 4.0.1 to 4.0.2
@@ -5,2 +5,13 @@ # Change Log | ||
<a name="4.0.2"></a> | ||
## [4.0.2](https://github.com/SuperFlyTV/supertimeline/compare/4.0.1...4.0.2) (2018-08-05) | ||
### Bug Fixes | ||
* added referenceObjectIds, to use as trace in error messages & to determine which object is dependant of which ([e50ec99](https://github.com/SuperFlyTV/supertimeline/commit/e50ec99)) | ||
* inefficient iteration led to terrible performance in situations with many relative objects. Rehauled the whole resolve iteration loop ([3a2b847](https://github.com/SuperFlyTV/supertimeline/commit/3a2b847)) | ||
<a name="4.0.1"></a> | ||
@@ -7,0 +18,0 @@ ## [4.0.1](https://github.com/SuperFlyTV/supertimeline/compare/4.0.0...4.0.1) (2018-08-03) |
@@ -117,2 +117,3 @@ import { TriggerType, TraceLevel, EventType } from '../enums/enums'; | ||
} | ||
declare type WhosAskingTrace = Array<TimelineResolvedObject | TimelineResolvedKeyframe>; | ||
declare class Resolver { | ||
@@ -128,3 +129,3 @@ static setTraceLevel(levelName: string | TraceLevel): void; | ||
static interpretExpression(strOrExpr: string | number | Expression, isLogical?: boolean): string | number | ExpressionObj | null; | ||
static resolveExpression(strOrExpr: string | number | Expression, resolvedObjects?: ResolvedObjectsStore, ctx?: ResolveExpressionContext, whosAsking?: TimelineResolvedObject | TimelineResolvedKeyframe): StartTime; | ||
static resolveExpression(strOrExpr: string | number | Expression, resolvedObjects?: ResolvedObjectsStore, ctx?: ResolveExpressionContext, whosAsking?: WhosAskingTrace): StartTime; | ||
static resolveLogicalExpression(expressionOrString: Expression | null, obj?: TimelineResolvedObject, returnExpl?: boolean, currentState?: TimelineState): boolean; | ||
@@ -138,8 +139,9 @@ static developTimelineAroundTime(tl: ResolvedTimeline, time: SomeTime): DevelopedTimeline; | ||
}; | ||
touchedObjectIDs: Array<{ | ||
id: string; | ||
hook: string; | ||
}>; | ||
touchedObjectIDs: TouchedObjectIds; | ||
referralIndex: number; | ||
} | ||
declare type TouchedObjectIds = Array<{ | ||
id: string; | ||
hook: string; | ||
}>; | ||
export { Resolver }; |
{ | ||
"name": "superfly-timeline", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "A collection of rules as well as a resolver for placing objects on a virtual timeline.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
193431
1928