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.2.0 to 1.0.0

6

CHANGELOG.md
# @khanacademy/perseus-core
## 1.0.0
### Major Changes
- 2af4f9fa: Switch from using ProvideKeypad in ArticleRenderer to passing the keypad element down instead
## 0.2.0

@@ -4,0 +10,0 @@

2

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

@@ -0,1 +1,4 @@

export interface KeypadContextRendererInterface {
blur(): void;
}
type State = any;

@@ -2,0 +5,0 @@ export interface RendererInterface {

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

"license": "MIT",
"version": "0.2.0",
"version": "1.0.0",
"publishConfig": {

@@ -13,3 +13,4 @@ "access": "public"

"type": "git",
"url": "https://github.com/Khan/perseus.git"
"url": "https://github.com/Khan/perseus.git",
"directory": "packages/perseus-core"
},

@@ -16,0 +17,0 @@ "bugs": {

export type {PerseusAnalyticsEvent, AnalyticsEventHandlerFn} from "./analytics";
export type {KEScore, RendererInterface} from "./types";
export type {
KEScore,
KeypadContextRendererInterface,
RendererInterface,
} from "./types";
// Types that can be shared between Perseus packages
// ideally without causing circular dependencies
// Used by KeypadContext to pass around a renderer reference
export interface KeypadContextRendererInterface {
blur(): void;
}
// TODO: this should be typed

@@ -8,4 +13,3 @@ type State = any;

// Interfact currently only implemented by
// ServerItemRenderer and used by KeypadContext
// to pass around a renderer reference
// ServerItemRenderer
export interface RendererInterface {

@@ -12,0 +16,0 @@ getSerializedState(): State;

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