Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@khanacademy/perseus-core

Package Overview
Dependencies
Maintainers
1
Versions
282
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 0.0.0-PR681-20230822211350 to 0.0.0-PR681-20230824155605

2

CHANGELOG.md
# @khanacademy/perseus-core
## 0.0.0-PR681-20230822211350
## 0.0.0-PR681-20230824155605

@@ -5,0 +5,0 @@ ### Major Changes

export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics";
export type { KEScore, KeypadContextRendererInterface } from "./types";
export type { KEScore, KeypadContextRendererInterface, RendererInterface, } from "./types";
export interface KeypadContextRendererInterface {
blur(): void;
}
type State = any;
export interface RendererInterface {
getSerializedState(): State;
restoreSerializedState(state: State, callback?: () => void): void;
scoreInput(): KEScore;
blur(): void;
focus(): boolean | null | undefined;
props: any;
}
export type KEScore = {

@@ -12,1 +21,2 @@ empty: boolean;

};
export {};

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

"license": "MIT",
"version": "0.0.0-PR681-20230822211350",
"version": "0.0.0-PR681-20230824155605",
"publishConfig": {

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

export type {PerseusAnalyticsEvent, AnalyticsEventHandlerFn} from "./analytics";
export type {KEScore, KeypadContextRendererInterface} from "./types";
export type {
KEScore,
KeypadContextRendererInterface,
RendererInterface,
} from "./types";

@@ -9,2 +9,16 @@ // Types that can be shared between Perseus packages

// TODO: this should be typed
type State = any;
// Interfact currently only implemented by
// ServerItemRenderer
export interface RendererInterface {
getSerializedState(): State;
restoreSerializedState(state: State, callback?: () => void): void;
scoreInput(): KEScore;
blur(): void;
focus(): boolean | null | undefined;
props: any;
}
export type KEScore = {

@@ -11,0 +25,0 @@ empty: boolean;

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc