@khanacademy/perseus-score 5.0.4 → 6.0.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.
- package/dist/es/index.js +2 -2
- package/dist/es/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/widgets/widget-registry.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type WidgetScorerFunction, type WidgetValidatorFunction } from "@khanacademy/perseus-core";
|
|
2
2
|
export declare function registerWidget(type: string, scorer: WidgetScorerFunction, validator?: WidgetValidatorFunction): void;
|
|
3
|
-
export declare const getWidgetValidator: (
|
|
4
|
-
export declare const getWidgetScorer: (
|
|
3
|
+
export declare const getWidgetValidator: (type: string) => WidgetValidatorFunction | null;
|
|
4
|
+
export declare const getWidgetScorer: (type: string) => WidgetScorerFunction | null;
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"description": "Perseus score",
|
|
4
4
|
"author": "Khan Academy",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "6.0.0",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"access": "public"
|
|
9
9
|
},
|
|
@@ -22,10 +22,10 @@
|
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@khanacademy/kas": "2.0.
|
|
26
|
-
"@khanacademy/kmath": "2.0.
|
|
27
|
-
"@khanacademy/perseus-core": "
|
|
28
|
-
"@khanacademy/perseus-utils": "2.0.
|
|
25
|
+
"@khanacademy/kas": "2.0.4",
|
|
26
|
+
"@khanacademy/kmath": "2.0.9",
|
|
27
|
+
"@khanacademy/perseus-core": "11.0.0",
|
|
28
|
+
"@khanacademy/perseus-utils": "2.0.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"underscore": "^1.4.4",
|