@khanacademy/perseus-core
Advanced tools
Comparing version 0.0.0-PR595-20230630184321 to 0.0.0-PR600-20230701001123
# @khanacademy/perseus-core | ||
## 0.0.0-PR595-20230630184321 | ||
## 0.0.0-PR600-20230701001123 | ||
### Minor Changes | ||
- 96865a21: Rename analytics prop from onEvent to onAnalyticsEvent | ||
### Patch Changes | ||
- f2919102: Add keypad opened and closed analytics events | ||
- 71c631ea: Add keypad opened and closed analytics events | ||
@@ -9,0 +13,0 @@ ## 0.0.1 |
@@ -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,1 +0,1 @@ | ||
export type { PerseusAnalyticsEvent, SendEventFn } from "./analytics"; | ||
export type { PerseusAnalyticsEvent, AnalyticsEventHandlerFn } from "./analytics"; |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "0.0.0-PR595-20230630184321", | ||
"version": "0.0.0-PR600-20230701001123", | ||
"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,1 +0,1 @@ | ||
export type {PerseusAnalyticsEvent, SendEventFn} from "./analytics"; | ||
export type {PerseusAnalyticsEvent, AnalyticsEventHandlerFn} from "./analytics"; |
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
50774
93