@khanacademy/perseus-editor 4.1.1 → 4.1.3

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.
@@ -3,6 +3,7 @@ declare const _default: readonly Readonly<{
3
3
  name: string;
4
4
  displayName: string;
5
5
  getWidget?: (() => import("react").ComponentType<any>) | undefined;
6
+ widget: import("react").ComponentType<any>;
6
7
  accessible?: boolean | ((props: any) => boolean) | undefined;
7
8
  hidden?: boolean | undefined;
8
9
  version?: import("@khanacademy/perseus").Version | undefined;
@@ -17,6 +18,5 @@ declare const _default: readonly Readonly<{
17
18
  propUpgrades?: {
18
19
  [key: string]: (arg1: any) => any;
19
20
  } | undefined;
20
- widget: import("react").ComponentType<any>;
21
21
  }>[];
22
22
  export default _default;
@@ -68,6 +68,7 @@ declare const _default: Readonly<{
68
68
  name: string;
69
69
  displayName: string;
70
70
  getWidget?: (() => typeof ExampleGraphieWidget) | undefined;
71
+ widget: typeof ExampleGraphieWidget;
71
72
  accessible?: boolean | ((props: any) => boolean) | undefined;
72
73
  hidden?: boolean | undefined;
73
74
  version?: import("@khanacademy/perseus").Version | undefined;
@@ -82,6 +83,5 @@ declare const _default: Readonly<{
82
83
  propUpgrades?: {
83
84
  [key: string]: (arg1: any) => any;
84
85
  } | undefined;
85
- widget: typeof ExampleGraphieWidget;
86
86
  }>;
87
87
  export default _default;
@@ -59,6 +59,7 @@ declare const _default: Readonly<{
59
59
  name: string;
60
60
  displayName: string;
61
61
  getWidget?: (() => typeof ExampleWidget) | undefined;
62
+ widget: typeof ExampleWidget;
62
63
  accessible?: boolean | ((props: any) => boolean) | undefined;
63
64
  hidden?: boolean | undefined;
64
65
  version?: import("@khanacademy/perseus").Version | undefined;
@@ -73,6 +74,5 @@ declare const _default: Readonly<{
73
74
  propUpgrades?: {
74
75
  [key: string]: (arg1: any) => any;
75
76
  } | undefined;
76
- widget: typeof ExampleWidget;
77
77
  }>;
78
78
  export default _default;
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Perseus editors",
4
4
  "author": "Khan Academy",
5
5
  "license": "MIT",
6
- "version": "4.1.1",
6
+ "version": "4.1.3",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -23,9 +23,9 @@
23
23
  },
24
24
  "dependencies": {
25
25
  "@khanacademy/kas": "^0.3.7",
26
- "@khanacademy/kmath": "^0.1.9",
27
- "@khanacademy/math-input": "^17.0.1",
28
- "@khanacademy/perseus": "^19.1.1",
26
+ "@khanacademy/kmath": "^0.1.10",
27
+ "@khanacademy/math-input": "^17.0.2",
28
+ "@khanacademy/perseus": "^19.1.3",
29
29
  "@khanacademy/perseus-core": "1.4.1"
30
30
  },
31
31
  "devDependencies": {
@@ -0,0 +1,5 @@
1
+ describe("PerseusEditor integration test", () => {
2
+ it("entrypoint should not throw", async () => {
3
+ expect(async () => await import("../index")).not.toThrow();
4
+ });
5
+ });
package/src/index.ts CHANGED
@@ -25,6 +25,6 @@ Widgets.registerEditors(AllEditors);
25
25
  Widgets.registerWidgets(AllWidgets);
26
26
 
27
27
  Widgets.replaceEditor("transformer", "deprecated-standin");
28
- Widgets.replaceWidget("transformer", "deprecatd-standin");
28
+ Widgets.replaceWidget("transformer", "deprecated-standin");
29
29
 
30
30
  export {AllEditors, AllWidgets};