@khanacademy/perseus-score 8.12.26 → 8.13.0

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,4 +1,4 @@
1
- import type { PerseusSorterUserInput, ValidationResult } from "@khanacademy/perseus-core";
1
+ import type { PerseusSorterUserInput, PerseusSorterWidgetOptions, ValidationResult } from "@khanacademy/perseus-core";
2
2
  /**
3
3
  * Checks user input for the sorter widget to ensure that the user has made
4
4
  * changes before attempting to score the widget.
@@ -6,5 +6,5 @@ import type { PerseusSorterUserInput, ValidationResult } from "@khanacademy/pers
6
6
  * @see 'scoreSorter' in 'packages/perseus/src/widgets/sorter/score-sorter.ts'
7
7
  * for more details on how the sorter widget is scored.
8
8
  */
9
- declare function validateSorter(userInput: PerseusSorterUserInput): ValidationResult;
9
+ declare function validateSorter(userInput: PerseusSorterUserInput, rubric: PerseusSorterWidgetOptions): ValidationResult;
10
10
  export default validateSorter;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus score",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "8.12.26",
6
+ "version": "8.13.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -24,8 +24,8 @@
24
24
  "dependencies": {
25
25
  "tiny-invariant": "^1.3.3",
26
26
  "@khanacademy/kas": "2.2.6",
27
- "@khanacademy/kmath": "2.4.53",
28
- "@khanacademy/perseus-core": "39.2.2",
27
+ "@khanacademy/kmath": "2.4.54",
28
+ "@khanacademy/perseus-core": "39.2.3",
29
29
  "@khanacademy/perseus-utils": "2.1.5"
30
30
  },
31
31
  "devDependencies": {