@khanacademy/perseus-core 0.0.0-PR681-20230821185150 → 0.0.0-PR681-20230821192414

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @khanacademy/perseus-core
2
2
 
3
- ## 0.0.0-PR681-20230821185150
3
+ ## 0.0.0-PR681-20230821192414
4
4
 
5
5
  ### Major Changes
6
6
 
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": "0.0.0-PR681-20230821185150",
6
+ "version": "0.0.0-PR681-20230821192414",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -1,30 +0,0 @@
1
- /**
2
- * Flowtype definitions for data
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
- export type PerseusAnalyticsEvent =
8
- | {|
9
- type: "perseus:expression-evaluated",
10
- payload: {|
11
- virtualKeypadVersion?: string,
12
- result: "correct" | "incorrect" | "invalid",
13
- |},
14
- |}
15
- | {|
16
- type: "math-input:keypad-closed",
17
- payload: {|
18
- virtualKeypadVersion: string,
19
- |},
20
- |}
21
- | {|
22
- type: "math-input:keypad-opened",
23
- payload: {|
24
- virtualKeypadVersion: string,
25
- |},
26
- |};
27
- /**
28
- * A function to send analytics events.
29
- */
30
- export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>;
@@ -1,8 +0,0 @@
1
- /**
2
- * Flowtype definitions for data
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
- export type { PerseusAnalyticsEvent, SendEventFn } from "./analytics";
8
- export type { KEScore, KeypadContextRendererInterface } from "./types";
@@ -1,17 +0,0 @@
1
- /**
2
- * Flowtype definitions for data
3
- * Generated by Flowgen from a Typescript Definition
4
- * Flowgen v1.21.0
5
- * @flow
6
- */
7
- export interface KeypadContextRendererInterface {
8
- blur(): void;
9
- }
10
- export type KEScore = {|
11
- empty: boolean,
12
- correct: boolean,
13
- message?: string | null | void,
14
- suppressAlmostThere?: boolean | null | void,
15
- guess: any,
16
- state: any,
17
- |};