guardian-js
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -8,3 +8,3 @@ interface IEndpoint { | ||
request: (params: Object) => Promise<Object>; | ||
search: (query: string, filters: object) => Function; | ||
search: (query: string, filters: object) => Promise<unknown>; | ||
getById: (id: string) => Function; | ||
@@ -19,3 +19,3 @@ } | ||
request: (params: Object) => Promise<any>; | ||
search: (query: string, filters: object) => Function; | ||
search: (query: string, filters: object) => Promise<unknown>; | ||
getById: (id: string) => Function; | ||
@@ -22,0 +22,0 @@ constructor(endpoint: string, key: string, useSSL: boolean, availableFunctions?: Array<string>); |
{ | ||
"name": "guardian-js", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "A JavaScript lib for the Guardian's api", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -25,3 +25,3 @@ import { get } from 'request'; | ||
request: (params: Object) => Promise<Object>, | ||
search: (query: string, filters: object) => Function, | ||
search: (query: string, filters: object) => Promise<unknown>, | ||
getById: (id: string) => Function, | ||
@@ -37,3 +37,3 @@ } | ||
request: (params: Object) => Promise<any>; | ||
search: (query: string, filters: object) => Function; | ||
search: (query: string, filters: object) => Promise<unknown>; | ||
getById: (id: string) => Function; | ||
@@ -81,2 +81,2 @@ | ||
} | ||
} | ||
} |
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
13631
290
0