fix(core): update

This commit is contained in:
2022-11-08 07:56:52 +01:00
parent e9bf2032fb
commit 431f63e283
4 changed files with 61 additions and 46 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@pushrocks/smartbrowser',
version: '2.0.4',
version: '2.0.5',
description: 'simplified puppeteer'
}

View File

@ -30,7 +30,7 @@ export class SmartBrowser {
* create a pdf from page
* @param urlArg
*/
public async pdfFromPage(urlArg: string) {
public async pdfFromPage(urlArg: string): Promise<plugins.smartpdf.IPdf> {
const result = await this.smartpdf.getFullWebsiteAsSinglePdf(urlArg);
return result;
}