@khanacademy/perseus-core 18.9.1 → 19.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/types.d.ts CHANGED
@@ -4,10 +4,6 @@ export interface RendererInterface {
4
4
  * @deprecated - do not use in new code.
5
5
  */
6
6
  getSerializedState(): State;
7
- /**
8
- * @deprecated - do not use in new code.
9
- */
10
- restoreSerializedState(state: State, callback?: () => void): void;
11
7
  blur(): void;
12
8
  focus(): boolean | null | undefined;
13
9
  props: any;
@@ -13,10 +13,3 @@ export declare function shuffle<T>(array: ReadonlyArray<T>, randomSeed: number |
13
13
  export declare function constrainedShuffle<T>(array: readonly T[], random: RNG, isValidShuffle: (shuffled: readonly T[]) => boolean): T[];
14
14
  export declare function randomIntInRange(min: number, max: number, random: RNG): number;
15
15
  export declare const random: RNG;
16
- /**
17
- * Randomizes an array using the sort-by-random-key method
18
- *
19
- * @param inputArray - The array of elements to randomize
20
- * @returns A new array containing the same elements in randomized order
21
- */
22
- export declare function randomizeArrayElements<T>(inputArray: ReadonlyArray<T>): T[];
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": "18.9.1",
6
+ "version": "19.0.0",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },