@khanacademy/perseus 49.0.0 → 49.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,4 @@
1
+ import type { Coord } from "@khanacademy/perseus";
1
2
  import type { Interval, vec } from "mafs";
2
3
  /**
3
4
  * Given a ray and a rectangular box, find the point where the ray intersects
@@ -7,3 +8,4 @@ import type { Interval, vec } from "mafs";
7
8
  * @param box - The box with which to intersect the ray, in the form [[xMin, xMax], [yMin, yMax]]
8
9
  */
9
10
  export declare const getIntersectionOfRayWithBox: (initialPoint: vec.Vector2, throughPoint: vec.Vector2, box: [x: Interval, y: Interval]) => [number, number];
11
+ export declare function getArrayWithoutDuplicates(array: Array<Coord>): Array<Coord>;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Core Perseus API (includes renderers and widgets)",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "49.0.0",
6
+ "version": "49.0.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },