Comparing version 2.0.1 to 2.0.2
@@ -164,3 +164,3 @@ /** | ||
*/ | ||
declare class AkismetClient { | ||
export declare class AkismetClient { | ||
_blog: string; | ||
@@ -220,8 +220,8 @@ _apiKey: string; | ||
} | ||
export declare const akismet: { | ||
/** | ||
* Creates and returns a new Akismet client. | ||
*/ | ||
client(options: AkismetOptions): AkismetClient; | ||
}; | ||
/** | ||
* Creates and returns a new Akismet client. | ||
* | ||
* @param options - client settings | ||
*/ | ||
export declare function client(options: AkismetOptions): AkismetClient; | ||
export {}; |
@@ -114,9 +114,12 @@ "use strict"; | ||
}()); | ||
exports.akismet = { | ||
/** | ||
* Creates and returns a new Akismet client. | ||
*/ | ||
client: function (options) { | ||
return new AkismetClient(options); | ||
} | ||
}; | ||
exports.AkismetClient = AkismetClient; | ||
/** | ||
* Creates and returns a new Akismet client. | ||
* | ||
* @param options - client settings | ||
*/ | ||
function client(options) { | ||
return new AkismetClient(options); | ||
} | ||
exports.client = client; | ||
; |
{ | ||
"name": "akismet", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"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
16095
349