fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@pushrocks/smartbrowser',
|
||||
version: '2.0.4',
|
||||
version: '2.0.5',
|
||||
description: 'simplified puppeteer'
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user