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

@findhotel/sapi

Package Overview
Dependencies
Maintainers
3
Versions
194
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@findhotel/sapi - npm Package Compare versions

Comparing version 0.22.3 to 0.22.4

dist/types/packages/core/src/utils/remove-empty.d.ts

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## [0.22.4](https://github.com/FindHotel/sapi/compare/v0.22.3...v0.22.4) (2021-10-22)
### Added
- Forward `providerCode` parameter to SAF/offers-rooms endpoint
## [0.22.3](https://github.com/FindHotel/sapi/compare/v0.22.2...v0.22.3) (2021-10-11)

@@ -2,0 +7,0 @@ - Fetch missing anchorHotelId attribute for subsequent searches

1

dist/types/packages/core/src/saf-search.d.ts

@@ -6,3 +6,2 @@ import { Except } from 'type-fest';

declare type AttributesToRetrieve = keyof SearchResults;
export declare function removeEmpty(object: Record<string, any>): Record<string, any>;
export declare function createRequestString(parameters: SearchParameters, options: Except<ClientOptions, 'variations'> & {

@@ -9,0 +8,0 @@ variations: string[];

@@ -7,2 +7,3 @@ import { HotelId, AnonymousId, Currency, Language, DeviceCategory } from './types';

rooms: string;
providerCode?: string;
}

@@ -9,0 +10,0 @@ export interface RoomsRequestOptions {

@@ -9,1 +9,2 @@ export * from './cheapest-rate';

export * from './regular-price';
export * from './remove-empty';
{
"name": "@findhotel/sapi",
"version": "0.22.3",
"version": "0.22.4",
"description": "FindHotel Search API",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -508,4 +508,2 @@

All attributes of parameters object are required.
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">

@@ -522,2 +520,4 @@

<col class="org-left" />
<col class="org-left" />
</colgroup>

@@ -529,2 +529,3 @@ <thead>

<th scope="col" class="org-left">description</th>
<th scope="col" class="org-left">required</th>
<th scope="col" class="org-left">example</th>

@@ -539,2 +540,3 @@ </tr>

<td class="org-left">Hotel Id to retrieve rooms</td>
<td class="org-left">yes</td>
<td class="org-left">`1371626`</td>

@@ -548,2 +550,3 @@ </tr>

<td class="org-left">Check in date (`YYYY-MM-DD`)</td>
<td class="org-left">yes</td>
<td class="org-left">`2021-10-10`</td>

@@ -557,2 +560,3 @@ </tr>

<td class="org-left">Check out date (`YYYY-MM-DD`)</td>
<td class="org-left">yes</td>
<td class="org-left">`2021-10-11`</td>

@@ -566,4 +570,14 @@ </tr>

<td class="org-left">[Rooms configuration](https://github.com/FindHotel/search-data-pipelines/wiki/Glossary#rooms-configuration)</td>
<td class="org-left">yes</td>
<td class="org-left">`2`</td>
</tr>
<tr>
<td class="org-left">`providerCode`</td>
<td class="org-left">`string`</td>
<td class="org-left">Provider code used for retrieving rooms offers</td>
<td class="org-left">no</td>
<td class="org-left">`GAR`</td>
</tr>
</tbody>

@@ -570,0 +584,0 @@ </table>

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