node-csfd-api
Advanced tools
Comparing version 3.0.0-next.16 to 3.0.0-next.17
@@ -46,5 +46,5 @@ "use strict"; | ||
} | ||
cinema(district) { | ||
cinema(district, period) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.cinemaService.cinemas(+district); | ||
return this.cinemaService.cinemas(+district, period); | ||
}); | ||
@@ -51,0 +51,0 @@ } |
@@ -43,5 +43,5 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
cinema(district) { | ||
cinema(district, period) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
return this.cinemaService.cinemas(+district); | ||
return this.cinemaService.cinemas(+district, period); | ||
}); | ||
@@ -48,0 +48,0 @@ } |
{ | ||
"name": "node-csfd-api", | ||
"version": "3.0.0-next.16", | ||
"version": "3.0.0-next.17", | ||
"description": "ČSFD API in JavaScript. Amazing NPM library for scrapping csfd.cz :)", | ||
@@ -5,0 +5,0 @@ "main": "./cjs/index.js", |
@@ -1,2 +0,2 @@ | ||
import { CSFDCinema } from 'interfaces/cinema.interface'; | ||
import { CSFDCinema, CSFDCinemaPeriod } from 'interfaces/cinema.interface'; | ||
import { CSFDCreator } from './interfaces/creator.interface'; | ||
@@ -22,4 +22,4 @@ import { CSFDMovie } from './interfaces/movie.interface'; | ||
search(text: string): Promise<CSFDSearch>; | ||
cinema(district: number): Promise<CSFDCinema[]>; | ||
cinema(district: number, period: CSFDCinemaPeriod): Promise<CSFDCinema[]>; | ||
} | ||
export declare const csfd: Csfd; |
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
120778