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
365
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-PR587-20230627183130 to 0.0.0-PR595-20230629191052

8

CHANGELOG.md
# @khanacademy/perseus-core
## 0.0.0-PR587-20230627183130
## 0.0.0-PR595-20230629191052
### Patch Changes
- f2919102: on keypad opened CEDAR event integration
## 0.0.1
### Patch Changes
- 1f3fdc6c: Introducing `perseus-core` for types and functionality shared across the Perseus ecosystem

@@ -7,4 +7,14 @@ export type PerseusAnalyticsEvent = {

};
} | {
type: "perseus:keypad-closed";
payload: {
virtualKeypadVersion: string;
};
} | {
type: "perseus:keypad-opened";
payload: {
virtualKeypadVersion: string;
};
};
/** A function to send analytics events. */
export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>;

2

package.json

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

"license": "MIT",
"version": "0.0.0-PR587-20230627183130",
"version": "0.0.0-PR595-20230629191052",
"publishConfig": {

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

// A type union of all the events that any package in the Perseus ecosystem can
// send.
export type PerseusAnalyticsEvent = {
type: "perseus:expression-evaluated";
payload: {
virtualKeypadVersion: string;
result: "correct" | "incorrect" | "invalid";
};
};
export type PerseusAnalyticsEvent =
| {
type: "perseus:expression-evaluated";
payload: {
virtualKeypadVersion: string;
result: "correct" | "incorrect" | "invalid";
};
}
| {
type: "perseus:keypad-closed";
payload: {
virtualKeypadVersion: string;
};
}
| {
type: "perseus:keypad-opened";
payload: {
virtualKeypadVersion: string;
};
};
// Add more events here as needed. Note that each event should have a `type`

@@ -11,0 +24,0 @@ // key and a payload that varies by type.

Sorry, the diff of this file is not supported yet

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