Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tavily

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tavily - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

19

dist/index.d.ts

@@ -70,10 +70,17 @@ import { KyInstance } from 'ky';

search(queryOrOpts: string | tavily.SearchOptions): Promise<{
url: string;
title: string;
content: string;
raw_content?: string | undefined;
score: string;
}[]>;
results: {
url: string;
title: string;
content: string;
raw_content?: string | undefined;
score: string;
}[];
query: string;
answer?: string | undefined;
images?: string[] | undefined;
follow_up_questions?: string[] | undefined;
response_time: string;
}>;
}
export { TavilyClient, tavily };

@@ -49,3 +49,6 @@ // src/tavily-client.ts

}).json();
return pruneNullOrUndefined(res).results?.map(pruneNullOrUndefined);
return pruneNullOrUndefined({
...res,
results: res.results?.map(pruneNullOrUndefined)
});
}

@@ -52,0 +55,0 @@ };

{
"name": "tavily",
"version": "1.0.1",
"version": "1.0.2",
"description": "TS SDK for the Tavily search API which is tailored for LLM agents.",

@@ -5,0 +5,0 @@ "author": "Travis Fischer <travis@transitivebullsh.it>",

@@ -42,2 +42,4 @@ <p align="center">

See the [Tavily docs](https://docs.tavily.com/docs/tavily-api/introduction) for more info.
## License

@@ -44,0 +46,0 @@

Sorry, the diff of this file is not supported yet

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