New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/algoliasearch

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/algoliasearch - npm Package Compare versions

Comparing version 3.30.4 to 3.30.5

23

algoliasearch/lite/index.d.ts

@@ -9,2 +9,3 @@ // Type definitions for algoliasearch-client-js 3.30.0

// Kai Eichinger <https://github.com/keichinger>
// Nery Ortez <https://github.com/neryortez>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

@@ -29,3 +30,3 @@ // TypeScript Version: 2.8

*/
search(
search<T=any>(
queries: {

@@ -36,3 +37,3 @@ indexName: string;

}[],
cb: (err: Error, res: MultiResponse) => void
cb: (err: Error, res: MultiResponse<T>) => void
): void;

@@ -43,3 +44,3 @@ /**

*/
search(
search<T=any>(
queries: {

@@ -50,3 +51,3 @@ indexName: string;

}[]
): Promise<MultiResponse>;
): Promise<MultiResponse<T>>;
/**

@@ -117,5 +118,5 @@ * Query for facet values of a specific facet

*/
search(
search<T=any>(
params: QueryParameters,
cb: (err: Error, res: Response) => void
cb: (err: Error, res: Response<T>) => void
): void;

@@ -126,3 +127,3 @@ /**

*/
search(params: QueryParameters): Promise<Response>;
search<T=any>(params: QueryParameters): Promise<Response<T>>;
/**

@@ -567,3 +568,3 @@ * Search in an index

interface Response {
interface Response<T=any> {
/**

@@ -573,3 +574,3 @@ * Contains all the hits matching the query

*/
hits: any[];
hits: T[];
/**

@@ -633,4 +634,4 @@ * Current page

interface MultiResponse {
results: Response[];
interface MultiResponse<T=any> {
results: Response<T>[];
}

@@ -637,0 +638,0 @@ }

{
"name": "@types/algoliasearch",
"version": "3.30.4",
"version": "3.30.5",
"description": "TypeScript definitions for algoliasearch-client-js",

@@ -31,2 +31,7 @@ "license": "MIT",

"githubUsername": "keichinger"
},
{
"name": "Nery Ortez",
"url": "https://github.com/neryortez",
"githubUsername": "neryortez"
}

@@ -42,4 +47,4 @@ ],

"dependencies": {},
"typesPublisherContentHash": "3039c7fcd16cd2fb230746286f41c43863b087e29064f40cb26a7f550281a161",
"typesPublisherContentHash": "7aa1362d40f524363260c5bd051d9d65f6a29c30bd0d49197ac2123ef20dc31c",
"typeScriptVersion": "2.8"
}

@@ -11,3 +11,3 @@ # Installation

Additional Details
* Last updated: Wed, 20 Feb 2019 01:39:06 GMT
* Last updated: Wed, 20 Feb 2019 21:54:18 GMT
* Dependencies: none

@@ -17,2 +17,2 @@ * Global values: none

# Credits
These definitions were written by Baptiste Coquelle <https://github.com/cbaptiste>, Haroen Viaene <https://github.com/haroenv>, Aurélien Hervé <https://github.com/aherve>, Samuel Vaillant <https://github.com/samouss>, Kai Eichinger <https://github.com/keichinger>.
These definitions were written by Baptiste Coquelle <https://github.com/cbaptiste>, Haroen Viaene <https://github.com/haroenv>, Aurélien Hervé <https://github.com/aherve>, Samuel Vaillant <https://github.com/samouss>, Kai Eichinger <https://github.com/keichinger>, Nery Ortez <https://github.com/neryortez>.

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc