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
270
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-PR634-20230727203610 to 0.0.0-PR635-20230727220119

4

CHANGELOG.md
# @khanacademy/perseus-core
## 0.0.0-PR634-20230727203610
## 0.0.0-PR635-20230727220119
### Minor Changes
- fb3a4a5b: Add perseus-core to changeset
- dd800c22: Rename analytics prop from onEvent to onAnalyticsEvent

@@ -9,0 +9,0 @@ ## 0.0.2

@@ -18,3 +18,3 @@ export type PerseusAnalyticsEvent = {

};
/** A function to send analytics events. */
export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>;
/** A function that is called when Perseus emits an analytics event. */
export type AnalyticsEventHandlerFn = (event: PerseusAnalyticsEvent) => Promise<void>;

@@ -1,2 +0,2 @@

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

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

"license": "MIT",
"version": "0.0.0-PR634-20230727203610",
"version": "0.0.0-PR635-20230727220119",
"publishConfig": {

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

@@ -29,3 +29,5 @@ // A type union of all the events that any package in the Perseus ecosystem can

/** A function to send analytics events. */
export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>;
/** A function that is called when Perseus emits an analytics event. */
export type AnalyticsEventHandlerFn = (
event: PerseusAnalyticsEvent,
) => Promise<void>;

@@ -1,2 +0,2 @@

export type {PerseusAnalyticsEvent, SendEventFn} from "./analytics";
export type {PerseusAnalyticsEvent, AnalyticsEventHandlerFn} from "./analytics";
export type {KEScore, RendererInterface} from "./types";
// Types that can be shared between Perseus packages
// ideally without causing circular dependencies
// TODO: this should be typed
type State = any;

@@ -6,0 +5,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

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