@khanacademy/perseus-core 5.4.0 → 5.4.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 { NumericInputWidget } from "../../data-schema";
1
+ import type { NumericInputWidget, PerseusNumericInputSimplify } from "../../data-schema";
2
2
  import type { Parser } from "../parser-types";
3
+ export declare const parseSimplify: Parser<PerseusNumericInputSimplify>;
3
4
  export declare const parseNumericInputWidget: Parser<NumericInputWidget>;
@@ -1,6 +1,7 @@
1
1
  import type { PerseusRenderer } from "../data-schema";
2
2
  /**
3
- * Upgrades widget options and removes answerful data for all the widgets in a
4
- * Perseus item.
3
+ * Return a copy of a Perseus item with rubric data removed (ie answers)
4
+ *
5
+ * @param originalItem - the original, full Perseus item (which includes the rubric - aka answer data)
5
6
  */
6
7
  export default function splitPerseusItem(originalItem: PerseusRenderer): PerseusRenderer;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Shared Perseus infrastructure",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "5.4.0",
6
+ "version": "5.4.1",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },