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 1.0.0 to 1.1.0

6

CHANGELOG.md
# @khanacademy/perseus-core
## 1.1.0
### Minor Changes
- 4f4fe4f9: Added new analytics event "perseus:expression-focused"
## 1.0.0

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

export type VirtualKeypadVersion = "PERSEUS_MATH_INPUT" | "MATH_INPUT_KEYPAD_V1" | "MATH_INPUT_KEYPAD_V2" | "REACT_NATIVE_KEYPAD";
/**
* A type union of all the events that any package in the Perseus ecosystem can
* send.
*/
export type PerseusAnalyticsEvent = {

@@ -9,2 +13,5 @@ type: "perseus:expression-evaluated";

} | {
type: "perseus:expression-focused";
payload: null;
} | {
type: "math-input:keypad-closed";

@@ -11,0 +18,0 @@ payload: {

2

package.json

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

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

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

@@ -7,4 +7,6 @@ export type VirtualKeypadVersion =

// A type union of all the events that any package in the Perseus ecosystem can
// send.
/**
* A type union of all the events that any package in the Perseus ecosystem can
* send.
*/
export type PerseusAnalyticsEvent =

@@ -19,2 +21,6 @@ | {

| {
type: "perseus:expression-focused";
payload: null;
}
| {
type: "math-input:keypad-closed";

@@ -34,2 +40,6 @@ payload: {

// | {type: "b"; payload: {name: string}};
//
// Event types should be formatted as "package-name:event-name" (where the
// package name is the name of the package that emits the event without the
// `@khanacademy/` prefix and then the name of the event.)

@@ -36,0 +46,0 @@ /** A function that is called when Perseus emits an analytics event. */

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