@khanacademy/perseus-core
Advanced tools
Comparing version 0.0.0-PR625-20230725195252 to 0.0.0-PR634-20230727203610
# @khanacademy/perseus-core | ||
## 0.0.0-PR625-20230725195252 | ||
## 0.0.0-PR634-20230727203610 | ||
### Minor Changes | ||
- dd800c22: Rename analytics prop from onEvent to onAnalyticsEvent | ||
- fb3a4a5b: Add perseus-core to changeset | ||
@@ -9,0 +9,0 @@ ## 0.0.2 |
@@ -18,3 +18,3 @@ export type PerseusAnalyticsEvent = { | ||
}; | ||
/** A function that is called when Perseus emits an analytics event. */ | ||
export type AnalyticsEventHandlerFn = (event: PerseusAnalyticsEvent) => Promise<void>; | ||
/** A function to send analytics events. */ | ||
export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>; |
@@ -1,1 +0,2 @@ | ||
export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics"; | ||
export type { PerseusAnalyticsEvent, SendEventFn } from "./analytics"; | ||
export type { KEScore, RendererInterface } from "./types"; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.0-PR625-20230725195252", | ||
"version": "0.0.0-PR634-20230727203610", | ||
"publishConfig": { | ||
@@ -9,0 +9,0 @@ "access": "public" |
@@ -29,5 +29,3 @@ // A type union of all the events that any package in the Perseus ecosystem can | ||
/** A function that is called when Perseus emits an analytics event. */ | ||
export type AnalyticsEventHandlerFn = ( | ||
event: PerseusAnalyticsEvent, | ||
) => Promise<void>; | ||
/** A function to send analytics events. */ | ||
export type SendEventFn = (event: PerseusAnalyticsEvent) => Promise<void>; |
@@ -1,1 +0,2 @@ | ||
export type {PerseusAnalyticsEvent, AnalyticsEventHandlerFn} from "./analytics"; | ||
export type {PerseusAnalyticsEvent, SendEventFn} from "./analytics"; | ||
export type {KEScore, RendererInterface} from "./types"; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
52574
20
131