New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/perseus-core

Package Overview
Dependencies
Maintainers
1
Versions
914
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@khanacademy/perseus-core - npm Package Compare versions

Comparing version

to
0.0.0-PR681-20230821181145

10

CHANGELOG.md
# @khanacademy/perseus-core
## 0.0.0-PR640-20230728151651
## 0.0.0-PR681-20230821181145
### Major Changes
- 8034c522: Switch from using ProvideKeypad in ArticleRenderer to passing the keypad element down instead
## 0.1.1
### Patch Changes
- 88bf291d: Commented RendererInterface
- 57f75510: Commented RendererInterface

@@ -9,0 +15,0 @@ ## 0.1.0

2

dist/index.d.ts
export type { PerseusAnalyticsEvent, SendEventFn } from "./analytics";
export type { KEScore, RendererInterface } from "./types";
export type { KEScore, KeypadContextRendererInterface } from "./types";

@@ -1,9 +0,3 @@

type State = any;
export interface RendererInterface {
getSerializedState(): State;
restoreSerializedState(state: State, callback?: () => void): void;
scoreInput(): KEScore;
export interface KeypadContextRendererInterface {
blur(): void;
focus(): boolean | null | undefined;
props: any;
}

@@ -18,2 +12,1 @@ export type KEScore = {

};
export {};

@@ -6,3 +6,3 @@ {

"license": "MIT",
"version": "0.0.0-PR640-20230728151651",
"version": "0.0.0-PR681-20230821181145",
"publishConfig": {

@@ -9,0 +9,0 @@ "access": "public"

export type {PerseusAnalyticsEvent, SendEventFn} from "./analytics";
export type {KEScore, RendererInterface} from "./types";
export type {KEScore, KeypadContextRendererInterface} from "./types";
// Types that can be shared between Perseus packages
// ideally without causing circular dependencies
// TODO: this should be typed
type State = any;
// Interfact currently only implemented by
// Interface currently only implemented by
// ServerItemRenderer and used by KeypadContext
// to pass around a renderer reference
export interface RendererInterface {
getSerializedState(): State;
restoreSerializedState(state: State, callback?: () => void): void;
scoreInput(): KEScore;
export interface KeypadContextRendererInterface {
blur(): void;
focus(): boolean | null | undefined;
props: any;
}

@@ -18,0 +10,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet