react-amplitude-hooks
Advanced tools
Comparing version 0.10.4 to 0.10.6
@@ -9,4 +9,7 @@ import * as PropTypes from "prop-types"; | ||
}; | ||
export declare type Callback = (responseCode: number, responseBody: string, details?: { | ||
reason: string; | ||
}) => void; | ||
export declare function useAmplitude(eventProperties?: object, instanceName?: string): { | ||
logEvent: <T extends string>(eventType: T, eventPropertiesIn?: object, callback?: any) => void; | ||
logEvent: <T extends string>(eventType: T, eventPropertiesIn?: object, callback?: Callback | undefined) => void; | ||
instrument: <T_1 extends Function>(eventType: string, func: T_1) => T_1; | ||
@@ -13,0 +16,0 @@ eventProperties: any; |
@@ -54,3 +54,3 @@ { | ||
"types": "dist/index.d.ts", | ||
"version": "0.10.4" | ||
"version": "0.10.6" | ||
} |
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
29328
267