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

@internetarchive/search-service

Package Overview
Dependencies
Maintainers
15
Versions
158
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@internetarchive/search-service - npm Package Compare versions

Comparing version 0.3.3 to 0.3.4

1

dist/index.d.ts

@@ -23,1 +23,2 @@ export { Metadata } from './src/models/metadata';

export { SearchParams, SortParam, SortDirection, AggregateSearchParams, AggregateSearchParam, } from './src/search-params';
export { SearchServiceError } from './src/search-service-error';

11

dist/src/search-service-interface.d.ts
import { MetadataResponse } from './responses/metadata/metadata-response';
import { Result } from '@internetarchive/result-type';
import { SearchResponse } from './responses/search/search-response';
import { AggregateSearchParams, SearchParams } from './search-params';
import { SearchParams } from './search-params';
import { SearchServiceError } from './search-service-error';
import { SortParam } from '..';
export interface SearchServiceInterface {

@@ -16,10 +15,2 @@ /**

search(params: SearchParams): Promise<Result<SearchResponse, SearchServiceError>>;
search(options: {
query: string;
sort?: SortParam[];
rows?: number;
page?: number;
fields?: string[];
aggregations?: AggregateSearchParams;
}): Promise<Result<SearchResponse, SearchServiceError>>;
/**

@@ -26,0 +17,0 @@ * Fetch metadata for a given identifier

{
"name": "@internetarchive/search-service",
"version": "0.3.3",
"version": "0.3.4",
"description": "A search service for the Internet Archive",

@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only",

@@ -16,2 +16,3 @@ {

"inlineSources": true,
"declaration": true,
"rootDir": "./",

@@ -18,0 +19,0 @@ },

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