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
13
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 1.3.1 to 1.3.2-alpha.0

dist/src/responses/search-response-session-context.d.ts

1

dist/index.d.ts

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

export { SearchResponseHeader } from './src/responses/search-response-header';
export { SearchResponseSessionContext } from './src/responses/search-response-session-context';
export { SearchResponseParams } from './src/responses/search-response-params';

@@ -19,0 +20,0 @@ export { CollectionExtraInfo, RelatedCollection, UserDetails, } from './src/responses/collection-extra-info';

import { SearchResponseHeader } from './search-response-header';
import { SearchResponseDetailsInterface } from './search-response-details';
import { SearchRequest } from './search-request';
import { SearchResponseSessionContext } from './search-response-session-context';
/**

@@ -31,2 +32,6 @@ * The top-level response model when retrieving a response from the page production service endpoint.

/**
* The session context from the PPS
*/
sessionContext: SearchResponseSessionContext;
/**
* The response containing the search results

@@ -33,0 +38,0 @@ *

@@ -15,2 +15,3 @@ import { SearchResponseDetails, } from './search-response-details';

this.responseHeader = (_a = json.response) === null || _a === void 0 ? void 0 : _a.header;
this.sessionContext = json.session_context;
this.response = new SearchResponseDetails((_b = json.response) === null || _b === void 0 ? void 0 : _b.body, (_c = json.response) === null || _c === void 0 ? void 0 : _c.hit_schema);

@@ -17,0 +18,0 @@ }

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

export { SearchResponseHeader } from './src/responses/search-response-header';
export { SearchResponseSessionContext } from './src/responses/search-response-session-context';
export { SearchResponseParams } from './src/responses/search-response-params';

@@ -36,0 +37,0 @@ export {

2

package.json
{
"name": "@internetarchive/search-service",
"version": "1.3.1",
"version": "1.3.2-alpha.0",
"description": "A search service for the Internet Archive",

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

@@ -8,2 +8,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

import { SearchRequest } from './search-request';
import { SearchResponseSessionContext } from './search-response-session-context';

@@ -40,2 +41,7 @@ /**

/**
* The session context from the PPS
*/
sessionContext: SearchResponseSessionContext;
/**
* The response containing the search results

@@ -52,2 +58,3 @@ *

this.responseHeader = json.response?.header;
this.sessionContext = json.session_context;
this.response = new SearchResponseDetails(

@@ -54,0 +61,0 @@ json.response?.body,

Sorry, the diff of this file is not supported yet

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