Comparing version 2.0.0 to 2.0.1
@@ -141,3 +141,3 @@ /** | ||
/** | ||
* Defines the callback for the `checkSpam` function. | ||
* Defines the callback for the `checkComment` function. | ||
* | ||
@@ -147,3 +147,3 @@ * @param err - Returns the error message returned from the server. | ||
*/ | ||
declare type CheckSpamCallback = (err: string | null, isSpam: boolean) => void; | ||
declare type CheckCommentCallback = (err: string | null, isSpam: boolean) => void; | ||
/** | ||
@@ -192,3 +192,3 @@ * Defines the callback for the `submitSpam` and `submitHam` functions. | ||
*/ | ||
checkComment(options: AkismetParameters, callback: CheckSpamCallback): void; | ||
checkComment(options: AkismetParameters, callback: CheckCommentCallback): void; | ||
/** | ||
@@ -200,3 +200,3 @@ * Historic alias of `checkComment`. | ||
*/ | ||
checkSpam(options: AkismetParameters, callback: CheckSpamCallback): void; | ||
checkSpam(options: AkismetParameters, callback: CheckCommentCallback): void; | ||
/** | ||
@@ -203,0 +203,0 @@ * Marks a comment as spam and reports to the Akismet API. |
{ | ||
"name": "akismet", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"keywords": [ | ||
@@ -5,0 +5,0 @@ "akismet", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16017
0