Skip to content

[BUG] Latest publish broke my code by changing the API of interpolateNumber without bumping the major version #4

@allain

Description

@allain

Describe the bug
interpolateNumber API has changed

From: export function interpolateNumber (t: number, values: number[], decimal = 3) {
To: export function interpolateNumber(frames: number[], values: number[], decimal = 3) {

To Reproduce
Steps to reproduce the behavior:

  1. Run an app that still uses the old API

Expected behavior
Without a major version bump I expect interpolateNumber to not have a breaking change. I see the idea was to batch interpolate numbers.

If that's the case I think adding a new method interpolateNumbers implement the new behaviour and possibly having the old function call out to it.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingreleased

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions