@findhotel/sapi
Advanced tools
Comparing version 0.20.3 to 0.20.4
@@ -0,1 +1,5 @@ | ||
## [0.20.4](https://github.com/FindHotel/sapi/compare/v0.20.3...v0.20.4) (2021-08-20) | ||
### Added | ||
- Basic logger implementation | ||
## [0.20.3](https://github.com/FindHotel/sapi/compare/v0.20.2...v0.20.3) (2021-08-17) | ||
@@ -2,0 +6,0 @@ ### Changed |
@@ -9,2 +9,9 @@ import { AlgoliaSearchOptions } from 'algoliasearch'; | ||
export declare type ProfileKey = string; | ||
interface Event { | ||
name: string; | ||
value: any; | ||
} | ||
interface Logger { | ||
log: (event: Event) => void; | ||
} | ||
export interface SapiClient { | ||
@@ -49,2 +56,5 @@ rooms: RoomsFn; | ||
initWithProfile?: Partial<Profile>; | ||
/** External logger to log sapi events */ | ||
logger?: Logger; | ||
} | ||
export {}; |
{ | ||
"name": "@findhotel/sapi", | ||
"version": "0.20.3", | ||
"version": "0.20.4", | ||
"description": "FindHotel Search API", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
244271
2224